INSTALL.txt 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. You will need an ANSI C compiler to build tcpdump. The configure script
  8. will abort if your compiler is not ANSI compliant. If this happens, use
  9. the generally available GNU C compiler (GCC).
  10. After libpcap has been built (either install it with "make install" or
  11. make sure both the libpcap and tcpdump source trees are in the same
  12. directory), run ./configure (a shell script). "configure" will
  13. determine your system attributes and generate an appropriate Makefile
  14. from Makefile.in. Now build tcpdump by running "make".
  15. If everything builds ok, su and type "make install". This will install
  16. tcpdump and the manual entry. Any user will be able to use tcpdump to
  17. read saved captures. Whether a user will be able to capture traffic
  18. depends on the OS and the configuration of the system; see the tcpdump
  19. man page for details. DO NOT give untrusted users the ability to
  20. capture traffic. If a user can capture traffic, he or she could use
  21. utilities such as tcpdump to capture any traffic on your net, including
  22. passwords.
  23. Note that most systems ship tcpdump, but usually an older version.
  24. Remember to remove or rename the installed binary when upgrading.
  25. If your system is not one which we have tested tcpdump on, you may have
  26. to modify the configure script and Makefile.in. Please send us patches
  27. for any modifications you need to make.
  28. Please see "PLATFORMS" for notes about tested platforms.
  29. FILES
  30. -----
  31. CHANGES - description of differences between releases
  32. CONTRIBUTING - guidelines for contributing
  33. CREDITS - people that have helped tcpdump along
  34. INSTALL.txt - this file
  35. LICENSE - the license under which tcpdump is distributed
  36. Makefile.in - compilation rules (input to the configure script)
  37. README - description of distribution
  38. Readme.Win32 - notes on building tcpdump on Win32 systems (with WinPcap)
  39. VERSION - version of this release
  40. aclocal.m4 - autoconf macros
  41. addrtoname.c - address to hostname routines
  42. addrtoname.h - address to hostname definitions
  43. ah.h - IPSEC Authentication Header definitions
  44. appletalk.h - AppleTalk definitions
  45. ascii_strcasecmp.c - locale-independent case-independent string comparison
  46. routines
  47. atime.awk - TCP ack awk script
  48. atm.h - ATM traffic type definitions
  49. bpf_dump.c - BPF program printing routines, in case libpcap doesn't
  50. have them
  51. chdlc.h - Cisco HDLC definitions
  52. cpack.c - functions to extract packed data
  53. cpack.h - declarations of functions to extract packed data
  54. config.guess - autoconf support
  55. config.h.in - autoconf input
  56. config.sub - autoconf support
  57. configure - configure script (run this first)
  58. configure.in - configure script source
  59. ether.h - Ethernet definitions
  60. ethertype.h - Ethernet type value definitions
  61. extract.h - alignment definitions
  62. gmpls.c - GMPLS definitions
  63. gmpls.h - GMPLS declarations
  64. gmt2local.c - time conversion routines
  65. gmt2local.h - time conversion prototypes
  66. install-sh - BSD style install script
  67. interface.h - globals, prototypes and definitions
  68. ip.h - IP definitions
  69. ip6.h - IPv6 definitions
  70. ipproto.c - IP protocol type value-to-name table
  71. ipproto.h - IP protocol type value definitions
  72. l2vpn.c - L2VPN encapsulation value-to-name table
  73. l2vpn.h - L2VPN encapsulation definitions
  74. lbl/os-*.h - OS-dependent defines and prototypes
  75. llc.h - LLC definitions
  76. machdep.c - machine dependent routines
  77. machdep.h - machine dependent definitions
  78. makemib - mib to header script
  79. mib.h - mib definitions
  80. missing/* - replacements for missing library functions
  81. mkdep - construct Makefile dependency list
  82. mpls.h - MPLS definitions
  83. nameser.h - DNS definitions
  84. netdissect.h - definitions and declarations for tcpdump-as-library
  85. (under development)
  86. nfs.h - Network File System V2 definitions
  87. nfsfh.h - Network File System file handle definitions
  88. nlpid.c - OSI NLPID value-to-name table
  89. nlpid.h - OSI NLPID definitions
  90. ospf.h - Open Shortest Path First definitions
  91. packetdat.awk - TCP chunk summary awk script
  92. parsenfsfh.c - Network File System file parser routines
  93. pcap_dump_ftell.c - pcap_dump_ftell() implementation, in case libpcap
  94. doesn't have it
  95. pcap-missing.h - declarations of functions possibly missing from libpcap
  96. ppp.h - Point to Point Protocol definitions
  97. print.c - Top-level routines for protocol printing
  98. print-*.c - The netdissect printers
  99. rpc_auth.h - definitions for ONC RPC authentication
  100. rpc_msg.h - definitions for ONC RPC messages
  101. send-ack.awk - unidirectional tcp send/ack awk script
  102. setsignal.c - OS-independent signal routines
  103. setsignal.h - OS-independent signal prototypes
  104. slcompress.h - SLIP/PPP Van Jacobson compression (RFC1144) definitions
  105. smb.h - SMB/CIFS definitions
  106. smbutil.c - SMB/CIFS utility routines
  107. stime.awk - TCP send awk script
  108. tcp.h - TCP definitions
  109. tcpdump.1 - manual entry
  110. tcpdump.c - main program
  111. timeval-operations.h - timeval operations macros
  112. udp.h - UDP definitions
  113. util-print.c - utility routines for protocol printers
  114. vfprintf.c - emulation routine
  115. win32 - headers and routines for building on Win32 systems