CHANGES revision 235426
1119418SobrienFriday December 9, 2011. guy@alum.mit.edu. 291398StmmSummary for 1.2.1 libpcap release 3108832Stmm Update README file. 4174987Smarius Fix typoes in README.linux file. 591398Stmm Clean up some compiler warnings. 691398Stmm Fix Linux compile problems and tests for ethtool.h. 791398Stmm Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 891398Stmm toolchains. 991398Stmm Support 802.1 QinQ as a form of VLAN in filters. 1091398Stmm Treat "carp" as equivalent to "vrrp" in filters. 1191398Stmm Fix code generated for "ip6 protochain". 1291398Stmm Add some new link-layer header types. 1391398Stmm Support capturing NetFilter log messages on Linux. 1491398Stmm Clean up some error messages. 1591398Stmm Turn off monitor mode on exit for mac80211 interfaces on Linux. 1691398Stmm Fix problems turning monitor mode on for non-mac80211 interfaces 1791398Stmm on Linux. 1891398Stmm Properly fail if /sys/class/net or /proc/net/dev exist but can't 1991398Stmm be opened. 2091398Stmm Fail if pcap_activate() is called on an already-activated 2191398Stmm pcap_t, and add a test program for that. 2291398Stmm Fix filtering in pcap-ng files. 2391398Stmm Don't build for PowerPC on Mac OS X Lion. 2491398Stmm Simplify handling of new DLT_/LINKTYPE_ values. 2591398Stmm Expand pcap(3PCAP) man page. 2691398Stmm 2791398StmmSunday July 24, 2011. mcr@sandelman.ca. 2899726SbennoSummary for 1.2 libpcap release 2991398Stmm All of the changes listed below for 1.1.1 and 1.1.2. 3091398Stmm Changes to error handling for pcap_findalldevs(). 31119418Sobrien Fix the calculation of the frame size in memory-mapped captures. 32119418Sobrien Add a link-layer header type for STANAG 5066 D_PDUs. 33119418Sobrien Add a link-layer type for a variant of 3GPP TS 27.010. 3491398Stmm Noted real nature of LINKTYPE_ARCNET. 35172334Smarius Add a link-layer type for DVB-CI. 3691398Stmm Fix configure-script discovery of VLAN acceleration support. 3791398Stmm see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 38115030Stmm Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 3991398Stmm Protect against including AIX 5.x's <net/bpf.h> having been included. 40115030Stmm Add DLT_DBUS, for raw D-Bus messages. 4191398Stmm Treat either EPERM or EACCES as "no soup for you". 42148368Smarius Changes to permissions on DLPI systems. 43148368Smarius Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 44148368Smarius 45148368SmariusFri. August 6, 2010. guy@alum.mit.edu. 4691398StmmSummary for 1.1.2 libpcap release 4791398Stmm Return DLT_ values, not raw LINKTYPE_ values from 4891398Stmm pcap_datalink() when reading pcap-ng files 4991398Stmm Add support for "wlan ra" and "wlan ta", to check the RA and TA 5095533Smike of WLAN frames that have them 5191398Stmm Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 5291398Stmm headers 5391398Stmm Do filtering on USB and Bluetooth capturing 54148369Smarius On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 55130026Sphk Check for valid port numbers (fit in a 16-bit unsigned field) in 56148369Smarius "port" filters 5791398Stmm Reject attempts to put savefiles into non-blocking mode 5891398Stmm Check for "no such device" for the "get the media types" ioctl 59169269Sphk in *BSD 6091398Stmm Improve error messages from bpf_open(), and let it do the error 61105982Stmm handling 6291398Stmm Return more specific errors from pcap_can_set_rfmon(); fix 6391398Stmm documentation 6491398Stmm Update description fetching code for FreeBSD, fix code for 6591398Stmm OpenBSD 6691398Stmm Ignore /sys/net/dev files if we get ENODEV for them, not just 67147256Sbrooks ENXIO; fixes handling of bonding devices on Linux 68149552Smarius Fix check for a constant 0 argument to BPF_DIV 6991398Stmm Use the right version of ar when cross-building 70170273Syongari Free any filter set on a savefile when the savefile is closed 71170273Syongari Include the CFLAGS setting when configure was run in the 72170273Syongari compiler flags 73170273Syongari Add support for 802.15.4 interfaces on Linux 74170273Syongari 75170273SyongariThu. April 1, 2010. guy@alum.mit.edu. 7691398StmmSummary for 1.1.1 libpcap release 7791398Stmm Update CHANGES to reflect more of the changes in 1.1.0. 7891398Stmm Fix build on RHEL5. 7991398Stmm Fix shared library build on AIX. 8091398Stmm 81119355SimpThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 82119355SimpSummary for 1.1.0 libpcap release 8391398Stmm Add SocketCAN capture support 84172334Smarius Add Myricom SNF API support 85172334Smarius Update Endace DAG and ERF support 86172334Smarius Add support for shared libraries on Solaris, HP-UX, and AIX 87194763Smarius Build, install, and un-install shared libraries by default; 88172334Smarius don't build/install shared libraries on platforms we don't support 89170273Syongari Fix building from a directory other than the source directory 90182060Smarius Fix compiler warnings and builds on some platforms 91170273Syongari Update config.guess and config.sub 92174987Smarius Support monitor mode on mac80211 devices on Linux 93174987Smarius Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 94170273Syongari value 95170273Syongari On Linux, scan /sys/class/net for devices if we have it; scan 96170273Syongari it, or /proc/net/dev if we don't have /sys/class/net, even if 9791398Stmm we have getifaddrs(), as it'll find interfaces with no 98174987Smarius addresses 99177560Smarius Add limited support for reading pcap-ng files 100177560Smarius Fix BPF driver-loading error handling on AIX 101174987Smarius Support getting the full-length interface description on FreeBSD 102174987Smarius In the lexical analyzer, free up any addrinfo structure we got back 103174987Smarius from getaddrinfo(). 104174987Smarius Add support for BPF and libdlpi in OpenSolaris (and SXCE) 105174987Smarius Hyphenate "link-layer" everywhere 106174987Smarius Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 107174987Smarius In pcap_read_linux_mmap(), if there are no frames available, call 108174987Smarius poll() even if we're in non-blocking mode, so we pick up 109174987Smarius errors, and check for the errors in question. 110174987Smarius Note that poll() works on BPF devices is Snow Leopard 111174987Smarius If an ENXIO or ENETDOWN is received, it may mean the device has 112174987Smarius gone away. Deal with it. 113174987Smarius For BPF, raise the default capture buffer size to from 32k to 512k 114174987Smarius Support ps_ifdrop on Linux 115172334Smarius Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 116174987Smarius under cygwin. 117174987Smarius Changes to Linux mmapped captures. 118174987Smarius Fix bug where create_ring would fail for particular snaplen and 119148368Smarius buffer size combinations 120174987Smarius Update pcap-config so that it handles libpcap requiring 121100587Sjake additional libraries 122194763Smarius Add workaround for threadsafeness on Windows 123174987Smarius Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 124223949Smarius DLT: Add DLT_CAN_SOCKETCAN 125174987Smarius DLT: Add Solaris ipnet 126174987Smarius Don't check for DLT_IPNET if it's not defined 127174987Smarius Add link-layer types for Fibre Channel FC-2 128174987Smarius Add link-layer types for Wireless HART 129174987Smarius Add link-layer types for AOS 130194763Smarius Add link-layer types for DECT 131174987Smarius Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 13291398Stmm Install headers unconditionally, and include vlan.h/bluetooth.h if 13391398Stmm enabled 13491398Stmm Autoconf fixes+cleanup 13591398Stmm Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 13691398Stmm Support disabling SITA support (--without-sita) 13791398Stmm Return -1 on failure to create packet ring (if supported but 13891398Stmm creation failed) 139210334Sattilio Fix handling of 'any' device, so that it can be opened, and no longer 14091398Stmm attempt to open it in Monitor mode 14191398Stmm Add support for snapshot length for USB Memory-Mapped Interface 142177560Smarius Fix configure and build on recent Linux kernels 143177560Smarius Fix memory-mapped Linux capture to support pcap_next() and 144177560Smarius pcap_next_ex() 145177560Smarius Fixes for Linux USB capture 146177560Smarius DLT: Add DLT_LINUX_EVDEV 14791398Stmm DLT: Add DLT_GSMTAP_UM 148174987Smarius DLT: Add DLT_GSMTAP_ABIS 14991398Stmm 150174987SmariusMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 151147256Sbrooks Compile with IPv6 support by default 152213893Smarius Compile with large file support on by default 153174987Smarius Add pcap-config script, which deals with -I/-L flags for compiling 15491398Stmm DLT: Add IPMB 155194763Smarius DLT: Add LAPD 156194763Smarius DLT: Add AX25 (AX.25 w/KISS header) 157194763Smarius DLT: Add JUNIPER_ST 158194763Smarius 802.15.4 support 159147256Sbrooks Variable length 802.11 header support 160147256Sbrooks X2E data type support 161147256Sbrooks SITA ACN Interface support - see README.sita 162194763Smarius Support for memory-mapped capture on Linux 163194763Smarius Support for zerocopy BPF on platforms that support it 164194763Smarius Support for setting buffer size when opening devices 165194763Smarius Support for setting monitor mode when opening 802.11 devices 166194763Smarius Better support for dealing with VLAN tagging/stripping on Linux 167194763Smarius Fix dynamic library support on OSX 168194763Smarius Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 169194763Smarius can print better diagnostic information 170194763Smarius Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 171194763Smarius applications can tell the user they need to go play with permissions 172194763Smarius On Linux, ignore ENETDOWN so we can continue to capture packets if the 173147256Sbrooks interface goes down and comes back up again. 174150285Smarius On Linux, support new tpacket frame headers (2.6.27+) 175150285Smarius On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 176150285Smarius On Solaris, support 'passive mode' on systems that support it 177150285Smarius Fixes to autoconf and general build environment 178150285Smarius Man page reorganization + cleanup 17991398Stmm Autogenerate VERSION numbers better 18091398Stmm 18191398StmmMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 182161928Sjmg Change build process to put public libpcap headers into pcap subir 183161928Sjmg DLT: Add value for IPMI IPMB packets 184174987Smarius DLT: Add value for u10 Networks boards 185174987Smarius Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 186194763Smarius libpcap files on an OS other than where the file was generated 187147256Sbrooks 18891398StmmWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 18991398Stmm 190170273Syongari Put the public libpcap headers into a pcap subdirectory in both the 191170273Syongari source directory and the target include directory, and have include 192194763Smarius files at the top-level directory to include those headers, for 193108832Stmm backwards compatibility. 19491398Stmm Add Bluetooth support 195108832Stmm Add USB capturing support on Linux 196170273Syongari Add support for the binary USB sniffing interface in Linux 197170273Syongari Add support for new FreeBSD BIOCSDIRECTION ioctl 198117126Sscottl Add additional filter operations for 802.11 frame types 199194763Smarius Add support for filtering on MTP2 frame types 200108832Stmm Propagate some changes from the main branch, so the x.9 branch has 201108832Stmm all the DLT_ and LINKTYPE_ values that the main branch does 20291398Stmm Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 203170273Syongari encapsulated packets 20491398Stmm Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 205170273Syongari by Linux drivers 206170273Syongari Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 207194763Smarius Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 208108832Stmm Add DLT for Bluetooth HCI UART transport layer 20991398Stmm When building a shared library, build with "-fPIC" on Linux to support x86_64 21091398Stmm Link with "$(CC) -shared" rather than "ld -shared" when building a 211174987Smarius ".so" shared library 21291398Stmm Add support for autoconf 2.60 21391398Stmm Fixes to discard unread packets when changing filters 21491398Stmm Changes to handle name changes in the DAG library resulting from 215170273Syongari switching to libtool. 216170273Syongari Add support for new DAG ERF types. 217194763Smarius Add an explicit "-ldag" when building the shared library, so the DAG 218174987Smarius library dependency is explicit. 219174987Smarius Mac OSX fixes for dealing with "wlt" devices 220108832Stmm Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 22191398Stmm device lists 22291398Stmm Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 22391398Stmm was not checked. 22491398Stmm 22591398StmmTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 22691398Stmm 227174987Smarius Support for LAPD frames with vISDN 228174987Smarius Support for ERF on channelized T1/E1 cards via DAG API 229174987Smarius Fix capitalization that caused issues crossc compiling on Linux 230108832Stmm Better failure detection on PacketGetAdapterNames() 23191398Stmm Fixes for MPLS packet generation (link layer) 23291398Stmm OP_PACKET now matches the beginning of the packet, instead of 23391398Stmm beginning+link-layer 23491398Stmm Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 23591398Stmm Fix allocation of buffer for list of link-layer types 23691398Stmm Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages 23791398Stmm Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 23891398Stmm Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 23991398Stmm Added definition for DLT_A429 and LINKTYPE_A429 as #184. 24091398Stmm Added a new DLT and LINKTYPE value for CAN v2.0B frames. 24191398Stmm Add support for DLT_JUNIPER_VP. 24291398Stmm Don't double-count received packets on Linux systems that 24391398Stmm support the PACKET_STATISTICS getsockopt() argument on 24491398Stmm PF_PACKET sockets. 24591398Stmm Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 24691398Stmm layers in Windows 247108832Stmm Add support to build libpcap.lib and wpcap.dll under Cygnus and 24891398Stmm MingW32. 249174987Smarius 250174987SmariusMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 251174987Smarius 252108832Stmm Support for radiotap on Linux (Mike Kershaw) 25391398Stmm Fixes for HP-UX 25491398Stmm Support for additional Juniper link-layer types 25591398Stmm Fixes for filters on MPLS-encapsulated packets 25691398Stmm "vlan" filter fixed 25791398Stmm "pppoed" and "pppoes" filters added; the latter modifies later 25891398Stmm parts of the filter expression to look at the PPP headers and 25991398Stmm headers in the PPP payload 26091398Stmm 261108832StmmTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 26291398Stmm 263174987Smarius Fixes for compiling on nearly every platform, 264174987Smarius including improved 64bit support 265174987Smarius MSDOS Support 266108832Stmm Add support for sending packets 26791398Stmm OpenBSD pf format support 26891398Stmm IrDA capture (Linux only) 26991398Stmm 27091398StmmTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 271212725Smarius 272212725Smarius Fixed minor problem in gencode.c that would appear on 64-bit 273212725Smarius platforms. 274212725Smarius Version number is now sane. 275172334Smarius 276212725SmariusMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 277177560Smarius 278172334Smarius updates for autoconf 2.5 279212725Smarius fixes for ppp interfaces for freebsd 4.1 280212725Smarius pcap gencode can generate code for 802.11, IEEE1394, and pflog. 281212725Smarius 282172334SmariusWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 28391398Stmm 28491398Stmm added pcap_findalldevs() 285172334Smarius Win32 patches from NetGroup, Politecnico di Torino (Italy) 286172334Smarius OpenBSD pf, DLT_PFLOG added 287172334Smarius Many changes to ATM support. 288172334Smarius lookup pcap_lookupnet() 289177560Smarius Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 290172334Smarius DLT_IP_OVER_FC, DLT_FRELAY, others. 291172334Smarius Sigh. More AIX wonderfulness. 292177560Smarius Document updates. 293212725Smarius Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 294212725Smarius pcap_list_datalinks(), pcap_set_datalink(), 295172334Smarius pcap_lib_version(), pcap_datalink_val_to_name(), 296172334Smarius pcap_datalink_name_to_val(), new error returns. 297213893Smarius 298172334SmariusTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 299172334Smarius 300213893Smarius Support link types that use 802.2 always, never, and sometimes. 301172334Smarius Don't decrease the size of the BPF buffer from the default. 302172334Smarius Support frame relay. 303213893Smarius Handle 32-bit timestamps in DLPI, and pass the right buffer size. 304213893Smarius Handle Linux systems with modern kernel but without 305215722Smarius SOL_PACKET in the userland headers. 306172334Smarius Linux support for ARPHRD_RAWHDLC. 307172334Smarius Handle 32-bit timestamps in snoop. 308172334Smarius Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 309172334Smarius Add new reserved DLT types. 310204222Smarius 311204222SmariusMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 312172334Smarius 313204222Smarius Added pcap_findalldevs() call to get list of interfaces in a MI way. 314204222Smarius 315172334Smarius pcap_stats() has been documented as to what its counters mean on 316177560Smarius each platform. 317212725Smarius 318212725SmariusTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 319172334Smarius 320172334Smarius New Linux libpcap implementation, which, in 2.2 and later 321172334Smarius kernels, uses PF_PACKET sockets and supports kernel packet 322213893Smarius filtering (if compiled into the kernel), and supports the "any" 323172334Smarius device for capturing on all interfaces. Cleans up promiscuous 324172334Smarius mode better on pre-2.2 kernels, and has various other fixes 325213893Smarius (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 326172334Smarius doesn't show duplicate packets on loopback interface, etc.). 327172334Smarius 328213893Smarius Fixed HP-UX libpcap implementation to correctly get the PPA for 329172334Smarius an interface, to allow interfaces to be opened by interface name. 330172334Smarius 331213893Smarius libpcap savefiles have system-independent link-layer type values 332213893Smarius in the header, rather than sometimes platform-dependent DLT_ 333215722Smarius values, to make it easier to exchange capture files between 334172334Smarius different OSes. 335172334Smarius 336172334Smarius Non-standard capture files produced by some Linux tcpdumps, e.g. 337172334Smarius the one from Red Hat Linux 6.2 and later, can now be read. 338172334Smarius 339172334Smarius Updated autoconf stock files. 340212725Smarius 341177560Smarius Filter expressions can filter on VLAN IDs and various OSI 342172334Smarius protocols, and work on Token Ring (with non-source-routed 343212725Smarius packets). 344212725Smarius 345177560Smarius "pcap_open_dead()" added to allow compiling filter expressions 346172334Smarius to pcap code without opening a capture device or capture file. 347212725Smarius 348212725Smarius Header files fixed to allow use in C++ programs. 349177560Smarius 350212725Smarius Removed dependancy on native headers for packet layout. 351212725Smarius Removed Linux specific headers that were shipped. 352172334Smarius 353213893Smarius Security fixes: Strcpy replaced with strlcpy, sprintf replaced 354213893Smarius with snprintf. 355215722Smarius 356172334Smarius Fixed bug that could cause subsequent "pcap_compile()"s to fail 357172334Smarius erroneously after one compile failed. 358213893Smarius 359108832Stmm Assorted other bug fixes. 36091398Stmm 36191398Stmm README.aix and README.linux files added to describe 36291398Stmm platform-specific issues. 36391398Stmm 36491398Stmm "getifaddrs()" rather than SIOCGIFCONF used, if available. 36591398Stmm 36691398Stmmv0.5 Sat Jun 10 11:09:15 PDT 2000 36791398Stmm 36891398Stmmitojun@iijlab.net 369176996Smarius- Brought in KAME IPv6/IPsec bpf compiler. 37099726Sbenno- Fixes for NetBSD. 371177560Smarius- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 37299726Sbenno and changes to work around different BSDs having different DLT_ types 373176996Smarius with the same numeric value. 374177560Smarius 375128588StmmAssar Westerlund <assar@sics.se> 376128588Stmm- Building outside the source code tree fixed. 37799726Sbenno- Changed to write out time stamps with 32-bit seconds and microseconds 37891398Stmm fields, regardless of whether those fields are 32 bits or 64 bits in 379147256Sbrooks the OS's native "struct timeval". 38091398Stmm- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 38191398Stmm the list of interfaces is read as necessary in order to hold the 382170273Syongari entire list. 383149552Smarius 384149552SmariusGreg Troxel <gdt@ir.bbn.com> 385170273Syongari- Added a new "pcap_compile_nopcap()", which lets you compile a filter 386170273Syongari expression into a BPF program without having an open live capture or 387170273Syongari capture file. 388149552Smarius 38991398Stmmv0.4 Sat Jul 25 12:40:09 PDT 1998 39091398Stmm 39191398Stmm- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 39291398Stmm Fenner (fenner@parc.xerox.com) 39391398Stmm 39491398Stmm- Fix alignment problem with FDDI under DLPI. This was causing core 395174987Smarius dumps under Solaris. 396174987Smarius 39791398Stmm- Added configure options to disable flex and bison. Resulted from a 398108832Stmm bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 39991398Stmm options to disable gcc and to force a particular packet capture type. 400174987Smarius 401174987Smarius- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 40291398Stmm to John Hawkinson (jhawk@mit.edu) 403108832Stmm 40491398Stmm- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 405108832Stmm supply any "link layer" data. 406174987Smarius 40791398Stmm- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 40891398Stmm Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 409174987Smarius 41091398Stmm- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 411174987Smarius "link layer" data. 412108832Stmm 413174987Smarius- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 414108832Stmm formats. 415174987Smarius 41691398Stmm- Added some new SGI snoop interface types. Thanks to Steve Alexander 417174987Smarius (sca@refugee.engr.sgi.com) 418147256Sbrooks 41991398Stmm- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 42091398Stmm Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 42191398Stmm 422108964Stmm- Fddi supports broadcast as reported by Jeff Macdonald 423174987Smarius (jeff@iacnet.com). Also correct ieee802 and arcnet. 424108964Stmm 425147256Sbrooks- Determine Linux pcap buffer size at run time or else it might not be 426108964Stmm big enough for some interface types (e.g. FDDI). Thanks to Jes 427108964Stmm Sorensen (Jes.Sorensen@cern.ch) 428194886Smarius 429148369Smarius- Fix some linux alignment problems. 430147317Sbrooks 431148369Smarius- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 432150285Smarius (ianm@sics.se) 433150285Smarius 434150285Smarius- Support Metricom radio packets under Linux. Thanks to Kevin Lai 435150285Smarius (laik@gunpowder.stanford.edu) 436147256Sbrooks 437108964Stmm- Bind to interface name under Linux to avoid packets from multiple 438108964Stmm interfaces on multi-homed hosts. Thanks to Kevin Lai 439174987Smarius (laik@gunpowder.stanford.edu) 440108964Stmm 441108964Stmm- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 442108964Stmm (rroberts@muller.com) 443174987Smarius 444108964Stmm- Fixed an uninitialized memory reference found by Kent Vander Velden 445108964Stmm (graphix@iastate.edu) 446108964Stmm 447179925Smarius- Fixed lex pattern for IDs to allow leading digits. As reported by 448108964Stmm Theo de Raadt (deraadt@cvs.openbsd.org) 449108964Stmm 450108964Stmm- Fixed Linux include file problems when using GNU libc. 451108964Stmm 452108964Stmm- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 453108964Stmm Reported reported by Eric Jacksch (jacksch@tenebris.ca) 454108964Stmm 455108964Stmm- Fixed bug in pcap_dispatch() that kept it from returning on packet 456108964Stmm timeouts. 457108964Stmm 458174987Smarius- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 459108964Stmm for "lo" followed by an eos or digit (newer versions of Linux 460147256Sbrooks apparently call the loopback "lo" instead of "lo0"). 461108964Stmm 462148369Smarius- Fixed Linux networking include files to use ints instead of longs to 463108964Stmm avoid problems with 64 bit longs on the alpha. Thanks to Cristian 464148369Smarius Gafton (gafton@redhat.com) 465108964Stmm 466108964Stmmv0.3 Sat Nov 30 20:56:27 PST 1996 467108964Stmm 468174987Smarius- Added Linux support. 469108964Stmm 470147256Sbrooks- Fixed savefile bugs. 471108964Stmm 472148369Smarius- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 473149552Smarius 474149552Smarius- Add support for bpf kernel port filters. 475149552Smarius 476149552Smarius- Remove duplicate atalk protocol table entry. Thanks to Christian 477172334Smarius Hopps (chopps@water.emich.edu) 478108964Stmm 479148369Smarius- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 480148369Smarius reported to happen under BSD/OS by David Vincenzetti 481108964Stmm (vince@cryptonet.it) 482108964Stmm 483194763Smarius- Avoid solaris compiler warnings. Thanks to Bruce Barnett 484170273Syongari (barnett@grymoire.crd.ge.com) 485170273Syongari 486170273Syongariv0.2.1 Sun Jul 14 03:02:26 PDT 1996 487170273Syongari 488170273Syongari- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram 489174987Smarius (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 490170273Syongari 491170273Syongari- Added support for SINIX. Thanks to Andrej Borsenkow 492174987Smarius (borsenkow.msk@sni.de) 493170273Syongari 494170273Syongari- Fixes for AIX (although this system is not yet supported). Thanks to 495170273Syongari John Hawkinson (jhawk@mit.edu) 496170273Syongari 497170273Syongari- Use autoconf's idea of the top level directory in install targets. 498170273Syongari Thanks to John Hawkinson. 499170273Syongari 500170273Syongari- Add missing autoconf packet capture result message. Thanks to Bill 501170273Syongari Fenner (fenner@parc.xerox.com) 502170273Syongari 503170273Syongari- Fixed padding problems in the pf module. 504170273Syongari 505170273Syongari- Fixed some more alignment problems on the alpha. 506170273Syongari 507170273Syongari- Added explicit netmask support. Thanks to Steve Nuchia 508170273Syongari (steve@research.oknet.com) 509170273Syongari 510170273Syongari- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 511170273Syongari justifing" 512170273Syongari 513174987Smarius- Add "sca" keyword (for DEC cluster services) as suggested by Terry 514170273Syongari Kennedy (terry@spcvxa.spc.edu) 515170273Syongari 516170273Syongari- Add "atalk" keyword as suggested by John Hawkinson. 517170273Syongari 518170273Syongari- Add "igrp" keyword. 519170273Syongari 520170273Syongari- Fixed HID definition in grammar.y to be a string, not a value. 521170273Syongari 522170273Syongari- Use $CC when checking gcc version. Thanks to Carl Lindberg 523170273Syongari (carl_lindberg@blacksmith.com) 524170273Syongari 525170273Syongari- Removed obsolete reference to pcap_immediate() from the man page. 526170273Syongari Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 527170273Syongari 528170273Syongari- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 529170273Syongari (jch@bsdi.com) 530170273Syongari 531170273Syongariv0.2 Sun Jun 23 02:28:42 PDT 1996 532170273Syongari 533170273Syongari- Add support for HP-UX. Resulted from code contributed by Tom Murray 534170273Syongari (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 535170273Syongari (philipp@res.enst.fr) 536170273Syongari 537170273Syongari- Update INSTALL with a reminder to install include files. Thanks to 538170273Syongari Mark Andrews (mandrews@aw.sgi.com) 539170273Syongari 540170273Syongari- Fix bpf compiler alignment bug on the alpha. 541170273Syongari 542170273Syongari- Use autoconf to detect architectures that can't handle misaligned 543170273Syongari accesses. 544170273Syongari 545170273Syongari- Added loopback support for snoop. Resulted from report Steve 54691398Stmm Alexander (sca@engr.sgi.com) 547174987Smarius 54891398Stmmv0.1 Fri Apr 28 18:11:03 PDT 1995 549174987Smarius 55091398Stmm- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 55191398Stmm comparison operators, while the code generator and optimizer assumed 55291398Stmm signed semantics in several places. Thanks to Charlie Slater 553174987Smarius (cslater@imatek.com) for pointing this out. 554172334Smarius 55591398Stmm- Removed FDDI ifdef's, they aren't really needed. Resulted from report 55691398Stmm by Gary Veum (veum@boa.gsfc.nasa.gov). 55791398Stmm 55891398Stmm- Add pcap-null.c which allows offline use of libpcap on systems that 559174987Smarius don't support live package capture. This feature resulting from a 56091398Stmm request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 561170273Syongari 562194763Smarius- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 563182060Smarius (Pascal.Hennequin@hugo.int-evry.fr). 56491398Stmm 565170273Syongari- Port to GNU autoconf. 566170273Syongari 567108832Stmm- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 568182060Smarius Johansen (fsj@csd.cri.dk). 569108832Stmm 570170273Syongari- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 571177560Smarius Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 572182060Smarius 573182060Smarius- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 574177560Smarius by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 575182060Smarius 576182060Smarius- Add support for "long jumps". Thanks to Jeffrey Mogul 577182060Smarius (mogul@pa.dec.com). 578182060Smarius 579182060Smarius- Fix minor problems when compiling with BDEBUG as noticed by Scott 580182060Smarius Bertilson (scott@unet.umn.edu). 581182060Smarius 58291398Stmm- Declare sys_errlist "const char *const" to avoid problems under 58391398Stmm FreeBSD. Resulted from report by jher@eden.com. 584176996Smarius 58591398Stmmv0.0.6 Fri Apr 28 04:07:13 PDT 1995 586177560Smarius 587177560Smarius- Add missing variable declaration missing from 0.0.6 588177560Smarius 589177560Smariusv0.0.5 Fri Apr 28 00:22:21 PDT 1995 590182060Smarius 591182060Smarius- Workaround for problems when pcap_read() returns 0 due to the timeout 592182060Smarius expiring. 593182060Smarius 594108832Stmmv0.0.4 Thu Apr 20 20:41:48 PDT 1995 59591398Stmm 59691398Stmm- Change configuration to not use gcc v2 flags with gcc v1. 597164931Smarius 598164931Smarius- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 599164931Smarius should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 60091398Stmm 60191398Stmm- Fixed configure to test for snoop before dlpi to avoid problems under 60291398Stmm IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 60391398Stmm 604177560Smarius- Hack around deficiency in Ultrix's make. 605177560Smarius 60691398Stmm- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 60791398Stmm savefiles that have more than snapshot bytes of data in them (so we 608174987Smarius can read old savefiles) and avoid writing such files. 60991398Stmm 610194763Smarius- Added checkioctl which is used with gcc to check that the 611177560Smarius "fixincludes" script has been run. 612170847Smarius 61391398Stmmv0.0.3 Tue Oct 18 18:13:46 PDT 1994 61491398Stmm 61591398Stmm- Fixed configure to test for snoop before dlpi to avoid problems under 61691398Stmm IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 61791398Stmm 618172334Smariusv0.0.2 Wed Oct 12 20:56:37 PDT 1994 619194763Smarius 62091398Stmm- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 62191398Stmm Stevens. 622115030Stmm 623170273Syongari- Determine pcap link type from dlpi media type. Resulted from report 624115030Stmm by Mahesh Jethanandani (mahesh@npix.com). 62591398Stmm 62691398Stmmv0.0.1 Fri Jun 24 14:50:57 PDT 1994 62791398Stmm 628174987Smarius- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 629223944Smarius wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 630223944Smarius Invalid argument" error under OSF/1. Reported by Matt Day 631223944Smarius (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 632179925Smarius 633179925Smarius- Turn on FDDI support by default. 634177560Smarius 63591398Stmmv0.0 Mon Jun 20 19:20:16 PDT 1994 63691398Stmm 63791398Stmm- Initial release. 63891398Stmm 639174987Smarius- Fixed bug with greater/less keywords, reported by Mark Andrews 64091398Stmm (mandrews@alias.com). 64191398Stmm 64291398Stmm- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 64391398Stmm by Elan Amir (elan@leeb.cs.berkeley.edu). 64491398Stmm 64591398Stmm- Machines with little-endian byte ordering are supported thanks to 64691398Stmm Jeff Mogul. 647109648Stmm 648109648Stmm- Add hack for version 2.3 savefiles which don't have caplen and len 649108832Stmm swapped thanks to Vern Paxson. 65091398Stmm 65191398Stmm- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 65291398Stmm 65391398Stmm- Added length, inbound and outbound keywords. 65491398Stmm