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