2001-04-03 07:45:48 +00:00
|
|
|
@(#) $Header: /tcpdump/master/tcpdump/INSTALL,v 1.47 2000/12/16 09:07:45 guy Exp $ (LBL)
|
1996-08-19 20:34:12 +00:00
|
|
|
|
|
|
|
If you have not built libpcap, do so first. See the README
|
|
|
|
file in this directory for the ftp location.
|
|
|
|
|
|
|
|
You will need an ANSI C compiler to build tcpdump. The configure script
|
|
|
|
will abort if your compiler is not ANSI compliant. If this happens, use
|
|
|
|
the GNU C compiler, available via anonymous ftp:
|
|
|
|
|
2001-04-03 07:45:48 +00:00
|
|
|
ftp://ftp.gnu.org/pub/gnu/gcc/
|
1996-08-19 20:34:12 +00:00
|
|
|
|
2001-04-03 07:45:48 +00:00
|
|
|
After libpcap has been built (either install it with "make install" or
|
|
|
|
make sure both the libpcap and tcpdump source trees are in the same
|
|
|
|
directory), run ./configure (a shell script). "configure" will
|
1996-08-19 20:34:12 +00:00
|
|
|
determine your system attributes and generate an appropriate Makefile
|
|
|
|
from Makefile.in. Now build tcpdump by running "make".
|
|
|
|
|
2001-04-03 07:45:48 +00:00
|
|
|
If everything builds ok, su and type "make install". This will install
|
|
|
|
tcpdump and the manual entry. By default, tcpdump is installed with
|
|
|
|
group execute permissions. The group used depends on your os. In
|
|
|
|
addition, BPF packet access is controlled by permissions to
|
|
|
|
/dev/bpf0. In any case, DO NOT give untrusted users the capability of
|
|
|
|
running tcpdump. Tcpdump can capture any traffic on your net,
|
|
|
|
including passwords.
|
1996-08-19 20:34:12 +00:00
|
|
|
|
2001-04-03 07:45:48 +00:00
|
|
|
Note that most systems ship tcpdump, but usually an older version.
|
|
|
|
Remember to remove or rename the installed binary when upgrading.
|
1996-08-19 20:34:12 +00:00
|
|
|
|
1998-09-15 19:36:32 +00:00
|
|
|
If you use Linux, this version of libpcap is known to compile and run
|
2001-04-03 07:45:48 +00:00
|
|
|
with 2.0.25 and more modern, and 2.2.x kernels. It is guaranteed not
|
|
|
|
to work with 1.X kernels.
|
1997-05-27 02:11:31 +00:00
|
|
|
|
1996-08-19 20:34:12 +00:00
|
|
|
If your system is not one which we have tested tcpdump on, you may have
|
|
|
|
to modify the configure script and Makefile.in. Please send us patches
|
2000-01-30 00:45:58 +00:00
|
|
|
for any modifications you need to make.
|
|
|
|
|
2001-04-03 07:45:48 +00:00
|
|
|
Please see "PLATFORMS" for notes about tested platforms.
|
2000-01-30 00:45:58 +00:00
|
|
|
|
1996-08-19 20:34:12 +00:00
|
|
|
|
|
|
|
FILES
|
|
|
|
-----
|
|
|
|
CHANGES - description of differences between releases
|
2001-04-03 07:45:48 +00:00
|
|
|
CREDITS - people that have helped tcpdump along
|
1996-08-19 20:34:12 +00:00
|
|
|
FILES - list of files exported as part of the distribution
|
|
|
|
INSTALL - this file
|
|
|
|
Makefile.in - compilation rules (input to the configure script)
|
|
|
|
README - description of distribution
|
|
|
|
VERSION - version of this release
|
2000-01-30 00:45:58 +00:00
|
|
|
acconfig.h - autoconf input
|
1998-09-15 19:36:32 +00:00
|
|
|
aclocal.m4 - autoconf macros
|
1996-08-19 20:34:12 +00:00
|
|
|
addrtoname.c - address to hostname routines
|
|
|
|
addrtoname.h - address to hostname definitions
|
|
|
|
appletalk.h - AppleTalk definitions
|
1997-05-27 02:11:31 +00:00
|
|
|
atime.awk - TCP ack awk script
|
1996-08-19 20:34:12 +00:00
|
|
|
bootp.h - BOOTP definitions
|
|
|
|
config.guess - autoconf support
|
2000-01-30 00:45:58 +00:00
|
|
|
config.h.in - autoconf input
|
1996-08-19 20:34:12 +00:00
|
|
|
config.sub - autoconf support
|
|
|
|
configure - configure script (run this first)
|
|
|
|
configure.in - configure script source
|
|
|
|
decnet.h - DECnet definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
dhcp6.h - IPv6 DHCP definitions
|
|
|
|
dhcp6opt.h - IPv6 DHCP options
|
1996-08-19 20:34:12 +00:00
|
|
|
ethertype.h - ethernet definitions
|
|
|
|
extract.h - alignment definitions
|
1997-05-27 02:11:31 +00:00
|
|
|
fddi.h - Fiber Distributed Data Interface definitions
|
1998-09-15 19:36:32 +00:00
|
|
|
gmt2local.c - time conversion routines
|
|
|
|
gmt2local.h - time conversion prototypes
|
1997-05-27 02:11:31 +00:00
|
|
|
igrp.h - Interior Gateway Routing Protocol definitions
|
1996-08-19 20:34:12 +00:00
|
|
|
install-sh - BSD style install script
|
|
|
|
interface.h - globals, prototypes and definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
ipsec_doi.h - ISAKMP packet definitions - RFC2407
|
1996-08-19 20:34:12 +00:00
|
|
|
ipx.h - IPX definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
isakmp.h - ISAKMP packet definitions - RFC2408
|
|
|
|
l2tp.h -
|
|
|
|
lane.h -
|
1996-08-19 20:34:12 +00:00
|
|
|
lbl/gnuc.h - gcc macros and defines
|
|
|
|
lbl/os-*.h - os dependent defines and prototypes
|
|
|
|
llc.h - LLC definitions
|
|
|
|
machdep.c - machine dependent routines
|
|
|
|
machdep.h - machine dependent definitions
|
|
|
|
makemib - mib to header script
|
|
|
|
mib.h - mib definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
missing/* - replacements for missing library functions
|
1996-08-19 20:34:12 +00:00
|
|
|
mkdep - construct Makefile dependency list
|
2001-04-03 07:45:48 +00:00
|
|
|
nameser.h - DNS definitions
|
1996-08-19 20:34:12 +00:00
|
|
|
netbios.h - NETBIOS definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
nfs.h - Network File System V2 definitions
|
1997-05-27 02:11:31 +00:00
|
|
|
nfsfh.h - Network File System file handle definitions
|
|
|
|
ntp.h - Network Time Protocol definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
oakley.h - ISAKMP packet definitions - RFC2409
|
1997-05-27 02:11:31 +00:00
|
|
|
ospf.h - Open Shortest Path First definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
ospf6.h - IPv6 Open Shortest Path First definitions
|
1997-05-27 02:11:31 +00:00
|
|
|
packetdat.awk - TCP chunk summary awk script
|
|
|
|
parsenfsfh.c - Network File System file parser routines
|
1998-09-15 19:36:32 +00:00
|
|
|
ppp.h - Point to Point Protocol definitions
|
2000-01-30 00:45:58 +00:00
|
|
|
print-ah.c - IPSEC Authentication Header printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-arp.c - Address Resolution Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-ascii.c - ASCII packet dump routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-atalk.c - AppleTalk printer routines
|
|
|
|
print-atm.c - atm printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-bgp.c - Border Gateway Protocol printer routines
|
|
|
|
print-bootp.c - BOOTP and IPv4 DHCP printer routines
|
|
|
|
print-chdlc.c - CHDLC printer routines
|
2001-04-03 07:45:48 +00:00
|
|
|
print-cip.c - Classical-IP over ATM routines
|
|
|
|
print-cnfp.c - Cisco NetFlow printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-decnet.c - DECnet printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-dhcp6.c - IPv6 DHCP printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-domain.c - Domain Name System printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-dvmrp.c - Distance Vector Multicast Routing Protocol printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-egp.c - External Gateway Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-esp.c - IPSEC Encapsulating Security Payload printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-ether.c - ethernet printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-fddi.c - Fiber Distributed Data Interface printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-frag6.c - IPv6 fragmentation header printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-gre.c - Generic Routing Encapsulation printer routines
|
|
|
|
print-icmp.c - Internet Control Message Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-icmp6.c - IPv6 Internet Control Message Protocol printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-igrp.c - Interior Gateway Routing Protocol printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-ip.c - ip printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-ip6.c - IPv6 printer routines
|
|
|
|
print-ip6opts.c - IPv6 header option printer routines
|
|
|
|
print-ipcomp.c - IP Payload Compression Protocol printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-ipx.c - IPX printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-isakmp.c - Internet Security Association and Key Management Protocol
|
1996-08-19 20:34:12 +00:00
|
|
|
print-isoclns.c - isoclns printer routines
|
|
|
|
print-krb.c - Kerberos printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-l2tp.c - Layer Two Tunneling Protocol printer routines
|
|
|
|
print-lane.c -
|
|
|
|
print-lcp.c -
|
1996-08-19 20:34:12 +00:00
|
|
|
print-llc.c - llc printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-mobile.c - IPv4 mobility printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-netbios.c - netbios printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-nfs.c - Network File System printer routines
|
|
|
|
print-ntp.c - Network Time Protocol printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-null.c - null printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-ospf.c - Open Shortest Path First printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-ospf6.c - IPv6 Open Shortest Path First printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-pim.c - Protocol Independent Multicast printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-ppp.c - Point to Point Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-pppoe.c -
|
1998-09-15 19:36:32 +00:00
|
|
|
print-raw.c - raw printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-rip.c - Routing Information Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-ripng.c - IPv6 Routing Information Protocol printer routines
|
|
|
|
print-rt6.c - IPv6 routing header printer routines
|
|
|
|
print-rx.c - AFS RX printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-sl.c - Compressed Serial Line Internet Protocol printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-smb.c - SMB (samba) printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-snmp.c - Simple Network Management Protocol printer routines
|
2001-04-03 07:45:48 +00:00
|
|
|
print-stp.c - IEEE 802.1d spanning tree protocol printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-sunrpc.c - Sun Remote Procedure Call printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-tcp.c - TCP printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-telnet.c - Telnet option printer routines
|
1997-05-27 02:11:31 +00:00
|
|
|
print-tftp.c - Trivial File Transfer Protocol printer routines
|
2001-04-03 07:45:48 +00:00
|
|
|
print-token.c - Token Ring printer routines
|
1996-08-19 20:34:12 +00:00
|
|
|
print-udp.c - UDP printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
print-vjc.c - PPP Van Jacovson compression (RFC1144) printer routines
|
2001-04-03 07:45:48 +00:00
|
|
|
print-vrrp.c - Virtual Router Redundancy Protocol
|
1996-08-19 20:34:12 +00:00
|
|
|
print-wb.c - white board printer routines
|
2000-01-30 00:45:58 +00:00
|
|
|
route6d.h - packet definition for IPv6 Routing Information Protocol
|
|
|
|
rx.h -
|
|
|
|
savestr.c - strdup() replacement
|
|
|
|
savestr.h - savestr prototypes
|
1996-08-19 20:34:12 +00:00
|
|
|
send-ack.awk - unidirectional tcp send/ack awk script
|
1998-09-15 19:36:32 +00:00
|
|
|
setsignal.c - os independent signal routines
|
|
|
|
setsignal.h - os independent signal prototypes
|
2000-01-30 00:45:58 +00:00
|
|
|
smb.h -
|
|
|
|
smbutil.c -
|
1997-05-27 02:11:31 +00:00
|
|
|
stime.awk - TCP send awk script
|
1998-09-15 19:36:32 +00:00
|
|
|
strcasecmp.c - missing routine
|
1996-08-19 20:34:12 +00:00
|
|
|
tcpdump.1 - manual entry
|
|
|
|
tcpdump.c - main program
|
|
|
|
util.c - utility routines
|
|
|
|
vfprintf.c - emulation routine
|