2 Summary for 1.9.1 libpcap release
3 Mention pcap_get_required_select_timeout() in the main pcap man page
4 Fix pcap-usb-linux.c build on systems with musl
6 Sunday, June 24, 2018, by mcr@sandelman.ca
7 Summary for 1.9.0 libpcap release
8 Added testing system to libpcap, independent of tcpdump
9 Changes to how pcap_t is activated
10 Adding support for Large stream buffers on Endace DAG cards
11 Changes to BSD 3-clause license to 2-clause licence
12 Additions to TCP header parsing, per RFC3168
13 Add CMake build process (extensive number of changes)
14 Assign a value for OpenBSD DLT_OPENFLOW.
15 Support setting non-blocking mode before activating.
16 Extensive build support for Windows VS2010 and MINGW (many many changes, over many months)
17 Added RPCAPD support when --enable-remote (default no)
18 Add the rpcap daemon source and build instructions.
19 Put back the greasy "save the capture filter string so we can tweak it"
20 hack, that keeps libpcap from capturing rpcap traffic.
21 Fixes for captures on MacOS, utun0
22 fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses.
23 Add a linktype for IBM SDLC frames containing SNA PDUs.
24 pcap_compile() in 1.8.0 and later is newly thread-safe.
25 bound snaplen for linux tpacket_v2 to ~64k
26 Make VLAN filter handle both metadata and inline tags
27 D-Bus captures can now be up to 128MB in size
28 Added LORATAP DLT value
29 Added DLT_VSOCK for http://qemu-project.org/Features/VirtioVsock
30 probe_devices() fixes not to overrun buffer for name of device
31 Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol.
32 RDMA sniffing support for pcap
33 Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type.
34 fixes for reading /etc/ethers
35 Make it possible to build on Windows without packet.dll.
36 Add tests for large file support on UN*X.
37 Solaris fixes to work with 2.8.6
38 configuration test now looks for header files, not capture devices present
39 Fix to work with Berkeley YACC.
40 fixes for DragonBSD compilation of pcap-netmap.c
41 Clean up the ether_hostton() stuff.
42 Add an option to disable Linux memory-mapped capture support.
43 Add DAG API support checks.
44 Add Septel, Myricom SNF, and Riverbed TurboCap checks.
45 Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support.
46 Add a check for hardware time stamping on Linux.
47 Don't bother supporting pre-2005 Visual Studio.
48 Increased minimum autoconf version requirement to 2.64
49 Add DLT value 273 for XRA-31 sniffer
50 Clean up handing of signal interrupts in pcap_read_nocb_remote().
51 Use the XPG 4.2 versions of the networking APIs in Solaris.
52 Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting.
53 Explicitly warn that negative packet buffer timeouts should not be used.
54 rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units
55 Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS.
56 Add DISPLAYPORT AUX link type
57 Remove the sunos4 kernel modules and all references to them.
58 Add more interface flags to pcap_findalldevs().
59 Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu)
61 Fix Linux cooked mode userspace filtering (GitHub pull request #429)
62 Fix compilation if IPv6 support not enabled
63 Fix some Linux memory-mapped capture buffer size issues
64 Don't fail if kernel filter can't be set on Linux (GitHub issue
66 Improve sorting of interfaces for pcap_findalldevs()
67 Don't list Linux usbmon devices if usbmon module isn't loaded
68 Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon
70 Fix DLT_ type for Solaris IPNET devices
71 Always return an error message for errors finding DAG or Myricom
73 If possible, don't require that a device be openable when
74 enumerating them for pcap_findalldevs()
75 Don't put incompletely-initialized addresses in the address list for
76 When finding Myricom devices, update description for regular
77 interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port
79 Fix compilation error in DAG support
80 Fix issues with CMake configuration
81 Add support for stream buffers larger than 2GB on newer DAG cards
82 Remove support for building against DAG versions without STREAMS
83 support (before dag-3.0.0 2007)
85 Tuesday, Oct. 25, 2016 mcr@sandelman.ca
86 Summary for 1.8.1 libpcap release
87 Add a target in Makefile.in for Exuberant Ctags use: 'extags'.
88 Rename configure.in to configure.ac: autoconf 2.59
89 Clean up the name-to-DLT mapping table.
90 Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS
91 Clarify what the return values are for both success and failure.
92 Many changes to build on windows
93 Check for the "break the loop" condition in the inner loop for TPACKET_V3.
94 Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493.
95 Filter out duplicate looped back CAN frames.
96 Fix the handling of loopback filters for IPv6 packets.
97 Add a link-layer header type for RDS (IEC 62106) groups.
98 Use different intermediate folders for x86 and x64 builds on Windows.
99 On Linux, handle all CAN captures with pcap-linux.c, in cooked mode.
100 Removes the need for the "host-endian" link-layer header type.
101 Compile with '-Wused-but-marked-unused' in devel mode if supported
102 Have separate DLTs for big-endian and host-endian SocketCAN headers.
103 Reflect version.h being renamed to pcap_version.h.
104 Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)!
105 Properly check for sock_recv() errors.
106 Re-impose some of Winsock's limitations on sock_recv().
107 Replace sprintf() with pcap_snprintf().
108 Fix signature of pcap_stats_ex_remote().
109 Initial cmake support for remote packet capture.
110 Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag.
111 Clean up {DAG, Septel, Myricom SNF}-only builds.
112 Do UTF-16-to-ASCII conversion into the right place.
113 pcap_create_interface() needs the interface name on Linux.
114 Clean up hardware time stamp support: the "any" device does not support any time stamp types.
115 Add support for capturing on FreeBSD usbusN interfaces.
116 Add a LINKTYPE/DLT_ value for FreeBSD USB.
117 Go back to using PCAP_API on Windows.
119 Add TurboCap support from WinPcap.
120 Recognize 802.1ad nested VLAN tag in vlan filter.
122 Thursday Sep. 3, 2015 guy@alum.mit.edu
123 Summary for 1.7.5 libpcap release
125 Add some allocation failure checks.
126 Fix a number of Linux/ucLinux configure/build issues.
127 Fix some memory leaks.
128 Recognize 802.1ad nested VLAN tag in vlan filter.
129 Fix building Bluetooth Linux Monitor support with BlueZ 5.1+
131 Saturday Jun. 27, 2015 mcr@sandelman.ca
132 Summary for 1.7.4 libpcap release
133 Include fix for GitHub issue #424 -- out of tree builds.
135 Friday Apr. 10, 2015 guy@alum.mit.edu
136 Summary for 1.7.3 libpcap release
137 Work around a Linux bonding driver bug.
139 Thursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca
140 Summary for 1.7.2 libpcap release
141 Support for filtering Geneve encapsulated packets.
142 Generalize encapsulation handling, fixing some bugs.
143 Don't add null addresses to address lists.
144 Add pcap_dump_open_append() to open for appending.
145 Fix the swapping of isochronous descriptors in Linux USB.
146 Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel.
148 Wednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca
149 Summary for 1.7.0 libpcap release
150 Fix handling of zones for BPF on Solaris
152 clarifications for read timeouts.
153 Use BPF extensions in compiled filters, fixing VLAN filters
154 some fixes to compilation without stdint.h
155 EBUSY can now be returned by SNFv3 code.
156 Fix the range checks in BPF loads
160 Monday Aug. 12, 2014 guy@alum.mit.edu
161 Summary for 1.6.2 libpcap release
162 Don't crash on filters testing a non-existent link-layer type
164 Fix sending in non-blocking mode on Linux with memory-mapped
166 Fix timestamps when reading pcap-ng files on big-endian
169 Saturday Jul. 19, 2014 mcr@sandelman.ca
170 Summary for 1.6.1 libpcap release
171 some fixes for the any device
172 changes for how --enable-XXX (--enable-sniffing, --enable-can) works
174 Wednesday Jul. 2, 2014 mcr@sandelman.ca
175 Summary for 1.6.0 libpcap release
176 Don't support D-Bus sniffing on OS X
177 fixes for byte order issues with NFLOG captures
178 Handle using cooked mode for DLT_NETLINK in activate_new().
179 on platforms where you can not capture on down interfaces, do not list them
180 but: do list interfaces which are down, if you can capture on them!
182 Wednesday December 18, 2013 guy@alum.mit.edu
183 Summary for 1.5.3 libpcap release
184 Don't let packets that don't match the current filter get to the
185 application when TPACKET_V3 is used. (GitHub issue #331)
186 Fix handling of pcap_loop()/pcap_dispatch() with a packet count
187 of 0 on some platforms (including Linux with TPACKET_V3).
189 Work around TPACKET_V3 deficiency that causes packets to be lost
190 when a timeout of 0 is specified. (GitHub issue #335)
191 Man page formatting fixes.
193 Wednesday December 4, 2013 guy@alum.mit.edu
194 Summary for 1.5.2 libpcap release
195 Fix libpcap to work when compiled with TPACKET_V3 support and
196 running on a kernel without TPACKET_V3 support. (GitHub
199 Wednesday November 20, 2013 guy@alum.mit.edu
200 Summary for 1.5.1 libpcap release
201 Report an error, rather than crashing, if an IPv6 address is
202 used for link-layer filtering. (Wireshark bug 9376)
204 Wednesday October 30, 2013 guy@alum.mit.edu
205 Summary for 1.5.0 libpcap release
206 TPACKET_V3 support added for Linux
207 Point users to the the-tcpdump-group repository on GitHub rather
208 than the mcr repository
209 Checks added for malloc()/realloc()/etc. failures
210 Fixed build on Solaris 11
211 Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
212 Use "ln -s" to link man pages by default
213 Add support for getting nanosecond-resolution time stamps when
214 capturing and reading capture files
215 Many changes to autoconf to deal better with non-GCC compilers
216 added many new DLT types
218 Saturday April 6, 2013 guy@alum.mit.edu
219 Summary for 1.4.0 libpcap release
220 Add netfilter/nfqueue interface.
221 If we don't have support for IPv6 address resolution, support,
222 in filter expressions, what IPv6 stuff we can.
223 Fix pcap-config to include -lpthread if canusb support is
225 Try to fix "pcap_parse not defined" problems when --without-flex
226 and --without-bison are used when you have Flex and Bison
227 Fix some issues with the pcap_loop man page.
228 Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
229 supplied error message buffer
230 Fix typo that, it appeared, would cause pcap-libdlpi.c not to
231 compile (perhaps systems with libdlpi also have BPF and use
233 Catch attempts to call pcap_compile() on a non-activated pcap_t
234 Fix crash on Linux with CAN-USB support without usbfs
235 Fix addition of VLAN tags for Linux cooked captures
236 Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
237 that the driver can report either one if it doesn't support
239 Add DLT_INFINIBAND and DLT_SCTP
240 Describe "proto XXX" and "protochain XXX" in the pcap-filter man
242 Handle either directories, or symlinks to directories, that
243 correspond to interfaces in /sys/class/net
244 Fix handling of VLAN tag insertion to check, on Linux 3.x
245 kernels, for VLAN tag valid flag
246 Clean up some man pages
247 Support libnl3 as well as libnl1 and libnl2 on Linux
248 Fix handling of Bluetooth devices on 3.x Linux kernels
250 Friday March 30, 2012. mcr@sandelman.ca
251 Summary for 1.3.0 libpcap release
252 Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}.
253 Linux: Don't fail if netfilter isn't enabled in the kernel.
254 Add new link-layer type for NFC Forum LLCP.
255 Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball.
256 Add LINKTYPE_NG40/DLT_NG40.
257 Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams.
258 [PATCH] Fix AIX-3.5 crash with read failure during stress
260 Introduce --disable-shared configure option.
261 Added initial support for canusb devices.
262 Include the pcap(3PCAP) additions as 1.2.1 changes.
263 many updates to documentation: pcap.3pcap.in
264 Improve 'inbound'/'outbound' capture filters under Linux.
265 Note the cleanup of handling of new DLT_/LINKTYPE_ values.
266 On Lion, don't build for PPC.
267 For mac80211 devices we need to clean up monitor mode on exit.
269 Friday December 9, 2011. guy@alum.mit.edu.
270 Summary for 1.2.1 libpcap release
272 Fix typoes in README.linux file.
273 Clean up some compiler warnings.
274 Fix Linux compile problems and tests for ethtool.h.
275 Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU
277 Support 802.1 QinQ as a form of VLAN in filters.
278 Treat "carp" as equivalent to "vrrp" in filters.
279 Fix code generated for "ip6 protochain".
280 Add some new link-layer header types.
281 Support capturing NetFilter log messages on Linux.
282 Clean up some error messages.
283 Turn off monitor mode on exit for mac80211 interfaces on Linux.
284 Fix problems turning monitor mode on for non-mac80211 interfaces
286 Properly fail if /sys/class/net or /proc/net/dev exist but can't
288 Fail if pcap_activate() is called on an already-activated
289 pcap_t, and add a test program for that.
290 Fix filtering in pcap-ng files.
291 Don't build for PowerPC on Mac OS X Lion.
292 Simplify handling of new DLT_/LINKTYPE_ values.
293 Expand pcap(3PCAP) man page.
295 Sunday July 24, 2011. mcr@sandelman.ca.
296 Summary for 1.2 libpcap release
297 All of the changes listed below for 1.1.1 and 1.1.2.
298 Changes to error handling for pcap_findalldevs().
299 Fix the calculation of the frame size in memory-mapped captures.
300 Add a link-layer header type for STANAG 5066 D_PDUs.
301 Add a link-layer type for a variant of 3GPP TS 27.010.
302 Noted real nature of LINKTYPE_ARCNET.
303 Add a link-layer type for DVB-CI.
304 Fix configure-script discovery of VLAN acceleration support.
305 see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html
306 Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes.
307 Protect against including AIX 5.x's <net/bpf.h> having been included.
308 Add DLT_DBUS, for raw D-Bus messages.
309 Treat either EPERM or EACCES as "no soup for you".
310 Changes to permissions on DLPI systems.
311 Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces.
313 Fri. August 6, 2010. guy@alum.mit.edu.
314 Summary for 1.1.2 libpcap release
315 Return DLT_ values, not raw LINKTYPE_ values from
316 pcap_datalink() when reading pcap-ng files
317 Add support for "wlan ra" and "wlan ta", to check the RA and TA
318 of WLAN frames that have them
319 Don't crash if "wlan addr{1,2,3,4}" are used without 802.11
321 Do filtering on USB and Bluetooth capturing
322 On FreeBSD/SPARC64, use -fPIC - it's apparently necessary
323 Check for valid port numbers (fit in a 16-bit unsigned field) in
325 Reject attempts to put savefiles into non-blocking mode
326 Check for "no such device" for the "get the media types" ioctl
328 Improve error messages from bpf_open(), and let it do the error
330 Return more specific errors from pcap_can_set_rfmon(); fix
332 Update description fetching code for FreeBSD, fix code for
334 Ignore /sys/net/dev files if we get ENODEV for them, not just
335 ENXIO; fixes handling of bonding devices on Linux
336 Fix check for a constant 0 argument to BPF_DIV
337 Use the right version of ar when cross-building
338 Free any filter set on a savefile when the savefile is closed
339 Include the CFLAGS setting when configure was run in the
341 Add support for 802.15.4 interfaces on Linux
343 Thu. April 1, 2010. guy@alum.mit.edu.
344 Summary for 1.1.1 libpcap release
345 Update CHANGES to reflect more of the changes in 1.1.0.
347 Fix shared library build on AIX.
349 Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu.
350 Summary for 1.1.0 libpcap release
351 Add SocketCAN capture support
352 Add Myricom SNF API support
353 Update Endace DAG and ERF support
354 Add support for shared libraries on Solaris, HP-UX, and AIX
355 Build, install, and un-install shared libraries by default;
356 don't build/install shared libraries on platforms we don't support
357 Fix building from a directory other than the source directory
358 Fix compiler warnings and builds on some platforms
359 Update config.guess and config.sub
360 Support monitor mode on mac80211 devices on Linux
361 Fix USB memory-mapped capturing on Linux; it requires a new DLT_
363 On Linux, scan /sys/class/net for devices if we have it; scan
364 it, or /proc/net/dev if we don't have /sys/class/net, even if
365 we have getifaddrs(), as it'll find interfaces with no
367 Add limited support for reading pcap-ng files
368 Fix BPF driver-loading error handling on AIX
369 Support getting the full-length interface description on FreeBSD
370 In the lexical analyzer, free up any addrinfo structure we got back
372 Add support for BPF and libdlpi in OpenSolaris (and SXCE)
373 Hyphenate "link-layer" everywhere
374 Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations
375 In pcap_read_linux_mmap(), if there are no frames available, call
376 poll() even if we're in non-blocking mode, so we pick up
377 errors, and check for the errors in question.
378 Note that poll() works on BPF devices is Snow Leopard
379 If an ENXIO or ENETDOWN is received, it may mean the device has
380 gone away. Deal with it.
381 For BPF, raise the default capture buffer size to from 32k to 512k
382 Support ps_ifdrop on Linux
383 Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile
385 Changes to Linux mmapped captures.
386 Fix bug where create_ring would fail for particular snaplen and
387 buffer size combinations
388 Update pcap-config so that it handles libpcap requiring
390 Add workaround for threadsafeness on Windows
391 Add missing mapping for DLT_ENC <-> LINKTYPE_ENC
392 DLT: Add DLT_CAN_SOCKETCAN
393 DLT: Add Solaris ipnet
394 Don't check for DLT_IPNET if it's not defined
395 Add link-layer types for Fibre Channel FC-2
396 Add link-layer types for Wireless HART
397 Add link-layer types for AOS
398 Add link-layer types for DECT
399 Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups)
400 Install headers unconditionally, and include vlan.h/bluetooth.h if
402 Autoconf fixes+cleanup
403 Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
404 Support disabling SITA support (--without-sita)
405 Return -1 on failure to create packet ring (if supported but
407 Fix handling of 'any' device, so that it can be opened, and no longer
408 attempt to open it in Monitor mode
409 Add support for snapshot length for USB Memory-Mapped Interface
410 Fix configure and build on recent Linux kernels
411 Fix memory-mapped Linux capture to support pcap_next() and
413 Fixes for Linux USB capture
414 DLT: Add DLT_LINUX_EVDEV
415 DLT: Add DLT_GSMTAP_UM
416 DLT: Add DLT_GSMTAP_ABIS
418 Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release
419 Compile with IPv6 support by default
420 Compile with large file support on by default
421 Add pcap-config script, which deals with -I/-L flags for compiling
424 DLT: Add AX25 (AX.25 w/KISS header)
427 Variable length 802.11 header support
428 X2E data type support
429 SITA ACN Interface support - see README.sita
430 Support for memory-mapped capture on Linux
431 Support for zerocopy BPF on platforms that support it
432 Support for setting buffer size when opening devices
433 Support for setting monitor mode when opening 802.11 devices
434 Better support for dealing with VLAN tagging/stripping on Linux
435 Fix dynamic library support on OSX
436 Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
437 can print better diagnostic information
438 Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
439 applications can tell the user they need to go play with permissions
440 On Linux, ignore ENETDOWN so we can continue to capture packets if the
441 interface goes down and comes back up again.
442 On Linux, support new tpacket frame headers (2.6.27+)
443 On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
444 On Solaris, support 'passive mode' on systems that support it
445 Fixes to autoconf and general build environment
446 Man page reorganization + cleanup
447 Autogenerate VERSION numbers better
449 Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release
450 Change build process to put public libpcap headers into pcap subir
451 DLT: Add value for IPMI IPMB packets
452 DLT: Add value for u10 Networks boards
453 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
454 libpcap files on an OS other than where the file was generated
456 Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
458 Put the public libpcap headers into a pcap subdirectory in both the
459 source directory and the target include directory, and have include
460 files at the top-level directory to include those headers, for
461 backwards compatibility.
462 Add Bluetooth support
463 Add USB capturing support on Linux
464 Add support for the binary USB sniffing interface in Linux
465 Add support for new FreeBSD BIOCSDIRECTION ioctl
466 Add additional filter operations for 802.11 frame types
467 Add support for filtering on MTP2 frame types
468 Propagate some changes from the main branch, so the x.9 branch has
469 all the DLT_ and LINKTYPE_ values that the main branch does
470 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
472 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
474 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
475 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
476 Add DLT for Bluetooth HCI UART transport layer
477 When building a shared library, build with "-fPIC" on Linux to support x86_64
478 Link with "$(CC) -shared" rather than "ld -shared" when building a
480 Add support for autoconf 2.60
481 Fixes to discard unread packets when changing filters
482 Changes to handle name changes in the DAG library resulting from
483 switching to libtool.
484 Add support for new DAG ERF types.
485 Add an explicit "-ldag" when building the shared library, so the DAG
486 library dependency is explicit.
487 Mac OSX fixes for dealing with "wlt" devices
488 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
490 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
493 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
495 Support for LAPD frames with vISDN
496 Support for ERF on channelized T1/E1 cards via DAG API
497 Fix capitalization that caused issues crossc compiling on Linux
498 Better failure detection on PacketGetAdapterNames()
499 Fixes for MPLS packet generation (link layer)
500 OP_PACKET now matches the beginning of the packet, instead of
502 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
503 Fix allocation of buffer for list of link-layer types
504 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
505 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
506 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
507 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
508 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
509 Add support for DLT_JUNIPER_VP.
510 Don't double-count received packets on Linux systems that
511 support the PACKET_STATISTICS getsockopt() argument on
513 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
515 Add support to build libpcap.lib and wpcap.dll under Cygnus and
518 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
520 Support for radiotap on Linux (Mike Kershaw)
522 Support for additional Juniper link-layer types
523 Fixes for filters on MPLS-encapsulated packets
525 "pppoed" and "pppoes" filters added; the latter modifies later
526 parts of the filter expression to look at the PPP headers and
527 headers in the PPP payload
529 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
531 Fixes for compiling on nearly every platform,
532 including improved 64bit support
534 Add support for sending packets
535 OpenBSD pf format support
536 IrDA capture (Linux only)
538 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
540 Fixed minor problem in gencode.c that would appear on 64-bit
542 Version number is now sane.
544 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
546 updates for autoconf 2.5
547 fixes for ppp interfaces for freebsd 4.1
548 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
550 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
552 added pcap_findalldevs()
553 Win32 patches from NetGroup, Politecnico di Torino (Italy)
554 OpenBSD pf, DLT_PFLOG added
555 Many changes to ATM support.
556 lookup pcap_lookupnet()
557 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
558 DLT_IP_OVER_FC, DLT_FRELAY, others.
559 Sigh. More AIX wonderfulness.
561 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
562 pcap_list_datalinks(), pcap_set_datalink(),
563 pcap_lib_version(), pcap_datalink_val_to_name(),
564 pcap_datalink_name_to_val(), new error returns.
566 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
568 Support link types that use 802.2 always, never, and sometimes.
569 Don't decrease the size of the BPF buffer from the default.
571 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
572 Handle Linux systems with modern kernel but without
573 SOL_PACKET in the userland headers.
574 Linux support for ARPHRD_RAWHDLC.
575 Handle 32-bit timestamps in snoop.
576 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
577 Add new reserved DLT types.
579 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
581 Added pcap_findalldevs() call to get list of interfaces in a MI way.
583 pcap_stats() has been documented as to what its counters mean on
586 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
588 New Linux libpcap implementation, which, in 2.2 and later
589 kernels, uses PF_PACKET sockets and supports kernel packet
590 filtering (if compiled into the kernel), and supports the "any"
591 device for capturing on all interfaces. Cleans up promiscuous
592 mode better on pre-2.2 kernels, and has various other fixes
593 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
594 doesn't show duplicate packets on loopback interface, etc.).
596 Fixed HP-UX libpcap implementation to correctly get the PPA for
597 an interface, to allow interfaces to be opened by interface name.
599 libpcap savefiles have system-independent link-layer type values
600 in the header, rather than sometimes platform-dependent DLT_
601 values, to make it easier to exchange capture files between
604 Non-standard capture files produced by some Linux tcpdumps, e.g.
605 the one from Red Hat Linux 6.2 and later, can now be read.
607 Updated autoconf stock files.
609 Filter expressions can filter on VLAN IDs and various OSI
610 protocols, and work on Token Ring (with non-source-routed
613 "pcap_open_dead()" added to allow compiling filter expressions
614 to pcap code without opening a capture device or capture file.
616 Header files fixed to allow use in C++ programs.
618 Removed dependancy on native headers for packet layout.
619 Removed Linux specific headers that were shipped.
621 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
624 Fixed bug that could cause subsequent "pcap_compile()"s to fail
625 erroneously after one compile failed.
627 Assorted other bug fixes.
629 README.aix and README.linux files added to describe
630 platform-specific issues.
632 "getifaddrs()" rather than SIOCGIFCONF used, if available.
634 v0.5 Sat Jun 10 11:09:15 PDT 2000
637 - Brought in KAME IPv6/IPsec bpf compiler.
639 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
640 and changes to work around different BSDs having different DLT_ types
641 with the same numeric value.
643 Assar Westerlund <assar@sics.se>
644 - Building outside the source code tree fixed.
645 - Changed to write out time stamps with 32-bit seconds and microseconds
646 fields, regardless of whether those fields are 32 bits or 64 bits in
647 the OS's native "struct timeval".
648 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
649 the list of interfaces is read as necessary in order to hold the
652 Greg Troxel <gdt@ir.bbn.com>
653 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
654 expression into a BPF program without having an open live capture or
657 v0.4 Sat Jul 25 12:40:09 PDT 1998
659 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
660 Fenner (fenner@parc.xerox.com)
662 - Fix alignment problem with FDDI under DLPI. This was causing core
665 - Added configure options to disable flex and bison. Resulted from a
666 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
667 options to disable gcc and to force a particular packet capture type.
669 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
670 to John Hawkinson (jhawk@mit.edu)
672 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
673 supply any "link layer" data.
675 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
676 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
678 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
681 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
684 - Added some new SGI snoop interface types. Thanks to Steve Alexander
685 (sca@refugee.engr.sgi.com)
687 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
688 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
690 - Fddi supports broadcast as reported by Jeff Macdonald
691 (jeff@iacnet.com). Also correct ieee802 and arcnet.
693 - Determine Linux pcap buffer size at run time or else it might not be
694 big enough for some interface types (e.g. FDDI). Thanks to Jes
695 Sorensen (Jes.Sorensen@cern.ch)
697 - Fix some linux alignment problems.
699 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
702 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
703 (laik@gunpowder.stanford.edu)
705 - Bind to interface name under Linux to avoid packets from multiple
706 interfaces on multi-homed hosts. Thanks to Kevin Lai
707 (laik@gunpowder.stanford.edu)
709 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
710 (rroberts@muller.com)
712 - Fixed an uninitialized memory reference found by Kent Vander Velden
713 (graphix@iastate.edu)
715 - Fixed lex pattern for IDs to allow leading digits. As reported by
716 Theo de Raadt (deraadt@cvs.openbsd.org)
718 - Fixed Linux include file problems when using GNU libc.
720 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
721 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
723 - Fixed bug in pcap_dispatch() that kept it from returning on packet
726 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
727 for "lo" followed by an eos or digit (newer versions of Linux
728 apparently call the loopback "lo" instead of "lo0").
730 - Fixed Linux networking include files to use ints instead of longs to
731 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
732 Gafton (gafton@redhat.com)
734 v0.3 Sat Nov 30 20:56:27 PST 1996
736 - Added Linux support.
738 - Fixed savefile bugs.
740 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
742 - Add support for bpf kernel port filters.
744 - Remove duplicate atalk protocol table entry. Thanks to Christian
745 Hopps (chopps@water.emich.edu)
747 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
748 reported to happen under BSD/OS by David Vincenzetti
751 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
752 (barnett@grymoire.crd.ge.com)
754 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
756 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
757 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
759 - Added support for SINIX. Thanks to Andrej Borsenkow
760 (borsenkow.msk@sni.de)
762 - Fixes for AIX (although this system is not yet supported). Thanks to
763 John Hawkinson (jhawk@mit.edu)
765 - Use autoconf's idea of the top level directory in install targets.
766 Thanks to John Hawkinson.
768 - Add missing autoconf packet capture result message. Thanks to Bill
769 Fenner (fenner@parc.xerox.com)
771 - Fixed padding problems in the pf module.
773 - Fixed some more alignment problems on the alpha.
775 - Added explicit netmask support. Thanks to Steve Nuchia
776 (steve@research.oknet.com)
778 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
781 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
782 Kennedy (terry@spcvxa.spc.edu)
784 - Add "atalk" keyword as suggested by John Hawkinson.
786 - Add "igrp" keyword.
788 - Fixed HID definition in grammar.y to be a string, not a value.
790 - Use $CC when checking gcc version. Thanks to Carl Lindberg
791 (carl_lindberg@blacksmith.com)
793 - Removed obsolete reference to pcap_immediate() from the man page.
794 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
796 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
799 v0.2 Sun Jun 23 02:28:42 PDT 1996
801 - Add support for HP-UX. Resulted from code contributed by Tom Murray
802 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
803 (philipp@res.enst.fr)
805 - Update INSTALL with a reminder to install include files. Thanks to
806 Mark Andrews (mandrews@aw.sgi.com)
808 - Fix bpf compiler alignment bug on the alpha.
810 - Use autoconf to detect architectures that can't handle misaligned
813 - Added loopback support for snoop. Resulted from report Steve
814 Alexander (sca@engr.sgi.com)
816 v0.1 Fri Apr 28 18:11:03 PDT 1995
818 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
819 comparison operators, while the code generator and optimizer assumed
820 signed semantics in several places. Thanks to Charlie Slater
821 (cslater@imatek.com) for pointing this out.
823 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
824 by Gary Veum (veum@boa.gsfc.nasa.gov).
826 - Add pcap-null.c which allows offline use of libpcap on systems that
827 don't support live package capture. This feature resulting from a
828 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
830 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
831 (Pascal.Hennequin@hugo.int-evry.fr).
833 - Port to GNU autoconf.
835 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
836 Johansen (fsj@csd.cri.dk).
838 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
839 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
841 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
842 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
844 - Add support for "long jumps". Thanks to Jeffrey Mogul
847 - Fix minor problems when compiling with BDEBUG as noticed by Scott
848 Bertilson (scott@unet.umn.edu).
850 - Declare sys_errlist "const char *const" to avoid problems under
851 FreeBSD. Resulted from report by jher@eden.com.
853 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
855 - Add missing variable declaration missing from 0.0.6
857 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
859 - Workaround for problems when pcap_read() returns 0 due to the timeout
862 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
864 - Change configuration to not use gcc v2 flags with gcc v1.
866 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
867 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
869 - Fixed configure to test for snoop before dlpi to avoid problems under
870 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
872 - Hack around deficiency in Ultrix's make.
874 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
875 savefiles that have more than snapshot bytes of data in them (so we
876 can read old savefiles) and avoid writing such files.
878 - Added checkioctl which is used with gcc to check that the
879 "fixincludes" script has been run.
881 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
883 - Fixed configure to test for snoop before dlpi to avoid problems under
884 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
886 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
888 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
891 - Determine pcap link type from dlpi media type. Resulted from report
892 by Mahesh Jethanandani (mahesh@npix.com).
894 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
896 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
897 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
898 Invalid argument" error under OSF/1. Reported by Matt Day
899 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
901 - Turn on FDDI support by default.
903 v0.0 Mon Jun 20 19:20:16 PDT 1994
907 - Fixed bug with greater/less keywords, reported by Mark Andrews
908 (mandrews@alias.com).
910 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
911 by Elan Amir (elan@leeb.cs.berkeley.edu).
913 - Machines with little-endian byte ordering are supported thanks to
916 - Add hack for version 2.3 savefiles which don't have caplen and len
917 swapped thanks to Vern Paxson.
919 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
921 - Added length, inbound and outbound keywords.