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