1214478Srpaulo@(#) $Header: /tcpdump/master/tcpdump/INSTALL.txt,v 1.2 2008-02-06 10:47:53 guy Exp $ (LBL)
2190203Srpaulo
3190203SrpauloIf you have not built libpcap, and your system does not have libpcap
4190203Srpauloinstalled, install libpcap first.  Your system might provide a version
5190203Srpauloof libpcap that can be installed; if so, to compile tcpdump you might
6190203Srpauloneed to install a "developer" version of libpcap as well as the
7190203Srpaulo"run-time" version.  You can also install tcpdump.org's version of
8190203Srpaulolibpcap; see the README file in this directory for the ftp location.
9190203Srpaulo
10190203SrpauloYou will need an ANSI C compiler to build tcpdump. The configure script
11190203Srpaulowill abort if your compiler is not ANSI compliant. If this happens, use
12190203Srpaulothe GNU C compiler, available via anonymous ftp:
13190203Srpaulo
14190203Srpaulo	ftp://ftp.gnu.org/pub/gnu/gcc/
15190203Srpaulo
16190203SrpauloAfter libpcap has been built (either install it with "make install" or
17190203Srpaulomake sure both the libpcap and tcpdump source trees are in the same
18190203Srpaulodirectory), run ./configure (a shell script).  "configure" will
19190203Srpaulodetermine your system attributes and generate an appropriate Makefile
20190203Srpaulofrom Makefile.in.  Now build tcpdump by running "make".
21190203Srpaulo
22190203SrpauloIf everything builds ok, su and type "make install".  This will install
23190203Srpaulotcpdump and the manual entry.  Any user will be able to use tcpdump to
24190203Srpauloread saved captures.  Whether a user will be able to capture traffic
25190203Srpaulodepends on the OS and the configuration of the system; see the tcpdump
26190203Srpauloman page for details.  DO NOT give untrusted users the ability to
27190203Srpaulocapture traffic.  If a user can capture traffic, he or she could use
28190203Srpauloutilities such as tcpdump to capture any traffic on your net, including
29190203Srpaulopasswords.
30190203Srpaulo
31190203SrpauloNote that most systems ship tcpdump, but usually an older version.
32190203SrpauloRemember to remove or rename the installed binary when upgrading.
33190203Srpaulo
34190203SrpauloIf your system is not one which we have tested tcpdump on, you may have
35190203Srpauloto modify the configure script and Makefile.in. Please send us patches
36190203Srpaulofor any modifications you need to make.
37190203Srpaulo
38190203SrpauloPlease see "PLATFORMS" for notes about tested platforms.
39190203Srpaulo
40190203Srpaulo
41190203SrpauloFILES
42190203Srpaulo-----
43190203SrpauloCHANGES		- description of differences between releases
44190203SrpauloCREDITS		- people that have helped tcpdump along
45190203SrpauloFILES		- list of files exported as part of the distribution
46190203SrpauloINSTALL.txt	- this file
47190203SrpauloLICENSE		- the license under which tcpdump is distributed
48190203SrpauloMakefile.in	- compilation rules (input to the configure script)
49190203SrpauloREADME		- description of distribution
50190203SrpauloReadme.Win32	- notes on building tcpdump on Win32 systems (with WinPcap)
51190203SrpauloVERSION		- version of this release
52190203Srpauloacconfig.h	- autoconf input
53190203Srpauloaclocal.m4	- autoconf macros
54190203Srpauloaddrtoname.c	- address to hostname routines
55190203Srpauloaddrtoname.h	- address to hostname definitions
56190203Srpauloah.h		- IPSEC Authentication Header definitions
57190203Srpauloaodv.h		- AODV definitions
58190203Srpauloappletalk.h	- AppleTalk definitions
59190203Srpauloarcnet.h	- ARCNET definitions
60190203Srpauloatime.awk	- TCP ack awk script
61190203Srpauloatm.h		- ATM traffic type definitions
62190203Srpauloatmuni31.h	- ATM Q.2931 definitions
63190203Srpaulobgp.h		- BGP declarations
64190203Srpaulobootp.h		- BOOTP definitions
65190203Srpaulobpf_dump.c	- BPF program printing routines, in case libpcap doesn't
66190203Srpaulo		  have them
67190203Srpaulochdlc.h		- Cisco HDLC definitions
68190203Srpaulocpack.c		- functions to extract packed data
69190203Srpaulocpack.h		- declarations of functions to extract packed data
70190203Srpauloconfig.guess	- autoconf support
71190203Srpauloconfig.h.in	- autoconf input
72190203Srpauloconfig.sub	- autoconf support
73190203Srpauloconfigure	- configure script (run this first)
74190203Srpauloconfigure.in	- configure script source
75190203Srpaulodccp.h		- DCCP definitions
76190203Srpaulodecnet.h	- DECnet definitions
77190203Srpaulodecode_prefix.h	- Declarations of "decode_prefix{4,6}()"
78190203Srpauloenc.h		- OpenBSD IPsec encapsulation BPF layer definitions
79190203Srpauloesp.h		- IPSEC Encapsulating Security Payload definitions
80190203Srpauloether.h		- Ethernet definitions
81190203Srpauloethertype.h	- Ethernet type value definitions
82190203Srpauloextract.h	- alignment definitions
83190203Srpaulofddi.h		- Fiber Distributed Data Interface definitions
84190203Srpaulogmpls.c		- GMPLS definitions
85190203Srpaulogmpls.h		- GMPLS declarations
86190203Srpaulogmt2local.c	- time conversion routines
87190203Srpaulogmt2local.h	- time conversion prototypes
88190203Srpauloicmp6.h		- ICMPv6 definitiions
89190203Srpauloieee802_11.h	- IEEE 802.11 definitions
90190203Srpauloieee802_11_radio.h - radiotap header definitions
91190203Srpauloigrp.h		- Interior Gateway Routing Protocol definitions
92190203Srpauloinstall-sh	- BSD style install script
93190203Srpaulointerface.h	- globals, prototypes and definitions
94190203Srpauloip.h		- IP definitions
95190203Srpauloip6.h		- IPv6 definitions
96190203Srpauloipfc.h		- IP-over-Fibre Channel definitions
97190203Srpauloipproto.c	- IP protocol type value-to-name table
98190203Srpauloipproto.h	- IP protocol type value definitions
99190203Srpauloipsec_doi.h	- ISAKMP packet definitions - RFC2407
100190203Srpauloipx.h		- IPX definitions
101190203Srpauloisakmp.h	- ISAKMP packet definitions - RFC2408
102190203Srpaulol2vpn.c		- L2VPN encapsulation value-to-name table
103190203Srpaulol2vpn.h		- L2VPN encapsulation definitions
104190203Srpaulol2tp.h		- Layer Two Tunneling Protocol definitions
105190203Srpaulolane.h		- ATM LANE definitions
106190203Srpaulolbl/os-*.h	- OS-dependent defines and prototypes
107190203Srpaulollc.h		- LLC definitions
108190203Srpaulomachdep.c	- machine dependent routines
109190203Srpaulomachdep.h	- machine dependent definitions
110190203Srpaulomakemib		- mib to header script
111190203Srpaulomib.h		- mib definitions
112190203Srpaulomissing/*	- replacements for missing library functions
113190203Srpaulomkdep		- construct Makefile dependency list
114190203Srpaulompls.h		- MPLS definitions
115190203Srpaulonameser.h	- DNS definitions
116190203Srpaulonetbios.h	- NETBIOS definitions
117190203Srpaulonetdissect.h	- definitions and declarations for tcpdump-as-library
118190203Srpaulo		  (under development)
119190203Srpaulonfs.h		- Network File System V2 definitions
120190203Srpaulonfsfh.h		- Network File System file handle definitions
121190203Srpaulonlpid.c		- OSI NLPID value-to-name table
122190203Srpaulonlpid.h		- OSI NLPID definitions
123190203Srpaulontp.h		- Network Time Protocol definitions
124190203Srpaulooakley.h	- ISAKMP packet definitions - RFC2409
125190203Srpauloospf.h		- Open Shortest Path First definitions
126190203Srpauloospf6.h		- IPv6 Open Shortest Path First definitions
127190203Srpaulopacketdat.awk	- TCP chunk summary awk script
128190203Srpauloparsenfsfh.c	- Network File System file parser routines
129190203Srpaulopcap_dump_ftell.c - pcap_dump_ftell() implementation, in case libpcap
130190203Srpaulo		doesn't have it
131190203Srpaulopcap-missing.h	- declarations of functions possibly missing from libpcap
132190203Srpaulopmap_prot.h	- definitions for ONC RPC portmapper protocol
133190203Srpauloppp.h		- Point to Point Protocol definitions
134190203Srpauloprint-802_11.c	- IEEE 802.11 printer routines
135190203Srpauloprint-ap1394.c	- Apple IP-over-IEEE 1394 printer routines
136190203Srpauloprint-ah.c	- IPSEC Authentication Header printer routines
137190203Srpauloprint-aodv.c	- AODV printer routines
138190203Srpauloprint-arcnet.c	- ARCNET printer routines
139190203Srpauloprint-arp.c	- Address Resolution Protocol printer routines
140190203Srpauloprint-ascii.c	- ASCII packet dump routines
141190203Srpauloprint-atalk.c	- AppleTalk printer routines
142190203Srpauloprint-atm.c	- ATM printer routines
143190203Srpauloprint-beep.c	- BEEP printer routines
144190203Srpauloprint-bgp.c	- Border Gateway Protocol printer routines
145190203Srpauloprint-bootp.c	- BOOTP and IPv4 DHCP printer routines
146190203Srpauloprint-bt.c	- Bluetooth printer routines
147190203Srpauloprint-cdp.c	- Cisco Discovery Protocol printer routines
148190203Srpauloprint-chdlc.c	- Cisco HDLC printer routines
149190203Srpauloprint-cip.c	- Classical-IP over ATM routines
150190203Srpauloprint-cnfp.c	- Cisco NetFlow printer routines
151190203Srpauloprint-dccp.c	- DCCP printer routines
152190203Srpauloprint-decnet.c	- DECnet printer routines
153190203Srpauloprint-dhcp6.c	- IPv6 DHCP printer routines
154190203Srpauloprint-domain.c	- Domain Name System printer routines
155190203Srpauloprint-dvmrp.c	- Distance Vector Multicast Routing Protocol printer routines
156190203Srpauloprint-eap.c	- EAP printer routines
157190203Srpauloprint-enc.c	- OpenBSD IPsec encapsulation BPF layer printer routines
158190203Srpauloprint-egp.c	- External Gateway Protocol printer routines
159190203Srpauloprint-esp.c	- IPSEC Encapsulating Security Payload printer routines
160190203Srpauloprint-ether.c	- Ethernet printer routines
161190203Srpauloprint-fddi.c	- Fiber Distributed Data Interface printer routines
162190203Srpauloprint-fr.c	- Frame Relay printer routines
163190203Srpauloprint-frag6.c	- IPv6 fragmentation header printer routines
164190203Srpauloprint-gre.c	- Generic Routing Encapsulation printer routines
165190203Srpauloprint-hsrp.c	- Cisco Hot Standby Router Protocol printer routines
166190203Srpauloprint-icmp.c	- Internet Control Message Protocol printer routines
167190203Srpauloprint-icmp6.c	- IPv6 Internet Control Message Protocol printer routines
168190203Srpauloprint-igmp.c	- Internet Group Management Protocol printer routines
169190203Srpauloprint-igrp.c	- Interior Gateway Routing Protocol printer routines
170190203Srpauloprint-ip.c	- IP printer routines
171190203Srpauloprint-ip6.c	- IPv6 printer routines
172190203Srpauloprint-ip6opts.c	- IPv6 header option printer routines
173190203Srpauloprint-ipcomp.c	- IP Payload Compression Protocol printer routines
174190203Srpauloprint-ipx.c	- IPX printer routines
175190203Srpauloprint-isakmp.c	- Internet Security Association and Key Management Protocol
176190203Srpauloprint-isoclns.c	- ISO CLNS, ESIS, and ISIS printer routines
177190203Srpauloprint-krb.c	- Kerberos printer routines
178190203Srpauloprint-l2tp.c	- Layer Two Tunneling Protocol printer routines
179190203Srpauloprint-lane.c	- ATM LANE printer routines
180190203Srpauloprint-llc.c	- IEEE 802.2 LLC printer routines
181190203Srpauloprint-lspping.c	- LSPPING printer routines
182190203Srpauloprint-lwres.c	- Lightweight Resolver protocol printer routines
183190203Srpauloprint-mobile.c	- IPv4 mobility printer routines
184190203Srpauloprint-mobility.c - IPv6 mobility printer routines
185190203Srpauloprint-mpls.c	- Multi-Protocol Label Switching printer routines
186190203Srpauloprint-msdp.c	- Multicast Source Discovery Protocol printer routines
187190203Srpauloprint-netbios.c	- NetBIOS frame protocol printer routines
188190203Srpauloprint-nfs.c	- Network File System printer routines
189190203Srpauloprint-ntp.c	- Network Time Protocol printer routines
190190203Srpauloprint-null.c	- BSD loopback device printer routines
191190203Srpauloprint-ospf.c	- Open Shortest Path First printer routines
192190203Srpauloprint-ospf6.c	- IPv6 Open Shortest Path First printer routines
193190203Srpauloprint-pflog.c	- OpenBSD packet filter log file printer routines
194190203Srpauloprint-pgm.c	- Pragmatic General Multicast printer routines
195190203Srpauloprint-pim.c	- Protocol Independent Multicast printer routines
196190203Srpauloprint-ppp.c	- Point to Point Protocol printer routines
197190203Srpauloprint-pppoe.c	- PPP-over-Ethernet printer routines
198190203Srpauloprint-pptp.c	- Point-to-Point Tunnelling Protocol printer routines
199190203Srpauloprint-radius.c	- Radius protocol printer routines
200190203Srpauloprint-raw.c	- Raw IP printer routines
201190203Srpauloprint-rip.c	- Routing Information Protocol printer routines
202190203Srpauloprint-ripng.c	- IPv6 Routing Information Protocol printer routines
203190203Srpauloprint-rrcp.c	- Realtek Remote Control Protocol routines
204190203Srpauloprint-rsvp.c	- Resource reSerVation Protocol (RSVP) printer routines
205190203Srpauloprint-rt6.c	- IPv6 routing header printer routines
206190203Srpauloprint-rx.c	- AFS RX printer routines
207190203Srpauloprint-sctp.c	- Stream Control Transmission Protocol printer routines
208190203Srpauloprint-sip.c	- SIP printer routines
209190203Srpauloprint-sl.c	- Compressed Serial Line Internet Protocol printer routines
210190203Srpauloprint-sll.c	- Linux "cooked" capture printer routines
211190203Srpauloprint-slow.c	- IEEE "slow protocol" (802.3ad) printer routines
212190203Srpauloprint-smb.c	- SMB/CIFS printer routines
213190203Srpauloprint-snmp.c	- Simple Network Management Protocol printer routines
214190203Srpauloprint-stp.c	- IEEE 802.1d spanning tree protocol printer routines
215190203Srpauloprint-sunatm.c	- SunATM DLPI capture printer routines
216190203Srpauloprint-sunrpc.c	- Sun Remote Procedure Call printer routines
217190203Srpauloprint-symantec.c - Symantec Enterprise Firewall printer routines
218190203Srpauloprint-tcp.c	- TCP printer routines
219190203Srpauloprint-telnet.c	- Telnet option printer routines
220190203Srpauloprint-tftp.c	- Trivial File Transfer Protocol printer routines
221190203Srpauloprint-timed.c	- BSD time daemon protocol printer routines
222190203Srpauloprint-token.c	- Token Ring printer routines
223190203Srpauloprint-udp.c	- UDP printer routines
224214478Srpauloprint-usb.c	- USB printer routines
225190203Srpauloprint-vjc.c	- PPP Van Jacobson compression (RFC1144) printer routines
226190203Srpauloprint-vrrp.c	- Virtual Router Redundancy Protocol
227190203Srpauloprint-wb.c	- White Board printer routines
228190203Srpauloprint-zephyr.c	- Zephyr printer routines
229190203Srpauloroute6d.h	- packet definition for IPv6 Routing Information Protocol
230190203Srpaulorpc_auth.h	- definitions for ONC RPC authentication
231190203Srpaulorpc_msg.h	- definitions for ONC RPC messages
232190203Srpaulorx.h		- AFS RX definitions
233190203SrpaulosctpConstants.h	- Stream Control Transmission Protocol constant definitions
234190203SrpaulosctpHeader.h	- Stream Control Transmission Protocol packet definitions
235190203Srpaulosend-ack.awk	- unidirectional tcp send/ack awk script
236190203Srpaulosetsignal.c	- OS-independent signal routines
237190203Srpaulosetsignal.h	- OS-independent signal prototypes
238190203Srpauloslcompress.h	- SLIP/PPP Van Jacobson compression (RFC1144) definitions
239190203Srpauloslip.h		- SLIP definitions
240190203Srpaulosll.h		- Linux "cooked" capture definitions
241190203Srpaulosmb.h		- SMB/CIFS definitions
242190203Srpaulosmbutil.c	- SMB/CIFS utility routines
243190203Srpaulostime.awk	- TCP send awk script
244190203Srpaulostrcasecmp.c	- missing routine
245190203Srpaulotcp.h		- TCP definitions
246190203Srpaulotcpdump.1	- manual entry
247190203Srpaulotcpdump.c	- main program
248190203Srpaulotelnet.h	- Telnet definitions
249190203Srpaulotftp.h		- TFTP definitions
250190203Srpaulotimed.h		- BSD time daemon protocol definitions
251190203Srpaulotoken.h		- Token Ring definitions
252190203Srpauloudp.h		- UDP definitions
253190203Srpauloutil.c		- utility routines
254190203Srpaulovfprintf.c	- emulation routine
255190203Srpaulowin32		- headers and routines for building on Win32 systems
256