xref: /freebsd/contrib/tcpdump/CHANGES (revision 4644f044b29b71b385396356b7cbf92b09e67628)
14644f044SBill Fenner@(#) $Header: CHANGES,v 1.54 98/07/25 12:41:06 leres Exp $ (LBL)
24644f044SBill Fenner
34644f044SBill Fennerv3.4 Sat Jul 25 12:40:55 PDT 1998
44644f044SBill Fenner
54644f044SBill Fenner- Hardwire Linux slip support since it's too hard to detect.
64644f044SBill Fenner
74644f044SBill Fenner- Redo configuration of "network" libraries (-lsocket and -lnsl) to
84644f044SBill Fenner  deal with IRIX. Thanks to John Hawkinson (jhawk@mit.edu)
94644f044SBill Fenner
104644f044SBill Fenner- Added -a which tries to translate network and broadcast addresses to
114644f044SBill Fenner  names. Suggested by Rob van Nieuwkerk (robn@verdi.et.tudelft.nl)
124644f044SBill Fenner
134644f044SBill Fenner- Added a configure option to disable gcc.
144644f044SBill Fenner
154644f044SBill Fenner- Added a "raw" packet printer.
164644f044SBill Fenner
174644f044SBill Fenner- Not having an interface address is no longer fatal. Requested by John
184644f044SBill Fenner  Hawkinson.
194644f044SBill Fenner
204644f044SBill Fenner- Rework signal setup to accommodate Linux.
214644f044SBill Fenner
224644f044SBill Fenner- OSPF truncation check fix. Also display the type of OSPF packets
234644f044SBill Fenner  using MD5 authentication. Thanks to Brian Wellington
244644f044SBill Fenner  (bwelling@tis.com)
254644f044SBill Fenner
264644f044SBill Fenner- Fix truncation check bugs in the Kerberos printer. Reported by Ezra
274644f044SBill Fenner  Peisach (epeisach@mit.edu)
284644f044SBill Fenner
294644f044SBill Fenner- Don't catch SIGHUP when invoked with nohup(1). Thanks to Dave Plonka
304644f044SBill Fenner  (plonka@mfa.com)
314644f044SBill Fenner
324644f044SBill Fenner- Specify full install target as a way of detecting if install
334644f044SBill Fenner  directory does not exist. Thanks to Dave Plonka.
344644f044SBill Fenner
354644f044SBill Fenner- Bit-swap FDDI addresses for BSD/OS too. Thanks to Paul Vixie
364644f044SBill Fenner  (paul@vix.com)
374644f044SBill Fenner
384644f044SBill Fenner- Fix off-by-one bug when testing size of ethernet packets. Thanks to
394644f044SBill Fenner  Marty Leisner (leisner@sdsp.mc.xerox.com)
404644f044SBill Fenner
414644f044SBill Fenner- Add a local autoconf macro to check for routines in libraries; the
424644f044SBill Fenner  autoconf version is broken (it only puts the library name in the
434644f044SBill Fenner  cache variable name). Thanks to John Hawkinson.
444644f044SBill Fenner
454644f044SBill Fenner- Add a local autoconf macro to check for types; the autoconf version
464644f044SBill Fenner  is broken (it uses grep instead of actually compiling a code fragment).
474644f044SBill Fenner
484644f044SBill Fenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
494644f044SBill Fenner  formats.
504644f044SBill Fenner
514644f044SBill Fenner- Extend OSF ip header workaround to versions 1 and 2.
524644f044SBill Fenner
534644f044SBill Fenner- Fix some signed problems in the nfs printer. As reported by David
544644f044SBill Fenner  Sacerdote (davids@silence.secnet.com)
554644f044SBill Fenner
564644f044SBill Fenner- Detect group wheel and use it as the default since BSD/OS' install
574644f044SBill Fenner  can't hack numeric groups. Reported by David Sacerdote.
584644f044SBill Fenner
594644f044SBill Fenner- AIX needs special loader options. Thanks to Jonathan I. Kamens
604644f044SBill Fenner  (jik@cam.ov.com)
614644f044SBill Fenner
624644f044SBill Fenner- Fixed the nfs printer to print port numbers in decimal. Thanks to
634644f044SBill Fenner  Kent Vander Velden (graphix@iastate.edu)
644644f044SBill Fenner
654644f044SBill Fenner- Find installed libpcap in /usr/local/lib when not using gcc.
664644f044SBill Fenner
674644f044SBill Fenner- Disallow network masks with non-network bits set.
684644f044SBill Fenner
694644f044SBill Fenner- Attempt to detect "egcs" versions of gcc.
704644f044SBill Fenner
714644f044SBill Fenner- Add missing closing double quotes when displaying bootp strings.
724644f044SBill Fenner  Reported by Viet-Trung Luu (vluu@picard.math.uwaterloo.ca)
734de76e31SBill Fenner
744de76e31SBill Fennerv3.3 Sat Nov 30 20:56:27 PST 1996
754de76e31SBill Fenner
764de76e31SBill Fenner- Added Linux support.
774de76e31SBill Fenner
784de76e31SBill Fenner- GRE encapsulated packet printer thanks to John Hawkinson
794de76e31SBill Fenner  (jhawk@mit.edu)
804de76e31SBill Fenner
814de76e31SBill Fenner- Rewrite gmt2local() to avoid problematic os dependencies.
824de76e31SBill Fenner
834de76e31SBill Fenner- Suppress nfs truncation message on errors.
844de76e31SBill Fenner
854de76e31SBill Fenner- Add missing m4 quoting in AC_LBL_UNALIGNED_ACCESS autoconf macro.
864de76e31SBill Fenner  Reported by Joachim Ott (ott@ardala.han.de)
874de76e31SBill Fenner
884de76e31SBill Fenner- Enable "ip_hl vs. ip_vhl" workaround for OSF4 too.
894de76e31SBill Fenner
904de76e31SBill Fenner- Print arp hardware type in host order. Thanks to Onno van der Linden
914de76e31SBill Fenner  (onno@simplex.nl)
924de76e31SBill Fenner
934de76e31SBill Fenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett
944de76e31SBill Fenner  (barnett@grymoire.crd.ge.com)
954de76e31SBill Fenner
964de76e31SBill Fenner- Fix rip printer to not print one more route than is actually in the
974de76e31SBill Fenner  packet. Thanks to Jean-Luc Richier (Jean-Luc.Richier@imag.fr) and
984de76e31SBill Fenner  Bill Fenner (fenner@parc.xerox.com)
994de76e31SBill Fenner
1004de76e31SBill Fenner- Use autoconf endian detection since BYTE_ORDER isn't defined on all systems.
1014de76e31SBill Fenner
1024de76e31SBill Fenner- Fix dvmrp printer truncation checks and add a dvmrp probe printer.
1034de76e31SBill Fenner  Thanks to Danny J. Mitzel (mitzel@ipsilon.com)
1044de76e31SBill Fenner
1054de76e31SBill Fenner- Rewrite ospf printer to improve truncation checks.
1064de76e31SBill Fenner
1074de76e31SBill Fenner- Don't parse tcp options past the EOL. As noted by David Sacerdote
1084de76e31SBill Fenner  (davids@secnet.com). Also, check tcp options to make sure they ar
1094de76e31SBill Fenner  actually in the tcp header (in addition to the normal truncation
1104de76e31SBill Fenner  checks). Fix the SACK code to print the N blocks (instead of the
1114de76e31SBill Fenner  first block N times).
1124de76e31SBill Fenner
1134de76e31SBill Fenner- Don't say really small UDP packets are truncated just because they
1144de76e31SBill Fenner  aren't big enough to be a RPC. As noted by David Sacerdote.
1154edb46e9SPaul Traina
1164edb46e9SPaul Trainav3.2.1 Sun Jul 14 03:02:26 PDT 1996
1174edb46e9SPaul Traina
1184edb46e9SPaul Traina- Added rfc1716 icmp codes as suggested by Martin Fredriksson
1194edb46e9SPaul Traina  (martin@msp.se)
1204edb46e9SPaul Traina
1214edb46e9SPaul Traina- Print mtu for icmp unreach need frag packets. Thanks to John
1224edb46e9SPaul Traina  Hawkinson (jhawk@mit.edu)
1234edb46e9SPaul Traina
1244edb46e9SPaul Traina- Decode icmp router discovery messages. Thanks to Jeffrey Honig
1254edb46e9SPaul Traina  (jch@bsdi.com)
1264edb46e9SPaul Traina
1274edb46e9SPaul Traina- Added a printer entry for DLT_IEEE802 as suggested by Tak Kushida
1284edb46e9SPaul Traina  (kushida@trl.ibm.co.jp)
1294edb46e9SPaul Traina
1304edb46e9SPaul Traina- Check igmp checksum if possible. Thanks to John Hawkinson.
1314edb46e9SPaul Traina
1324edb46e9SPaul Traina- Made changes for SINIX. Thanks to Andrej Borsenkow
1334edb46e9SPaul Traina  (borsenkow.msk@sni.de)
1344edb46e9SPaul Traina
1354edb46e9SPaul Traina- Use autoconf's idea of the top level directory in install targets.
1364edb46e9SPaul Traina  Thanks to John Hawkinson.
1374edb46e9SPaul Traina
1384edb46e9SPaul Traina- Avoid infinite loop in tcp options printing code. Thanks to Jeffrey
1394edb46e9SPaul Traina  Mogul (mogul@pa.dec.com)
1404edb46e9SPaul Traina
1414edb46e9SPaul Traina- Avoid using -lsocket in IRIX 5.2 and earlier since it breaks snoop.
1424edb46e9SPaul Traina  Thanks to John Hawkinson.
1434edb46e9SPaul Traina
1444edb46e9SPaul Traina- Added some more packet truncation checks.
1454edb46e9SPaul Traina
1464edb46e9SPaul Traina- On systems that have it, use sigset() instead of signal() since
1474edb46e9SPaul Traina  signal() has different semantics on these systems.
1484edb46e9SPaul Traina
1494edb46e9SPaul Traina- Fixed some more alignment problems on the alpha.
1504edb46e9SPaul Traina
1514edb46e9SPaul Traina- Add code to massage unprintable characters in the domain and ipx
1524edb46e9SPaul Traina  printers. Thanks to John Hawkinson.
1534edb46e9SPaul Traina
1544edb46e9SPaul Traina- Added explicit netmask support. Thanks to Steve Nuchia
1554edb46e9SPaul Traina  (steve@research.oknet.com)
1564edb46e9SPaul Traina
1574edb46e9SPaul Traina- Add "sca" keyword (for DEC cluster services) as suggested by Terry
1584edb46e9SPaul Traina  Kennedy (terry@spcvxa.spc.edu)
1594edb46e9SPaul Traina
1604edb46e9SPaul Traina- Add "atalk" keyword as suggested by John Hawkinson.
1614edb46e9SPaul Traina
1624edb46e9SPaul Traina- Added an igrp printer. Thanks to Francis Dupont
1634edb46e9SPaul Traina  (francis.dupont@inria.fr)
1644edb46e9SPaul Traina
1654edb46e9SPaul Traina- Print IPX net numbers in hex a la Novell Netware. Thanks to Terry
1664edb46e9SPaul Traina  Kennedy (terry@spcvxa.spc.edu)
1674edb46e9SPaul Traina
1684edb46e9SPaul Traina- Fixed snmp extended tag field parsing bug. Thanks to Pascal Hennequin
1694edb46e9SPaul Traina  (pascal.hennequin@hugo.int-evry.fr)
1704edb46e9SPaul Traina
1714edb46e9SPaul Traina- Added some ETHERTYPEs missing on some systems.
1724edb46e9SPaul Traina
1734edb46e9SPaul Traina- Added truncated packet macros and various checks.
1744edb46e9SPaul Traina
1754edb46e9SPaul Traina- Fixed endian problems with the DECnet printer.
1764edb46e9SPaul Traina
1774edb46e9SPaul Traina- Use $CC when checking gcc version. Thanks to Carl Lindberg
1784edb46e9SPaul Traina  (carl_lindberg@blacksmith.com)
1794edb46e9SPaul Traina
1804edb46e9SPaul Traina- Fixes for AIX (although this system is not yet supported). Thanks to
1814edb46e9SPaul Traina  John Hawkinson.
1824edb46e9SPaul Traina
1834edb46e9SPaul Traina- Fix bugs in the autoconf misaligned accesses code fragment.
1844edb46e9SPaul Traina
1854edb46e9SPaul Traina- Include sys/param.h to get BYTE_ORDER in a few places. Thanks to
1864edb46e9SPaul Traina  Pavlin Ivanov Radoslavov (pavlin@cs.titech.ac.jp)
1874edb46e9SPaul Traina
1884edb46e9SPaul Trainav3.2 Sun Jun 23 02:28:10 PDT 1996
1894edb46e9SPaul Traina
1904edb46e9SPaul Traina- Print new icmp unreachable codes as suggested by Martin Fredriksson
1914edb46e9SPaul Traina  (martin@msp.se). Also print code value when unknown for icmp redirect
1924edb46e9SPaul Traina  and time exceeded.
1934edb46e9SPaul Traina
1944edb46e9SPaul Traina- Fix an alignment endian bug in getname(). Thanks to John Hawkinson.
1954edb46e9SPaul Traina
1964edb46e9SPaul Traina- Define "new" domain record types if not found in arpa/nameserv.h.
1974edb46e9SPaul Traina  Resulted from a suggestion from John Hawkinson (jhawk@mit.edu). Also
1984edb46e9SPaul Traina  fixed an endian bug when printing mx record and added some new record
1994edb46e9SPaul Traina  types.
2004edb46e9SPaul Traina
2014edb46e9SPaul Traina- Added RIP V2 support. Thanks to Jeffrey Honig (jch@bsdi.com)
2024edb46e9SPaul Traina
2034edb46e9SPaul Traina- Added T/TCP options printing. As suggested by Richard Stevens
2044edb46e9SPaul Traina  (rstevens@noao.edu)
2054edb46e9SPaul Traina
2064edb46e9SPaul Traina- Use autoconf to detect architectures that can't handle misaligned
2074edb46e9SPaul Traina  accesses.
2084edb46e9SPaul Traina
2094edb46e9SPaul Trainav3.1 Thu Jun 13 20:59:32 PDT 1996
2104edb46e9SPaul Traina
2114edb46e9SPaul Traina- Changed u_int32/int32 to u_int32_t/int32_t to be consistent with bsd
2124edb46e9SPaul Traina  and bind (as suggested by Charles Hannum).
2134edb46e9SPaul Traina
2144edb46e9SPaul Traina- Port to GNU autoconf.
2154edb46e9SPaul Traina
2164edb46e9SPaul Traina- Add support for printing DVMRP and PIM traffic thanks to
2174edb46e9SPaul Traina  Havard Eidnes (Havard.Eidnes@runit.sintef.no).
2184edb46e9SPaul Traina
2194edb46e9SPaul Traina- Fix AppleTalk, IPX and DECnet byte order problems due to wrong endian
2204edb46e9SPaul Traina  define being referenced. Reported by Terry Kennedy.
2214edb46e9SPaul Traina
2224edb46e9SPaul Traina- Minor fixes to the man page thanks to Mark Andrews.
2234edb46e9SPaul Traina
2244edb46e9SPaul Traina- Endian fixes to RTP and vat packet dumpers, thanks to Bruce Mah
2254edb46e9SPaul Traina  (bmah@cs.berkeley.edu).
2264edb46e9SPaul Traina
2274edb46e9SPaul Traina- Added support for new dns types, thanks to Rainer Orth.
2284edb46e9SPaul Traina
2294edb46e9SPaul Traina- Fixed tftp_print() to print the block number for ACKs.
2304edb46e9SPaul Traina
2314edb46e9SPaul Traina- Document -dd and -ddd. Resulted from a bug report from Charlie Slater
2324edb46e9SPaul Traina  (cslater@imatek.com).
2334edb46e9SPaul Traina
2344edb46e9SPaul Traina- Check return status from malloc/calloc/etc.
2354edb46e9SPaul Traina
2364edb46e9SPaul Traina- Check return status from pcap_loop() so we can print an error and
2374edb46e9SPaul Traina  exit with a bad status if there were problems.
2384edb46e9SPaul Traina
2394edb46e9SPaul Traina- Bail if ip option length is <= 0. Resulted from a bug report from
2404edb46e9SPaul Traina  Darren Reed (darrenr@vitruvius.arbld.unimelb.edu.au).
2414edb46e9SPaul Traina
2424edb46e9SPaul Traina- Print out a little more information for sun rpc packets.
2434edb46e9SPaul Traina
2444edb46e9SPaul Traina- Add suport for Kerberos 4 thanks to John Hawkinson (jhawk@mit.edu).
2454edb46e9SPaul Traina
2464edb46e9SPaul Traina- Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were
2474edb46e9SPaul Traina  wrong on little endian machines).
2484edb46e9SPaul Traina
2494edb46e9SPaul Traina- Fixed alignment bug in ipx_decode(). Thanks to Matt Crawford
2504edb46e9SPaul Traina  (crawdad@fnal.gov).
2514edb46e9SPaul Traina
2524edb46e9SPaul Traina- Fix ntp_print() to not print garbage when the stratum is
2534edb46e9SPaul Traina  "unspecified." Thanks to Deus Ex Machina (root@belle.bork.com).
2544edb46e9SPaul Traina
2554edb46e9SPaul Traina- Rewrote tcp options printer code to check for truncation. Added
2564edb46e9SPaul Traina  selective acknowledgment case.
2574edb46e9SPaul Traina
2584edb46e9SPaul Traina- Fixed an endian bug in the ospf printer. Thanks to Jeffrey C Honig
2594edb46e9SPaul Traina  (jch@bsdi.com)
2604edb46e9SPaul Traina
2614edb46e9SPaul Traina- Fix rip printer to handle 4.4 BSD sockaddr struct which only uses one
2624edb46e9SPaul Traina  octet for the sa_family member. Thanks to Yoshitaka Tokugawa
2634edb46e9SPaul Traina  (toku@dit.co.jp)
2644edb46e9SPaul Traina
2654edb46e9SPaul Traina- Don't checksum ip header if we don't have all of it. Thanks to John
2664edb46e9SPaul Traina  Hawkinson (jhawk@mit.edu).
2674edb46e9SPaul Traina
2684edb46e9SPaul Traina- Print out hostnames if possible in egp printer. Thanks to Jeffrey
2694edb46e9SPaul Traina  Honig (jhc@bsdi.com)
2704edb46e9SPaul Traina
2714edb46e9SPaul Traina
2724edb46e9SPaul Trainav3.1a1 Wed May  3 19:21:11 PDT 1995
2734edb46e9SPaul Traina
2744edb46e9SPaul Traina- Include time.h when SVR4 is defined to avoid problems under Solaris
2754edb46e9SPaul Traina  2.3.
2764edb46e9SPaul Traina
2774edb46e9SPaul Traina- Fix etheraddr_string() in the ETHER_SERVICE to return the saved
2784edb46e9SPaul Traina  strings, not the local buffer. Thanks to Stefan Petri
2794edb46e9SPaul Traina  (petri@ibr.cs.tu-bs.de).
2804edb46e9SPaul Traina
2814edb46e9SPaul Traina- Detect when pcap raises the snaplen (e.g. with snit). Print a warning
2824edb46e9SPaul Traina  that the selected value was not used. Thanks to Pascal Hennequin
2834edb46e9SPaul Traina  (Pascal.Hennequin@hugo.int-evry.fr).
2844edb46e9SPaul Traina
2854edb46e9SPaul Traina- Add a truncated packet test to print-nfs.c. Thanks to Pascal Hennequin.
2864edb46e9SPaul Traina
2874edb46e9SPaul Traina- BYTEORDER -> BYTE_ORDER Thanks to Terry Kennedy (terry@spcvxa.spc.edu).
2884edb46e9SPaul Traina
2894edb46e9SPaul Trainav3.0.3 Sun Oct  1 18:35:00 GMT 1995
2904edb46e9SPaul Traina
2914edb46e9SPaul Traina- Although there never was a 3.0.3 release, the linux boys cleverly
2924edb46e9SPaul Traina  "released" one in late 1995.
2934edb46e9SPaul Traina
2944edb46e9SPaul Trainav3.0.2 Thu Apr 20 21:28:16 PDT 1995
2954edb46e9SPaul Traina
2964edb46e9SPaul Traina- Change configuration to not use gcc v2 flags with gcc v1.
2974edb46e9SPaul Traina
2984edb46e9SPaul Traina- Redo gmt2local() so that it works under BSDI (which seems to return
2994edb46e9SPaul Traina  an empty timezone struct from gettimeofday()). Based on report from
3004edb46e9SPaul Traina  Terry Kennedy (terry@spcvxa.spc.edu).
3014edb46e9SPaul Traina
3024edb46e9SPaul Traina- Change configure to recognize IP[0-9]* as "mips" SGI hardware. Based
3034edb46e9SPaul Traina  on report from Mark Andrews (mandrews@alias.com).
3044edb46e9SPaul Traina
3054edb46e9SPaul Traina- Don't pass cc flags to gcc. Resulted from a bug report from Rainer
3064edb46e9SPaul Traina  Orth (ro@techfak.uni-bielefeld.de).
3074edb46e9SPaul Traina
3084edb46e9SPaul Traina- Fixed printout of connection id for uncompressed tcp slip packets.
3094edb46e9SPaul Traina  Resulted from a bug report from Richard Stevens (rstevens@noao.edu).
3104edb46e9SPaul Traina
3114edb46e9SPaul Traina- Hack around deficiency in Ultrix's make.
3124edb46e9SPaul Traina
3134edb46e9SPaul Traina- Add ETHERTYPE_TRAIL define which is missing from irix5.
3144edb46e9SPaul Traina
3154edb46e9SPaul Trainav3.0.1 Wed Aug 31 22:42:26 PDT 1994
3164edb46e9SPaul Traina
3174edb46e9SPaul Traina- Fix problems with gcc2 vs. malloc() and read() prototypes under SunOS 4.
3184edb46e9SPaul Traina
3194edb46e9SPaul Trainav3.0 Mon Jun 20 19:23:27 PDT 1994
3204edb46e9SPaul Traina
3214edb46e9SPaul Traina- Added support for printing tcp option timestamps thanks to
3224edb46e9SPaul Traina  Mark Andrews (mandrews@alias.com).
3234edb46e9SPaul Traina
3244edb46e9SPaul Traina- Reorganize protocol dumpers to take const pointers to packets so they
3254edb46e9SPaul Traina  never change the contents (i.e., they used to do endian conversions
3264edb46e9SPaul Traina  in place).  Previously, whenever more than one pass was taken over
3274edb46e9SPaul Traina  the packet, the packet contents would be dumped incorrectly (i.e.,
3284edb46e9SPaul Traina  the output form -x would be wrong on little endian machines because
3294edb46e9SPaul Traina  the protocol dumpers would modify the data).  Thanks to Charles Hannum
3304edb46e9SPaul Traina  (mycroft@gnu.ai.mit.edu) for reporting this problem.
3314edb46e9SPaul Traina
3324edb46e9SPaul Traina- Added support for decnet protocol dumping thanks to Jeff Mogul
3334edb46e9SPaul Traina  (mogul@pa.dec.com).
3344edb46e9SPaul Traina
3354edb46e9SPaul Traina- Fix bug that caused length of packet to be incorrectly printed
3364edb46e9SPaul Traina  (off by ether header size) for unknown ethernet types thanks
3374edb46e9SPaul Traina  to Greg Miller (gmiller@kayak.mitre.org).
3384edb46e9SPaul Traina
3394edb46e9SPaul Traina- Added support for IPX protocol dumping thanks to Brad Parker
3404edb46e9SPaul Traina  (brad@fcr.com).
3414edb46e9SPaul Traina
3424edb46e9SPaul Traina- Added check to verify IP header checksum under -v thanks to
3434edb46e9SPaul Traina  Brad Parker (brad@fcr.com).
3444edb46e9SPaul Traina
3454edb46e9SPaul Traina- Move packet capture code to new libpcap library (which is
3464edb46e9SPaul Traina  packaged separately).
3474edb46e9SPaul Traina
3484edb46e9SPaul Traina- Prototype everything and assume an ansi compiler.
3494edb46e9SPaul Traina
3504edb46e9SPaul Traina- print-arp.c: Print hardware ethernet addresses if they're not
3514edb46e9SPaul Traina  what we expect.
3524edb46e9SPaul Traina
3534edb46e9SPaul Traina- print-bootp.c: Decode the cmu vendor field. Add RFC1497 tags.
3544edb46e9SPaul Traina  Many helpful suggestions from Gordon Ross (gwr@jericho.mc.com).
3554edb46e9SPaul Traina
3564edb46e9SPaul Traina- print-fddi.c: Improvements. Thanks to Jeffrey Mogul
3574edb46e9SPaul Traina  (mogul@pa.dec.com).
3584edb46e9SPaul Traina
3594edb46e9SPaul Traina- print-icmp.c: Byte swap netmask before printing. Thanks to
3604edb46e9SPaul Traina  Richard Stevens (rstevens@noao.edu). Print icmp type when unknown.
3614edb46e9SPaul Traina
3624edb46e9SPaul Traina- print-ip.c: Print the inner ip datagram of ip-in-ip encapsulated packets.
3634edb46e9SPaul Traina  By default, only the inner packet is dumped, appended with the token
3644edb46e9SPaul Traina  "(encap)".  Under -v, both the inner and output packets are dumped
3654edb46e9SPaul Traina  (on the same line).  Note that the filter applies to the original packet,
3664edb46e9SPaul Traina  not the encapsulated packet.  So if you run tcpdump on a net with an
3674edb46e9SPaul Traina  IP Multicast tunnel, you cannot filter out the datagrams using the
3684edb46e9SPaul Traina  conventional syntax.  (You can filter away all the ip-in-ip traffic
3694edb46e9SPaul Traina  with "not ip proto 4".)
3704edb46e9SPaul Traina
3714edb46e9SPaul Traina- print-nfs.c: Keep pending rpc's in circular table. Add generic
3724edb46e9SPaul Traina  nfs header and remove os dependences. Thanks to Jeffrey Mogul.
3734edb46e9SPaul Traina
3744edb46e9SPaul Traina- print-ospf.c: Improvements. Thanks to Jeffrey Mogul.
3754edb46e9SPaul Traina
3764edb46e9SPaul Traina- tcpdump.c: Add -T flag allows interpretation of "vat", "wb", "rpc"
3774edb46e9SPaul Traina  (sunrpc) and rtp packets. Added "inbound" and "outbound" keywords
3784edb46e9SPaul Traina  Add && and || operators
3794edb46e9SPaul Traina
3804edb46e9SPaul Trainav2.2.1 Tue Jun 6 17:57:22 PDT 1992
3814edb46e9SPaul Traina
3824edb46e9SPaul Traina- Fix bug with -c flag.
3834edb46e9SPaul Traina
3844edb46e9SPaul Trainav2.2 Fri May 22 17:19:41 PDT 1992
3854edb46e9SPaul Traina
3864edb46e9SPaul Traina- savefile.c: Remove hack that shouldn't have been exported. Add
3874edb46e9SPaul Traina  truncate checks.
3884edb46e9SPaul Traina
3894edb46e9SPaul Traina- Added the 'icmp' keyword.  For example, 'icmp[0] != 8 and icmp[0] != 0'
3904edb46e9SPaul Traina  matches non-echo/reply ICMP packets.
3914edb46e9SPaul Traina
3924edb46e9SPaul Traina- Many improvements to filter code optimizer.
3934edb46e9SPaul Traina
3944edb46e9SPaul Traina- Added 'multicast' keyword and extended the 'broadcast' keyword can now be
3954edb46e9SPaul Traina  so that protocol qualifications are allowed. For example, "ip broadcast"
3964edb46e9SPaul Traina  and "ether multicast" are valid filters.
3974edb46e9SPaul Traina
3984edb46e9SPaul Traina- Added support for monitoring the loopback interface (i.e. 'tcpdump -i lo').
3994edb46e9SPaul Traina  Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) contributed the kernel
4004edb46e9SPaul Traina  patches to netinet/if_loop.c.
4014edb46e9SPaul Traina
4024edb46e9SPaul Traina- Added support for the Ungermann-Bass Ethernet on IBM/PC-RTs running AOS.
4034edb46e9SPaul Traina  Contact Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) for the diffs.
4044edb46e9SPaul Traina
4054edb46e9SPaul Traina- Added EGP and OSPF printers, thanks to Jeffrey Honig.
4064edb46e9SPaul Traina
4074edb46e9SPaul Trainav2.1 Tue Jan 28 11:00:14 PST 1992
4084edb46e9SPaul Traina
4094edb46e9SPaul Traina- Internal release (never publically exported).
4104edb46e9SPaul Traina
4114edb46e9SPaul Trainav2.0.1 Sun Jan 26 21:10:10 PDT
4124edb46e9SPaul Traina
4134edb46e9SPaul Traina- Various byte ordering fixes.
4144edb46e9SPaul Traina
4154edb46e9SPaul Traina- Add truncation checks.
4164edb46e9SPaul Traina
4174edb46e9SPaul Traina- inet.c: Support BSD style SIOCGIFCONF.
4184edb46e9SPaul Traina
4194edb46e9SPaul Traina- nametoaddr.c: Handle multi addresses for single host.
4204edb46e9SPaul Traina
4214edb46e9SPaul Traina- optimize.c: Rewritten.
4224edb46e9SPaul Traina
4234edb46e9SPaul Traina- pcap-bpf.c: don't choke when we get ptraced. only set promiscuous
4244edb46e9SPaul Traina  for broadcast nets.
4254edb46e9SPaul Traina
4264edb46e9SPaul Traina- print-atal.c: Fix an alignment bug (thanks to
4274edb46e9SPaul Traina  stanonik@nprdc.navy.mil) Add missing printf() argument.
4284edb46e9SPaul Traina
4294edb46e9SPaul Traina- print-bootp.c: First attempt at decoding the vendor buffer.
4304edb46e9SPaul Traina
4314edb46e9SPaul Traina- print-domain.c: Fix truncation checks.
4324edb46e9SPaul Traina
4334edb46e9SPaul Traina- print-icmp.c: Calculate length of packets from the ip header.
4344edb46e9SPaul Traina
4354edb46e9SPaul Traina- print-ip.c: Print frag id in decimal (so it's easier to match up
4364edb46e9SPaul Traina  with non-frags). Add support for ospf, egp and igmp.
4374edb46e9SPaul Traina
4384edb46e9SPaul Traina- print-nfs.c: Lots of changes.
4394edb46e9SPaul Traina
4404edb46e9SPaul Traina- print-ntp.c: Make some verbose output depend on -v.
4414edb46e9SPaul Traina
4424edb46e9SPaul Traina- print-snmp.c: New version from John LoVerso.
4434edb46e9SPaul Traina
4444edb46e9SPaul Traina- print-tcp.c: Print rfc1072 tcp options.
4454edb46e9SPaul Traina
4464edb46e9SPaul Traina- tcpdump.c: Print "0x" prefix for %x formats. Always print 6 digits
4474edb46e9SPaul Traina  (microseconds) worth of precision. Fix uid bugs.
4484edb46e9SPaul Traina
4494edb46e9SPaul Traina- A packet dumper has been added (thanks to Jeff Mogul of DECWRL).
4504edb46e9SPaul Traina  With this option, you can create an architecture independent binary
4514edb46e9SPaul Traina  trace file in real time, without the overhead of the packet printer.
4524edb46e9SPaul Traina  At a later time, the packets can be filtered (again) and printed.
4534edb46e9SPaul Traina
4544edb46e9SPaul Traina- BSD is supported.  You must have BPF in your kernel.
4554edb46e9SPaul Traina  Since the filtering is now done in the kernel, fewer packets are
4564edb46e9SPaul Traina  dropped.  In fact, with BPF and the packet dumper option, a measly
4574edb46e9SPaul Traina  Sun 3/50 can keep up with a busy network.
4584edb46e9SPaul Traina
4594edb46e9SPaul Traina- Compressed SLIP packets can now be dumped, provided you use our
4604edb46e9SPaul Traina  SLIP software and BPF.  These packets are dumped as any other IP
4614edb46e9SPaul Traina  packet; the compressed headers are dumped with the '-e' option.
4624edb46e9SPaul Traina
4634edb46e9SPaul Traina- Machines with little-endian byte ordering are supported (thanks to
4644edb46e9SPaul Traina  Jeff Mogul).
4654edb46e9SPaul Traina
4664edb46e9SPaul Traina- Ultrix 4.0 is supported (also thanks to Jeff Mogul).
4674edb46e9SPaul Traina
4684edb46e9SPaul Traina- IBM RT and Stanford Enetfilter support has been added by
4694edb46e9SPaul Traina  Rayan Zachariassen <rayan@canet.ca>.  Tcpdump has been tested under
4704edb46e9SPaul Traina  both the vanilla Enetfilter interface, and the extended interface
4714edb46e9SPaul Traina  (#ifdef'd by IBMRTPC) present in the MERIT version of the Enetfilter.
4724edb46e9SPaul Traina
4734edb46e9SPaul Traina- TFTP packets are now printed (requests only).
4744edb46e9SPaul Traina
4754edb46e9SPaul Traina- BOOTP packets are now printed.
4764edb46e9SPaul Traina
4774edb46e9SPaul Traina- SNMP packets are now printed. (thanks to John LoVerso of Xylogics).
4784edb46e9SPaul Traina
4794edb46e9SPaul Traina- Sparc architectures, including the Sparcstation-1, are now
4804edb46e9SPaul Traina  supported thanks to Steve McCanne and Craig Leres.
4814edb46e9SPaul Traina
4824edb46e9SPaul Traina- SunOS 4 is now supported thanks to Micky Liu of Columbia
4834edb46e9SPaul Traina  University (micky@cunixc.cc.columbia.edu).
4844edb46e9SPaul Traina
4854edb46e9SPaul Traina- IP options are now printed.
4864edb46e9SPaul Traina
4874edb46e9SPaul Traina- RIP packets are now printed.
4884edb46e9SPaul Traina
4894edb46e9SPaul Traina- There's a -v flag that prints out more information than the
4904edb46e9SPaul Traina  default (e.g., it will enable printing of IP ttl, tos and id)
4914edb46e9SPaul Traina  and -q flag that prints out less (e.g., it will disable
4924edb46e9SPaul Traina  interpretation of AppleTalk-in-UDP).
4934edb46e9SPaul Traina
4944edb46e9SPaul Traina- The grammar has undergone substantial changes (if you have an
4954edb46e9SPaul Traina  earlier version of tcpdump, you should re-read the manual
4964edb46e9SPaul Traina  entry).
4974edb46e9SPaul Traina
4984edb46e9SPaul Traina  The most useful change is the addition of an expression
4994edb46e9SPaul Traina  syntax that lets you filter on arbitrary fields or values in the
5004edb46e9SPaul Traina  packet.  E.g., "ip[0] > 0x45" would print only packets with IP
5014edb46e9SPaul Traina  options, "tcp[13] & 3 != 0" would print only TCP SYN and FIN
5024edb46e9SPaul Traina  packets.
5034edb46e9SPaul Traina
5044edb46e9SPaul Traina  The most painful change is that concatenation no longer means
5054edb46e9SPaul Traina  "and" -- e.g., you have to say "host foo and port bar" instead
5064edb46e9SPaul Traina  of "host foo port bar".  The up side to this down is that
5074edb46e9SPaul Traina  repeated qualifiers can be omitted, making most filter
5084edb46e9SPaul Traina  expressions shorter.  E.g., you can now say "ip host foo and
5094edb46e9SPaul Traina  (bar or baz)" to look at ip traffic between hosts foo and bar or
5104edb46e9SPaul Traina  between hosts foo and baz.  [The old way of saying this was "ip
5114edb46e9SPaul Traina  host foo and (ip host bar or ip host baz)".]
5124edb46e9SPaul Traina
5134edb46e9SPaul Trainav2.0 Sun Jan 13 12:20:40 PST 1991
5144edb46e9SPaul Traina
5154edb46e9SPaul Traina- Initial public release.
516