]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/tcpdump/INSTALL
Turn off the "-O2 flag TRIGGERS KNOWN OPTIMIZER BUGS" warning.
[FreeBSD/FreeBSD.git] / contrib / tcpdump / INSTALL
1 @(#) $Header: /tcpdump/master/tcpdump/INSTALL,v 1.47 2000/12/16 09:07:45 guy Exp $ (LBL)
2
3 If you have not built libpcap, do so first.  See the README
4 file in this directory for the ftp location.
5
6 You will need an ANSI C compiler to build tcpdump. The configure script
7 will abort if your compiler is not ANSI compliant. If this happens, use
8 the GNU C compiler, available via anonymous ftp:
9
10         ftp://ftp.gnu.org/pub/gnu/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. By default, tcpdump is installed with
20 group execute permissions. The group used depends on your os. In
21 addition, BPF packet access is controlled by permissions to
22 /dev/bpf0. In any case, DO NOT give untrusted users the capability of
23 running tcpdump. Tcpdump can capture any traffic on your net,
24 including passwords.
25
26 Note that most systems ship tcpdump, but usually an older version.
27 Remember to remove or rename the installed binary when upgrading.
28
29 If you use Linux, this version of libpcap is known to compile and run
30 with 2.0.25 and more modern, and 2.2.x kernels.  It is guaranteed not
31 to work with 1.X kernels.
32
33 If your system is not one which we have tested tcpdump on, you may have
34 to modify the configure script and Makefile.in. Please send us patches
35 for any modifications you need to make.
36
37 Please see "PLATFORMS" for notes about tested platforms.
38
39
40 FILES
41 -----
42 CHANGES         - description of differences between releases
43 CREDITS         - people that have helped tcpdump along
44 FILES           - list of files exported as part of the distribution
45 INSTALL         - this file
46 Makefile.in     - compilation rules (input to the configure script)
47 README          - description of distribution
48 VERSION         - version of this release
49 acconfig.h      - autoconf input
50 aclocal.m4      - autoconf macros
51 addrtoname.c    - address to hostname routines
52 addrtoname.h    - address to hostname definitions
53 appletalk.h     - AppleTalk definitions
54 atime.awk       - TCP ack awk script
55 bootp.h         - BOOTP definitions
56 config.guess    - autoconf support
57 config.h.in     - autoconf input
58 config.sub      - autoconf support
59 configure       - configure script (run this first)
60 configure.in    - configure script source
61 decnet.h        - DECnet definitions
62 dhcp6.h         - IPv6 DHCP definitions
63 dhcp6opt.h      - IPv6 DHCP options
64 ethertype.h     - ethernet definitions
65 extract.h       - alignment definitions
66 fddi.h          - Fiber Distributed Data Interface definitions
67 gmt2local.c     - time conversion routines
68 gmt2local.h     - time conversion prototypes
69 igrp.h          - Interior Gateway Routing Protocol definitions
70 install-sh      - BSD style install script
71 interface.h     - globals, prototypes and definitions
72 ipsec_doi.h     - ISAKMP packet definitions - RFC2407
73 ipx.h           - IPX definitions
74 isakmp.h        - ISAKMP packet definitions - RFC2408
75 l2tp.h          -
76 lane.h          -
77 lbl/gnuc.h      - gcc macros and defines
78 lbl/os-*.h      - os dependent defines and prototypes
79 llc.h           - LLC definitions
80 machdep.c       - machine dependent routines
81 machdep.h       - machine dependent definitions
82 makemib         - mib to header script
83 mib.h           - mib definitions
84 missing/*       - replacements for missing library functions
85 mkdep           - construct Makefile dependency list
86 nameser.h       - DNS definitions
87 netbios.h       - NETBIOS definitions
88 nfs.h           - Network File System V2 definitions
89 nfsfh.h         - Network File System file handle definitions
90 ntp.h           - Network Time Protocol definitions
91 oakley.h        - ISAKMP packet definitions - RFC2409
92 ospf.h          - Open Shortest Path First definitions
93 ospf6.h         - IPv6 Open Shortest Path First definitions
94 packetdat.awk   - TCP chunk summary awk script
95 parsenfsfh.c    - Network File System file parser routines
96 ppp.h           - Point to Point Protocol definitions
97 print-ah.c      - IPSEC Authentication Header printer routines
98 print-arp.c     - Address Resolution Protocol printer routines
99 print-ascii.c   - ASCII packet dump routines
100 print-atalk.c   - AppleTalk printer routines
101 print-atm.c     - atm printer routines
102 print-bgp.c     - Border Gateway Protocol printer routines
103 print-bootp.c   - BOOTP and IPv4 DHCP printer routines
104 print-chdlc.c   - CHDLC printer routines
105 print-cip.c     - Classical-IP over ATM routines
106 print-cnfp.c    - Cisco NetFlow printer routines
107 print-decnet.c  - DECnet printer routines
108 print-dhcp6.c   - IPv6 DHCP printer routines
109 print-domain.c  - Domain Name System printer routines
110 print-dvmrp.c   - Distance Vector Multicast Routing Protocol printer routines
111 print-egp.c     - External Gateway Protocol printer routines
112 print-esp.c     - IPSEC Encapsulating Security Payload printer routines
113 print-ether.c   - ethernet printer routines
114 print-fddi.c    - Fiber Distributed Data Interface printer routines
115 print-frag6.c   - IPv6 fragmentation header printer routines
116 print-gre.c     - Generic Routing Encapsulation printer routines
117 print-icmp.c    - Internet Control Message Protocol printer routines
118 print-icmp6.c   - IPv6 Internet Control Message Protocol printer routines
119 print-igrp.c    - Interior Gateway Routing Protocol printer routines
120 print-ip.c      - ip printer routines
121 print-ip6.c     - IPv6 printer routines
122 print-ip6opts.c - IPv6 header option printer routines
123 print-ipcomp.c  - IP Payload Compression Protocol printer routines
124 print-ipx.c     - IPX printer routines
125 print-isakmp.c  - Internet Security Association and Key Management Protocol
126 print-isoclns.c - isoclns printer routines
127 print-krb.c     - Kerberos printer routines
128 print-l2tp.c    - Layer Two Tunneling Protocol printer routines
129 print-lane.c    -
130 print-lcp.c     -
131 print-llc.c     - llc printer routines
132 print-mobile.c  - IPv4 mobility printer routines
133 print-netbios.c - netbios printer routines
134 print-nfs.c     - Network File System printer routines
135 print-ntp.c     - Network Time Protocol printer routines
136 print-null.c    - null printer routines
137 print-ospf.c    - Open Shortest Path First printer routines
138 print-ospf6.c   - IPv6 Open Shortest Path First printer routines
139 print-pim.c     - Protocol Independent Multicast printer routines
140 print-ppp.c     - Point to Point Protocol printer routines
141 print-pppoe.c   -
142 print-raw.c     - raw printer routines
143 print-rip.c     - Routing Information Protocol printer routines
144 print-ripng.c   - IPv6 Routing Information Protocol printer routines
145 print-rt6.c     - IPv6 routing header printer routines
146 print-rx.c      - AFS RX printer routines
147 print-sl.c      - Compressed Serial Line Internet Protocol printer routines
148 print-smb.c     - SMB (samba) printer routines
149 print-snmp.c    - Simple Network Management Protocol printer routines
150 print-stp.c     - IEEE 802.1d spanning tree protocol printer routines
151 print-sunrpc.c  - Sun Remote Procedure Call printer routines
152 print-tcp.c     - TCP printer routines
153 print-telnet.c  - Telnet option printer routines
154 print-tftp.c    - Trivial File Transfer Protocol printer routines
155 print-token.c   - Token Ring printer routines
156 print-udp.c     - UDP printer routines
157 print-vjc.c     - PPP Van Jacovson compression (RFC1144) printer routines
158 print-vrrp.c    - Virtual Router Redundancy Protocol
159 print-wb.c      - white board printer routines
160 route6d.h       - packet definition for IPv6 Routing Information Protocol
161 rx.h            -
162 savestr.c       - strdup() replacement
163 savestr.h       - savestr prototypes
164 send-ack.awk    - unidirectional tcp send/ack awk script
165 setsignal.c     - os independent signal routines
166 setsignal.h     - os independent signal prototypes
167 smb.h           -
168 smbutil.c       -
169 stime.awk       - TCP send awk script
170 strcasecmp.c    - missing routine
171 tcpdump.1       - manual entry
172 tcpdump.c       - main program
173 util.c          - utility routines
174 vfprintf.c      - emulation routine