Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tcpdump 3.8.3

  • Loading branch information...
commit dd47fb4ef3dfc552fbf04aacd6643c27da5193cf 1 parent 516b5ee
itojun authored

Showing 260 changed files with 34,006 additions and 6,561 deletions. Show diff stats Hide diff stats

  1. +7 2 kame/kame/tcpdump/.cvsignore
  2. +220 1 kame/kame/tcpdump/CHANGES
  3. +120 0 kame/kame/tcpdump/CREDITS
  4. +132 17 kame/kame/tcpdump/FILES
  5. +137 59 kame/kame/tcpdump/INSTALL
  6. +19 0 kame/kame/tcpdump/LICENSE
  7. +22 0 kame/kame/tcpdump/Makefile-devel-adds
  8. +73 33 kame/kame/tcpdump/Makefile.in
  9. +9 0 kame/kame/tcpdump/PLATFORMS
  10. +45 19 kame/kame/tcpdump/README
  11. +24 0 kame/kame/tcpdump/Readme.Win32
  12. +6 0 kame/kame/tcpdump/TODO
  13. +1 1  kame/kame/tcpdump/VERSION
  14. +128 0 kame/kame/tcpdump/acconfig.h
  15. +545 45 kame/kame/tcpdump/aclocal.m4
  16. +523 194 kame/kame/tcpdump/addrtoname.c
  17. +9 8 kame/kame/tcpdump/addrtoname.h
  18. +57 0 kame/kame/tcpdump/ah.h
  19. +190 0 kame/kame/tcpdump/aodv.h
  20. +30 30 kame/kame/tcpdump/appletalk.h
  21. +101 0 kame/kame/tcpdump/arcnet.h
  22. +25 0 kame/kame/tcpdump/atm.h
  23. +87 0 kame/kame/tcpdump/atmuni31.h
  24. +148 95 kame/kame/tcpdump/bootp.h
  25. +7 6 kame/kame/tcpdump/bpf_dump.c
  26. +27 0 kame/kame/tcpdump/chdlc.h
  27. +905 169 kame/kame/tcpdump/config.guess
  28. +293 0 kame/kame/tcpdump/config.h.in
  29. +705 101 kame/kame/tcpdump/config.sub
  30. +10,158 2,417 kame/kame/tcpdump/configure
  31. +654 171 kame/kame/tcpdump/configure.in
  32. +17 9 kame/kame/tcpdump/decnet.h
  33. +47 0 kame/kame/tcpdump/enc.h
  34. +68 0 kame/kame/tcpdump/esp.h
  35. +59 0 kame/kame/tcpdump/ether.h
  36. +56 5 kame/kame/tcpdump/ethertype.h
  37. +61 20 kame/kame/tcpdump/extract.h
  38. +8 1 kame/kame/tcpdump/fddi.h
  39. +134 0 kame/kame/tcpdump/gmpls.c
  40. +20 0 kame/kame/tcpdump/gmpls.h
  41. +7 8 kame/kame/tcpdump/gmt2local.c
  42. +1 1  kame/kame/tcpdump/gmt2local.h
  43. +451 0 kame/kame/tcpdump/icmp6.h
  44. +285 0 kame/kame/tcpdump/ieee802_11.h
  45. +17 20 kame/kame/tcpdump/igrp.h
  46. +183 89 kame/kame/tcpdump/interface.h
  47. +162 0 kame/kame/tcpdump/ip.h
  48. +194 0 kame/kame/tcpdump/ip6.h
  49. +29 0 kame/kame/tcpdump/ipfc.h
  50. +136 0 kame/kame/tcpdump/ipproto.h
  51. +15 28 kame/kame/tcpdump/ipsec_doi.h
  52. +15 13 kame/kame/tcpdump/ipx.h
  53. +15 86 kame/kame/tcpdump/isakmp.h
  54. +3 23 kame/kame/tcpdump/l2tp.h
  55. +41 0 kame/kame/tcpdump/lane.h
  56. +26 0 kame/kame/tcpdump/lbl/os-osf4.h
  57. +1 25 kame/kame/tcpdump/lbl/os-solaris2.h
  58. +1 1  kame/kame/tcpdump/lbl/os-sunos4.h
  59. +1 1  kame/kame/tcpdump/lbl/os-ultrix4.h
  60. +54 21 kame/kame/tcpdump/llc.h
  61. +26 6 kame/kame/tcpdump/machdep.c
  62. +2 2 kame/kame/tcpdump/machdep.h
  63. +111 35 kame/kame/tcpdump/makemib
  64. +205 1 kame/kame/tcpdump/mib.h
  65. +122 0 kame/kame/tcpdump/missing/addrinfo.h
  66. +36 0 kame/kame/tcpdump/missing/addrsize.h
  67. +67 0 kame/kame/tcpdump/missing/bittypes.h
  68. +67 0 kame/kame/tcpdump/missing/datalinks.c
  69. +175 0 kame/kame/tcpdump/missing/dlnames.c
  70. +1,115 0 kame/kame/tcpdump/missing/getaddrinfo.c
  71. +281 0 kame/kame/tcpdump/missing/getnameinfo.c
  72. +60 0 kame/kame/tcpdump/missing/inet_aton.c
  73. +104 0 kame/kame/tcpdump/missing/inet_ntop.c
  74. +58 0 kame/kame/tcpdump/missing/inet_pton.c
  75. +36 0 kame/kame/tcpdump/missing/resolv6.h
  76. +49 0 kame/kame/tcpdump/missing/resolv_ext.h
  77. +632 0 kame/kame/tcpdump/missing/snprintf.c
  78. +38 0 kame/kame/tcpdump/missing/sockstorage.h
  79. +57 0 kame/kame/tcpdump/missing/strdup.c
  80. +76 0 kame/kame/tcpdump/missing/strlcat.c
  81. +73 0 kame/kame/tcpdump/missing/strlcpy.c
  82. +83 0 kame/kame/tcpdump/missing/strsep.c
  83. +295 0 kame/kame/tcpdump/nameser.h
  84. +1 1  kame/kame/tcpdump/netbios.h
  85. +453 0 kame/kame/tcpdump/nfs.h
  86. +36 2 kame/kame/tcpdump/nfsfh.h
  87. +4 4 kame/kame/tcpdump/ntp.h
  88. +3 3 kame/kame/tcpdump/oakley.h
  89. +106 45 kame/kame/tcpdump/ospf.h
  90. +16 18 kame/kame/tcpdump/ospf6.h
  91. +62 0 kame/kame/tcpdump/oui.c
  92. +41 0 kame/kame/tcpdump/oui.h
  93. +57 22 kame/kame/tcpdump/parsenfsfh.c
  94. +56 0 kame/kame/tcpdump/pcap-missing.h
  95. +77 0 kame/kame/tcpdump/pf.h
  96. +18 1 kame/kame/tcpdump/ppp.h
  97. +1,003 0 kame/kame/tcpdump/print-802_11.c
  98. +20 31 kame/kame/tcpdump/print-ah.c
  99. +455 0 kame/kame/tcpdump/print-aodv.c
  100. +119 0 kame/kame/tcpdump/print-ap1394.c
  101. +290 0 kame/kame/tcpdump/print-arcnet.c
  102. +251 54 kame/kame/tcpdump/print-arp.c
  103. +185 0 kame/kame/tcpdump/print-ascii.c
  104. +96 48 kame/kame/tcpdump/print-atalk.c
  105. +182 92 kame/kame/tcpdump/print-atm.c
  106. +71 0 kame/kame/tcpdump/print-beep.c
  107. +160 0 kame/kame/tcpdump/print-bfd.c
  108. +1,859 0 kame/kame/tcpdump/print-bgp.c
  109. +391 154 kame/kame/tcpdump/print-bootp.c
  110. +365 0 kame/kame/tcpdump/print-cdp.c
  111. +67 75 kame/kame/tcpdump/print-chdlc.c
  112. +108 0 kame/kame/tcpdump/print-cip.c
  113. +184 0 kame/kame/tcpdump/print-cnfp.c
  114. +19 27 kame/kame/tcpdump/print-decnet.c
  115. +609 0 kame/kame/tcpdump/print-dhcp6.c
  116. +484 250 kame/kame/tcpdump/print-domain.c
  117. +115 105 kame/kame/tcpdump/print-dvmrp.c
  118. +42 44 kame/kame/tcpdump/print-egp.c
  119. +78 0 kame/kame/tcpdump/print-enc.c
  120. +417 216 kame/kame/tcpdump/print-esp.c
  121. +159 85 kame/kame/tcpdump/print-ether.c
  122. +33 76 kame/kame/tcpdump/print-fddi.c
  123. +487 0 kame/kame/tcpdump/print-fr.c
  124. +38 32 kame/kame/tcpdump/print-frag6.c
  125. +335 103 kame/kame/tcpdump/print-gre.c
  126. +136 0 kame/kame/tcpdump/print-hsrp.c
  127. +239 91 kame/kame/tcpdump/print-icmp.c
  128. +878 309 kame/kame/tcpdump/print-icmp6.c
  129. +335 0 kame/kame/tcpdump/print-igmp.c
  130. +12 19 kame/kame/tcpdump/print-igrp.c
  131. +415 366 kame/kame/tcpdump/print-ip.c
  132. +84 80 kame/kame/tcpdump/print-ip6.c
  133. +209 25 kame/kame/tcpdump/print-ip6opts.c
  134. +13 33 kame/kame/tcpdump/print-ipcomp.c
  135. +137 0 kame/kame/tcpdump/print-ipfc.c
  136. +32 32 kame/kame/tcpdump/print-ipx.c
  137. +682 355 kame/kame/tcpdump/print-isakmp.c
