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