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