1 Thu. April 1, 2010. guy@alum.mit.edu.
2 Summary for 1.1.1 libpcap release
3 Update CHANGES to reflect more of the changes in 1.1.0.
5 Fix shared library build on AIX.
7 Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu.
8 Summary for 1.1.0 libpcap release
9 Add SocketCAN capture support
10 Add Myricom SNF API support
11 Update Endace DAG and ERF support
12 Add support for shared libraries on Solaris, HP-UX, and AIX
13 Build, install, and un-install shared libraries by default;
14 don't build/install shared libraries on platforms we don't support
15 Fix building from a directory other than the source directory
16 Fix compiler warnings and builds on some platforms
17 Update config.guess and config.sub
18 Support monitor mode on mac80211 devices on Linux
19 Fix USB memory-mapped capturing on Linux; it requires a new DLT_
21 On Linux, scan /sys/class/net for devices if we have it; scan
22 it, or /proc/net/dev if we don't have /sys/class/net, even if
23 we have getifaddrs(), as it'll find interfaces with no
25 Add limited support for reading pcap-ng files
26 Fix BPF driver-loading error handling on AIX
27 Support getting the full-length interface description on FreeBSD
28 In the lexical analyzer, free up any addrinfo structure we got back
30 Add support for BPF and libdlpi in OpenSolaris (and SXCE)
31 Hyphenate "link-layer" everywhere
32 Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations
33 In pcap_read_linux_mmap(), if there are no frames available, call
34 poll() even if we're in non-blocking mode, so we pick up
35 errors, and check for the errors in question.
36 Note that poll() works on BPF devices is Snow Leopard
37 If an ENXIO or ENETDOWN is received, it may mean the device has
38 gone away. Deal with it.
39 For BPF, raise the default capture buffer size to from 32k to 512k
40 Support ps_ifdrop on Linux
41 Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile
43 Changes to Linux mmapped captures.
44 Fix bug where create_ring would fail for particular snaplen and
45 buffer size combinations
46 Update pcap-config so that it handles libpcap requiring
48 Add workaround for threadsafeness on Windows
49 Add missing mapping for DLT_ENC <-> LINKTYPE_ENC
50 DLT: Add DLT_CAN_SOCKETCAN
51 DLT: Add Solaris ipnet
52 Don't check for DLT_IPNET if it's not defined
53 Add link-layer types for Fibre Channel FC-2
54 Add link-layer types for Wireless HART
55 Add link-layer types for AOS
56 Add link-layer types for DECT
57 Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups)
58 Install headers unconditionally, and include vlan.h/bluetooth.h if
60 Autoconf fixes+cleanup
61 Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
62 Support disabling SITA support (--without-sita)
63 Return -1 on failure to create packet ring (if supported but
65 Fix handling of 'any' device, so that it can be opened, and no longer
66 attempt to open it in Monitor mode
67 Add support for snapshot length for USB Memory-Mapped Interface
68 Fix configure and build on recent Linux kernels
69 Fix memory-mapped Linux capture to support pcap_next() and
71 Fixes for Linux USB capture
72 DLT: Add DLT_LINUX_EVDEV
73 DLT: Add DLT_GSMTAP_UM
74 DLT: Add DLT_GSMTAP_ABIS
76 Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release
77 Compile with IPv6 support by default
78 Compile with large file support on by default
79 Add pcap-config script, which deals with -I/-L flags for compiling
82 DLT: Add AX25 (AX.25 w/KISS header)
85 Variable length 802.11 header support
87 SITA ACN Interface support - see README.sita
88 Support for memory-mapped capture on Linux
89 Support for zerocopy BPF on platforms that support it
90 Support for setting buffer size when opening devices
91 Support for setting monitor mode when opening 802.11 devices
92 Better support for dealing with VLAN tagging/stripping on Linux
93 Fix dynamic library support on OSX
94 Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
95 can print better diagnostic information
96 Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
97 applications can tell the user they need to go play with permissions
98 On Linux, ignore ENETDOWN so we can continue to capture packets if the
99 interface goes down and comes back up again.
100 On Linux, support new tpacket frame headers (2.6.27+)
101 On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
102 On Solaris, support 'passive mode' on systems that support it
103 Fixes to autoconf and general build environment
104 Man page reorganization + cleanup
105 Autogenerate VERSION numbers better
107 Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release
108 Change build process to put public libpcap headers into pcap subir
109 DLT: Add value for IPMI IPMB packets
110 DLT: Add value for u10 Networks boards
111 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
112 libpcap files on an OS other than where the file was generated
114 Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
116 Put the public libpcap headers into a pcap subdirectory in both the
117 source directory and the target include directory, and have include
118 files at the top-level directory to include those headers, for
119 backwards compatibility.
120 Add Bluetooth support
121 Add USB capturing support on Linux
122 Add support for the binary USB sniffing interface in Linux
123 Add support for new FreeBSD BIOCSDIRECTION ioctl
124 Add additional filter operations for 802.11 frame types
125 Add support for filtering on MTP2 frame types
126 Propagate some changes from the main branch, so the x.9 branch has
127 all the DLT_ and LINKTYPE_ values that the main branch does
128 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
130 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
132 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
133 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
134 Add DLT for Bluetooth HCI UART transport layer
135 When building a shared library, build with "-fPIC" on Linux to support x86_64
136 Link with "$(CC) -shared" rather than "ld -shared" when building a
138 Add support for autoconf 2.60
139 Fixes to discard unread packets when changing filters
140 Changes to handle name changes in the DAG library resulting from
141 switching to libtool.
142 Add support for new DAG ERF types.
143 Add an explicit "-ldag" when building the shared library, so the DAG
144 library dependency is explicit.
145 Mac OSX fixes for dealing with "wlt" devices
146 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
148 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
151 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
153 Support for LAPD frames with vISDN
154 Support for ERF on channelized T1/E1 cards via DAG API
155 Fix capitalization that caused issues crossc compiling on Linux
156 Better failure detection on PacketGetAdapterNames()
157 Fixes for MPLS packet generation (link layer)
158 OP_PACKET now matches the beginning of the packet, instead of
160 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
161 Fix allocation of buffer for list of link-layer types
162 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
163 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
164 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
165 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
166 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
167 Add support for DLT_JUNIPER_VP.
168 Don't double-count received packets on Linux systems that
169 support the PACKET_STATISTICS getsockopt() argument on
171 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
173 Add support to build libpcap.lib and wpcap.dll under Cygnus and
176 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
178 Support for radiotap on Linux (Mike Kershaw)
180 Support for additional Juniper link-layer types
181 Fixes for filters on MPLS-encapsulated packets
183 "pppoed" and "pppoes" filters added; the latter modifies later
184 parts of the filter expression to look at the PPP headers and
185 headers in the PPP payload
187 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
189 Fixes for compiling on nearly every platform,
190 including improved 64bit support
192 Add support for sending packets
193 OpenBSD pf format support
194 IrDA capture (Linux only)
196 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
198 Fixed minor problem in gencode.c that would appear on 64-bit
200 Version number is now sane.
202 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
204 updates for autoconf 2.5
205 fixes for ppp interfaces for freebsd 4.1
206 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
208 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
210 added pcap_findalldevs()
211 Win32 patches from NetGroup, Politecnico di Torino (Italy)
212 OpenBSD pf, DLT_PFLOG added
213 Many changes to ATM support.
214 lookup pcap_lookupnet()
215 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
216 DLT_IP_OVER_FC, DLT_FRELAY, others.
217 Sigh. More AIX wonderfulness.
219 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
220 pcap_list_datalinks(), pcap_set_datalink(),
221 pcap_lib_version(), pcap_datalink_val_to_name(),
222 pcap_datalink_name_to_val(), new error returns.
224 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
226 Support link types that use 802.2 always, never, and sometimes.
227 Don't decrease the size of the BPF buffer from the default.
229 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
230 Handle Linux systems with modern kernel but without
231 SOL_PACKET in the userland headers.
232 Linux support for ARPHRD_RAWHDLC.
233 Handle 32-bit timestamps in snoop.
234 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
235 Add new reserved DLT types.
237 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
239 Added pcap_findalldevs() call to get list of interfaces in a MI way.
241 pcap_stats() has been documented as to what its counters mean on
244 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
246 New Linux libpcap implementation, which, in 2.2 and later
247 kernels, uses PF_PACKET sockets and supports kernel packet
248 filtering (if compiled into the kernel), and supports the "any"
249 device for capturing on all interfaces. Cleans up promiscuous
250 mode better on pre-2.2 kernels, and has various other fixes
251 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
252 doesn't show duplicate packets on loopback interface, etc.).
254 Fixed HP-UX libpcap implementation to correctly get the PPA for
255 an interface, to allow interfaces to be opened by interface name.
257 libpcap savefiles have system-independent link-layer type values
258 in the header, rather than sometimes platform-dependent DLT_
259 values, to make it easier to exchange capture files between
262 Non-standard capture files produced by some Linux tcpdumps, e.g.
263 the one from Red Hat Linux 6.2 and later, can now be read.
265 Updated autoconf stock files.
267 Filter expressions can filter on VLAN IDs and various OSI
268 protocols, and work on Token Ring (with non-source-routed
271 "pcap_open_dead()" added to allow compiling filter expressions
272 to pcap code without opening a capture device or capture file.
274 Header files fixed to allow use in C++ programs.
276 Removed dependancy on native headers for packet layout.
277 Removed Linux specific headers that were shipped.
279 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
282 Fixed bug that could cause subsequent "pcap_compile()"s to fail
283 erroneously after one compile failed.
285 Assorted other bug fixes.
287 README.aix and README.linux files added to describe
288 platform-specific issues.
290 "getifaddrs()" rather than SIOCGIFCONF used, if available.
292 v0.5 Sat Jun 10 11:09:15 PDT 2000
295 - Brought in KAME IPv6/IPsec bpf compiler.
297 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
298 and changes to work around different BSDs having different DLT_ types
299 with the same numeric value.
301 Assar Westerlund <assar@sics.se>
302 - Building outside the source code tree fixed.
303 - Changed to write out time stamps with 32-bit seconds and microseconds
304 fields, regardless of whether those fields are 32 bits or 64 bits in
305 the OS's native "struct timeval".
306 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
307 the list of interfaces is read as necessary in order to hold the
310 Greg Troxel <gdt@ir.bbn.com>
311 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
312 expression into a BPF program without having an open live capture or
315 v0.4 Sat Jul 25 12:40:09 PDT 1998
317 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
318 Fenner (fenner@parc.xerox.com)
320 - Fix alignment problem with FDDI under DLPI. This was causing core
323 - Added configure options to disable flex and bison. Resulted from a
324 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
325 options to disable gcc and to force a particular packet capture type.
327 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
328 to John Hawkinson (jhawk@mit.edu)
330 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
331 supply any "link layer" data.
333 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
334 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
336 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
339 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
342 - Added some new SGI snoop interface types. Thanks to Steve Alexander
343 (sca@refugee.engr.sgi.com)
345 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
346 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
348 - Fddi supports broadcast as reported by Jeff Macdonald
349 (jeff@iacnet.com). Also correct ieee802 and arcnet.
351 - Determine Linux pcap buffer size at run time or else it might not be
352 big enough for some interface types (e.g. FDDI). Thanks to Jes
353 Sorensen (Jes.Sorensen@cern.ch)
355 - Fix some linux alignment problems.
357 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
360 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
361 (laik@gunpowder.stanford.edu)
363 - Bind to interface name under Linux to avoid packets from multiple
364 interfaces on multi-homed hosts. Thanks to Kevin Lai
365 (laik@gunpowder.stanford.edu)
367 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
368 (rroberts@muller.com)
370 - Fixed an uninitialized memory reference found by Kent Vander Velden
371 (graphix@iastate.edu)
373 - Fixed lex pattern for IDs to allow leading digits. As reported by
374 Theo de Raadt (deraadt@cvs.openbsd.org)
376 - Fixed Linux include file problems when using GNU libc.
378 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
379 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
381 - Fixed bug in pcap_dispatch() that kept it from returning on packet
384 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
385 for "lo" followed by an eos or digit (newer versions of Linux
386 apparently call the loopback "lo" instead of "lo0").
388 - Fixed Linux networking include files to use ints instead of longs to
389 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
390 Gafton (gafton@redhat.com)
392 v0.3 Sat Nov 30 20:56:27 PST 1996
394 - Added Linux support.
396 - Fixed savefile bugs.
398 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
400 - Add support for bpf kernel port filters.
402 - Remove duplicate atalk protocol table entry. Thanks to Christian
403 Hopps (chopps@water.emich.edu)
405 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
406 reported to happen under BSD/OS by David Vincenzetti
409 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
410 (barnett@grymoire.crd.ge.com)
412 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
414 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
415 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
417 - Added support for SINIX. Thanks to Andrej Borsenkow
418 (borsenkow.msk@sni.de)
420 - Fixes for AIX (although this system is not yet supported). Thanks to
421 John Hawkinson (jhawk@mit.edu)
423 - Use autoconf's idea of the top level directory in install targets.
424 Thanks to John Hawkinson.
426 - Add missing autoconf packet capture result message. Thanks to Bill
427 Fenner (fenner@parc.xerox.com)
429 - Fixed padding problems in the pf module.
431 - Fixed some more alignment problems on the alpha.
433 - Added explicit netmask support. Thanks to Steve Nuchia
434 (steve@research.oknet.com)
436 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
439 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
440 Kennedy (terry@spcvxa.spc.edu)
442 - Add "atalk" keyword as suggested by John Hawkinson.
444 - Add "igrp" keyword.
446 - Fixed HID definition in grammar.y to be a string, not a value.
448 - Use $CC when checking gcc version. Thanks to Carl Lindberg
449 (carl_lindberg@blacksmith.com)
451 - Removed obsolete reference to pcap_immediate() from the man page.
452 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
454 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
457 v0.2 Sun Jun 23 02:28:42 PDT 1996
459 - Add support for HP-UX. Resulted from code contributed by Tom Murray
460 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
461 (philipp@res.enst.fr)
463 - Update INSTALL with a reminder to install include files. Thanks to
464 Mark Andrews (mandrews@aw.sgi.com)
466 - Fix bpf compiler alignment bug on the alpha.
468 - Use autoconf to detect architectures that can't handle misaligned
471 - Added loopback support for snoop. Resulted from report Steve
472 Alexander (sca@engr.sgi.com)
474 v0.1 Fri Apr 28 18:11:03 PDT 1995
476 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
477 comparison operators, while the code generator and optimizer assumed
478 signed semantics in several places. Thanks to Charlie Slater
479 (cslater@imatek.com) for pointing this out.
481 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
482 by Gary Veum (veum@boa.gsfc.nasa.gov).
484 - Add pcap-null.c which allows offline use of libpcap on systems that
485 don't support live package capture. This feature resulting from a
486 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
488 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
489 (Pascal.Hennequin@hugo.int-evry.fr).
491 - Port to GNU autoconf.
493 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
494 Johansen (fsj@csd.cri.dk).
496 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
497 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
499 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
500 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
502 - Add support for "long jumps". Thanks to Jeffrey Mogul
505 - Fix minor problems when compiling with BDEBUG as noticed by Scott
506 Bertilson (scott@unet.umn.edu).
508 - Declare sys_errlist "const char *const" to avoid problems under
509 FreeBSD. Resulted from report by jher@eden.com.
511 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
513 - Add missing variable declaration missing from 0.0.6
515 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
517 - Workaround for problems when pcap_read() returns 0 due to the timeout
520 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
522 - Change configuration to not use gcc v2 flags with gcc v1.
524 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
525 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
527 - Fixed configure to test for snoop before dlpi to avoid problems under
528 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
530 - Hack around deficiency in Ultrix's make.
532 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
533 savefiles that have more than snapshot bytes of data in them (so we
534 can read old savefiles) and avoid writing such files.
536 - Added checkioctl which is used with gcc to check that the
537 "fixincludes" script has been run.
539 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
541 - Fixed configure to test for snoop before dlpi to avoid problems under
542 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
544 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
546 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
549 - Determine pcap link type from dlpi media type. Resulted from report
550 by Mahesh Jethanandani (mahesh@npix.com).
552 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
554 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
555 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
556 Invalid argument" error under OSF/1. Reported by Matt Day
557 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
559 - Turn on FDDI support by default.
561 v0.0 Mon Jun 20 19:20:16 PDT 1994
565 - Fixed bug with greater/less keywords, reported by Mark Andrews
566 (mandrews@alias.com).
568 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
569 by Elan Amir (elan@leeb.cs.berkeley.edu).
571 - Machines with little-endian byte ordering are supported thanks to
574 - Add hack for version 2.3 savefiles which don't have caplen and len
575 swapped thanks to Vern Paxson.
577 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
579 - Added length, inbound and outbound keywords.