Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tcpdump switch to use src/dist/tcpdump. source cod...
details: https://anonhg.NetBSD.org/src/rev/6420e0442c66
branches: trunk
changeset: 511730:6420e0442c66
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Jun 25 19:41:19 2001 +0000
description:
switch to use src/dist/tcpdump. source code has been checked and the new
tree organization should give the same (or more) decoding functionalities.
diffstat:
usr.sbin/tcpdump/CHANGES | 509 -----------
usr.sbin/tcpdump/Makefile | 76 +-
usr.sbin/tcpdump/README | 209 ----
usr.sbin/tcpdump/addrtoname.c | 954 --------------------
usr.sbin/tcpdump/addrtoname.h | 56 -
usr.sbin/tcpdump/appletalk.h | 169 ---
usr.sbin/tcpdump/atime.awk | 19 -
usr.sbin/tcpdump/bootp.h | 169 ---
usr.sbin/tcpdump/bpf_dump.c | 72 -
usr.sbin/tcpdump/chdlc.h | 29 -
usr.sbin/tcpdump/decnet.h | 455 ---------
usr.sbin/tcpdump/dhcp6.h | 201 ----
usr.sbin/tcpdump/dhcp6opt.h | 82 -
usr.sbin/tcpdump/ethertype.h | 78 -
usr.sbin/tcpdump/extract.h | 59 -
usr.sbin/tcpdump/fddi.h | 71 -
usr.sbin/tcpdump/gmt2local.c | 79 -
usr.sbin/tcpdump/gmt2local.h | 29 -
usr.sbin/tcpdump/gnuc.h | 45 -
usr.sbin/tcpdump/igrp.h | 38 -
usr.sbin/tcpdump/interface.h | 281 ------
usr.sbin/tcpdump/ipsec_doi.h | 153 ---
usr.sbin/tcpdump/ipx.h | 31 -
usr.sbin/tcpdump/isakmp.h | 380 --------
usr.sbin/tcpdump/llc.h | 122 --
usr.sbin/tcpdump/machdep.c | 56 -
usr.sbin/tcpdump/machdep.h | 29 -
usr.sbin/tcpdump/makemib | 174 ---
usr.sbin/tcpdump/mib.h | 1258 ---------------------------
usr.sbin/tcpdump/nameser.h | 278 ------
usr.sbin/tcpdump/netbios.h | 18 -
usr.sbin/tcpdump/nfs.h | 446 ---------
usr.sbin/tcpdump/nfsfh.h | 67 -
usr.sbin/tcpdump/ntp.h | 119 --
usr.sbin/tcpdump/oakley.h | 128 --
usr.sbin/tcpdump/ospf.h | 228 ----
usr.sbin/tcpdump/ospf6.h | 279 ------
usr.sbin/tcpdump/packetdat.awk | 62 -
usr.sbin/tcpdump/parsenfsfh.c | 536 -----------
usr.sbin/tcpdump/ppp.h | 85 -
usr.sbin/tcpdump/print-ah.c | 88 -
usr.sbin/tcpdump/print-arcnet.c | 278 ------
usr.sbin/tcpdump/print-arp.c | 160 ---
usr.sbin/tcpdump/print-ascii.c | 156 ---
usr.sbin/tcpdump/print-atalk.c | 608 -------------
usr.sbin/tcpdump/print-atm.c | 161 ---
usr.sbin/tcpdump/print-bgp.c | 787 -----------------
usr.sbin/tcpdump/print-bootp.c | 423 ---------
usr.sbin/tcpdump/print-chdlc.c | 174 ---
usr.sbin/tcpdump/print-decnet.c | 783 -----------------
usr.sbin/tcpdump/print-dhcp6.c | 362 -------
usr.sbin/tcpdump/print-domain.c | 665 --------------
usr.sbin/tcpdump/print-dvmrp.c | 367 --------
usr.sbin/tcpdump/print-egp.c | 361 -------
usr.sbin/tcpdump/print-esp.c | 99 --
usr.sbin/tcpdump/print-ether.c | 245 -----
usr.sbin/tcpdump/print-fddi.c | 364 -------
usr.sbin/tcpdump/print-frag6.c | 107 --
usr.sbin/tcpdump/print-gre.c | 148 ---
usr.sbin/tcpdump/print-icmp.c | 500 ----------
usr.sbin/tcpdump/print-icmp6.c | 1016 ----------------------
usr.sbin/tcpdump/print-igrp.c | 146 ---
usr.sbin/tcpdump/print-ip.c | 719 ---------------
usr.sbin/tcpdump/print-ip6.c | 232 -----
usr.sbin/tcpdump/print-ip6opts.c | 342 -------
usr.sbin/tcpdump/print-ipcomp.c | 100 --
usr.sbin/tcpdump/print-ipx.c | 222 ----
usr.sbin/tcpdump/print-isakmp.c | 1210 --------------------------
usr.sbin/tcpdump/print-isoclns.c | 346 -------
usr.sbin/tcpdump/print-krb.c | 295 ------
usr.sbin/tcpdump/print-llc.c | 203 ----
usr.sbin/tcpdump/print-mobile.c | 139 ---
usr.sbin/tcpdump/print-netbios.c | 106 --
usr.sbin/tcpdump/print-nfs.c | 1741 --------------------------------------
usr.sbin/tcpdump/print-ntp.c | 297 ------
usr.sbin/tcpdump/print-null.c | 152 ---
usr.sbin/tcpdump/print-ospf.c | 597 -------------
usr.sbin/tcpdump/print-ospf6.c | 685 --------------
usr.sbin/tcpdump/print-pim.c | 592 ------------
usr.sbin/tcpdump/print-ppp.c | 393 --------
usr.sbin/tcpdump/print-pppoe.c | 131 --
usr.sbin/tcpdump/print-raw.c | 95 --
usr.sbin/tcpdump/print-rip.c | 243 -----
usr.sbin/tcpdump/print-ripng.c | 130 --
usr.sbin/tcpdump/print-rt6.c | 126 --
usr.sbin/tcpdump/print-sl.c | 317 ------
usr.sbin/tcpdump/print-snmp.c | 1050 ----------------------
usr.sbin/tcpdump/print-sunrpc.c | 166 ---
usr.sbin/tcpdump/print-tcp.c | 619 -------------
usr.sbin/tcpdump/print-telnet.c | 189 ----
usr.sbin/tcpdump/print-tftp.c | 149 ---
usr.sbin/tcpdump/print-token.c | 194 ----
usr.sbin/tcpdump/print-udp.c | 647 --------------
usr.sbin/tcpdump/print-vrrp.c | 194 ----
usr.sbin/tcpdump/print-wb.c | 442 ---------
usr.sbin/tcpdump/route6d.h | 51 -
usr.sbin/tcpdump/savestr.c | 75 -
usr.sbin/tcpdump/savestr.h | 26 -
usr.sbin/tcpdump/send-ack.awk | 69 -
usr.sbin/tcpdump/setsignal.c | 85 -
usr.sbin/tcpdump/setsignal.h | 29 -
usr.sbin/tcpdump/stime.awk | 20 -
usr.sbin/tcpdump/tcpd2netbsd | 291 ------
usr.sbin/tcpdump/tcpdump.8 | 1304 ----------------------------
usr.sbin/tcpdump/tcpdump.c | 482 ----------
usr.sbin/tcpdump/util.c | 329 -------
usr.sbin/tcpdump/version.c | 2 -
107 files changed, 53 insertions(+), 31900 deletions(-)
diffs (truncated from 32393 to 300 lines):
diff -r 89a3660ef967 -r 6420e0442c66 usr.sbin/tcpdump/CHANGES
--- a/usr.sbin/tcpdump/CHANGES Mon Jun 25 19:36:47 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,509 +0,0 @@
-$NetBSD: CHANGES,v 1.4 1997/10/03 19:54:07 christos Exp $
-@(#) Header: CHANGES,v 1.52 97/09/24 19:52:07 leres Exp (LBL)
-
-v3.4 Wed Sep 24 19:51:33 PDT 1997
-
-- Hardwire Linux slip support since it's too hard to detect.
-
-- Redo configuration of "network" libraries (-lsocket and -lnsl) to
- deal with IRIX. Thanks to John Hawkinson (jhawk%mit.edu@localhost)
-
-- Added -a which tries to translate network and broadcast addresses to
- names. Suggested by Rob van Nieuwkerk (robn%verdi.et.tudelft.nl@localhost)
-
-- Added a configure option to disable gcc.
-
-- Added a "raw" packet printer.
-
-- Not having an interface address is no longer fatal. Requested by John
- Hawkinson.
-
-- Rework signal setup to accommodate Linux.
-
-- OSPF truncation check fix. Also display the type of OSPF packets
- using MD5 authentication. Thanks to Brian Wellington
- (bwelling%tis.com@localhost)
-
-- Fix truncation check bugs in the Kerberos printer. Reported by Ezra
- Peisach (epeisach%mit.edu@localhost)
-
-- Don't catch SIGHUP when invoked with nohup(1). Thanks to Dave Plonka
- (plonka%mfa.com@localhost)
-
-- Specify full install target as a way of detecting if install
- directory does not exist. Thanks to Dave Plonka.
-
-- Bit-swap FDDI addresses for BSD/OS too. Thanks to Paul Vixie
- (paul%vix.com@localhost)
-
-- Fix off-by-one bug when testing size of ethernet packets. Thanks to
- Marty Leisner (leisner%sdsp.mc.xerox.com@localhost)
-
-- Add a local autoconf macro to check for routines in libraries; the
- autoconf version is broken (it only puts the library name in the
- cache variable name). Thanks to John Hawkinson.
-
-- Add a local autoconf macro to check for types; the autoconf version
- is broken (it uses grep instead of actually compiling a code fragment).
-
-- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
- formats.
-
-- Extend OSF ip header workaround to versions 1 and 2.
-
-- Fix some signed problems in the nfs printer. As reported by David
- Sacerdote (davids%silence.secnet.com@localhost)
-
-- Detect group wheel and use it as the default since BSD/OS' install
- can't hack numeric groups. Reported by David Sacerdote.
-
-- AIX needs special loader options. Thanks to Jonathan I. Kamens
- (jik%cam.ov.com@localhost)
-
-- Fixed the nfs printer to print port numbers in decimal. Thanks to
- Kent Vander Velden (graphix%iastate.edu@localhost)
-
-- Find installed libpcap in /usr/local/lib when not using gcc.
-
-v3.3 Sat Nov 30 20:56:27 PST 1996
-
-- Added Linux support.
-
-- GRE encapsulated packet printer thanks to John Hawkinson
- (jhawk%mit.edu@localhost)
-
-- Rewrite gmt2local() to avoid problematic os dependencies.
-
-- Suppress nfs truncation message on errors.
-
-- Add missing m4 quoting in AC_LBL_UNALIGNED_ACCESS autoconf macro.
- Reported by Joachim Ott (ott%ardala.han.de@localhost)
-
-- Enable "ip_hl vs. ip_vhl" workaround for OSF4 too.
-
-- Print arp hardware type in host order. Thanks to Onno van der Linden
- (onno%simplex.nl@localhost)
-
-- Avoid solaris compiler warnings. Thanks to Bruce Barnett
- (barnett%grymoire.crd.ge.com@localhost)
-
-- Fix rip printer to not print one more route than is actually in the
- packet. Thanks to Jean-Luc Richier (Jean-Luc.Richier%imag.fr@localhost) and
- Bill Fenner (fenner%parc.xerox.com@localhost)
-
-- Use autoconf endian detection since BYTE_ORDER isn't defined on all systems.
-
-- Fix dvmrp printer truncation checks and add a dvmrp probe printer.
- Thanks to Danny J. Mitzel (mitzel%ipsilon.com@localhost)
-
-- Rewrite ospf printer to improve truncation checks.
-
-- Don't parse tcp options past the EOL. As noted by David Sacerdote
- (davids%secnet.com@localhost). Also, check tcp options to make sure they ar
- actually in the tcp header (in addition to the normal truncation
- checks). Fix the SACK code to print the N blocks (instead of the
- first block N times).
-
-- Don't say really small UDP packets are truncated just because they
- aren't big enough to be a RPC. As noted by David Sacerdote.
-
-v3.2.1 Sun Jul 14 03:02:26 PDT 1996
-
-- Added rfc1716 icmp codes as suggested by Martin Fredriksson
- (martin%msp.se@localhost)
-
-- Print mtu for icmp unreach need frag packets. Thanks to John
- Hawkinson (jhawk%mit.edu@localhost)
-
-- Decode icmp router discovery messages. Thanks to Jeffrey Honig
- (jch%bsdi.com@localhost)
-
-- Added a printer entry for DLT_IEEE802 as suggested by Tak Kushida
- (kushida%trl.ibm.co.jp@localhost)
-
-- Check igmp checksum if possible. Thanks to John Hawkinson.
-
-- Made changes for SINIX. Thanks to Andrej Borsenkow
- (borsenkow.msk%sni.de@localhost)
-
-- Use autoconf's idea of the top level directory in install targets.
- Thanks to John Hawkinson.
-
-- Avoid infinite loop in tcp options printing code. Thanks to Jeffrey
- Mogul (mogul%pa.dec.com@localhost)
-
-- Avoid using -lsocket in IRIX 5.2 and earlier since it breaks snoop.
- Thanks to John Hawkinson.
-
-- Added some more packet truncation checks.
-
-- On systems that have it, use sigset() instead of signal() since
- signal() has different semantics on these systems.
-
-- Fixed some more alignment problems on the alpha.
-
-- Add code to massage unprintable characters in the domain and ipx
- printers. Thanks to John Hawkinson.
-
-- Added explicit netmask support. Thanks to Steve Nuchia
- (steve%research.oknet.com@localhost)
-
-- Add "sca" keyword (for DEC cluster services) as suggested by Terry
- Kennedy (terry%spcvxa.spc.edu@localhost)
-
-- Add "atalk" keyword as suggested by John Hawkinson.
-
-- Added an igrp printer. Thanks to Francis Dupont
- (francis.dupont%inria.fr@localhost)
-
-- Print IPX net numbers in hex a la Novell Netware. Thanks to Terry
- Kennedy (terry%spcvxa.spc.edu@localhost)
-
-- Fixed snmp extended tag field parsing bug. Thanks to Pascal Hennequin
- (pascal.hennequin%hugo.int-evry.fr@localhost)
-
-- Added some ETHERTYPEs missing on some systems.
-
-- Added truncated packet macros and various checks.
-
-- Fixed endian problems with the DECnet printer.
-
-- Use $CC when checking gcc version. Thanks to Carl Lindberg
- (carl_lindberg%blacksmith.com@localhost)
-
-- Fixes for AIX (although this system is not yet supported). Thanks to
- John Hawkinson.
-
-- Fix bugs in the autoconf misaligned accesses code fragment.
-
-- Include sys/param.h to get BYTE_ORDER in a few places. Thanks to
- Pavlin Ivanov Radoslavov (pavlin%cs.titech.ac.jp@localhost)
-
-v3.2 Sun Jun 23 02:28:10 PDT 1996
-
-- Print new icmp unreachable codes as suggested by Martin Fredriksson
- (martin%msp.se@localhost). Also print code value when unknown for icmp redirect
- and time exceeded.
-
-- Fix an alignment endian bug in getname(). Thanks to John Hawkinson.
-
-- Define "new" domain record types if not found in arpa/nameserv.h.
- Resulted from a suggestion from John Hawkinson (jhawk%mit.edu@localhost). Also
- fixed an endian bug when printing mx record and added some new record
- types.
-
-- Added RIP V2 support. Thanks to Jeffrey Honig (jch%bsdi.com@localhost)
-
-- Added T/TCP options printing. As suggested by Richard Stevens
- (rstevens%noao.edu@localhost)
-
-- Use autoconf to detect architectures that can't handle misaligned
- accesses.
-
-v3.1 Thu Jun 13 20:59:32 PDT 1996
-
-- Changed u_int32/int32 to u_int32_t/int32_t to be consistent with bsd
- and bind (as suggested by Charles Hannum).
-
-- Port to GNU autoconf.
-
-- Add support for printing DVMRP and PIM traffic thanks to
- Havard Eidnes (Havard.Eidnes%runit.sintef.no@localhost).
-
-- Fix AppleTalk, IPX and DECnet byte order problems due to wrong endian
- define being referenced. Reported by Terry Kennedy.
-
-- Minor fixes to the man page thanks to Mark Andrews.
-
-- Endian fixes to RTP and vat packet dumpers, thanks to Bruce Mah
- (bmah%cs.berkeley.edu@localhost).
-
-- Added support for new dns types, thanks to Rainer Orth.
-
-- Fixed tftp_print() to print the block number for ACKs.
-
-- Document -dd and -ddd. Resulted from a bug report from Charlie Slater
- (cslater%imatek.com@localhost).
-
-- Check return status from malloc/calloc/etc.
-
-- Check return status from pcap_loop() so we can print an error and
- exit with a bad status if there were problems.
-
-- Bail if ip option length is <= 0. Resulted from a bug report from
- Darren Reed (darrenr%vitruvius.arbld.unimelb.edu.au@localhost).
-
-- Print out a little more information for sun rpc packets.
-
-- Add suport for Kerberos 4 thanks to John Hawkinson (jhawk%mit.edu@localhost).
-
-- Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were
- wrong on little endian machines).
-
-- Fixed alignment bug in ipx_decode(). Thanks to Matt Crawford
- (crawdad%fnal.gov@localhost).
-
-- Fix ntp_print() to not print garbage when the stratum is
- "unspecified." Thanks to Deus Ex Machina (root%belle.bork.com@localhost).
-
-- Rewrote tcp options printer code to check for truncation. Added
- selective acknowledgment case.
-
-- Fixed an endian bug in the ospf printer. Thanks to Jeffrey C Honig
- (jch%bsdi.com@localhost)
-
-- Fix rip printer to handle 4.4 BSD sockaddr struct which only uses one
- octet for the sa_family member. Thanks to Yoshitaka Tokugawa
- (toku%dit.co.jp@localhost)
-
-- Don't checksum ip header if we don't have all of it. Thanks to John
- Hawkinson (jhawk%mit.edu@localhost).
-
-- Print out hostnames if possible in egp printer. Thanks to Jeffrey
- Honig (jhc%bsdi.com@localhost)
-
-
-v3.1a1 Wed May 3 19:21:11 PDT 1995
-
-- Include time.h when SVR4 is defined to avoid problems under Solaris
- 2.3.
-
-- Fix etheraddr_string() in the ETHER_SERVICE to return the saved
- strings, not the local buffer. Thanks to Stefan Petri
- (petri%ibr.cs.tu-bs.de@localhost).
-
-- Detect when pcap raises the snaplen (e.g. with snit). Print a warning
- that the selected value was not used. Thanks to Pascal Hennequin
- (Pascal.Hennequin%hugo.int-evry.fr@localhost).
-
-- Add a truncated packet test to print-nfs.c. Thanks to Pascal Hennequin.
-
-- BYTEORDER -> BYTE_ORDER Thanks to Terry Kennedy (terry%spcvxa.spc.edu@localhost).
-
-v3.0.3 Sun Oct 1 18:35:00 GMT 1995
-
-- Although there never was a 3.0.3 release, the linux boys cleverly
- "released" one in late 1995.
-
-v3.0.2 Thu Apr 20 21:28:16 PDT 1995
-
-- Change configuration to not use gcc v2 flags with gcc v1.
-
-- Redo gmt2local() so that it works under BSDI (which seems to return
- an empty timezone struct from gettimeofday()). Based on report from
- Terry Kennedy (terry%spcvxa.spc.edu@localhost).
-
-- Change configure to recognize IP[0-9]* as "mips" SGI hardware. Based
Home |
Main Index |
Thread Index |
Old Index