1 @(#) $Header: /tcpdump/master/libpcap/CHANGES,v 1.59.2.9 2006/09/19 17:49:59 ken Exp $ (LBL)
3 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
5 Support for LAPD frames with vISDN
6 Support for ERF on channelized T1/E1 cards via DAG API
7 Fix capitalization that caused issues crossc compiling on Linux
8 Better failure detection on PacketGetAdapterNames()
9 Fixes for MPLS packet generation (link layer)
10 OP_PACKET now matches the beginning of the packet, instead of
12 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
13 Fix allocation of buffer for list of link-layer types
14 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
15 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
16 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
17 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
18 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
19 Add support for DLT_JUNIPER_VP.
20 Don't double-count received packets on Linux systems that
21 support the PACKET_STATISTICS getsockopt() argument on
23 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
25 Add support to build libpcap.lib and wpcap.dll under Cygnus and
28 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
30 Support for radiotap on Linux (Mike Kershaw)
32 Support for additional Juniper link-layer types
33 Fixes for filters on MPLS-encapsulated packets
35 "pppoed" and "pppoes" filters added; the latter modifies later
36 parts of the filter expression to look at the PPP headers and
37 headers in the PPP payload
39 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
41 Fixes for compiling on nearly every platform,
42 including improved 64bit support
44 Add support for sending packets
45 OpenBSD pf format support
46 IrDA capture (Linux only)
48 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
50 Fixed minor problem in gencode.c that would appear on 64-bit
52 Version number is now sane.
54 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
56 updates for autoconf 2.5
57 fixes for ppp interfaces for freebsd 4.1
58 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
60 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
62 added pcap_findalldevs()
63 Win32 patches from NetGroup, Politecnico di Torino (Italy)
64 OpenBSD pf, DLT_PFLOG added
65 Many changes to ATM support.
66 lookup pcap_lookupnet()
67 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
68 DLT_IP_OVER_FC, DLT_FRELAY, others.
69 Sigh. More AIX wonderfulness.
71 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
72 pcap_list_datalinks(), pcap_set_datalink(),
73 pcap_lib_version(), pcap_datalink_val_to_name(),
74 pcap_datalink_name_to_val(), new error returns.
76 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
78 Support link types that use 802.2 always, never, and sometimes.
79 Don't decrease the size of the BPF buffer from the default.
81 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
82 Handle Linux systems with modern kernel but without
83 SOL_PACKET in the userland headers.
84 Linux support for ARPHRD_RAWHDLC.
85 Handle 32-bit timestamps in snoop.
86 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
87 Add new reserved DLT types.
89 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
91 Added pcap_findalldevs() call to get list of interfaces in a MI way.
93 pcap_stats() has been documented as to what its counters mean on
96 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
98 New Linux libpcap implementation, which, in 2.2 and later
99 kernels, uses PF_PACKET sockets and supports kernel packet
100 filtering (if compiled into the kernel), and supports the "any"
101 device for capturing on all interfaces. Cleans up promiscuous
102 mode better on pre-2.2 kernels, and has various other fixes
103 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
104 doesn't show duplicate packets on loopback interface, etc.).
106 Fixed HP-UX libpcap implementation to correctly get the PPA for
107 an interface, to allow interfaces to be opened by interface name.
109 libpcap savefiles have system-independent link-layer type values
110 in the header, rather than sometimes platform-dependent DLT_
111 values, to make it easier to exchange capture files between
114 Non-standard capture files produced by some Linux tcpdumps, e.g.
115 the one from Red Hat Linux 6.2 and later, can now be read.
117 Updated autoconf stock files.
119 Filter expressions can filter on VLAN IDs and various OSI
120 protocols, and work on Token Ring (with non-source-routed
123 "pcap_open_dead()" added to allow compiling filter expressions
124 to pcap code without opening a capture device or capture file.
126 Header files fixed to allow use in C++ programs.
128 Removed dependancy on native headers for packet layout.
129 Removed Linux specific headers that were shipped.
131 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
134 Fixed bug that could cause subsequent "pcap_compile()"s to fail
135 erroneously after one compile failed.
137 Assorted other bug fixes.
139 README.aix and README.linux files added to describe
140 platform-specific issues.
142 "getifaddrs()" rather than SIOCGIFCONF used, if available.
144 v0.5 Sat Jun 10 11:09:15 PDT 2000
147 - Brought in KAME IPv6/IPsec bpf compiler.
149 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
150 and changes to work around different BSDs having different DLT_ types
151 with the same numeric value.
153 Assar Westerlund <assar@sics.se>
154 - Building outside the source code tree fixed.
155 - Changed to write out time stamps with 32-bit seconds and microseconds
156 fields, regardless of whether those fields are 32 bits or 64 bits in
157 the OS's native "struct timeval".
158 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
159 the list of interfaces is read as necessary in order to hold the
162 Greg Troxel <gdt@ir.bbn.com>
163 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
164 expression into a BPF program without having an open live capture or
167 v0.4 Sat Jul 25 12:40:09 PDT 1998
169 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
170 Fenner (fenner@parc.xerox.com)
172 - Fix alignment problem with FDDI under DLPI. This was causing core
175 - Added configure options to disable flex and bison. Resulted from a
176 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
177 options to disable gcc and to force a particular packet capture type.
179 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
180 to John Hawkinson (jhawk@mit.edu)
182 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
183 supply any "link layer" data.
185 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
186 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
188 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
191 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
194 - Added some new SGI snoop interface types. Thanks to Steve Alexander
195 (sca@refugee.engr.sgi.com)
197 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
198 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
200 - Fddi supports broadcast as reported by Jeff Macdonald
201 (jeff@iacnet.com). Also correct ieee802 and arcnet.
203 - Determine Linux pcap buffer size at run time or else it might not be
204 big enough for some interface types (e.g. FDDI). Thanks to Jes
205 Sorensen (Jes.Sorensen@cern.ch)
207 - Fix some linux alignment problems.
209 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
212 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
213 (laik@gunpowder.stanford.edu)
215 - Bind to interface name under Linux to avoid packets from multiple
216 interfaces on multi-homed hosts. Thanks to Kevin Lai
217 (laik@gunpowder.stanford.edu)
219 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
220 (rroberts@muller.com)
222 - Fixed an uninitialized memory reference found by Kent Vander Velden
223 (graphix@iastate.edu)
225 - Fixed lex pattern for IDs to allow leading digits. As reported by
226 Theo de Raadt (deraadt@cvs.openbsd.org)
228 - Fixed Linux include file problems when using GNU libc.
230 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
231 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
233 - Fixed bug in pcap_dispatch() that kept it from returning on packet
236 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
237 for "lo" followed by an eos or digit (newer versions of Linux
238 apparently call the loopback "lo" instead of "lo0").
240 - Fixed Linux networking include files to use ints instead of longs to
241 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
242 Gafton (gafton@redhat.com)
244 v0.3 Sat Nov 30 20:56:27 PST 1996
246 - Added Linux support.
248 - Fixed savefile bugs.
250 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
252 - Add support for bpf kernel port filters.
254 - Remove duplicate atalk protocol table entry. Thanks to Christian
255 Hopps (chopps@water.emich.edu)
257 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
258 reported to happen under BSD/OS by David Vincenzetti
261 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
262 (barnett@grymoire.crd.ge.com)
264 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
266 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
267 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
269 - Added support for SINIX. Thanks to Andrej Borsenkow
270 (borsenkow.msk@sni.de)
272 - Fixes for AIX (although this system is not yet supported). Thanks to
273 John Hawkinson (jhawk@mit.edu)
275 - Use autoconf's idea of the top level directory in install targets.
276 Thanks to John Hawkinson.
278 - Add missing autoconf packet capture result message. Thanks to Bill
279 Fenner (fenner@parc.xerox.com)
281 - Fixed padding problems in the pf module.
283 - Fixed some more alignment problems on the alpha.
285 - Added explicit netmask support. Thanks to Steve Nuchia
286 (steve@research.oknet.com)
288 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
291 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
292 Kennedy (terry@spcvxa.spc.edu)
294 - Add "atalk" keyword as suggested by John Hawkinson.
296 - Add "igrp" keyword.
298 - Fixed HID definition in grammar.y to be a string, not a value.
300 - Use $CC when checking gcc version. Thanks to Carl Lindberg
301 (carl_lindberg@blacksmith.com)
303 - Removed obsolete reference to pcap_immediate() from the man page.
304 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
306 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
309 v0.2 Sun Jun 23 02:28:42 PDT 1996
311 - Add support for HP-UX. Resulted from code contributed by Tom Murray
312 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
313 (philipp@res.enst.fr)
315 - Update INSTALL with a reminder to install include files. Thanks to
316 Mark Andrews (mandrews@aw.sgi.com)
318 - Fix bpf compiler alignment bug on the alpha.
320 - Use autoconf to detect architectures that can't handle misaligned
323 - Added loopback support for snoop. Resulted from report Steve
324 Alexander (sca@engr.sgi.com)
326 v0.1 Fri Apr 28 18:11:03 PDT 1995
328 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
329 comparison operators, while the code generator and optimizer assumed
330 signed semantics in several places. Thanks to Charlie Slater
331 (cslater@imatek.com) for pointing this out.
333 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
334 by Gary Veum (veum@boa.gsfc.nasa.gov).
336 - Add pcap-null.c which allows offline use of libpcap on systems that
337 don't support live package capture. This feature resulting from a
338 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
340 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
341 (Pascal.Hennequin@hugo.int-evry.fr).
343 - Port to GNU autoconf.
345 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
346 Johansen (fsj@csd.cri.dk).
348 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
349 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
351 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
352 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
354 - Add support for "long jumps". Thanks to Jeffrey Mogul
357 - Fix minor problems when compiling with BDEBUG as noticed by Scott
358 Bertilson (scott@unet.umn.edu).
360 - Declare sys_errlist "const char *const" to avoid problems under
361 FreeBSD. Resulted from report by jher@eden.com.
363 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
365 - Add missing variable declaration missing from 0.0.6
367 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
369 - Workaround for problems when pcap_read() returns 0 due to the timeout
372 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
374 - Change configuration to not use gcc v2 flags with gcc v1.
376 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
377 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
379 - Fixed configure to test for snoop before dlpi to avoid problems under
380 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
382 - Hack around deficiency in Ultrix's make.
384 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
385 savefiles that have more than snapshot bytes of data in them (so we
386 can read old savefiles) and avoid writing such files.
388 - Added checkioctl which is used with gcc to check that the
389 "fixincludes" script has been run.
391 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
393 - Fixed configure to test for snoop before dlpi to avoid problems under
394 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
396 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
398 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
401 - Determine pcap link type from dlpi media type. Resulted from report
402 by Mahesh Jethanandani (mahesh@npix.com).
404 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
406 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
407 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
408 Invalid argument" error under OSF/1. Reported by Matt Day
409 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
411 - Turn on FDDI support by default.
413 v0.0 Mon Jun 20 19:20:16 PDT 1994
417 - Fixed bug with greater/less keywords, reported by Mark Andrews
418 (mandrews@alias.com).
420 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
421 by Elan Amir (elan@leeb.cs.berkeley.edu).
423 - Machines with little-endian byte ordering are supported thanks to
426 - Add hack for version 2.3 savefiles which don't have caplen and len
427 swapped thanks to Vern Paxson.
429 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
431 - Added length, inbound and outbound keywords.