CHANGES revision 235426
1235426SdelphijFriday December 9, 2011. guy@alum.mit.edu. 2235426SdelphijSummary for 1.2.1 libpcap release 3235426Sdelphij Update README file. 4235426Sdelphij Fix typoes in README.linux file. 5235426Sdelphij Clean up some compiler warnings. 6235426Sdelphij Fix Linux compile problems and tests for ethtool.h. 7235426Sdelphij Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 8235426Sdelphij toolchains. 9235426Sdelphij Support 802.1 QinQ as a form of VLAN in filters. 10235426Sdelphij Treat "carp" as equivalent to "vrrp" in filters. 11235426Sdelphij Fix code generated for "ip6 protochain". 12235426Sdelphij Add some new link-layer header types. 13235426Sdelphij Support capturing NetFilter log messages on Linux. 14235426Sdelphij Clean up some error messages. 15235426Sdelphij Turn off monitor mode on exit for mac80211 interfaces on Linux. 16235426Sdelphij Fix problems turning monitor mode on for non-mac80211 interfaces 17235426Sdelphij on Linux. 18235426Sdelphij Properly fail if /sys/class/net or /proc/net/dev exist but can't 19235426Sdelphij be opened. 20235426Sdelphij Fail if pcap_activate() is called on an already-activated 21235426Sdelphij pcap_t, and add a test program for that. 22235426Sdelphij Fix filtering in pcap-ng files. 23235426Sdelphij Don't build for PowerPC on Mac OS X Lion. 24235426Sdelphij Simplify handling of new DLT_/LINKTYPE_ values. 25235426Sdelphij Expand pcap(3PCAP) man page. 26235426Sdelphij 27235426SdelphijSunday July 24, 2011. mcr@sandelman.ca. 28235426SdelphijSummary for 1.2 libpcap release 29235426Sdelphij All of the changes listed below for 1.1.1 and 1.1.2. 30235426Sdelphij Changes to error handling for pcap_findalldevs(). 31235426Sdelphij Fix the calculation of the frame size in memory-mapped captures. 32235426Sdelphij Add a link-layer header type for STANAG 5066 D_PDUs. 33235426Sdelphij Add a link-layer type for a variant of 3GPP TS 27.010. 34235426Sdelphij Noted real nature of LINKTYPE_ARCNET. 35235426Sdelphij Add a link-layer type for DVB-CI. 36235426Sdelphij Fix configure-script discovery of VLAN acceleration support. 37235426Sdelphij see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 38235426Sdelphij Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 39235426Sdelphij Protect against including AIX 5.x's <net/bpf.h> having been included. 40235426Sdelphij Add DLT_DBUS, for raw D-Bus messages. 41235426Sdelphij Treat either EPERM or EACCES as "no soup for you". 42235426Sdelphij Changes to permissions on DLPI systems. 43235426Sdelphij Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 44235426Sdelphij 45235426SdelphijFri. August 6, 2010. guy@alum.mit.edu. 46235426SdelphijSummary for 1.1.2 libpcap release 47235426Sdelphij Return DLT_ values, not raw LINKTYPE_ values from 48235426Sdelphij pcap_datalink() when reading pcap-ng files 49235426Sdelphij Add support for "wlan ra" and "wlan ta", to check the RA and TA 50235426Sdelphij of WLAN frames that have them 51235426Sdelphij Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 52235426Sdelphij headers 53235426Sdelphij Do filtering on USB and Bluetooth capturing 54235426Sdelphij On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 55235426Sdelphij Check for valid port numbers (fit in a 16-bit unsigned field) in 56235426Sdelphij "port" filters 57235426Sdelphij Reject attempts to put savefiles into non-blocking mode 58235426Sdelphij Check for "no such device" for the "get the media types" ioctl 59235426Sdelphij in *BSD 60235426Sdelphij Improve error messages from bpf_open(), and let it do the error 61235426Sdelphij handling 62235426Sdelphij Return more specific errors from pcap_can_set_rfmon(); fix 63235426Sdelphij documentation 64235426Sdelphij Update description fetching code for FreeBSD, fix code for 65235426Sdelphij OpenBSD 66235426Sdelphij Ignore /sys/net/dev files if we get ENODEV for them, not just 67235426Sdelphij ENXIO; fixes handling of bonding devices on Linux 68235426Sdelphij Fix check for a constant 0 argument to BPF_DIV 69235426Sdelphij Use the right version of ar when cross-building 70235426Sdelphij Free any filter set on a savefile when the savefile is closed 71235426Sdelphij Include the CFLAGS setting when configure was run in the 72235426Sdelphij compiler flags 73235426Sdelphij Add support for 802.15.4 interfaces on Linux 74235426Sdelphij 75214518SrpauloThu. April 1, 2010. guy@alum.mit.edu. 76214518SrpauloSummary for 1.1.1 libpcap release 77214518Srpaulo Update CHANGES to reflect more of the changes in 1.1.0. 78214518Srpaulo Fix build on RHEL5. 79214518Srpaulo Fix shared library build on AIX. 8017683Spst 81214518SrpauloThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 82214518SrpauloSummary for 1.1.0 libpcap release 83214518Srpaulo Add SocketCAN capture support 84214518Srpaulo Add Myricom SNF API support 85214518Srpaulo Update Endace DAG and ERF support 86214518Srpaulo Add support for shared libraries on Solaris, HP-UX, and AIX 87214518Srpaulo Build, install, and un-install shared libraries by default; 88214518Srpaulo don't build/install shared libraries on platforms we don't support 89214518Srpaulo Fix building from a directory other than the source directory 90214518Srpaulo Fix compiler warnings and builds on some platforms 91214518Srpaulo Update config.guess and config.sub 92214518Srpaulo Support monitor mode on mac80211 devices on Linux 93214518Srpaulo Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 94214518Srpaulo value 95214518Srpaulo On Linux, scan /sys/class/net for devices if we have it; scan 96214518Srpaulo it, or /proc/net/dev if we don't have /sys/class/net, even if 97214518Srpaulo we have getifaddrs(), as it'll find interfaces with no 98214518Srpaulo addresses 99214518Srpaulo Add limited support for reading pcap-ng files 100214518Srpaulo Fix BPF driver-loading error handling on AIX 101214518Srpaulo Support getting the full-length interface description on FreeBSD 102214518Srpaulo In the lexical analyzer, free up any addrinfo structure we got back 103214518Srpaulo from getaddrinfo(). 104214518Srpaulo Add support for BPF and libdlpi in OpenSolaris (and SXCE) 105214518Srpaulo Hyphenate "link-layer" everywhere 106214518Srpaulo Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 107214518Srpaulo In pcap_read_linux_mmap(), if there are no frames available, call 108214518Srpaulo poll() even if we're in non-blocking mode, so we pick up 109214518Srpaulo errors, and check for the errors in question. 110214518Srpaulo Note that poll() works on BPF devices is Snow Leopard 111214518Srpaulo If an ENXIO or ENETDOWN is received, it may mean the device has 112214518Srpaulo gone away. Deal with it. 113214518Srpaulo For BPF, raise the default capture buffer size to from 32k to 512k 114214518Srpaulo Support ps_ifdrop on Linux 115214518Srpaulo Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 116214518Srpaulo under cygwin. 117214518Srpaulo Changes to Linux mmapped captures. 118214518Srpaulo Fix bug where create_ring would fail for particular snaplen and 119214518Srpaulo buffer size combinations 120214518Srpaulo Update pcap-config so that it handles libpcap requiring 121214518Srpaulo additional libraries 122214518Srpaulo Add workaround for threadsafeness on Windows 123214518Srpaulo Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 124214518Srpaulo DLT: Add DLT_CAN_SOCKETCAN 125214518Srpaulo DLT: Add Solaris ipnet 126214518Srpaulo Don't check for DLT_IPNET if it's not defined 127214518Srpaulo Add link-layer types for Fibre Channel FC-2 128214518Srpaulo Add link-layer types for Wireless HART 129214518Srpaulo Add link-layer types for AOS 130214518Srpaulo Add link-layer types for DECT 131214518Srpaulo Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 132214518Srpaulo Install headers unconditionally, and include vlan.h/bluetooth.h if 133214518Srpaulo enabled 134214518Srpaulo Autoconf fixes+cleanup 135214518Srpaulo Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 136214518Srpaulo Support disabling SITA support (--without-sita) 137214518Srpaulo Return -1 on failure to create packet ring (if supported but 138214518Srpaulo creation failed) 139214518Srpaulo Fix handling of 'any' device, so that it can be opened, and no longer 140214518Srpaulo attempt to open it in Monitor mode 141214518Srpaulo Add support for snapshot length for USB Memory-Mapped Interface 142214518Srpaulo Fix configure and build on recent Linux kernels 143214518Srpaulo Fix memory-mapped Linux capture to support pcap_next() and 144214518Srpaulo pcap_next_ex() 145214518Srpaulo Fixes for Linux USB capture 146214518Srpaulo DLT: Add DLT_LINUX_EVDEV 147214518Srpaulo DLT: Add DLT_GSMTAP_UM 148214518Srpaulo DLT: Add DLT_GSMTAP_ABIS 149214518Srpaulo 150190225SrpauloMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 151190225Srpaulo Compile with IPv6 support by default 152190225Srpaulo Compile with large file support on by default 153190225Srpaulo Add pcap-config script, which deals with -I/-L flags for compiling 154190225Srpaulo DLT: Add IPMB 155190225Srpaulo DLT: Add LAPD 156190225Srpaulo DLT: Add AX25 (AX.25 w/KISS header) 157190225Srpaulo DLT: Add JUNIPER_ST 158190225Srpaulo 802.15.4 support 159190225Srpaulo Variable length 802.11 header support 160190225Srpaulo X2E data type support 161190225Srpaulo SITA ACN Interface support - see README.sita 162214518Srpaulo Support for memory-mapped capture on Linux 163190225Srpaulo Support for zerocopy BPF on platforms that support it 164214518Srpaulo Support for setting buffer size when opening devices 165214518Srpaulo Support for setting monitor mode when opening 802.11 devices 166190225Srpaulo Better support for dealing with VLAN tagging/stripping on Linux 167190225Srpaulo Fix dynamic library support on OSX 168190225Srpaulo Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 169190225Srpaulo can print better diagnostic information 170190225Srpaulo Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 171190225Srpaulo applications can tell the user they need to go play with permissions 172190225Srpaulo On Linux, ignore ENETDOWN so we can continue to capture packets if the 173190225Srpaulo interface goes down and comes back up again. 174190225Srpaulo On Linux, support new tpacket frame headers (2.6.27+) 175214518Srpaulo On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 176190225Srpaulo On Solaris, support 'passive mode' on systems that support it 177190225Srpaulo Fixes to autoconf and general build environment 178190225Srpaulo Man page reorganization + cleanup 179190225Srpaulo Autogenerate VERSION numbers better 180172677Smlaier 181190225SrpauloMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 182190225Srpaulo Change build process to put public libpcap headers into pcap subir 183190225Srpaulo DLT: Add value for IPMI IPMB packets 184190225Srpaulo DLT: Add value for u10 Networks boards 185190225Srpaulo Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 186190225Srpaulo libpcap files on an OS other than where the file was generated 187172677Smlaier 188190225SrpauloWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 189172677Smlaier 190172677Smlaier Put the public libpcap headers into a pcap subdirectory in both the 191172677Smlaier source directory and the target include directory, and have include 192172677Smlaier files at the top-level directory to include those headers, for 193172677Smlaier backwards compatibility. 194172677Smlaier Add Bluetooth support 195172677Smlaier Add USB capturing support on Linux 196172677Smlaier Add support for the binary USB sniffing interface in Linux 197172677Smlaier Add support for new FreeBSD BIOCSDIRECTION ioctl 198172677Smlaier Add additional filter operations for 802.11 frame types 199172677Smlaier Add support for filtering on MTP2 frame types 200172677Smlaier Propagate some changes from the main branch, so the x.9 branch has 201172677Smlaier all the DLT_ and LINKTYPE_ values that the main branch does 202172677Smlaier Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 203172677Smlaier encapsulated packets 204172677Smlaier Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 205172677Smlaier by Linux drivers 206172677Smlaier Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 207172677Smlaier Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 208172677Smlaier Add DLT for Bluetooth HCI UART transport layer 209172677Smlaier When building a shared library, build with "-fPIC" on Linux to support x86_64 210172677Smlaier Link with "$(CC) -shared" rather than "ld -shared" when building a 211172677Smlaier ".so" shared library 212172677Smlaier Add support for autoconf 2.60 213172677Smlaier Fixes to discard unread packets when changing filters 214172677Smlaier Changes to handle name changes in the DAG library resulting from 215172677Smlaier switching to libtool. 216172677Smlaier Add support for new DAG ERF types. 217172677Smlaier Add an explicit "-ldag" when building the shared library, so the DAG 218172677Smlaier library dependency is explicit. 219172677Smlaier Mac OSX fixes for dealing with "wlt" devices 220172677Smlaier Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 221172677Smlaier device lists 222172677Smlaier Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 223172677Smlaier was not checked. 224172677Smlaier 225172677SmlaierTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 226172677Smlaier 227172677Smlaier Support for LAPD frames with vISDN 228172677Smlaier Support for ERF on channelized T1/E1 cards via DAG API 229172677Smlaier Fix capitalization that caused issues crossc compiling on Linux 230172677Smlaier Better failure detection on PacketGetAdapterNames() 231172677Smlaier Fixes for MPLS packet generation (link layer) 232172677Smlaier OP_PACKET now matches the beginning of the packet, instead of 233172677Smlaier beginning+link-layer 234172677Smlaier Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 235172677Smlaier Fix allocation of buffer for list of link-layer types 236172677Smlaier Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages 237172677Smlaier Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 238172677Smlaier Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 239172677Smlaier Added definition for DLT_A429 and LINKTYPE_A429 as #184. 240172677Smlaier Added a new DLT and LINKTYPE value for CAN v2.0B frames. 241172677Smlaier Add support for DLT_JUNIPER_VP. 242172677Smlaier Don't double-count received packets on Linux systems that 243172677Smlaier support the PACKET_STATISTICS getsockopt() argument on 244172677Smlaier PF_PACKET sockets. 245172677Smlaier Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 246172677Smlaier layers in Windows 247172677Smlaier Add support to build libpcap.lib and wpcap.dll under Cygnus and 248172677Smlaier MingW32. 249172677Smlaier 250162012SsamMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 251147894Ssam 252162012Ssam Support for radiotap on Linux (Mike Kershaw) 253162012Ssam Fixes for HP-UX 254162012Ssam Support for additional Juniper link-layer types 255162012Ssam Fixes for filters on MPLS-encapsulated packets 256162012Ssam "vlan" filter fixed 257162012Ssam "pppoed" and "pppoes" filters added; the latter modifies later 258162012Ssam parts of the filter expression to look at the PPP headers and 259162012Ssam headers in the PPP payload 260162012Ssam 261162012SsamTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 262162012Ssam 263147894Ssam Fixes for compiling on nearly every platform, 264147894Ssam including improved 64bit support 265147894Ssam MSDOS Support 266147894Ssam Add support for sending packets 267147894Ssam OpenBSD pf format support 268147894Ssam IrDA capture (Linux only) 269147894Ssam 270127664SbmsTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 271127664Sbms 272127664Sbms Fixed minor problem in gencode.c that would appear on 64-bit 273127664Sbms platforms. 274127664Sbms Version number is now sane. 275162012Ssam 276127664SbmsMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 277127664Sbms 278127664Sbms updates for autoconf 2.5 279127664Sbms fixes for ppp interfaces for freebsd 4.1 280127664Sbms pcap gencode can generate code for 802.11, IEEE1394, and pflog. 281127664Sbms 282127664SbmsWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 283127664Sbms 284127664Sbms added pcap_findalldevs() 285127664Sbms Win32 patches from NetGroup, Politecnico di Torino (Italy) 286127664Sbms OpenBSD pf, DLT_PFLOG added 287127664Sbms Many changes to ATM support. 288162012Ssam lookup pcap_lookupnet() 289127664Sbms Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 290127664Sbms DLT_IP_OVER_FC, DLT_FRELAY, others. 291127664Sbms Sigh. More AIX wonderfulness. 292162012Ssam Document updates. 293127664Sbms Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 294162012Ssam pcap_list_datalinks(), pcap_set_datalink(), 295127664Sbms pcap_lib_version(), pcap_datalink_val_to_name(), 296127664Sbms pcap_datalink_name_to_val(), new error returns. 297127664Sbms 298127664SbmsTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 299127664Sbms 300127664Sbms Support link types that use 802.2 always, never, and sometimes. 301127664Sbms Don't decrease the size of the BPF buffer from the default. 302127664Sbms Support frame relay. 303127664Sbms Handle 32-bit timestamps in DLPI, and pass the right buffer size. 304127664Sbms Handle Linux systems with modern kernel but without 305127664Sbms SOL_PACKET in the userland headers. 306127664Sbms Linux support for ARPHRD_RAWHDLC. 307127664Sbms Handle 32-bit timestamps in snoop. 308127664Sbms Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 309127664Sbms Add new reserved DLT types. 310127664Sbms 31198530SfennerMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 31298530Sfenner 31398530Sfenner Added pcap_findalldevs() call to get list of interfaces in a MI way. 31498530Sfenner 315162012Ssam pcap_stats() has been documented as to what its counters mean on 31698530Sfenner each platform. 31798530Sfenner 31875107SfennerTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 31956889Sfenner 32075107Sfenner New Linux libpcap implementation, which, in 2.2 and later 32175107Sfenner kernels, uses PF_PACKET sockets and supports kernel packet 32275107Sfenner filtering (if compiled into the kernel), and supports the "any" 32375107Sfenner device for capturing on all interfaces. Cleans up promiscuous 32475107Sfenner mode better on pre-2.2 kernels, and has various other fixes 32575107Sfenner (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 32675107Sfenner doesn't show duplicate packets on loopback interface, etc.). 32756889Sfenner 32875107Sfenner Fixed HP-UX libpcap implementation to correctly get the PPA for 32975107Sfenner an interface, to allow interfaces to be opened by interface name. 33075107Sfenner 33175107Sfenner libpcap savefiles have system-independent link-layer type values 33275107Sfenner in the header, rather than sometimes platform-dependent DLT_ 33375107Sfenner values, to make it easier to exchange capture files between 33475107Sfenner different OSes. 33575107Sfenner 33675107Sfenner Non-standard capture files produced by some Linux tcpdumps, e.g. 33775107Sfenner the one from Red Hat Linux 6.2 and later, can now be read. 33875107Sfenner 33975107Sfenner Updated autoconf stock files. 34075107Sfenner 34175107Sfenner Filter expressions can filter on VLAN IDs and various OSI 34275107Sfenner protocols, and work on Token Ring (with non-source-routed 34375107Sfenner packets). 34475107Sfenner 34575107Sfenner "pcap_open_dead()" added to allow compiling filter expressions 34675107Sfenner to pcap code without opening a capture device or capture file. 34775107Sfenner 34875107Sfenner Header files fixed to allow use in C++ programs. 34975107Sfenner 35075107Sfenner Removed dependancy on native headers for packet layout. 35175107Sfenner Removed Linux specific headers that were shipped. 35275107Sfenner 35375107Sfenner Security fixes: Strcpy replaced with strlcpy, sprintf replaced 35475107Sfenner with snprintf. 35575107Sfenner 35675107Sfenner Fixed bug that could cause subsequent "pcap_compile()"s to fail 35775107Sfenner erroneously after one compile failed. 35875107Sfenner 35975107Sfenner Assorted other bug fixes. 36075107Sfenner 36175107Sfenner README.aix and README.linux files added to describe 36275107Sfenner platform-specific issues. 36375107Sfenner 36475107Sfenner "getifaddrs()" rather than SIOCGIFCONF used, if available. 36575107Sfenner 36675107Sfennerv0.5 Sat Jun 10 11:09:15 PDT 2000 36775107Sfenner 36875107Sfenneritojun@iijlab.net 36975107Sfenner- Brought in KAME IPv6/IPsec bpf compiler. 37075107Sfenner- Fixes for NetBSD. 37175107Sfenner- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 37275107Sfenner and changes to work around different BSDs having different DLT_ types 37375107Sfenner with the same numeric value. 37475107Sfenner 37575107SfennerAssar Westerlund <assar@sics.se> 37675107Sfenner- Building outside the source code tree fixed. 37775107Sfenner- Changed to write out time stamps with 32-bit seconds and microseconds 37875107Sfenner fields, regardless of whether those fields are 32 bits or 64 bits in 37975107Sfenner the OS's native "struct timeval". 38075107Sfenner- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 38175107Sfenner the list of interfaces is read as necessary in order to hold the 38275107Sfenner entire list. 38375107Sfenner 38475107SfennerGreg Troxel <gdt@ir.bbn.com> 38575107Sfenner- Added a new "pcap_compile_nopcap()", which lets you compile a filter 38675107Sfenner expression into a BPF program without having an open live capture or 38775107Sfenner capture file. 388162012Ssam 38939291Sfennerv0.4 Sat Jul 25 12:40:09 PDT 1998 39039291Sfenner 39139291Sfenner- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 39239291Sfenner Fenner (fenner@parc.xerox.com) 39339291Sfenner 39439291Sfenner- Fix alignment problem with FDDI under DLPI. This was causing core 39539291Sfenner dumps under Solaris. 39639291Sfenner 39739291Sfenner- Added configure options to disable flex and bison. Resulted from a 39839291Sfenner bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 39939291Sfenner options to disable gcc and to force a particular packet capture type. 40039291Sfenner 40139291Sfenner- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 40239291Sfenner to John Hawkinson (jhawk@mit.edu) 40339291Sfenner 40439291Sfenner- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 40539291Sfenner supply any "link layer" data. 40639291Sfenner 40739291Sfenner- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 40839291Sfenner Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 40939291Sfenner 41039291Sfenner- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 41139291Sfenner "link layer" data. 41239291Sfenner 41339291Sfenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 41439291Sfenner formats. 41539291Sfenner 41639291Sfenner- Added some new SGI snoop interface types. Thanks to Steve Alexander 41739291Sfenner (sca@refugee.engr.sgi.com) 41839291Sfenner 41939291Sfenner- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 42039291Sfenner Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 42139291Sfenner 42239291Sfenner- Fddi supports broadcast as reported by Jeff Macdonald 42339291Sfenner (jeff@iacnet.com). Also correct ieee802 and arcnet. 42439291Sfenner 42539291Sfenner- Determine Linux pcap buffer size at run time or else it might not be 42639291Sfenner big enough for some interface types (e.g. FDDI). Thanks to Jes 42739291Sfenner Sorensen (Jes.Sorensen@cern.ch) 42839291Sfenner 42939291Sfenner- Fix some linux alignment problems. 43039291Sfenner 43139291Sfenner- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 43239291Sfenner (ianm@sics.se) 43339291Sfenner 43439291Sfenner- Support Metricom radio packets under Linux. Thanks to Kevin Lai 43539291Sfenner (laik@gunpowder.stanford.edu) 43639291Sfenner 43739291Sfenner- Bind to interface name under Linux to avoid packets from multiple 43839291Sfenner interfaces on multi-homed hosts. Thanks to Kevin Lai 43939291Sfenner (laik@gunpowder.stanford.edu) 44039291Sfenner 44139291Sfenner- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 44239291Sfenner (rroberts@muller.com) 44339291Sfenner 44439291Sfenner- Fixed an uninitialized memory reference found by Kent Vander Velden 44539291Sfenner (graphix@iastate.edu) 44639291Sfenner 44739291Sfenner- Fixed lex pattern for IDs to allow leading digits. As reported by 44839291Sfenner Theo de Raadt (deraadt@cvs.openbsd.org) 44939291Sfenner 45039291Sfenner- Fixed Linux include file problems when using GNU libc. 45139291Sfenner 45239291Sfenner- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 45339291Sfenner Reported reported by Eric Jacksch (jacksch@tenebris.ca) 45439291Sfenner 45539291Sfenner- Fixed bug in pcap_dispatch() that kept it from returning on packet 45639291Sfenner timeouts. 45739291Sfenner 45839291Sfenner- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 45939291Sfenner for "lo" followed by an eos or digit (newer versions of Linux 46039291Sfenner apparently call the loopback "lo" instead of "lo0"). 46139291Sfenner 46239291Sfenner- Fixed Linux networking include files to use ints instead of longs to 46339291Sfenner avoid problems with 64 bit longs on the alpha. Thanks to Cristian 46439291Sfenner Gafton (gafton@redhat.com) 46539291Sfenner 46626175Sfennerv0.3 Sat Nov 30 20:56:27 PST 1996 46726175Sfenner 46826175Sfenner- Added Linux support. 46926175Sfenner 47026175Sfenner- Fixed savefile bugs. 47126175Sfenner 47226175Sfenner- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 47326175Sfenner 47426175Sfenner- Add support for bpf kernel port filters. 47526175Sfenner 47626175Sfenner- Remove duplicate atalk protocol table entry. Thanks to Christian 47726175Sfenner Hopps (chopps@water.emich.edu) 47826175Sfenner 47926175Sfenner- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 48026175Sfenner reported to happen under BSD/OS by David Vincenzetti 48126175Sfenner (vince@cryptonet.it) 48226175Sfenner 48326175Sfenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett 48426175Sfenner (barnett@grymoire.crd.ge.com) 48526175Sfenner 48617683Spstv0.2.1 Sun Jul 14 03:02:26 PDT 1996 48717683Spst 48817683Spst- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram 48917683Spst (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 49017683Spst 49117683Spst- Added support for SINIX. Thanks to Andrej Borsenkow 49217683Spst (borsenkow.msk@sni.de) 49317683Spst 49417683Spst- Fixes for AIX (although this system is not yet supported). Thanks to 49517683Spst John Hawkinson (jhawk@mit.edu) 49617683Spst 49717683Spst- Use autoconf's idea of the top level directory in install targets. 49817683Spst Thanks to John Hawkinson. 49917683Spst 50017683Spst- Add missing autoconf packet capture result message. Thanks to Bill 50117683Spst Fenner (fenner@parc.xerox.com) 50217683Spst 50317683Spst- Fixed padding problems in the pf module. 50417683Spst 50517683Spst- Fixed some more alignment problems on the alpha. 50617683Spst 50717683Spst- Added explicit netmask support. Thanks to Steve Nuchia 50817683Spst (steve@research.oknet.com) 50917683Spst 51017683Spst- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 51117683Spst justifing" 51217683Spst 51317683Spst- Add "sca" keyword (for DEC cluster services) as suggested by Terry 51417683Spst Kennedy (terry@spcvxa.spc.edu) 51517683Spst 51617683Spst- Add "atalk" keyword as suggested by John Hawkinson. 51717683Spst 51817683Spst- Add "igrp" keyword. 51917683Spst 52017683Spst- Fixed HID definition in grammar.y to be a string, not a value. 52117683Spst 52217683Spst- Use $CC when checking gcc version. Thanks to Carl Lindberg 52317683Spst (carl_lindberg@blacksmith.com) 52417683Spst 52517683Spst- Removed obsolete reference to pcap_immediate() from the man page. 52617683Spst Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 52717683Spst 52817683Spst- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 52917683Spst (jch@bsdi.com) 53017683Spst 53117683Spstv0.2 Sun Jun 23 02:28:42 PDT 1996 53217683Spst 53317683Spst- Add support for HP-UX. Resulted from code contributed by Tom Murray 53417683Spst (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 53517683Spst (philipp@res.enst.fr) 53617683Spst 53717683Spst- Update INSTALL with a reminder to install include files. Thanks to 53817683Spst Mark Andrews (mandrews@aw.sgi.com) 53917683Spst 54017683Spst- Fix bpf compiler alignment bug on the alpha. 54117683Spst 54217683Spst- Use autoconf to detect architectures that can't handle misaligned 54317683Spst accesses. 54417683Spst 54517683Spst- Added loopback support for snoop. Resulted from report Steve 54617683Spst Alexander (sca@engr.sgi.com) 54717683Spst 54817683Spstv0.1 Fri Apr 28 18:11:03 PDT 1995 54917683Spst 55017683Spst- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 55117683Spst comparison operators, while the code generator and optimizer assumed 55217683Spst signed semantics in several places. Thanks to Charlie Slater 55317683Spst (cslater@imatek.com) for pointing this out. 55417683Spst 55517683Spst- Removed FDDI ifdef's, they aren't really needed. Resulted from report 55617683Spst by Gary Veum (veum@boa.gsfc.nasa.gov). 55717683Spst 55817683Spst- Add pcap-null.c which allows offline use of libpcap on systems that 55917683Spst don't support live package capture. This feature resulting from a 56017683Spst request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 56117683Spst 56217683Spst- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 56317683Spst (Pascal.Hennequin@hugo.int-evry.fr). 56417683Spst 56517683Spst- Port to GNU autoconf. 56617683Spst 56717683Spst- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 56817683Spst Johansen (fsj@csd.cri.dk). 56917683Spst 57017683Spst- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 57117683Spst Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 57217683Spst 57317683Spst- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 57417683Spst by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 57517683Spst 57617683Spst- Add support for "long jumps". Thanks to Jeffrey Mogul 57717683Spst (mogul@pa.dec.com). 57817683Spst 57917683Spst- Fix minor problems when compiling with BDEBUG as noticed by Scott 58017683Spst Bertilson (scott@unet.umn.edu). 58117683Spst 58217683Spst- Declare sys_errlist "const char *const" to avoid problems under 58317683Spst FreeBSD. Resulted from report by jher@eden.com. 58417683Spst 58517683Spstv0.0.6 Fri Apr 28 04:07:13 PDT 1995 58617683Spst 58717683Spst- Add missing variable declaration missing from 0.0.6 58817683Spst 58917683Spstv0.0.5 Fri Apr 28 00:22:21 PDT 1995 59017683Spst 59117683Spst- Workaround for problems when pcap_read() returns 0 due to the timeout 59217683Spst expiring. 59317683Spst 59417683Spstv0.0.4 Thu Apr 20 20:41:48 PDT 1995 59517683Spst 59617683Spst- Change configuration to not use gcc v2 flags with gcc v1. 59717683Spst 59817683Spst- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 59917683Spst should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 60017683Spst 60117683Spst- Fixed configure to test for snoop before dlpi to avoid problems under 60217683Spst IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 60317683Spst 60417683Spst- Hack around deficiency in Ultrix's make. 60517683Spst 60617683Spst- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 60717683Spst savefiles that have more than snapshot bytes of data in them (so we 60817683Spst can read old savefiles) and avoid writing such files. 60917683Spst 61017683Spst- Added checkioctl which is used with gcc to check that the 61117683Spst "fixincludes" script has been run. 61217683Spst 61317683Spstv0.0.3 Tue Oct 18 18:13:46 PDT 1994 61417683Spst 61517683Spst- Fixed configure to test for snoop before dlpi to avoid problems under 61617683Spst IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 61717683Spst 61817683Spstv0.0.2 Wed Oct 12 20:56:37 PDT 1994 61917683Spst 62017683Spst- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 62117683Spst Stevens. 62217683Spst 62317683Spst- Determine pcap link type from dlpi media type. Resulted from report 62417683Spst by Mahesh Jethanandani (mahesh@npix.com). 62517683Spst 62617683Spstv0.0.1 Fri Jun 24 14:50:57 PDT 1994 62717683Spst 62817683Spst- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 62917683Spst wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 63017683Spst Invalid argument" error under OSF/1. Reported by Matt Day 63117683Spst (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 63217683Spst 63317683Spst- Turn on FDDI support by default. 63417683Spst 63517683Spstv0.0 Mon Jun 20 19:20:16 PDT 1994 63617683Spst 63717683Spst- Initial release. 63817683Spst 63917683Spst- Fixed bug with greater/less keywords, reported by Mark Andrews 64017683Spst (mandrews@alias.com). 64117683Spst 64217683Spst- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 64317683Spst by Elan Amir (elan@leeb.cs.berkeley.edu). 64417683Spst 64517683Spst- Machines with little-endian byte ordering are supported thanks to 64617683Spst Jeff Mogul. 64717683Spst 64817683Spst- Add hack for version 2.3 savefiles which don't have caplen and len 64917683Spst swapped thanks to Vern Paxson. 65017683Spst 65117683Spst- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 65217683Spst 65317683Spst- Added length, inbound and outbound keywords. 654