Sorry, we could not display the entire diff because it was too big.
9 kame/kame/tcpdump/.cvsignore
... ... @@ -1,6 +1,11 @@
  1 +version.c
1 2 Makefile
  3 +Makefile-devel.in
  4 +config.status
2 5 config.log
3 6 config.cache
4   -config.status
5   -version.c
  7 +config.h
  8 +.devel
  9 +stamp-h
  10 +stamp-h.in
6 11 tcpdump
221 kame/kame/tcpdump/CHANGES
... ... @@ -1,4 +1,223 @@
1   -@(#) $Header: CHANGES,v 1.54 98/07/25 12:41:06 leres Exp $ (LBL)
  1 +$Header: /tcpdump/master/tcpdump/CHANGES,v 1.84.2.3 2004/03/30 14:36:24 mcr Exp $
  2 +
  3 +Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
  4 +
  5 + No changes from 3.8.2. Version bumped only to maintain consistency
  6 + with libpcap 0.8.3.
  7 +
  8 +Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
  9 +
  10 + Fixes for print-isakmp.c CVE: CAN-2004-0183, CAN-2004-0184
  11 + http://www.rapid7.com/advisories/R7-0017.html
  12 + IP-over-IEEE1394 printing.
  13 + some MINGW32 changes.
  14 + updates for autoconf 2.5
  15 + fixes for print-aodv.c - check for too short packets
  16 + formatting changes to print-ascii for hex output.
  17 + check for too short packets: print-bgp.c, print-bootp.c, print-cdp.c,
  18 + print-chdlc.c, print-domain.c, print-icmp.c, print-icmp6.c,
  19 + print-ip.c, print-lwres.c, print-ospf.c, print-pim.c,
  20 + print-ppp.c,print-pppoe.c, print-rsvp.c, print-wb.c
  21 + print-ether.c - better handling of unknown types.
  22 + print-isoclns.c - additional decoding of types.
  23 + print-llc.c - strings for LLC names added.
  24 + print-pfloc.c - various enhancements
  25 + print-radius.c - better decoding to strings.
  26 +
  27 +Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 3.8 release
  28 +
  29 + changed syntax of -E argument so that multiple SAs can be decrypted
  30 + fixes for Digital Unix headers and Documentation
  31 + __attribute__ fixes
  32 + CDP changes from Terry Kennedy <terry@tmk.com>.
  33 + IPv6 mobility updates from Kazushi Sugyo <sugyo@pb.jp.nec.com>
  34 + Fixes for ASN.1 decoder for 2.100.3 forms.
  35 + Added a count of packets received and processed to clarify numbers.
  36 + Incorporated WinDUMP patches for Win32 builds.
  37 + PPPoE payload length headers.
  38 + Fixes for HP C compiler builds.
  39 + Use new pcap_breakloop() and pcap_findalldevs() if we can.
  40 + BGP output split into multiple lines.
  41 + Fixes to 802.11 decoding.
  42 + Fixes to PIM decoder.
  43 + SuperH is a CPU that can't handle unaligned access. Many fixes for
  44 + unaligned access work.
  45 + Fixes to Frame-Relay decoder for Q.933/922 frames.
  46 + Clarified when Solaris can do captures as non-root.
  47 + Added tests/ subdir for examples/regression tests.
  48 + New -U flag. -flush stdout after every packet
  49 + New -A flag -print ascii only
  50 + support for decoding IS-IS inside Cisco HDLC Frames
  51 + more verbosity for tftp decoder
  52 + mDNS decoder
  53 + new BFD decoder
  54 + cross compilation patches
  55 + RFC 3561 AODV support.
  56 + UDP/TCP pseudo-checksum properly for source-route options.
  57 + sanitized all files to modified BSD license
  58 + Add support for RFC 2625 IP-over-Fibre Channel.
  59 + fixes for DECnet support.
  60 + Support RFC 2684 bridging of Ethernet, 802.5 Token Ring, and FDDI.
  61 + RFC 2684 encapsulation of BPDUs.
  62 +
  63 +Tuesday, February 25, 2003. fenner@research.att.com. 3.7.2 release
  64 +
  65 + Fixed infinite loop when parsing malformed isakmp packets.
  66 + (reported by iDefense; already fixed in CVS)
  67 + Fixed infinite loop when parsing malformed BGP packets.
  68 + Fixed buffer overflow with certain malformed NFS packets.
  69 + Pretty-print unprintable network names in 802.11 printer.
  70 + Handle truncated nbp (appletalk) packets.
  71 + Updated DHCPv6 printer to match draft-ietf-dhc-dhcpv6-22.txt
  72 + Print IP protocol name even if we don't have a printer for it.
  73 + Print IP protocol name or number for fragments.
  74 + Print the whole MPLS label stack, not just the top label.
  75 + Print request header and file handle for NFS v3 FSINFO and PATHCONF
  76 + requests.
  77 + Fix NFS packet truncation checks.
  78 + Handle "old" DR-Priority and Bidir-Capable PIM HELLO options.
  79 + Handle unknown RADIUS attributes properly.
  80 + Fix an ASN.1 parsing error that would cause e.g. the OID
  81 + 2.100.3 to be misrepresented as 4.20.3 .
  82 +
  83 +Monday, January 21, 2002. mcr@sandelman.ottawa.on.ca. Summary for 3.7 release
  84 +see http://www.tcpdump.org/cvs-log/2002-01-21.10:16:48.html for commit log.
  85 + keyword "ipx" added.
  86 + Better OSI/802.2 support on Linux.
  87 + IEEE 802.11 support, from clenahan@fortresstech.com, achirica@ttd.net.
  88 + LLC SAP support for FDDI/token ring/RFC-1483 style ATM
  89 + BXXP protocol was replaced by the BEEP protocol;
  90 + improvements to SNAP demux.
  91 + Changes to "any" interface documentation.
  92 + Documentation on pcap_stats() counters.
  93 + Fix a memory leak found by Miklos Szeredi - pcap_ether_aton().
  94 + Added MPLS encapsulation decoding per RFC3032.
  95 + DNS dissector handles TKEY, TSIG and IXFR.
  96 + adaptive SLIP interface patch from Igor Khristophorov <igor@atdot.org>
  97 + SMB printing has much improved bounds checks
  98 + OUI 0x0000f8 decoded as encapsulated ethernet for Cisco-custom bridging
  99 + Zephyr support, from Nickolai Zeldovich <kolya@MIT.EDU>.
  100 + Solaris - devices with digits in them. Stefan Hudson <hudson@mbay.net>
  101 + IPX socket 0x85be is for Cisco EIGRP over IPX.
  102 + Improvements to fragmented ESP handling.
  103 + SCTP support from Armando L. Caro Jr. <acaro@mail.eecis.udel.edu>
  104 + Linux ARPHDR_ATM support fixed.
  105 + Added a "netbeui" keyword, which selects NetBEUI packets.
  106 + IPv6 ND improvements, MobileIP dissector, 2292bis-02 for RA option.
  107 + Handle ARPHDR_HDLC from Marcus Felipe Pereira <marcus@task.com.br>.
  108 + Handle IPX socket 0x553 -> NetBIOS-over-IPX socket, "nwlink-dgm"
  109 + Better Linux libc5 compat.
  110 + BIND9 lwres dissector added.
  111 + MIPS and SPARC get strict alignment macros (affects print-bgp.c)
  112 + Apple LocalTalk LINKTYPE_ reserved.
  113 + New time stamp formats documented.
  114 + DHCP6 updated to draft-22.txt spec.
  115 + ICMP types/codes now accept symbolic names.
  116 + Add SIGINFO handler from LBL
  117 + encrypted CIPE tunnels in IRIX, from Franz Schaefer <schaefer@mond.at>.
  118 + now we are -Wstrict-prototype clean.
  119 + NetBSD DLT_PPP_ETHER; adapted from Martin Husemann <martin@netbsd.org>.
  120 + PPPoE dissector cleaned up.
  121 + Support for LocalTalk hardware, from Uns Lider <unslider@miranda.org>.
  122 + In dissector, now the caller prints the IP addresses rather than proto.
  123 + cjclark@alum.mit.edu: print the IP proto for non-initial fragments.
  124 + LLC frames with a DSAP and LSAP of 0xe0 are IPX frames.
  125 + Linux cooked frames with a type value of LINUX_SLL_P_802_3 are IPX.
  126 + captures on the "any" device won't be done in promiscuous mode
  127 + Token Ring support on DLPI - Onno van der Linden <onno@simplex.nl>
  128 + ARCNet support, from NetBSD.
  129 + HSRP dissector, from Julian Cowley <julian@lava.net>.
  130 + Handle (GRE-encapsulated) PPTP
  131 + added -C option to rotate save file every optarg * 1,000,000 bytes.
  132 + support for "vrrp" name - NetBSD, by Klaus Klein <kleink@netbsd.org>.
  133 + PPTP support, from Motonori Shindo <mshindo@mshindo.net>.
  134 + IS-IS over PPP support, from Hannes Gredler <hannes@juniper.net>.
  135 + CNFP support for IPv6,format. Harry Raaymakers <harryr@connect.com.au>.
  136 + ESP printing updated to RFC2406.
  137 + HP-UX can now handle large number of PPAs.
  138 + MSDP printer added.
  139 + L2TP dissector improvements from Motonori Shindo.
  140 +
  141 +Tuesday January 9, 2001. mcr@sandelman.ottawa.on.ca. Summary for 3.6 release
  142 + Cleaned up documentation.
  143 + Promisc mode fixes for Linux
  144 + IPsec changes/cleanups.
  145 + Alignment fixes for picky architectures
  146 +
  147 + Removed dependency on native headers for packet dissectors.
  148 + Removed Linux specific headers that were shipped
  149 +
  150 + libpcap changes provide for exchanging capture files between
  151 + systems. Save files now have well known PACKET_ values instead of
  152 + depending upon system dependant mappings of DLT_* types.
  153 +
  154 + Support for computing/checking IP and UDP/TCP checksums.
  155 +
  156 + Updated autoconf stock files.
  157 +
  158 + IPv6 improvements: dhcp (draft-15), mobile-ip6, ppp, ospf6,
  159 +
  160 + Added dissector support for: ISOCLNS, Token Ring, IGMPv3, bxxp,
  161 + timed, vrrp, radius, chdlc, cnfp, cdp, IEEE802.1d, raw-AppleTalk
  162 +
  163 + Added filtering support for: VLANs, ESIS, ISIS
  164 +
  165 + Improvements to: print-telnet, IPTalk, bootp/dhcp, ECN, PPP,
  166 + L2TP, PPPoE
  167 +
  168 + HP-UX 11.0 -- find the right dlpi device.
  169 + Solaris 8 - IPv6 works
  170 + Linux - Added support for an "any" device to capture on all interfaces
  171 +
  172 + Security fixes: buffer overrun audit done. Strcpy replaced with
  173 + strlcpy, sprintf replaced with snprintf.
  174 + Look for lex problems, and warn about them.
  175 +
  176 +
  177 +v3.5 Fri Jan 28 18:00:00 PST 2000
  178 +
  179 +Bill Fenner <fenner@research.att.com>
  180 +- switch to config.h for autoconf
  181 +- unify RCSID strings
  182 +- Updated PIMv1, PIMv2, DVMRP, IGMP parsers, add Cisco Auto-RP parser
  183 +- Really fix the RIP printer
  184 +- Fix MAC address -> name translation.
  185 +- some -Wall -Wformat fixes
  186 +- update makemib to parse much of SMIv2
  187 +- Print TCP sequence # with -vv even if you normally wouldn't
  188 +- Print as much of IP/TCP/UDP headers as possible even if truncated.
  189 +
  190 +itojun@iijlab.net
  191 +- -X will make a ascii dump. from netbsd.
  192 +- telnet command sequence decoder (ff xx xx). from netbsd.
  193 +- print-bgp.c: improve options printing. ugly code exists for
  194 + unaligned option parsing (need some fix).
  195 +- const poisoning in SMB decoder.
  196 +- -Wall -Werror clean checks.
  197 +- bring in KAME IPv6/IPsec decoding code.
  198 +
  199 +Assar Westerlund <assar@sics.se>
  200 +- SNMPv2 and SNMPv3 printer
  201 +- If compiled with libsmi, tcpdump can load MIBs on the fly to decode
  202 + SNMP packets.
  203 +- Incorporate NFS parsing code from NetBSD. Adds support for nfsv3.
  204 +- portability fixes
  205 +- permit building in different directories.
  206 +
  207 +Ken Hornstein <kenh@cmf.nrl.navy.mil>
  208 +- bring in code at
  209 + /afs/transarc.com/public/afs-contrib/tools/tcpdump for parsing
  210 + AFS3 packets
  211 +
  212 +Andrew Tridgell <tridge@linuxcare.com>
  213 +- SMB printing code
  214 +
  215 +Love <lha@stacken.kth.se>
  216 +- print-rx.c: add code for printing MakeDir and StoreStatus. Also
  217 + change date format to the right one.
  218 +
  219 +Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
  220 +- Created tcpdump.org repository
2 221
3 222 v3.4 Sat Jul 25 12:40:55 PDT 1998
4 223
120 kame/kame/tcpdump/CREDITS
... ... @@ -0,0 +1,120 @@
  1 +This file lists people who have contributed to tcpdump:
  2 +
  3 +The current maintainers:
  4 + Bill Fenner <fenner@research.att.com>
  5 + Fulvio Risso <risso@polito.it>
  6 + Guy Harris <guy@alum.mit.edu>
  7 + Hannes Gredler <hannes@juniper.net>
  8 + Jun-ichiro itojun Hagino <itojun@iijlab.net>
  9 + Michael Richardson <mcr@sandelman.ottawa.on.ca>
  10 +
  11 +Additional people who have contributed patches:
  12 +
  13 + Andrew Brown <atatat@atatdot.net>
  14 + Alfredo Andres <aandres@s21sec.com>
  15 + Andrew Hintz <adhintz@users.sourceforge.net>
  16 + Andrew Tridgell <tridge@linuxcare.com>
  17 + Arkadiusz Miskiewicz <misiek@pld.org.pl>
  18 + Armando L. Caro Jr. <acaro@mail.eecis.udel.edu>
  19 + Atsushi Onoe <onoe@netbsd.org>
  20 + Ben Smithurst <ben@scientia.demon.co.uk>
  21 + Brent L. Bates <blbates@vigyan.com>
  22 + Brian Ginsbach <ginsbach@cray.com>
  23 + Bruce M. Simpson <bms@spc.org>
  24 + Carles Kishimoto Bisbe <ckishimo@ac.upc.es>
  25 + Charlie Lenahan <clenahan@fortresstech.com>
  26 + Charles M. Hannum <mycroft@netbsd.org>
  27 + Chris Cogdon <chris@cogdon.org>
  28 + Chris G. Demetriou <cgd@netbsd.org>
  29 + Chris Jepeway <jepeway@blasted-heath.com>
  30 + Craig Rodrigues <rodrigc@mediaone.net>
  31 + Crist J. Clark <cjclark@alum.mit.edu>
  32 + Daniel Hagerty <hag@ai.mit.edu>
  33 + Darren Reed <darrenr@reed.wattle.id.au>
  34 + David Binderman <d.binderman@virgin.net>
  35 + David Young <dyoung@ojctech.com>
  36 + Francisco Matias Cuenca-Acuna <mcuenca@george.rutgers.edu>
  37 + Frank Volf <volf@oasis.IAEhv.nl>
  38 + Fulvio Risso <risso@polito.it>
  39 + George Bakos <gbakos@ists.dartmouth.edu>
  40 + Gerald Combs <gerald@ethereal.com>
  41 + Gert Doering <gert@greenie.muc.de>
  42 + Greg Stark <gsstark@mit.edu>
  43 + Gilbert Ramirez Jr. <gram@xiexie.org>
  44 + Gisle Vanem <giva@bgnett.no>
  45 + Hank Leininger <tcpdump-workers@progressive-comp.com>
  46 + Harry Raaymakers <harryr@connect.com.au>
  47 + Heinz-Ado Arnolds <Ado.Arnolds@dhm-systems.de>
  48 + Hendrik Scholz <hendrik@scholz.net>
  49 + Jakob Schlyter <jakob@openbsd.org>
  50 + Jan Oravec <wsx@wsx6.net>
  51 + Jason R. Thorpe <thorpej@netbsd.org>
  52 + Jefferson Ogata <jogata@nodc.noaa.gov>
  53 + Jeffrey Hutzelman <jhutz@cmu.edu>
  54 + Jesper Peterson <jesper@endace.com>
  55 + Jim Hutchins <jim@ca.sandia.gov>
  56 + Jonathan Heusser <jonny@drugphish.ch>
  57 + Tatuya Jinmei <jinmei@kame.net>
  58 + J�rgen Thomsen <jth@jth.net>
  59 + Julian Cowley <julian@lava.net>
  60 + Kaarthik Sivakumar <kaarthik@torrentnet.com>
  61 + Kazushi Sugyo <sugyo@pb.jp.nec.com>
  62 + Kelly Carmichael <kcarmich@ipapp.com>
  63 + Ken Hornstein <kenh@cmf.nrl.navy.mil>
  64 + Kevin Steves <stevesk@pobox.com>
  65 + Klaus Klein <kleink@reziprozitaet.de>
  66 + Kris Kennaway <kris@freebsd.org>
  67 + Krzysztof Halasa <khc@pm.waw.pl>
  68 + Larry Lile <lile@stdio.com>
  69 + Lennert Buytenhek <buytenh@gnu.org>
  70 + Loris Degioanni <loris@netgroup-serv.polito.it>
  71 + Love H�rnquist-�strand <lha@stacken.kth.se>
  72 + Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  73 + Marc A. Lehmann <pcg@goof.com>
  74 + Mark Ellzey Thomas <mark@ackers.net>
  75 + Marko Kiiskila <carnil@cs.tut.fi>
  76 + Marshall Rose <mrose@dbc.mtview.ca.us>
  77 + Martin Husemann <martin@netbsd.org>
  78 + Michael Madore <mmadore@turbolinux.com>
  79 + Michael Shalayeff <mickey@openbsd.org>
  80 + Michael T. Stolarchuk <mts@off.to>
  81 + Michele "mydecay" Marchetto <smarchetto1@tin.it>
  82 + Monroe Williams <monroe@pobox.com>
  83 + Motonori Shindo <mshindo@mshindo.net>
  84 + Nathan J. Williams <nathanw@MIT.EDU>
  85 + Nathaniel Couper-Noles <Nathaniel@isi1.tccisi.com>
  86 + Neil T. Spring <bluehal@users.sourceforge.net>
  87 + Niels Provos <provos@openbsd.org>
  88 + Nickolai Zeldovich <kolya@MIT.EDU>
  89 + Olaf Kirch <okir@caldera.de>
  90 + Onno van der Linden <onno@simplex.nl>
  91 + Pascal Hennequin <pascal.hennequin@int-evry.fr>
  92 + Pasvorn Boonmark <boonmark@juniper.net>
  93 + Paul Mundt <lethal@linux-sh.org>
  94 + Paul S. Traina <pst@freebsd.org>
  95 + Pavlin Radoslavov <pavlin@icir.org>
  96 + Pekka Savola <pekkas@netcore.fi>
  97 + Peter Fales <peter@fales-lorenz.net>
  98 + Peter Jeremy <peter.jeremy@alcatel.com.au>
  99 + Phil Wood <cpw@lanl.gov>
  100 + Rafal Maszkowski <rzm@icm.edu.pl>
  101 + Rick Jones <raj@cup.hp.com>
  102 + Rick Watson <watsonrick@users.sourceforge.net>
  103 + Rob Braun <bbraun@synack.net>
  104 + Roderick Schertler <roderick@argon.org>
  105 + Sami Farin <safari@iki.fi>
  106 + Scott Rose <syberpunk@users.sourceforge.net>
  107 + Sebastian Krahmer <krahmer@cs.uni-potsdam.de>
  108 + Seth Webster <swebster@sst.ll.mit.edu>
  109 + Takashi Yamamoto <yamt@mwd.biglobe.ne.jp>
  110 + Terry Kennedy <terry@tmk.com>
  111 + Timo Koskiahde
  112 + Tony Li <tli@procket.com>
  113 + Uns Lider <unslider@miranda.org>
  114 + Wilbert de Graaf <wilbertdg@hetnet.nl>
  115 + Yen Yen Lim
  116 +
  117 +The original LBL crew:
  118 + Steve McCanne
  119 + Craig Leres
  120 + Van Jacobson
149 kame/kame/tcpdump/FILES
... ... @@ -1,103 +1,218 @@
1 1 CHANGES
  2 +CREDITS
2 3 FILES
3 4 INSTALL
  5 +LICENSE
4 6 Makefile.in
5 7 README
  8 +Readme.Win32
6 9 VERSION
  10 +acconfig.h
7 11 aclocal.m4
8 12 addrtoname.c
9 13 addrtoname.h
  14 +ah.h
  15 +aodv.h
10 16 appletalk.h
  17 +arcnet.h
11 18 atime.awk
  19 +atm.h
  20 +atmuni31.h
12 21 bootp.h
13 22 bpf_dump.c
  23 +chdlc.h
14 24 config.guess
  25 +config.h.in
15 26 config.sub
16 27 configure
17 28 configure.in
18 29 decnet.h
  30 +enc.h
  31 +esp.h
  32 +ether.h
19 33 ethertype.h
20 34 extract.h
21 35 fddi.h
  36 +gmpls.c
  37 +gmpls.h
22 38 gmt2local.c
23 39 gmt2local.h
  40 +icmp6.h
  41 +ieee802_11.h
24 42 igrp.h
25 43 install-sh
26 44 interface.h
  45 +ip.h
  46 +ip6.h
  47 +ipfc.h
  48 +ipproto.h
  49 +ipsec_doi.h
27 50 ipx.h
28   -lbl/gnuc.h
  51 +isakmp.h
  52 +l2tp.h
  53 +lane.h
  54 +lbl/os-osf4.h
29 55 lbl/os-solaris2.h
30 56 lbl/os-sunos4.h
31 57 lbl/os-ultrix4.h
32   -linux-include/net/slcompress.h
33   -linux-include/net/slip.h
34   -linux-include/netinet/if_ether.h
35   -linux-include/netinet/in_systm.h
36   -linux-include/netinet/ip.h
37   -linux-include/netinet/ip_icmp.h
38   -linux-include/netinet/ip_var.h
39   -linux-include/netinet/tcp.h
40   -linux-include/netinet/tcp_var.h
41   -linux-include/netinet/tcpip.h
42   -linux-include/netinet/udp.h
43   -linux-include/netinet/udp_var.h
44   -linux-include/sys/mbuf.h
45 58 llc.h
46 59 machdep.c
47 60 machdep.h
48 61 makemib
49 62 mib.h
  63 +missing/addrinfo.h
  64 +missing/addrsize.h
  65 +missing/bittypes.h
  66 +missing/dlnames.c
  67 +missing/datalinks.c
  68 +missing/getaddrinfo.c
  69 +missing/getnameinfo.c
  70 +missing/inet_aton.c
  71 +missing/inet_ntop.c
  72 +missing/inet_pton.c
  73 +missing/resolv6.h
  74 +missing/resolv_ext.h
  75 +missing/snprintf.c
  76 +missing/sockstorage.h
  77 +missing/strdup.c
  78 +missing/strlcat.c
  79 +missing/strlcpy.c
  80 +missing/strsep.c
50 81 mkdep
  82 +nameser.h
51 83 netbios.h
  84 +nfs.h
52 85 nfsfh.h
53   -nfsv2.h
54 86 ntp.h
  87 +oakley.h
55 88 ospf.h
  89 +ospf6.h
56 90 packetdat.awk
57 91 parsenfsfh.c
  92 +pcap-missing.h
58 93 ppp.h
  94 +print-802_11.c
  95 +print-ap1394.c
  96 +print-ah.c
  97 +print-aodv.c
  98 +print-arcnet.c
59 99 print-arp.c
  100 +print-ascii.c
60 101 print-atalk.c
61 102 print-atm.c
  103 +print-beep.c
  104 +print-bfd.c
  105 +print-bgp.c
62 106 print-bootp.c
  107 +print-cdp.c
  108 +print-chdlc.c
  109 +print-cip.c
  110 +print-cnfp.c
63 111 print-decnet.c
  112 +print-dhcp6.c
64 113 print-domain.c
65 114 print-dvmrp.c
66 115 print-egp.c
  116 +print-enc.c
  117 +print-esp.c
67 118 print-ether.c
68 119 print-fddi.c
  120 +print-fr.c
  121 +print-frag6.c
69 122 print-gre.c
  123 +print-hsrp.c
70 124 print-icmp.c
  125 +print-icmp6.c
  126 +print-igmp.c
71 127 print-igrp.c
72 128 print-ip.c
  129 +print-ip6.c
  130 +print-ip6opts.c
  131 +print-ipcomp.c
  132 +print-ipfc.c
73 133 print-ipx.c
  134 +print-isakmp.c
74 135 print-isoclns.c
75 136 print-krb.c
  137 +print-l2tp.c
  138 +print-lane.c
  139 +print-ldp.c
76 140 print-llc.c
  141 +print-lwres.c
  142 +print-mobile.c
  143 +print-mobility.c
  144 +print-mpls.c
  145 +print-msdp.c
77 146 print-netbios.c
78 147 print-nfs.c
79 148 print-ntp.c
80 149 print-null.c
81 150 print-ospf.c
  151 +print-ospf6.c
  152 +print-pflog.c
82 153 print-pim.c
83 154 print-ppp.c
  155 +print-pppoe.c
  156 +print-pptp.c
  157 +print-radius.c
84 158 print-raw.c
85 159 print-rip.c
  160 +print-ripng.c
  161 +print-rsvp.c
  162 +print-rt6.c
  163 +print-rx.c
  164 +print-sctp.c
86 165 print-sl.c
  166 +print-sll.c
  167 +print-smb.c
87 168 print-snmp.c
  169 +print-stp.c
  170 +print-sunatm.c
88 171 print-sunrpc.c
89 172 print-tcp.c
  173 +print-telnet.c
90 174 print-tftp.c
  175 +print-timed.c
  176 +print-token.c
91 177 print-udp.c
  178 +print-vjc.c
  179 +print-vrrp.c
92 180 print-wb.c
93   -savestr.c
94   -savestr.h
  181 +print-zephyr.c
  182 +route6d.h
  183 +rx.h
  184 +sctpConstants.h
  185 +sctpHeader.h
95 186 send-ack.awk
96 187 setsignal.c
97 188 setsignal.h
  189 +slcompress.h
  190 +slip.h
  191 +sll.h
  192 +smb.h
  193 +smbutil.c
98 194 stime.awk
99 195 strcasecmp.c
  196 +tcp.h
100 197 tcpdump.1
101 198 tcpdump.c
  199 +tcpdump-stdinc.h
  200 +telnet.h
  201 +timed.h
  202 +token.h
  203 +udp.h
102 204 util.c
103 205 vfprintf.c
  206 +win32/Include/Arpa/tftp.h
  207 +win32/Include/errno.h
  208 +win32/Include/getopt.h
  209 +win32/Include/inetprivate.h
  210 +win32/Include/telnet.h
  211 +win32/Include/w32_fzs.h
  212 +win32/Include/Netinet/in_systm.h
  213 +win32/Include/Netinet/ip.h
  214 +win32/Include/Rpc/rpc.h
  215 +win32/Src/getopt.c
  216 +win32/prj/GNUmakefile
  217 +win32/prj/WinDump.dsp
  218 +win32/prj/WinDump.dsw
196 kame/kame/tcpdump/INSTALL
... ... @@ -1,4 +1,4 @@
1   -@(#) $Header: INSTALL,v 1.36 98/07/12 13:12:26 leres Exp $ (LBL)
  1 +@(#) $Header: /tcpdump/master/tcpdump/INSTALL,v 1.56.2.3 2004/03/17 19:47:47 guy Exp $ (LBL)
2 2
3 3 If you have not built libpcap, do so first. See the README
4 4 file in this directory for the ftp location.
@@ -7,140 +7,218 @@ You will need an ANSI C compiler to build tcpdump. The configure script
7 7 will abort if your compiler is not ANSI compliant. If this happens, use
8 8 the GNU C compiler, available via anonymous ftp:
9 9
10   - ftp://prep.ai.mit.edu/pub/gnu/gcc.tar.gz
  10 + ftp://ftp.gnu.org/pub/gnu/gcc/
11 11
12   -After libpcap has been built (either install it with "make install" and
13   -"make install-incl" or make sure both the libpcap and tcpdump source
14   -trees are in the same directory), edit the BINDEST and MANDEST paths in
15   -Makefile.in and run ./configure (a shell script). "configure" will
  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
16 15 determine your system attributes and generate an appropriate Makefile
17 16 from Makefile.in. Now build tcpdump by running "make".
18 17
19   -If everything builds ok, su and type "make install" (and optionally
20   -"make install-man). This will install tcpdump and the manual entry. By
21   -default, tcpdump is installed with group execute permissions. The group
22   -used depends on your os. In addition, BPF packet access is controlled
23   -by permissions to /dev/bpf0. In any case, DO NOT give untrusted users
24   -the capability of running tcpdump. Tcpdump can capture any traffic on
25   -your net, including passwords.
  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.
26 25
27   -Note that tcpdump is shipped with some systems, for example, DEC/OSF
28   -and BSD/386. Remember to remove or rename the installed binary
29   -when upgrading.
  26 +Note that most systems ship tcpdump, but usually an older version.
  27 +Remember to remove or rename the installed binary when upgrading.
30 28
31 29 If you use Linux, this version of libpcap is known to compile and run
32   -under Red Hat 4.0 with the 2.0.25 kernel. It may work with earlier 2.X
33   -versions but is guaranteed not to work with 1.X kernels.
34   -
35   -If you use OSF 4, note that that there appears to be some serious bugs
36   -with the stock C compiler. The configure code fragments that detect if
37   -the ether_header and ether_arp structs use the ether_addr struct
38   -generates warnings instead of fatal errors (?!?!) This makes configure
39   -think that the ether_arp struct is used when in fact it is not. To get
40   -around this, delete:
41   -
42   - -DETHER_HEADER_HAS_EA=1 -DETHER_ARP_HAS_EA=1
43   -
44   -from the Makefile after running configure (and before attempting to
45   -compile tcpdump.
46   -
47   -Another workaround is to use gcc.
  30 +with 2.0.25 and more modern, and 2.2 and later, kernels. It is
  31 +guaranteed not to work with 1.X kernels.
48 32
49 33 If your system is not one which we have tested tcpdump on, you may have
50 34 to modify the configure script and Makefile.in. Please send us patches
51   -for any modifications you need to make. However, we are not interested
52   -in ascii packet printer patches. We believe adding this feature would
53   -make it too easy for crackers who do not have the programming skills
54   -needed to write a password sniffer to grab clear text passwords.
  35 +for any modifications you need to make.
  36 +
  37 +Please see "PLATFORMS" for notes about tested platforms.
  38 +
55 39
56 40 FILES
57 41 -----
58   -CHANGES - description of differences between releases
  42 +CHANGES - description of differences between releases
  43 +CREDITS - people that have helped tcpdump along
59 44 FILES - list of files exported as part of the distribution
60   -INSTALL - this file
  45 +INSTALL - this file
  46 +LICENSE - the license under which tcpdump is distributed
61 47 Makefile.in - compilation rules (input to the configure script)
62 48 README - description of distribution
  49 +Readme.Win32 - notes on building tcpdump on Win32 systems (with WinPcap)
63 50 VERSION - version of this release
  51 +acconfig.h - autoconf input
64 52 aclocal.m4 - autoconf macros
65 53 addrtoname.c - address to hostname routines
66 54 addrtoname.h - address to hostname definitions
  55 +ah.h - IPSEC Authentication Header definitions
  56 +aodv.h - AODV definitions
67 57 appletalk.h - AppleTalk definitions
  58 +arcnet.h - ARCNET definitions
68 59 atime.awk - TCP ack awk script
69   -bcopy.c - missing routine
  60 +atm.h - ATM traffic type definitions
  61 +atmuni31.h - ATM Q.2931 definitions
70 62 bootp.h - BOOTP definitions
71   -bpf_dump.c - bpf instruction pretty-printer routine
  63 +bpf_dump.c - BPF program printing routines, in case libpcap doesn't
  64 + have them
  65 +chdlc.h - Cisco HDLC definitions
72 66 config.guess - autoconf support
  67 +config.h.in - autoconf input
73 68 config.sub - autoconf support
74 69 configure - configure script (run this first)
75 70 configure.in - configure script source
76 71 decnet.h - DECnet definitions
77   -ethertype.h - ethernet definitions
  72 +enc.h - OpenBSD IPsec encapsulation BPF layer definitions
  73 +esp.h - IPSEC Encapsulating Security Payload definitions
  74 +ether.h - Ethernet definitions
  75 +ethertype.h - Ethernet type value definitions
78 76 extract.h - alignment definitions
79 77 fddi.h - Fiber Distributed Data Interface definitions
  78 +gmpls.c - GMPLS definitions
  79 +gmpls.h - GMPLS declarations
80 80 gmt2local.c - time conversion routines
81 81 gmt2local.h - time conversion prototypes
  82 +icmp6.h - ICMPv6 definitiions
  83 +ieee802_11.h - IEEE 802.11 definitions
82 84 igrp.h - Interior Gateway Routing Protocol definitions
83 85 install-sh - BSD style install script
84 86 interface.h - globals, prototypes and definitions
  87 +ip.h - IP definitions
  88 +ip6.h - IPv6 definitions
  89 +ipfc.h - IP-over-Fibre Channel definitions
  90 +ipproto.h - IP protocol type value definitions
  91 +ipsec_doi.h - ISAKMP packet definitions - RFC2407
85 92 ipx.h - IPX definitions
86   -lbl/gnuc.h - gcc macros and defines
87   -lbl/os-*.h - os dependent defines and prototypes
88   -linux-include/* - network include files missing on Linux
  93 +isakmp.h - ISAKMP packet definitions - RFC2408
  94 +l2tp.h - Layer Two Tunneling Protocol definitions
  95 +lane.h - ATM LANE definitions
  96 +lbl/os-*.h - OS-dependent defines and prototypes
89 97 llc.h - LLC definitions
90 98 machdep.c - machine dependent routines
91 99 machdep.h - machine dependent definitions
92 100 makemib - mib to header script
93 101 mib.h - mib definitions
  102 +missing/* - replacements for missing library functions
94 103 mkdep - construct Makefile dependency list
  104 +nameser.h - DNS definitions
95 105 netbios.h - NETBIOS definitions
  106 +nfs.h - Network File System V2 definitions
96 107 nfsfh.h - Network File System file handle definitions
97   -nfsv2.h - Network File System V2 definitions
98 108 ntp.h - Network Time Protocol definitions
  109 +oakley.h - ISAKMP packet definitions - RFC2409
99 110 ospf.h - Open Shortest Path First definitions
  111 +ospf6.h - IPv6 Open Shortest Path First definitions
100 112 packetdat.awk - TCP chunk summary awk script
101 113 parsenfsfh.c - Network File System file parser routines
  114 +pcap-missing.h - declarations of functions possibly missing from libpcap
102 115 ppp.h - Point to Point Protocol definitions
  116 +print-802_11.c - IEEE 802.11 printer routines
  117 +print-ap1394.c - Apple IP-over-IEEE 1394 printer routines
  118 +print-ah.c - IPSEC Authentication Header printer routines
  119 +print-aodv.c - AODV printer routines
  120 +print-arcnet.c - ARCNET printer routines
103 121 print-arp.c - Address Resolution Protocol printer routines
  122 +print-ascii.c - ASCII packet dump routines
104 123 print-atalk.c - AppleTalk printer routines
105   -print-atm.c - atm printer routines
106   -print-bootp.c - BOOTP printer routines
  124 +print-atm.c - ATM printer routines
  125 +print-bgp.c - Border Gateway Protocol printer routines
  126 +print-bootp.c - BOOTP and IPv4 DHCP printer routines
  127 +print-beep.c - BEEP printer routines
  128 +print-cdp.c - Cisco Discovery Protocol printer routines
  129 +print-chdlc.c - Cisco HDLC printer routines
  130 +print-cip.c - Classical-IP over ATM routines
  131 +print-cnfp.c - Cisco NetFlow printer routines
107 132 print-decnet.c - DECnet printer routines
  133 +print-dhcp6.c - IPv6 DHCP printer routines
108 134 print-domain.c - Domain Name System printer routines
  135 +print-dvmrp.c - Distance Vector Multicast Routing Protocol printer routines
  136 +print-enc.c - OpenBSD IPsec encapsulation BPF layer printer routines
109 137 print-egp.c - External Gateway Protocol printer routines
110   -print-ether.c - ethernet printer routines
  138 +print-esp.c - IPSEC Encapsulating Security Payload printer routines
  139 +print-ether.c - Ethernet printer routines
111 140 print-fddi.c - Fiber Distributed Data Interface printer routines
  141 +print-fr.c - Frame Relay printer routines
  142 +print-frag6.c - IPv6 fragmentation header printer routines
112 143 print-gre.c - Generic Routing Encapsulation printer routines
  144 +print-hsrp.c - Cisco Hot Standby Router Protocol printer routines
113 145 print-icmp.c - Internet Control Message Protocol printer routines
  146 +print-icmp6.c - IPv6 Internet Control Message Protocol printer routines
  147 +print-igmp.c - Internet Group Management Protocol printer routines
114 148 print-igrp.c - Interior Gateway Routing Protocol printer routines
115   -print-ip.c - ip printer routines
  149 +print-ip.c - IP printer routines
  150 +print-ip6.c - IPv6 printer routines
  151 +print-ip6opts.c - IPv6 header option printer routines
  152 +print-ipcomp.c - IP Payload Compression Protocol printer routines
116 153 print-ipx.c - IPX printer routines
117   -print-isoclns.c - isoclns printer routines
  154 +print-isakmp.c - Internet Security Association and Key Management Protocol
  155 +print-isoclns.c - ISO CLNS, ESIS, and ISIS printer routines
118 156 print-krb.c - Kerberos printer routines
119   -print-llc.c - llc printer routines
120   -print-netbios.c - netbios printer routines
  157 +print-l2tp.c - Layer Two Tunneling Protocol printer routines
  158 +print-lane.c - ATM LANE printer routines
  159 +print-llc.c - IEEE 802.2 LLC printer routines
  160 +print-lwres.c - Lightweight Resolver protocol printer routines
  161 +print-mobile.c - IPv4 mobility printer routines
  162 +print-mobility.c - IPv6 mobility printer routines
  163 +print-mpls.c - Multi-Protocol Label Switching printer routines
  164 +print-msdp.c - Multicast Source Discovery Protocol printer routines
  165 +print-netbios.c - NetBIOS frame protocol printer routines
121 166 print-nfs.c - Network File System printer routines
122 167 print-ntp.c - Network Time Protocol printer routines
123   -print-null.c - null printer routines
  168 +print-null.c - BSD loopback device printer routines
124 169 print-ospf.c - Open Shortest Path First printer routines
  170 +print-ospf6.c - IPv6 Open Shortest Path First printer routines
  171 +print-pflog.c - OpenBSD packet filter log file printer routines
125 172 print-pim.c - Protocol Independent Multicast printer routines
126 173 print-ppp.c - Point to Point Protocol printer routines
127   -print-raw.c - raw printer routines
  174 +print-pppoe.c - PPP-over-Ethernet printer routines
  175 +print-pptp.c - Point-to-Point Tunnelling Protocol printer routines
  176 +print-radius.c - Radius protocol printer routines
  177 +print-raw.c - Raw IP printer routines
128 178 print-rip.c - Routing Information Protocol printer routines
  179 +print-ripng.c - IPv6 Routing Information Protocol printer routines
  180 +print-rsvp.c - Resource reSerVation Protocol (RSVP) printer routines
  181 +print-rt6.c - IPv6 routing header printer routines
  182 +print-rx.c - AFS RX printer routines
  183 +print-sctp.c - Stream Control Transmission Protocol printer routines
129 184 print-sl.c - Compressed Serial Line Internet Protocol printer routines
  185 +print-sll.c - Linux "cooked" capture printer routines
  186 +print-smb.c - SMB/CIFS printer routines
130 187 print-snmp.c - Simple Network Management Protocol printer routines
  188 +print-stp.c - IEEE 802.1d spanning tree protocol printer routines
  189 +print-sunatm.c - SunATM DLPI capture printer routines
131 190 print-sunrpc.c - Sun Remote Procedure Call printer routines
132 191 print-tcp.c - TCP printer routines
  192 +print-telnet.c - Telnet option printer routines
133 193 print-tftp.c - Trivial File Transfer Protocol printer routines
  194 +print-timed.c - BSD time daemon protocol printer routines
  195 +print-token.c - Token Ring printer routines
134 196 print-udp.c - UDP printer routines
135   -print-wb.c - white board printer routines
136   -savestr.c - savestr prototypes
137   -savestr.h - strdup() replacement
  197 +print-vjc.c - PPP Van Jacobson compression (RFC1144) printer routines
  198 +print-vrrp.c - Virtual Router Redundancy Protocol
  199 +print-wb.c - White Board printer routines
  200 +print-zephyr.c - Zephyr printer routines
  201 +route6d.h - packet definition for IPv6 Routing Information Protocol
  202 +rx.h - AFS RX definitions
  203 +sctpConstants.h - Stream Control Transmission Protocol constant definitions
  204 +sctpHeader.h - Stream Control Transmission Protocol packet definitions
138 205 send-ack.awk - unidirectional tcp send/ack awk script
139   -setsignal.c - os independent signal routines
140   -setsignal.h - os independent signal prototypes
  206 +setsignal.c - OS-independent signal routines
  207 +setsignal.h - OS-independent signal prototypes
  208 +slcompress.h - SLIP/PPP Van Jacobson compression (RFC1144) definitions
  209 +slip.h - SLIP definitions
  210 +sll.h - Linux "cooked" capture definitions
  211 +smb.h - SMB/CIFS definitions
  212 +smbutil.c - SMB/CIFS utility routines
141 213 stime.awk - TCP send awk script
142 214 strcasecmp.c - missing routine
  215 +tcp.h - TCP definitions
143 216 tcpdump.1 - manual entry
144 217 tcpdump.c - main program
  218 +telnet.h - Telnet definitions
  219 +timed.h - BSD time daemon protocol definitions
  220 +token.h - Token Ring definitions
  221 +udp.h - UDP definitions
145 222 util.c - utility routines
146 223 vfprintf.c - emulation routine
  224 +win32 - headers and routines for building on Win32 systems
19 kame/kame/tcpdump/LICENSE
... ... @@ -0,0 +1,19 @@
  1 +License: BSD
  2 +
  3 +Redistribution and use in source and binary forms, with or without
  4 +modification, are permitted provided that the following conditions
  5 +are met:
  6 +
  7 + 1. Redistributions of source code must retain the above copyright
  8 + notice, this list of conditions and the following disclaimer.
  9 + 2. Redistributions in binary form must reproduce the above copyright
  10 + notice, this list of conditions and the following disclaimer in
  11 + the documentation and/or other materials provided with the
  12 + distribution.
  13 + 3. The names of the authors may not be used to endorse or promote
  14 + products derived from this software without specific prior
  15 + written permission.
  16 +
  17 +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  18 +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  19 +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 kame/kame/tcpdump/Makefile-devel-adds
... ... @@ -0,0 +1,22 @@
  1 +#
  2 +# Auto-regenerate configure script or Makefile when things change.
  3 +# From autoconf.info . Works best with GNU Make.
  4 +#
  5 +${srcdir}/configure: configure.in
  6 + cd ${srcdir} && autoconf
  7 +
  8 +# autoheader might not change config.h.in, so touch a stamp file.
  9 +${srcdir}/config.h.in: ${srcdir}/stamp-h.in
  10 +${srcdir}/stamp-h.in: configure.in acconfig.h
  11 + cd ${srcdir} && autoheader
  12 + echo timestamp > ${srcdir}/stamp-h.in
  13 +
  14 +config.h: stamp-h
  15 +stamp-h: ${srcdir}/config.h.in config.status
  16 + ./config.status
  17 +
  18 +Makefile: Makefile.in config.status
  19 + ./config.status
  20 +
  21 +config.status: ${srcdir}/configure
  22 + ./config.status --recheck
106 kame/kame/tcpdump/Makefile.in
@@ -17,7 +17,7 @@
17 17 # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18 18 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 19 #
20   -# @(#) $Header: Makefile.in,v 1.207 97/08/17 13:53:29 leres Exp $ (LBL)
  20 +# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.276.2.4 2004/03/28 21:25:02 fenner Exp $ (LBL)
21 21
22 22 #
23 23 # Various configurable paths (remember to edit Makefile.in, not Makefile)
@@ -27,9 +27,9 @@
27 27 prefix = @prefix@
28 28 exec_prefix = @exec_prefix@
29 29 # Pathname of directory to install the binary
30   -BINDEST = @sbindir@
  30 +sbindir = @sbindir@
31 31 # Pathname of directory to install the man page
32   -MANDEST = @mandir@
  32 +mandir = @mandir@
33 33
34 34 # VPATH
35 35 srcdir = @srcdir@
@@ -43,7 +43,7 @@ CC = @CC@
43 43 PROG = tcpdump
44 44 CCOPT = @V_CCOPT@
45 45 INCLS = -I. @V_INCLS@
46   -DEFS = @DEFS@ -DHAVE_FDDI
  46 +DEFS = @DEFS@ @V_DEFS@
47 47
48 48 # Standard CFLAGS
49 49 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
@@ -55,6 +55,8 @@ LDFLAGS = @LDFLAGS@
55 55 LIBS = @LIBS@
56 56
57 57 INSTALL = @INSTALL@
  58 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  59 +INSTALL_DATA = @INSTALL_DATA@
58 60
59 61 # Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
60 62 # Also, gcc does not remove the .o before forking 'as', which can be a
@@ -63,32 +65,42 @@ INSTALL = @INSTALL@
63 65 @rm -f $@
64 66 $(CC) $(CFLAGS) -c $(srcdir)/$*.c
65 67
66   -CSRC = tcpdump.c \
67   - print-arp.c print-atalk.c print-atm.c print-bootp.c \
68   - print-decnet.c print-domain.c print-dvmrp.c print-egp.c \
69   - print-ether.c print-fddi.c print-gre.c print-icmp.c \
70   - print-igrp.c print-ip.c print-ipx.c print-isoclns.c print-krb.c \
71   - print-llc.c print-nfs.c print-ntp.c print-null.c print-ospf.c \
72   - print-pim.c print-ppp.c print-raw.c print-rip.c print-sl.c \
73   - print-snmp.c print-sunrpc.c print-tcp.c print-tftp.c print-udp.c \
74   - print-wb.c addrtoname.c bpf_dump.c gmt2local.c machdep.c \
75   - parsenfsfh.c util.c savestr.c setsignal.c \
76   - print-esp.c print-ah.c print-vjc.c print-isakmp.c print-chdlc.c \
77   - print-ipcomp.c print-mobile.c print-l2tp.c
  68 +CSRC = addrtoname.c gmpls.c gmt2local.c machdep.c oui.c parsenfsfh.c \
  69 + print-802_11.c print-ap1394.c print-ah.c print-arcnet.c \
  70 + print-aodv.c print-arp.c print-ascii.c print-atalk.c print-atm.c \
  71 + print-beep.c print-bfd.c print-bgp.c print-bootp.c print-cdp.c \
  72 + print-chdlc.c print-cip.c print-cnfp.c print-decnet.c \
  73 + print-domain.c print-dvmrp.c print-enc.c print-egp.c \
  74 + print-esp.c print-ether.c print-fddi.c print-fr.c \
  75 + print-gre.c print-hsrp.c print-icmp.c print-igmp.c \
  76 + print-igrp.c print-ip.c print-ipcomp.c print-ipfc.c \
  77 + print-ipx.c print-isakmp.c print-isoclns.c print-krb.c \
  78 + print-l2tp.c print-lane.c print-ldp.c print-llc.c \
  79 + print-lwres.c print-mobile.c print-mpls.c print-msdp.c \
  80 + print-nfs.c print-ntp.c print-null.c print-ospf.c \
  81 + print-pflog.c print-pim.c print-ppp.c print-pppoe.c \
  82 + print-pptp.c print-radius.c print-raw.c print-rip.c \
  83 + print-rsvp.c print-rx.c print-sctp.c print-sl.c print-sll.c \
  84 + print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c \
  85 + print-tcp.c print-telnet.c print-tftp.c print-timed.c \
  86 + print-token.c print-udp.c print-vjc.c print-vrrp.c \
  87 + print-wb.c print-zephyr.c setsignal.c tcpdump.c util.c
  88 +
78 89 LOCALSRC = @LOCALSRC@
79 90 GENSRC = version.c
  91 +LIBOBJS = @LIBOBJS@
80 92
81 93 SRC = $(CSRC) $(GENSRC) $(LOCALSRC)
82 94
83 95 # We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot
84 96 # hack the extra indirection
85   -OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o) $(LOCALSRC:.c=.o) @LIBOBJS@
  97 +OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o) $(LOCALSRC:.c=.o) $(LIBOBJS)
86 98 HDR = addrtoname.h appletalk.h bootp.h decnet.h \
87 99 ethertype.h extract.h fddi.h gmt2local.h igrp.h interface.h \
88 100 ipx.h llc.h machdep.h mib.h nfsfh.h nfsv2.h ntp.h ospf.h \
89   - savestr.c setsignal.h \
90   - gnuc.h ipsec_doi.h isakmp.h l2tp.h netbios.h oakley.h ospf6.h ppp.h \
91   - route6d.h
  101 + setsignal.h \
  102 + gnuc.h ipsec_doi.h isakmp.h l2tp.h nameser.h \
  103 + netbios.h oakley.h ospf6.h pf.h ppp.h route6d.h
92 104
93 105 TAGHDR = \
94 106 /usr/include/arpa/tftp.h \
@@ -111,20 +123,49 @@ $(PROG): $(OBJ) @V_PCAPDEP@
111 123 @rm -f $@
112 124 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
113 125
  126 +datalinks.o: $(srcdir)/missing/datalinks.c
  127 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
  128 +dlnames.o: $(srcdir)/missing/dlnames.c
  129 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c
  130 +getnameinfo.o: $(srcdir)/missing/getnameinfo.c
  131 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c
  132 +getaddrinfo.o: $(srcdir)/missing/getaddrinfo.c
  133 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/getaddrinfo.c
  134 +inet_pton.o: $(srcdir)/missing/inet_pton.c
  135 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_pton.c
  136 +inet_ntop.o: $(srcdir)/missing/inet_ntop.c
  137 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_ntop.c
  138 +inet_aton.o: $(srcdir)/missing/inet_aton.c
  139 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_aton.c
  140 +snprintf.o: $(srcdir)/missing/snprintf.c
  141 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
  142 +strlcat.o: $(srcdir)/missing/strlcat.c
  143 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strlcat.c
  144 +strlcpy.o: $(srcdir)/missing/strlcpy.c
  145 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strlcpy.c
  146 +strsep.o: $(srcdir)/missing/strsep.c
  147 + $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strsep.c
  148 +
114 149 version.o: version.c
  150 + $(CC) $(CFLAGS) -c version.c
  151 +
115 152 version.c: $(srcdir)/VERSION
116 153 @rm -f $@
117 154 sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
118 155
119   -install: force
120   - $(INSTALL) -m 550 -o bin -g @V_GROUP@ $(PROG) \
121   - $(DESTDIR)$(BINDEST)/$(PROG)
  156 +install:
  157 + [ -d $(DESTDIR)$(sbindir) ] || \
  158 + (mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
  159 + $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
  160 + [ -d $(DESTDIR)$(mandir)/man1 ] || \
  161 + (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
  162 + $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
122 163
123   -install-man: force
124   - $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
125   - $(DESTDIR)$(MANDEST)/man1/$(PROG).1
  164 +uninstall:
  165 + rm -f $(DESTDIR)$(sbindir)/$(PROG)
  166 + rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
126 167
127   -lint: $(GENSRC) force
  168 +lint: $(GENSRC)
128 169 lint -hbxn $(SRC) | \
129 170 grep -v 'struct/union .* never defined' | \
130 171 grep -v 'possible pointer alignment problem'
@@ -134,14 +175,14 @@ clean:
134 175
135 176 distclean:
136 177 rm -f $(CLEANFILES) Makefile config.cache config.log config.status \