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