1 @(#) $Header: /tcpdump/master/libpcap/CHANGES,v 1.59.2.11 2007/07/24 02:27:32 mcr Exp $ (LBL)
3 Wed. July 23, 2007. mcr@xelerance.com. Summary for 0.9.7 libpcap release
5 FIXED version file to be 0.9.7 instead of 0.9.5.
6 added flags/configuration for cloning bpf device.
7 added DLT_MTP2_WITH_PHDR support (PPI)
8 "fix" the "memory leak" in icode_to_fcode() -- documentation bug
9 Various link-layer types, with a pseudo-header, for SITA http://www.sita.aero/
10 introduces support for the DAG ERF type TYPE_COLOR_MC_HDLC_POS.
11 Basic BPF filtering support for DLT_MTP2_WITH_PHDR is also added.
12 check for IPv4 and IPv6, even for DLT_RAW
13 add support for DLT_JUNIPER_ISM
14 Pick up changes from NetBSD: many from tron, christos, drochner
15 Allocate DLT_ for 802.15.4 without any header munging, for Mikko Saarnivala.
16 Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header
18 Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
20 Put the public libpcap headers into a pcap subdirectory in both the
21 source directory and the target include directory, and have include
22 files at the top-level directory to include those headers, for
23 backwards compatibility.
25 Add USB capturing support on Linux
26 Add support for the binary USB sniffing interface in Linux
27 Add support for new FreeBSD BIOCSDIRECTION ioctl
28 Add additional filter operations for 802.11 frame types
29 Add support for filtering on MTP2 frame types
30 Propagate some changes from the main branch, so the x.9 branch has
31 all the DLT_ and LINKTYPE_ values that the main branch does
32 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
34 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
36 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
37 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
38 Add DLT for Bluetooth HCI UART transport layer
39 When building a shared library, build with "-fPIC" on Linux to support x86_64
40 Link with "$(CC) -shared" rather than "ld -shared" when building a
42 Add support for autoconf 2.60
43 Fixes to discard unread packets when changing filters
44 Changes to handle name changes in the DAG library resulting from
46 Add support for new DAG ERF types.
47 Add an explicit "-ldag" when building the shared library, so the DAG
48 library dependency is explicit.
49 Mac OSX fixes for dealing with "wlt" devices
50 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
52 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
55 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
57 Support for LAPD frames with vISDN
58 Support for ERF on channelized T1/E1 cards via DAG API
59 Fix capitalization that caused issues crossc compiling on Linux
60 Better failure detection on PacketGetAdapterNames()
61 Fixes for MPLS packet generation (link layer)
62 OP_PACKET now matches the beginning of the packet, instead of
64 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
65 Fix allocation of buffer for list of link-layer types
66 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
67 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
68 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
69 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
70 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
71 Add support for DLT_JUNIPER_VP.
72 Don't double-count received packets on Linux systems that
73 support the PACKET_STATISTICS getsockopt() argument on
75 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
77 Add support to build libpcap.lib and wpcap.dll under Cygnus and
80 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
82 Support for radiotap on Linux (Mike Kershaw)
84 Support for additional Juniper link-layer types
85 Fixes for filters on MPLS-encapsulated packets
87 "pppoed" and "pppoes" filters added; the latter modifies later
88 parts of the filter expression to look at the PPP headers and
89 headers in the PPP payload
91 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
93 Fixes for compiling on nearly every platform,
94 including improved 64bit support
96 Add support for sending packets
97 OpenBSD pf format support
98 IrDA capture (Linux only)
100 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
102 Fixed minor problem in gencode.c that would appear on 64-bit
104 Version number is now sane.
106 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
108 updates for autoconf 2.5
109 fixes for ppp interfaces for freebsd 4.1
110 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
112 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
114 added pcap_findalldevs()
115 Win32 patches from NetGroup, Politecnico di Torino (Italy)
116 OpenBSD pf, DLT_PFLOG added
117 Many changes to ATM support.
118 lookup pcap_lookupnet()
119 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
120 DLT_IP_OVER_FC, DLT_FRELAY, others.
121 Sigh. More AIX wonderfulness.
123 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
124 pcap_list_datalinks(), pcap_set_datalink(),
125 pcap_lib_version(), pcap_datalink_val_to_name(),
126 pcap_datalink_name_to_val(), new error returns.
128 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
130 Support link types that use 802.2 always, never, and sometimes.
131 Don't decrease the size of the BPF buffer from the default.
133 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
134 Handle Linux systems with modern kernel but without
135 SOL_PACKET in the userland headers.
136 Linux support for ARPHRD_RAWHDLC.
137 Handle 32-bit timestamps in snoop.
138 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
139 Add new reserved DLT types.
141 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
143 Added pcap_findalldevs() call to get list of interfaces in a MI way.
145 pcap_stats() has been documented as to what its counters mean on
148 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
150 New Linux libpcap implementation, which, in 2.2 and later
151 kernels, uses PF_PACKET sockets and supports kernel packet
152 filtering (if compiled into the kernel), and supports the "any"
153 device for capturing on all interfaces. Cleans up promiscuous
154 mode better on pre-2.2 kernels, and has various other fixes
155 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
156 doesn't show duplicate packets on loopback interface, etc.).
158 Fixed HP-UX libpcap implementation to correctly get the PPA for
159 an interface, to allow interfaces to be opened by interface name.
161 libpcap savefiles have system-independent link-layer type values
162 in the header, rather than sometimes platform-dependent DLT_
163 values, to make it easier to exchange capture files between
166 Non-standard capture files produced by some Linux tcpdumps, e.g.
167 the one from Red Hat Linux 6.2 and later, can now be read.
169 Updated autoconf stock files.
171 Filter expressions can filter on VLAN IDs and various OSI
172 protocols, and work on Token Ring (with non-source-routed
175 "pcap_open_dead()" added to allow compiling filter expressions
176 to pcap code without opening a capture device or capture file.
178 Header files fixed to allow use in C++ programs.
180 Removed dependancy on native headers for packet layout.
181 Removed Linux specific headers that were shipped.
183 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
186 Fixed bug that could cause subsequent "pcap_compile()"s to fail
187 erroneously after one compile failed.
189 Assorted other bug fixes.
191 README.aix and README.linux files added to describe
192 platform-specific issues.
194 "getifaddrs()" rather than SIOCGIFCONF used, if available.
196 v0.5 Sat Jun 10 11:09:15 PDT 2000
199 - Brought in KAME IPv6/IPsec bpf compiler.
201 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
202 and changes to work around different BSDs having different DLT_ types
203 with the same numeric value.
205 Assar Westerlund <assar@sics.se>
206 - Building outside the source code tree fixed.
207 - Changed to write out time stamps with 32-bit seconds and microseconds
208 fields, regardless of whether those fields are 32 bits or 64 bits in
209 the OS's native "struct timeval".
210 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
211 the list of interfaces is read as necessary in order to hold the
214 Greg Troxel <gdt@ir.bbn.com>
215 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
216 expression into a BPF program without having an open live capture or
219 v0.4 Sat Jul 25 12:40:09 PDT 1998
221 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
222 Fenner (fenner@parc.xerox.com)
224 - Fix alignment problem with FDDI under DLPI. This was causing core
227 - Added configure options to disable flex and bison. Resulted from a
228 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
229 options to disable gcc and to force a particular packet capture type.
231 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
232 to John Hawkinson (jhawk@mit.edu)
234 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
235 supply any "link layer" data.
237 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
238 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
240 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
243 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
246 - Added some new SGI snoop interface types. Thanks to Steve Alexander
247 (sca@refugee.engr.sgi.com)
249 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
250 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
252 - Fddi supports broadcast as reported by Jeff Macdonald
253 (jeff@iacnet.com). Also correct ieee802 and arcnet.
255 - Determine Linux pcap buffer size at run time or else it might not be
256 big enough for some interface types (e.g. FDDI). Thanks to Jes
257 Sorensen (Jes.Sorensen@cern.ch)
259 - Fix some linux alignment problems.
261 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
264 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
265 (laik@gunpowder.stanford.edu)
267 - Bind to interface name under Linux to avoid packets from multiple
268 interfaces on multi-homed hosts. Thanks to Kevin Lai
269 (laik@gunpowder.stanford.edu)
271 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
272 (rroberts@muller.com)
274 - Fixed an uninitialized memory reference found by Kent Vander Velden
275 (graphix@iastate.edu)
277 - Fixed lex pattern for IDs to allow leading digits. As reported by
278 Theo de Raadt (deraadt@cvs.openbsd.org)
280 - Fixed Linux include file problems when using GNU libc.
282 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
283 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
285 - Fixed bug in pcap_dispatch() that kept it from returning on packet
288 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
289 for "lo" followed by an eos or digit (newer versions of Linux
290 apparently call the loopback "lo" instead of "lo0").
292 - Fixed Linux networking include files to use ints instead of longs to
293 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
294 Gafton (gafton@redhat.com)
296 v0.3 Sat Nov 30 20:56:27 PST 1996
298 - Added Linux support.
300 - Fixed savefile bugs.
302 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
304 - Add support for bpf kernel port filters.
306 - Remove duplicate atalk protocol table entry. Thanks to Christian
307 Hopps (chopps@water.emich.edu)
309 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
310 reported to happen under BSD/OS by David Vincenzetti
313 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
314 (barnett@grymoire.crd.ge.com)
316 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
318 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
319 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
321 - Added support for SINIX. Thanks to Andrej Borsenkow
322 (borsenkow.msk@sni.de)
324 - Fixes for AIX (although this system is not yet supported). Thanks to
325 John Hawkinson (jhawk@mit.edu)
327 - Use autoconf's idea of the top level directory in install targets.
328 Thanks to John Hawkinson.
330 - Add missing autoconf packet capture result message. Thanks to Bill
331 Fenner (fenner@parc.xerox.com)
333 - Fixed padding problems in the pf module.
335 - Fixed some more alignment problems on the alpha.
337 - Added explicit netmask support. Thanks to Steve Nuchia
338 (steve@research.oknet.com)
340 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
343 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
344 Kennedy (terry@spcvxa.spc.edu)
346 - Add "atalk" keyword as suggested by John Hawkinson.
348 - Add "igrp" keyword.
350 - Fixed HID definition in grammar.y to be a string, not a value.
352 - Use $CC when checking gcc version. Thanks to Carl Lindberg
353 (carl_lindberg@blacksmith.com)
355 - Removed obsolete reference to pcap_immediate() from the man page.
356 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
358 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
361 v0.2 Sun Jun 23 02:28:42 PDT 1996
363 - Add support for HP-UX. Resulted from code contributed by Tom Murray
364 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
365 (philipp@res.enst.fr)
367 - Update INSTALL with a reminder to install include files. Thanks to
368 Mark Andrews (mandrews@aw.sgi.com)
370 - Fix bpf compiler alignment bug on the alpha.
372 - Use autoconf to detect architectures that can't handle misaligned
375 - Added loopback support for snoop. Resulted from report Steve
376 Alexander (sca@engr.sgi.com)
378 v0.1 Fri Apr 28 18:11:03 PDT 1995
380 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
381 comparison operators, while the code generator and optimizer assumed
382 signed semantics in several places. Thanks to Charlie Slater
383 (cslater@imatek.com) for pointing this out.
385 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
386 by Gary Veum (veum@boa.gsfc.nasa.gov).
388 - Add pcap-null.c which allows offline use of libpcap on systems that
389 don't support live package capture. This feature resulting from a
390 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
392 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
393 (Pascal.Hennequin@hugo.int-evry.fr).
395 - Port to GNU autoconf.
397 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
398 Johansen (fsj@csd.cri.dk).
400 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
401 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
403 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
404 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
406 - Add support for "long jumps". Thanks to Jeffrey Mogul
409 - Fix minor problems when compiling with BDEBUG as noticed by Scott
410 Bertilson (scott@unet.umn.edu).
412 - Declare sys_errlist "const char *const" to avoid problems under
413 FreeBSD. Resulted from report by jher@eden.com.
415 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
417 - Add missing variable declaration missing from 0.0.6
419 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
421 - Workaround for problems when pcap_read() returns 0 due to the timeout
424 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
426 - Change configuration to not use gcc v2 flags with gcc v1.
428 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
429 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
431 - Fixed configure to test for snoop before dlpi to avoid problems under
432 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
434 - Hack around deficiency in Ultrix's make.
436 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
437 savefiles that have more than snapshot bytes of data in them (so we
438 can read old savefiles) and avoid writing such files.
440 - Added checkioctl which is used with gcc to check that the
441 "fixincludes" script has been run.
443 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
445 - Fixed configure to test for snoop before dlpi to avoid problems under
446 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
448 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
450 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
453 - Determine pcap link type from dlpi media type. Resulted from report
454 by Mahesh Jethanandani (mahesh@npix.com).
456 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
458 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
459 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
460 Invalid argument" error under OSF/1. Reported by Matt Day
461 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
463 - Turn on FDDI support by default.
465 v0.0 Mon Jun 20 19:20:16 PDT 1994
469 - Fixed bug with greater/less keywords, reported by Mark Andrews
470 (mandrews@alias.com).
472 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
473 by Elan Amir (elan@leeb.cs.berkeley.edu).
475 - Machines with little-endian byte ordering are supported thanks to
478 - Add hack for version 2.3 savefiles which don't have caplen and len
479 swapped thanks to Vern Paxson.
481 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
483 - Added length, inbound and outbound keywords.