1If you have not built libpcap, and your system does not have libpcap 2installed, install libpcap first. Your system might provide a version 3of libpcap that can be installed; if so, to compile tcpdump you might 4need to install a "developer" version of libpcap as well as the 5"run-time" version. You can also install tcpdump.org's version of 6libpcap; see the README file in this directory for the ftp location. 7 8You will need an ANSI C compiler to build tcpdump. The configure script 9will abort if your compiler is not ANSI compliant. If this happens, use 10the generally available GNU C compiler (GCC). 11 12After libpcap has been built (either install it with "make install" or 13make sure both the libpcap and tcpdump source trees are in the same 14directory), run ./configure (a shell script). "configure" will 15determine your system attributes and generate an appropriate Makefile 16from Makefile.in. Now build tcpdump by running "make". 17 18If everything builds ok, su and type "make install". This will install 19tcpdump and the manual entry. Any user will be able to use tcpdump to 20read saved captures. Whether a user will be able to capture traffic 21depends on the OS and the configuration of the system; see the tcpdump 22man page for details. DO NOT give untrusted users the ability to 23capture traffic. If a user can capture traffic, he or she could use 24utilities such as tcpdump to capture any traffic on your net, including 25passwords. 26 27Note that most systems ship tcpdump, but usually an older version. 28Remember to remove or rename the installed binary when upgrading. 29 30If your system is not one which we have tested tcpdump on, you may have 31to modify the configure script and Makefile.in. Please send us patches 32for any modifications you need to make. 33 34Please see "PLATFORMS" for notes about tested platforms. 35 36 37FILES 38----- 39CHANGES - description of differences between releases 40CREDITS - people that have helped tcpdump along 41INSTALL.txt - this file 42LICENSE - the license under which tcpdump is distributed 43Makefile.in - compilation rules (input to the configure script) 44README - description of distribution 45Readme.Win32 - notes on building tcpdump on Win32 systems (with WinPcap) 46VERSION - version of this release 47aclocal.m4 - autoconf macros 48addrtoname.c - address to hostname routines 49addrtoname.h - address to hostname definitions 50ah.h - IPSEC Authentication Header definitions 51appletalk.h - AppleTalk definitions 52atime.awk - TCP ack awk script 53atm.h - ATM traffic type definitions 54atmuni31.h - ATM Q.2931 definitions 55bpf_dump.c - BPF program printing routines, in case libpcap doesn't 56 have them 57chdlc.h - Cisco HDLC definitions 58cpack.c - functions to extract packed data 59cpack.h - declarations of functions to extract packed data 60config.guess - autoconf support 61config.h.in - autoconf input 62config.sub - autoconf support 63configure - configure script (run this first) 64configure.in - configure script source 65ether.h - Ethernet definitions 66ethertype.h - Ethernet type value definitions 67extract.h - alignment definitions 68gmpls.c - GMPLS definitions 69gmpls.h - GMPLS declarations 70gmt2local.c - time conversion routines 71gmt2local.h - time conversion prototypes 72install-sh - BSD style install script 73interface.h - globals, prototypes and definitions 74ip.h - IP definitions 75ip6.h - IPv6 definitions 76ipproto.c - IP protocol type value-to-name table 77ipproto.h - IP protocol type value definitions 78l2vpn.c - L2VPN encapsulation value-to-name table 79l2vpn.h - L2VPN encapsulation definitions 80lbl/os-*.h - OS-dependent defines and prototypes 81llc.h - LLC definitions 82machdep.c - machine dependent routines 83machdep.h - machine dependent definitions 84makemib - mib to header script 85mib.h - mib definitions 86missing/* - replacements for missing library functions 87mkdep - construct Makefile dependency list 88mpls.h - MPLS definitions 89nameser.h - DNS definitions 90netdissect.h - definitions and declarations for tcpdump-as-library 91 (under development) 92nfs.h - Network File System V2 definitions 93nfsfh.h - Network File System file handle definitions 94nlpid.c - OSI NLPID value-to-name table 95nlpid.h - OSI NLPID definitions 96ospf.h - Open Shortest Path First definitions 97packetdat.awk - TCP chunk summary awk script 98parsenfsfh.c - Network File System file parser routines 99pcap_dump_ftell.c - pcap_dump_ftell() implementation, in case libpcap 100 doesn't have it 101pcap-missing.h - declarations of functions possibly missing from libpcap 102ppp.h - Point to Point Protocol definitions 103print-802_11.c - IEEE 802.11 printer routines 104print-ap1394.c - Apple IP-over-IEEE 1394 printer routines 105print-ah.c - IPSEC Authentication Header printer routines 106print-aodv.c - AODV printer routines 107print-arcnet.c - ARCNET printer routines 108print-arp.c - Address Resolution Protocol printer routines 109print-ascii.c - ASCII packet dump routines 110print-atalk.c - AppleTalk printer routines 111print-atm.c - ATM printer routines 112print-beep.c - BEEP printer routines 113print-bgp.c - Border Gateway Protocol printer routines 114print-bootp.c - BOOTP and IPv4 DHCP printer routines 115print-bt.c - Bluetooth printer routines 116print-cdp.c - Cisco Discovery Protocol printer routines 117print-chdlc.c - Cisco HDLC printer routines 118print-cip.c - Classical-IP over ATM routines 119print-cnfp.c - Cisco NetFlow printer routines 120print-dccp.c - DCCP printer routines 121print-decnet.c - DECnet printer routines 122print-dhcp6.c - IPv6 DHCP printer routines 123print-domain.c - Domain Name System printer routines 124print-dvmrp.c - Distance Vector Multicast Routing Protocol printer routines 125print-eap.c - EAP printer routines 126print-enc.c - OpenBSD IPsec encapsulation BPF layer printer routines 127print-egp.c - External Gateway Protocol printer routines 128print-esp.c - IPSEC Encapsulating Security Payload printer routines 129print-ether.c - Ethernet printer routines 130print-fddi.c - Fiber Distributed Data Interface printer routines 131print-fr.c - Frame Relay printer routines 132print-frag6.c - IPv6 fragmentation header printer routines 133print-gre.c - Generic Routing Encapsulation printer routines 134print-hsrp.c - Cisco Hot Standby Router Protocol printer routines 135print-icmp.c - Internet Control Message Protocol printer routines 136print-icmp6.c - IPv6 Internet Control Message Protocol printer routines 137print-igmp.c - Internet Group Management Protocol printer routines 138print-igrp.c - Interior Gateway Routing Protocol printer routines 139print-ip.c - IP printer routines 140print-ip6.c - IPv6 printer routines 141print-ip6opts.c - IPv6 header option printer routines 142print-ipcomp.c - IP Payload Compression Protocol printer routines 143print-ipx.c - IPX printer routines 144print-isakmp.c - Internet Security Association and Key Management Protocol 145print-isoclns.c - ISO CLNS, ESIS, and ISIS printer routines 146print-krb.c - Kerberos printer routines 147print-l2tp.c - Layer Two Tunneling Protocol printer routines 148print-lane.c - ATM LANE printer routines 149print-llc.c - IEEE 802.2 LLC printer routines 150print-lspping.c - LSPPING printer routines 151print-lwres.c - Lightweight Resolver protocol printer routines 152print-mobile.c - IPv4 mobility printer routines 153print-mobility.c - IPv6 mobility printer routines 154print-mpls.c - Multi-Protocol Label Switching printer routines 155print-msdp.c - Multicast Source Discovery Protocol printer routines 156print-nfs.c - Network File System printer routines 157print-ntp.c - Network Time Protocol printer routines 158print-null.c - BSD loopback device printer routines 159print-ospf.c - Open Shortest Path First printer routines 160print-ospf6.c - IPv6 Open Shortest Path First printer routines 161print-pflog.c - OpenBSD packet filter log file printer routines 162print-pgm.c - Pragmatic General Multicast printer routines 163print-pim.c - Protocol Independent Multicast printer routines 164print-ppp.c - Point to Point Protocol printer routines 165print-pppoe.c - PPP-over-Ethernet printer routines 166print-pptp.c - Point-to-Point Tunnelling Protocol printer routines 167print-radius.c - Radius protocol printer routines 168print-raw.c - Raw IP printer routines 169print-rip.c - Routing Information Protocol printer routines 170print-ripng.c - IPv6 Routing Information Protocol printer routines 171print-rrcp.c - Realtek Remote Control Protocol routines 172print-rsvp.c - Resource reSerVation Protocol (RSVP) printer routines 173print-rt6.c - IPv6 routing header printer routines 174print-rx.c - AFS RX printer routines 175print-sctp.c - Stream Control Transmission Protocol printer routines 176print-sip.c - SIP printer routines 177print-sl.c - Compressed Serial Line Internet Protocol printer routines 178print-sll.c - Linux "cooked" capture printer routines 179print-slow.c - IEEE "slow protocol" (802.3ad) printer routines 180print-smb.c - SMB/CIFS printer routines 181print-snmp.c - Simple Network Management Protocol printer routines 182print-stp.c - IEEE 802.1d spanning tree protocol printer routines 183print-sunatm.c - SunATM DLPI capture printer routines 184print-sunrpc.c - Sun Remote Procedure Call printer routines 185print-symantec.c - Symantec Enterprise Firewall printer routines 186print-tcp.c - TCP printer routines 187print-telnet.c - Telnet option printer routines 188print-tftp.c - Trivial File Transfer Protocol printer routines 189print-timed.c - BSD time daemon protocol printer routines 190print-token.c - Token Ring printer routines 191print-udp.c - UDP printer routines 192print-usb.c - USB printer routines 193print-vjc.c - PPP Van Jacobson compression (RFC1144) printer routines 194print-vrrp.c - Virtual Router Redundancy Protocol 195print-wb.c - White Board printer routines 196print-zephyr.c - Zephyr printer routines 197rpc_auth.h - definitions for ONC RPC authentication 198rpc_msg.h - definitions for ONC RPC messages 199send-ack.awk - unidirectional tcp send/ack awk script 200setsignal.c - OS-independent signal routines 201setsignal.h - OS-independent signal prototypes 202slcompress.h - SLIP/PPP Van Jacobson compression (RFC1144) definitions 203smb.h - SMB/CIFS definitions 204smbutil.c - SMB/CIFS utility routines 205stime.awk - TCP send awk script 206strcasecmp.c - missing routine 207tcp.h - TCP definitions 208tcpdump.1 - manual entry 209tcpdump.c - main program 210udp.h - UDP definitions 211util.c - utility routines 212vfprintf.c - emulation routine 213win32 - headers and routines for building on Win32 systems 214