1v3.5 Fri Jan 28 18:00:00 PST 2000 2 3Bill Fenner <fenner@research.att.com> 4- switch to config.h for autoconf 5- unify RCSID strings 6- Updated PIMv1, PIMv2, DVMRP, IGMP parsers, add Cisco Auto-RP parser 7- Really fix the RIP printer 8- Fix MAC address -> name translation. 9- some -Wall -Wformat fixes 10- update makemib to parse much of SMIv2 11- Print TCP sequence # with -vv even if you normally wouldn't 12- Print as much of IP/TCP/UDP headers as possible even if truncated. 13 14itojun@iijlab.net 15- -X will make a ascii dump. from netbsd. 16- telnet command sequence decoder (ff xx xx). from netbsd. 17- print-bgp.c: improve options printing. ugly code exists for 18 unaligned option parsing (need some fix). 19- const poisoning in SMB decoder. 20- -Wall -Werror clean checks. 21- bring in KAME IPv6/IPsec decoding code. 22 23Assar Westerlund <assar@sics.se> 24- SNMPv2 and SNMPv3 printer 25- If compiled with libsmi, tcpdump can load MIBs on the fly to decode 26 SNMP packets. 27- Incorporate NFS parsing code from NetBSD. Adds support for nfsv3. 28- portability fixes 29- permit building in different directories. 30 31Ken Hornstein <kenh@cmf.nrl.navy.mil> 32- bring in code at 33 /afs/transarc.com/public/afs-contrib/tools/tcpdump for parsing 34 AFS3 packets 35 36Andrew Tridgell <tridge@linuxcare.com> 37- SMB printing code 38 39Love <lha@stacken.kth.se> 40- print-rx.c: add code for printing MakeDir and StoreStatus. Also 41 change date format to the right one. 42 43Michael C. Richardson <mcr@sandelman.ottawa.on.ca> 44- Created tcpdump.org repository 45 46 47v3.4 Sat Jul 25 12:40:55 PDT 1998 48 49- Hardwire Linux slip support since it's too hard to detect. 50 51- Redo configuration of "network" libraries (-lsocket and -lnsl) to 52 deal with IRIX. Thanks to John Hawkinson (jhawk@mit.edu) 53 54- Added -a which tries to translate network and broadcast addresses to 55 names. Suggested by Rob van Nieuwkerk (robn@verdi.et.tudelft.nl) 56 57- Added a configure option to disable gcc. 58 59- Added a "raw" packet printer. 60 61- Not having an interface address is no longer fatal. Requested by John 62 Hawkinson. 63 64- Rework signal setup to accommodate Linux. 65 66- OSPF truncation check fix. Also display the type of OSPF packets 67 using MD5 authentication. Thanks to Brian Wellington 68 (bwelling@tis.com) 69 70- Fix truncation check bugs in the Kerberos printer. Reported by Ezra 71 Peisach (epeisach@mit.edu) 72 73- Don't catch SIGHUP when invoked with nohup(1). Thanks to Dave Plonka 74 (plonka@mfa.com) 75 76- Specify full install target as a way of detecting if install 77 directory does not exist. Thanks to Dave Plonka. 78 79- Bit-swap FDDI addresses for BSD/OS too. Thanks to Paul Vixie 80 (paul@vix.com) 81 82- Fix off-by-one bug when testing size of ethernet packets. Thanks to 83 Marty Leisner (leisner@sdsp.mc.xerox.com) 84 85- Add a local autoconf macro to check for routines in libraries; the 86 autoconf version is broken (it only puts the library name in the 87 cache variable name). Thanks to John Hawkinson. 88 89- Add a local autoconf macro to check for types; the autoconf version 90 is broken (it uses grep instead of actually compiling a code fragment). 91 92- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 93 formats. 94 95- Extend OSF ip header workaround to versions 1 and 2. 96 97- Fix some signed problems in the nfs printer. As reported by David 98 Sacerdote (davids@silence.secnet.com) 99 100- Detect group wheel and use it as the default since BSD/OS' install 101 can't hack numeric groups. Reported by David Sacerdote. 102 103- AIX needs special loader options. Thanks to Jonathan I. Kamens 104 (jik@cam.ov.com) 105 106- Fixed the nfs printer to print port numbers in decimal. Thanks to 107 Kent Vander Velden (graphix@iastate.edu) 108 109- Find installed libpcap in /usr/local/lib when not using gcc. 110 111- Disallow network masks with non-network bits set. 112 113- Attempt to detect "egcs" versions of gcc. 114 115- Add missing closing double quotes when displaying bootp strings. 116 Reported by Viet-Trung Luu (vluu@picard.math.uwaterloo.ca) 117 118v3.3 Sat Nov 30 20:56:27 PST 1996 119 120- Added Linux support. 121 122- GRE encapsulated packet printer thanks to John Hawkinson 123 (jhawk@mit.edu) 124 125- Rewrite gmt2local() to avoid problematic os dependencies. 126 127- Suppress nfs truncation message on errors. 128 129- Add missing m4 quoting in AC_LBL_UNALIGNED_ACCESS autoconf macro. 130 Reported by Joachim Ott (ott@ardala.han.de) 131 132- Enable "ip_hl vs. ip_vhl" workaround for OSF4 too. 133 134- Print arp hardware type in host order. Thanks to Onno van der Linden 135 (onno@simplex.nl) 136 137- Avoid solaris compiler warnings. Thanks to Bruce Barnett 138 (barnett@grymoire.crd.ge.com) 139 140- Fix rip printer to not print one more route than is actually in the 141 packet. Thanks to Jean-Luc Richier (Jean-Luc.Richier@imag.fr) and 142 Bill Fenner (fenner@parc.xerox.com) 143 144- Use autoconf endian detection since BYTE_ORDER isn't defined on all systems. 145 146- Fix dvmrp printer truncation checks and add a dvmrp probe printer. 147 Thanks to Danny J. Mitzel (mitzel@ipsilon.com) 148 149- Rewrite ospf printer to improve truncation checks. 150 151- Don't parse tcp options past the EOL. As noted by David Sacerdote 152 (davids@secnet.com). Also, check tcp options to make sure they ar 153 actually in the tcp header (in addition to the normal truncation 154 checks). Fix the SACK code to print the N blocks (instead of the 155 first block N times). 156 157- Don't say really small UDP packets are truncated just because they 158 aren't big enough to be a RPC. As noted by David Sacerdote. 159 160v3.2.1 Sun Jul 14 03:02:26 PDT 1996 161 162- Added rfc1716 icmp codes as suggested by Martin Fredriksson 163 (martin@msp.se) 164 165- Print mtu for icmp unreach need frag packets. Thanks to John 166 Hawkinson (jhawk@mit.edu) 167 168- Decode icmp router discovery messages. Thanks to Jeffrey Honig 169 (jch@bsdi.com) 170 171- Added a printer entry for DLT_IEEE802 as suggested by Tak Kushida 172 (kushida@trl.ibm.co.jp) 173 174- Check igmp checksum if possible. Thanks to John Hawkinson. 175 176- Made changes for SINIX. Thanks to Andrej Borsenkow 177 (borsenkow.msk@sni.de) 178 179- Use autoconf's idea of the top level directory in install targets. 180 Thanks to John Hawkinson. 181 182- Avoid infinite loop in tcp options printing code. Thanks to Jeffrey 183 Mogul (mogul@pa.dec.com) 184 185- Avoid using -lsocket in IRIX 5.2 and earlier since it breaks snoop. 186 Thanks to John Hawkinson. 187 188- Added some more packet truncation checks. 189 190- On systems that have it, use sigset() instead of signal() since 191 signal() has different semantics on these systems. 192 193- Fixed some more alignment problems on the alpha. 194 195- Add code to massage unprintable characters in the domain and ipx 196 printers. Thanks to John Hawkinson. 197 198- Added explicit netmask support. Thanks to Steve Nuchia 199 (steve@research.oknet.com) 200 201- Add "sca" keyword (for DEC cluster services) as suggested by Terry 202 Kennedy (terry@spcvxa.spc.edu) 203 204- Add "atalk" keyword as suggested by John Hawkinson. 205 206- Added an igrp printer. Thanks to Francis Dupont 207 (francis.dupont@inria.fr) 208 209- Print IPX net numbers in hex a la Novell Netware. Thanks to Terry 210 Kennedy (terry@spcvxa.spc.edu) 211 212- Fixed snmp extended tag field parsing bug. Thanks to Pascal Hennequin 213 (pascal.hennequin@hugo.int-evry.fr) 214 215- Added some ETHERTYPEs missing on some systems. 216 217- Added truncated packet macros and various checks. 218 219- Fixed endian problems with the DECnet printer. 220 221- Use $CC when checking gcc version. Thanks to Carl Lindberg 222 (carl_lindberg@blacksmith.com) 223 224- Fixes for AIX (although this system is not yet supported). Thanks to 225 John Hawkinson. 226 227- Fix bugs in the autoconf misaligned accesses code fragment. 228 229- Include sys/param.h to get BYTE_ORDER in a few places. Thanks to 230 Pavlin Ivanov Radoslavov (pavlin@cs.titech.ac.jp) 231 232v3.2 Sun Jun 23 02:28:10 PDT 1996 233 234- Print new icmp unreachable codes as suggested by Martin Fredriksson 235 (martin@msp.se). Also print code value when unknown for icmp redirect 236 and time exceeded. 237 238- Fix an alignment endian bug in getname(). Thanks to John Hawkinson. 239 240- Define "new" domain record types if not found in arpa/nameserv.h. 241 Resulted from a suggestion from John Hawkinson (jhawk@mit.edu). Also 242 fixed an endian bug when printing mx record and added some new record 243 types. 244 245- Added RIP V2 support. Thanks to Jeffrey Honig (jch@bsdi.com) 246 247- Added T/TCP options printing. As suggested by Richard Stevens 248 (rstevens@noao.edu) 249 250- Use autoconf to detect architectures that can't handle misaligned 251 accesses. 252 253v3.1 Thu Jun 13 20:59:32 PDT 1996 254 255- Changed u_int32/int32 to u_int32_t/int32_t to be consistent with bsd 256 and bind (as suggested by Charles Hannum). 257 258- Port to GNU autoconf. 259 260- Add support for printing DVMRP and PIM traffic thanks to 261 Havard Eidnes (Havard.Eidnes@runit.sintef.no). 262 263- Fix AppleTalk, IPX and DECnet byte order problems due to wrong endian 264 define being referenced. Reported by Terry Kennedy. 265 266- Minor fixes to the man page thanks to Mark Andrews. 267 268- Endian fixes to RTP and vat packet dumpers, thanks to Bruce Mah 269 (bmah@cs.berkeley.edu). 270 271- Added support for new dns types, thanks to Rainer Orth. 272 273- Fixed tftp_print() to print the block number for ACKs. 274 275- Document -dd and -ddd. Resulted from a bug report from Charlie Slater 276 (cslater@imatek.com). 277 278- Check return status from malloc/calloc/etc. 279 280- Check return status from pcap_loop() so we can print an error and 281 exit with a bad status if there were problems. 282 283- Bail if ip option length is <= 0. Resulted from a bug report from 284 Darren Reed (darrenr@vitruvius.arbld.unimelb.edu.au). 285 286- Print out a little more information for sun rpc packets. 287 288- Add suport for Kerberos 4 thanks to John Hawkinson (jhawk@mit.edu). 289 290- Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were 291 wrong on little endian machines). 292 293- Fixed alignment bug in ipx_decode(). Thanks to Matt Crawford 294 (crawdad@fnal.gov). 295 296- Fix ntp_print() to not print garbage when the stratum is 297 "unspecified." Thanks to Deus Ex Machina (root@belle.bork.com). 298 299- Rewrote tcp options printer code to check for truncation. Added 300 selective acknowledgment case. 301 302- Fixed an endian bug in the ospf printer. Thanks to Jeffrey C Honig 303 (jch@bsdi.com) 304 305- Fix rip printer to handle 4.4 BSD sockaddr struct which only uses one 306 octet for the sa_family member. Thanks to Yoshitaka Tokugawa 307 (toku@dit.co.jp) 308 309- Don't checksum ip header if we don't have all of it. Thanks to John 310 Hawkinson (jhawk@mit.edu). 311 312- Print out hostnames if possible in egp printer. Thanks to Jeffrey 313 Honig (jhc@bsdi.com) 314 315 316v3.1a1 Wed May 3 19:21:11 PDT 1995 317 318- Include time.h when SVR4 is defined to avoid problems under Solaris 319 2.3. 320 321- Fix etheraddr_string() in the ETHER_SERVICE to return the saved 322 strings, not the local buffer. Thanks to Stefan Petri 323 (petri@ibr.cs.tu-bs.de). 324 325- Detect when pcap raises the snaplen (e.g. with snit). Print a warning 326 that the selected value was not used. Thanks to Pascal Hennequin 327 (Pascal.Hennequin@hugo.int-evry.fr). 328 329- Add a truncated packet test to print-nfs.c. Thanks to Pascal Hennequin. 330 331- BYTEORDER -> BYTE_ORDER Thanks to Terry Kennedy (terry@spcvxa.spc.edu). 332 333v3.0.3 Sun Oct 1 18:35:00 GMT 1995 334 335- Although there never was a 3.0.3 release, the linux boys cleverly 336 "released" one in late 1995. 337 338v3.0.2 Thu Apr 20 21:28:16 PDT 1995 339 340- Change configuration to not use gcc v2 flags with gcc v1. 341 342- Redo gmt2local() so that it works under BSDI (which seems to return 343 an empty timezone struct from gettimeofday()). Based on report from 344 Terry Kennedy (terry@spcvxa.spc.edu). 345 346- Change configure to recognize IP[0-9]* as "mips" SGI hardware. Based 347 on report from Mark Andrews (mandrews@alias.com). 348 349- Don't pass cc flags to gcc. Resulted from a bug report from Rainer 350 Orth (ro@techfak.uni-bielefeld.de). 351 352- Fixed printout of connection id for uncompressed tcp slip packets. 353 Resulted from a bug report from Richard Stevens (rstevens@noao.edu). 354 355- Hack around deficiency in Ultrix's make. 356 357- Add ETHERTYPE_TRAIL define which is missing from irix5. 358 359v3.0.1 Wed Aug 31 22:42:26 PDT 1994 360 361- Fix problems with gcc2 vs. malloc() and read() prototypes under SunOS 4. 362 363v3.0 Mon Jun 20 19:23:27 PDT 1994 364 365- Added support for printing tcp option timestamps thanks to 366 Mark Andrews (mandrews@alias.com). 367 368- Reorganize protocol dumpers to take const pointers to packets so they 369 never change the contents (i.e., they used to do endian conversions 370 in place). Previously, whenever more than one pass was taken over 371 the packet, the packet contents would be dumped incorrectly (i.e., 372 the output form -x would be wrong on little endian machines because 373 the protocol dumpers would modify the data). Thanks to Charles Hannum 374 (mycroft@gnu.ai.mit.edu) for reporting this problem. 375 376- Added support for decnet protocol dumping thanks to Jeff Mogul 377 (mogul@pa.dec.com). 378 379- Fix bug that caused length of packet to be incorrectly printed 380 (off by ether header size) for unknown ethernet types thanks 381 to Greg Miller (gmiller@kayak.mitre.org). 382 383- Added support for IPX protocol dumping thanks to Brad Parker 384 (brad@fcr.com). 385 386- Added check to verify IP header checksum under -v thanks to 387 Brad Parker (brad@fcr.com). 388 389- Move packet capture code to new libpcap library (which is 390 packaged separately). 391 392- Prototype everything and assume an ansi compiler. 393 394- print-arp.c: Print hardware ethernet addresses if they're not 395 what we expect. 396 397- print-bootp.c: Decode the cmu vendor field. Add RFC1497 tags. 398 Many helpful suggestions from Gordon Ross (gwr@jericho.mc.com). 399 400- print-fddi.c: Improvements. Thanks to Jeffrey Mogul 401 (mogul@pa.dec.com). 402 403- print-icmp.c: Byte swap netmask before printing. Thanks to 404 Richard Stevens (rstevens@noao.edu). Print icmp type when unknown. 405 406- print-ip.c: Print the inner ip datagram of ip-in-ip encapsulated packets. 407 By default, only the inner packet is dumped, appended with the token 408 "(encap)". Under -v, both the inner and output packets are dumped 409 (on the same line). Note that the filter applies to the original packet, 410 not the encapsulated packet. So if you run tcpdump on a net with an 411 IP Multicast tunnel, you cannot filter out the datagrams using the 412 conventional syntax. (You can filter away all the ip-in-ip traffic 413 with "not ip proto 4".) 414 415- print-nfs.c: Keep pending rpc's in circular table. Add generic 416 nfs header and remove os dependences. Thanks to Jeffrey Mogul. 417 418- print-ospf.c: Improvements. Thanks to Jeffrey Mogul. 419 420- tcpdump.c: Add -T flag allows interpretation of "vat", "wb", "rpc" 421 (sunrpc) and rtp packets. Added "inbound" and "outbound" keywords 422 Add && and || operators 423 424v2.2.1 Tue Jun 6 17:57:22 PDT 1992 425 426- Fix bug with -c flag. 427 428v2.2 Fri May 22 17:19:41 PDT 1992 429 430- savefile.c: Remove hack that shouldn't have been exported. Add 431 truncate checks. 432 433- Added the 'icmp' keyword. For example, 'icmp[0] != 8 and icmp[0] != 0' 434 matches non-echo/reply ICMP packets. 435 436- Many improvements to filter code optimizer. 437 438- Added 'multicast' keyword and extended the 'broadcast' keyword can now be 439 so that protocol qualifications are allowed. For example, "ip broadcast" 440 and "ether multicast" are valid filters. 441 442- Added support for monitoring the loopback interface (i.e. 'tcpdump -i lo'). 443 Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) contributed the kernel 444 patches to netinet/if_loop.c. 445 446- Added support for the Ungermann-Bass Ethernet on IBM/PC-RTs running AOS. 447 Contact Jeffrey Honig (jch@MITCHELL.CIT.CORNELL.EDU) for the diffs. 448 449- Added EGP and OSPF printers, thanks to Jeffrey Honig. 450 451v2.1 Tue Jan 28 11:00:14 PST 1992 452 453- Internal release (never publically exported). 454 455v2.0.1 Sun Jan 26 21:10:10 PDT 456 457- Various byte ordering fixes. 458 459- Add truncation checks. 460 461- inet.c: Support BSD style SIOCGIFCONF. 462 463- nametoaddr.c: Handle multi addresses for single host. 464 465- optimize.c: Rewritten. 466 467- pcap-bpf.c: don't choke when we get ptraced. only set promiscuous 468 for broadcast nets. 469 470- print-atal.c: Fix an alignment bug (thanks to 471 stanonik@nprdc.navy.mil) Add missing printf() argument. 472 473- print-bootp.c: First attempt at decoding the vendor buffer. 474 475- print-domain.c: Fix truncation checks. 476 477- print-icmp.c: Calculate length of packets from the ip header. 478 479- print-ip.c: Print frag id in decimal (so it's easier to match up 480 with non-frags). Add support for ospf, egp and igmp. 481 482- print-nfs.c: Lots of changes. 483 484- print-ntp.c: Make some verbose output depend on -v. 485 486- print-snmp.c: New version from John LoVerso. 487 488- print-tcp.c: Print rfc1072 tcp options. 489 490- tcpdump.c: Print "0x" prefix for %x formats. Always print 6 digits 491 (microseconds) worth of precision. Fix uid bugs. 492 493- A packet dumper has been added (thanks to Jeff Mogul of DECWRL). 494 With this option, you can create an architecture independent binary 495 trace file in real time, without the overhead of the packet printer. 496 At a later time, the packets can be filtered (again) and printed. 497 498- BSD is supported. You must have BPF in your kernel. 499 Since the filtering is now done in the kernel, fewer packets are 500 dropped. In fact, with BPF and the packet dumper option, a measly 501 Sun 3/50 can keep up with a busy network. 502 503- Compressed SLIP packets can now be dumped, provided you use our 504 SLIP software and BPF. These packets are dumped as any other IP 505 packet; the compressed headers are dumped with the '-e' option. 506 507- Machines with little-endian byte ordering are supported (thanks to 508 Jeff Mogul). 509 510- Ultrix 4.0 is supported (also thanks to Jeff Mogul). 511 512- IBM RT and Stanford Enetfilter support has been added by 513 Rayan Zachariassen <rayan@canet.ca>. Tcpdump has been tested under 514 both the vanilla Enetfilter interface, and the extended interface 515 (#ifdef'd by IBMRTPC) present in the MERIT version of the Enetfilter. 516 517- TFTP packets are now printed (requests only). 518 519- BOOTP packets are now printed. 520 521- SNMP packets are now printed. (thanks to John LoVerso of Xylogics). 522 523- Sparc architectures, including the Sparcstation-1, are now 524 supported thanks to Steve McCanne and Craig Leres. 525 526- SunOS 4 is now supported thanks to Micky Liu of Columbia 527 University (micky@cunixc.cc.columbia.edu). 528 529- IP options are now printed. 530 531- RIP packets are now printed. 532 533- There's a -v flag that prints out more information than the 534 default (e.g., it will enable printing of IP ttl, tos and id) 535 and -q flag that prints out less (e.g., it will disable 536 interpretation of AppleTalk-in-UDP). 537 538- The grammar has undergone substantial changes (if you have an 539 earlier version of tcpdump, you should re-read the manual 540 entry). 541 542 The most useful change is the addition of an expression 543 syntax that lets you filter on arbitrary fields or values in the 544 packet. E.g., "ip[0] > 0x45" would print only packets with IP 545 options, "tcp[13] & 3 != 0" would print only TCP SYN and FIN 546 packets. 547 548 The most painful change is that concatenation no longer means 549 "and" -- e.g., you have to say "host foo and port bar" instead 550 of "host foo port bar". The up side to this down is that 551 repeated qualifiers can be omitted, making most filter 552 expressions shorter. E.g., you can now say "ip host foo and 553 (bar or baz)" to look at ip traffic between hosts foo and bar or 554 between hosts foo and baz. [The old way of saying this was "ip 555 host foo and (ip host bar or ip host baz)".] 556 557v2.0 Sun Jan 13 12:20:40 PST 1991 558 559- Initial public release. 560 561@(#) $Header: /tcpdump/master/tcpdump/CHANGES,v 1.63.2.1 2000/01/27 23:18:19 fenner Exp $ (LBL) 562