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