CHANGES revision 276768
1276768SdelphijMonday Aug. 12, 2014 guy@alum.mit.edu 2276768Sdelphij Summary for 1.6.2 tcpdump release 3276768Sdelphij Don't crash on filters testing a non-existent link-layer type 4276768Sdelphij field. 5276768Sdelphij Fix sending in non-blocking mode on Linux with memory-mapped 6276768Sdelphij capture. 7276768Sdelphij Fix timestamps when reading pcap-ng files on big-endian 8276768Sdelphij machines. 9276768Sdelphij 10276768SdelphijSaturday Jul. 19, 2014 mcr@sandelman.ca 11276768Sdelphij Summary for 1.6.1 tcpdump release 12276768Sdelphij some fixes for the any device 13276768Sdelphij changes for how --enable-XXX works 14276768Sdelphij 15276768SdelphijWednesday Jul. 2, 2014 mcr@sandelman.ca 16276768Sdelphij Summary for 1.6.0 tcpdump release 17276768Sdelphij Don't support D-Bus sniffing on OS X 18276768Sdelphij fixes for byte order issues with NFLOG captures 19276768Sdelphij Handle using cooked mode for DLT_NETLINK in activate_new(). 20276768Sdelphij on platforms where you can not capture on down interfaces, do not list them 21276768Sdelphij but: do list interfaces which are down, if you can capture on them! 22276768Sdelphij 23276768SdelphijWednesday December 18, 2013 guy@alum.mit.edu 24276768SdelphijSummary for 1.5.3 libpcap release 25276768Sdelphij Don't let packets that don't match the current filter get to the 26276768Sdelphij application when TPACKET_V3 is used. (GitHub issue #331) 27276768Sdelphij Fix handling of pcap_loop()/pcap_dispatch() with a packet count 28276768Sdelphij of 0 on some platforms (including Linux with TPACKET_V3). 29276768Sdelphij (GitHub issue #333) 30276768Sdelphij Work around TPACKET_V3 deficiency that causes packets to be lost 31276768Sdelphij when a timeout of 0 is specified. (GitHub issue #335) 32276768Sdelphij Man page formatting fixes. 33276768Sdelphij 34276768SdelphijWednesday December 4, 2013 guy@alum.mit.edu 35276768SdelphijSummary for 1.5.2 libpcap release 36276768Sdelphij Fix libpcap to work when compiled with TPACKET_V3 support and 37276768Sdelphij running on a kernel without TPACKET_V3 support. (GitHub 38276768Sdelphij issue #329) 39276768Sdelphij 40276768SdelphijWednesday November 20, 2013 guy@alum.mit.edu 41276768SdelphijSummary for 1.5.1 libpcap release 42276768Sdelphij Report an error, rather than crashing, if an IPv6 address is 43276768Sdelphij used for link-layer filtering. (Wireshark bug 9376) 44276768Sdelphij 45276768SdelphijWednesday October 30, 2013 guy@alum.mit.edu 46276768SdelphijSummary for 1.5.0 libpcap release 47276768Sdelphij TPACKET_V3 support added for Linux 48276768Sdelphij Point users to the the-tcpdump-group repository on GitHub rather 49276768Sdelphij than the mcr repository 50276768Sdelphij Checks added for malloc()/realloc()/etc. failures 51276768Sdelphij Fixed build on Solaris 11 52276768Sdelphij Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A 53276768Sdelphij Use "ln -s" to link man pages by default 54276768Sdelphij Add support for getting nanosecond-resolution time stamps when 55276768Sdelphij capturing and reading capture files 56276768Sdelphij Many changes to autoconf to deal better with non-GCC compilers 57276768Sdelphij added many new DLT types 58276768Sdelphij 59276768SdelphijSaturday April 6, 2013 guy@alum.mit.edu 60251129SdelphijSummary for 1.4.0 libpcap release 61251129Sdelphij Add netfilter/nfqueue interface. 62251129Sdelphij If we don't have support for IPv6 address resolution, support, 63251129Sdelphij in filter expressions, what IPv6 stuff we can. 64251129Sdelphij Fix pcap-config to include -lpthread if canusb support is 65251129Sdelphij present 66251129Sdelphij Try to fix "pcap_parse not defined" problems when --without-flex 67251129Sdelphij and --without-bison are used when you have Flex and Bison 68251129Sdelphij Fix some issues with the pcap_loop man page. 69251129Sdelphij Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 70251129Sdelphij supplied error message buffer 71251129Sdelphij Fix typo that, it appeared, would cause pcap-libdlpi.c not to 72251129Sdelphij compile (perhaps systems with libdlpi also have BPF and use 73251129Sdelphij that instead) 74251129Sdelphij Catch attempts to call pcap_compile() on a non-activated pcap_t 75251129Sdelphij Fix crash on Linux with CAN-USB support without usbfs 76251129Sdelphij Fix addition of VLAN tags for Linux cooked captures 77251129Sdelphij Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 78251129Sdelphij that the driver can report either one if it doesn't support 79251129Sdelphij SIOCETHTOOL 80251129Sdelphij Add DLT_INFINIBAND and DLT_SCTP 81251129Sdelphij Describe "proto XXX" and "protochain XXX" in the pcap-filter man 82251129Sdelphij page 83251129Sdelphij Handle either directories, or symlinks to directories, that 84251129Sdelphij correspond to interfaces in /sys/class/net 85251129Sdelphij Fix handling of VLAN tag insertion to check, on Linux 3.x 86251129Sdelphij kernels, for VLAN tag valid flag 87251129Sdelphij Clean up some man pages 88251129Sdelphij Support libnl3 as well as libnl1 and libnl2 on Linux 89276768Sdelphij Fix handling of Bluetooth devices on 3.x Linux kernels 90251129Sdelphij 91241231SdelphijFriday March 30, 2012. mcr@sandelman.ca 92241231SdelphijSummary for 1.3.0 libpcap release 93241231Sdelphij Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 94241231Sdelphij Linux: Don't fail if netfilter isn't enabled in the kernel. 95241231Sdelphij Add new link-layer type for NFC Forum LLCP. 96241231Sdelphij Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 97241231Sdelphij Add LINKTYPE_NG40/DLT_NG40. 98241231Sdelphij Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 99241231Sdelphij [PATCH] Fix AIX-3.5 crash with read failure during stress 100241231Sdelphij AIX fixes. 101241231Sdelphij Introduce --disable-shared configure option. 102241231Sdelphij Added initial support for canusb devices. 103241231Sdelphij Include the pcap(3PCAP) additions as 1.2.1 changes. 104241231Sdelphij many updates to documentation: pcap.3pcap.in 105241231Sdelphij Improve 'inbound'/'outbound' capture filters under Linux. 106241231Sdelphij Note the cleanup of handling of new DLT_/LINKTYPE_ values. 107241231Sdelphij On Lion, don't build for PPC. 108241231Sdelphij For mac80211 devices we need to clean up monitor mode on exit. 109241231Sdelphij 110235426SdelphijFriday December 9, 2011. guy@alum.mit.edu. 111235426SdelphijSummary for 1.2.1 libpcap release 112235426Sdelphij Update README file. 113235426Sdelphij Fix typoes in README.linux file. 114235426Sdelphij Clean up some compiler warnings. 115235426Sdelphij Fix Linux compile problems and tests for ethtool.h. 116235426Sdelphij Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 117235426Sdelphij toolchains. 118235426Sdelphij Support 802.1 QinQ as a form of VLAN in filters. 119235426Sdelphij Treat "carp" as equivalent to "vrrp" in filters. 120235426Sdelphij Fix code generated for "ip6 protochain". 121235426Sdelphij Add some new link-layer header types. 122235426Sdelphij Support capturing NetFilter log messages on Linux. 123235426Sdelphij Clean up some error messages. 124235426Sdelphij Turn off monitor mode on exit for mac80211 interfaces on Linux. 125235426Sdelphij Fix problems turning monitor mode on for non-mac80211 interfaces 126235426Sdelphij on Linux. 127235426Sdelphij Properly fail if /sys/class/net or /proc/net/dev exist but can't 128235426Sdelphij be opened. 129235426Sdelphij Fail if pcap_activate() is called on an already-activated 130235426Sdelphij pcap_t, and add a test program for that. 131235426Sdelphij Fix filtering in pcap-ng files. 132235426Sdelphij Don't build for PowerPC on Mac OS X Lion. 133235426Sdelphij Simplify handling of new DLT_/LINKTYPE_ values. 134235426Sdelphij Expand pcap(3PCAP) man page. 135235426Sdelphij 136235426SdelphijSunday July 24, 2011. mcr@sandelman.ca. 137235426SdelphijSummary for 1.2 libpcap release 138235426Sdelphij All of the changes listed below for 1.1.1 and 1.1.2. 139235426Sdelphij Changes to error handling for pcap_findalldevs(). 140235426Sdelphij Fix the calculation of the frame size in memory-mapped captures. 141235426Sdelphij Add a link-layer header type for STANAG 5066 D_PDUs. 142235426Sdelphij Add a link-layer type for a variant of 3GPP TS 27.010. 143235426Sdelphij Noted real nature of LINKTYPE_ARCNET. 144235426Sdelphij Add a link-layer type for DVB-CI. 145235426Sdelphij Fix configure-script discovery of VLAN acceleration support. 146235426Sdelphij see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 147235426Sdelphij Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 148235426Sdelphij Protect against including AIX 5.x's <net/bpf.h> having been included. 149235426Sdelphij Add DLT_DBUS, for raw D-Bus messages. 150235426Sdelphij Treat either EPERM or EACCES as "no soup for you". 151235426Sdelphij Changes to permissions on DLPI systems. 152235426Sdelphij Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 153235426Sdelphij 154235426SdelphijFri. August 6, 2010. guy@alum.mit.edu. 155235426SdelphijSummary for 1.1.2 libpcap release 156235426Sdelphij Return DLT_ values, not raw LINKTYPE_ values from 157235426Sdelphij pcap_datalink() when reading pcap-ng files 158235426Sdelphij Add support for "wlan ra" and "wlan ta", to check the RA and TA 159235426Sdelphij of WLAN frames that have them 160235426Sdelphij Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 161235426Sdelphij headers 162235426Sdelphij Do filtering on USB and Bluetooth capturing 163235426Sdelphij On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 164235426Sdelphij Check for valid port numbers (fit in a 16-bit unsigned field) in 165235426Sdelphij "port" filters 166235426Sdelphij Reject attempts to put savefiles into non-blocking mode 167235426Sdelphij Check for "no such device" for the "get the media types" ioctl 168235426Sdelphij in *BSD 169235426Sdelphij Improve error messages from bpf_open(), and let it do the error 170235426Sdelphij handling 171235426Sdelphij Return more specific errors from pcap_can_set_rfmon(); fix 172235426Sdelphij documentation 173235426Sdelphij Update description fetching code for FreeBSD, fix code for 174235426Sdelphij OpenBSD 175235426Sdelphij Ignore /sys/net/dev files if we get ENODEV for them, not just 176235426Sdelphij ENXIO; fixes handling of bonding devices on Linux 177235426Sdelphij Fix check for a constant 0 argument to BPF_DIV 178235426Sdelphij Use the right version of ar when cross-building 179235426Sdelphij Free any filter set on a savefile when the savefile is closed 180235426Sdelphij Include the CFLAGS setting when configure was run in the 181235426Sdelphij compiler flags 182235426Sdelphij Add support for 802.15.4 interfaces on Linux 183235426Sdelphij 184214518SrpauloThu. April 1, 2010. guy@alum.mit.edu. 185214518SrpauloSummary for 1.1.1 libpcap release 186214518Srpaulo Update CHANGES to reflect more of the changes in 1.1.0. 187214518Srpaulo Fix build on RHEL5. 188214518Srpaulo Fix shared library build on AIX. 18917683Spst 190214518SrpauloThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 191214518SrpauloSummary for 1.1.0 libpcap release 192214518Srpaulo Add SocketCAN capture support 193214518Srpaulo Add Myricom SNF API support 194214518Srpaulo Update Endace DAG and ERF support 195214518Srpaulo Add support for shared libraries on Solaris, HP-UX, and AIX 196214518Srpaulo Build, install, and un-install shared libraries by default; 197214518Srpaulo don't build/install shared libraries on platforms we don't support 198214518Srpaulo Fix building from a directory other than the source directory 199214518Srpaulo Fix compiler warnings and builds on some platforms 200214518Srpaulo Update config.guess and config.sub 201214518Srpaulo Support monitor mode on mac80211 devices on Linux 202214518Srpaulo Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 203214518Srpaulo value 204214518Srpaulo On Linux, scan /sys/class/net for devices if we have it; scan 205214518Srpaulo it, or /proc/net/dev if we don't have /sys/class/net, even if 206214518Srpaulo we have getifaddrs(), as it'll find interfaces with no 207214518Srpaulo addresses 208214518Srpaulo Add limited support for reading pcap-ng files 209214518Srpaulo Fix BPF driver-loading error handling on AIX 210214518Srpaulo Support getting the full-length interface description on FreeBSD 211214518Srpaulo In the lexical analyzer, free up any addrinfo structure we got back 212214518Srpaulo from getaddrinfo(). 213214518Srpaulo Add support for BPF and libdlpi in OpenSolaris (and SXCE) 214214518Srpaulo Hyphenate "link-layer" everywhere 215214518Srpaulo Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 216214518Srpaulo In pcap_read_linux_mmap(), if there are no frames available, call 217214518Srpaulo poll() even if we're in non-blocking mode, so we pick up 218214518Srpaulo errors, and check for the errors in question. 219214518Srpaulo Note that poll() works on BPF devices is Snow Leopard 220214518Srpaulo If an ENXIO or ENETDOWN is received, it may mean the device has 221214518Srpaulo gone away. Deal with it. 222214518Srpaulo For BPF, raise the default capture buffer size to from 32k to 512k 223214518Srpaulo Support ps_ifdrop on Linux 224214518Srpaulo Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 225214518Srpaulo under cygwin. 226214518Srpaulo Changes to Linux mmapped captures. 227214518Srpaulo Fix bug where create_ring would fail for particular snaplen and 228214518Srpaulo buffer size combinations 229214518Srpaulo Update pcap-config so that it handles libpcap requiring 230214518Srpaulo additional libraries 231214518Srpaulo Add workaround for threadsafeness on Windows 232214518Srpaulo Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 233214518Srpaulo DLT: Add DLT_CAN_SOCKETCAN 234214518Srpaulo DLT: Add Solaris ipnet 235214518Srpaulo Don't check for DLT_IPNET if it's not defined 236214518Srpaulo Add link-layer types for Fibre Channel FC-2 237214518Srpaulo Add link-layer types for Wireless HART 238214518Srpaulo Add link-layer types for AOS 239214518Srpaulo Add link-layer types for DECT 240214518Srpaulo Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 241214518Srpaulo Install headers unconditionally, and include vlan.h/bluetooth.h if 242214518Srpaulo enabled 243214518Srpaulo Autoconf fixes+cleanup 244214518Srpaulo Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 245214518Srpaulo Support disabling SITA support (--without-sita) 246214518Srpaulo Return -1 on failure to create packet ring (if supported but 247214518Srpaulo creation failed) 248214518Srpaulo Fix handling of 'any' device, so that it can be opened, and no longer 249214518Srpaulo attempt to open it in Monitor mode 250214518Srpaulo Add support for snapshot length for USB Memory-Mapped Interface 251214518Srpaulo Fix configure and build on recent Linux kernels 252214518Srpaulo Fix memory-mapped Linux capture to support pcap_next() and 253214518Srpaulo pcap_next_ex() 254214518Srpaulo Fixes for Linux USB capture 255214518Srpaulo DLT: Add DLT_LINUX_EVDEV 256214518Srpaulo DLT: Add DLT_GSMTAP_UM 257214518Srpaulo DLT: Add DLT_GSMTAP_ABIS 258214518Srpaulo 259190225SrpauloMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 260190225Srpaulo Compile with IPv6 support by default 261190225Srpaulo Compile with large file support on by default 262190225Srpaulo Add pcap-config script, which deals with -I/-L flags for compiling 263190225Srpaulo DLT: Add IPMB 264190225Srpaulo DLT: Add LAPD 265190225Srpaulo DLT: Add AX25 (AX.25 w/KISS header) 266190225Srpaulo DLT: Add JUNIPER_ST 267190225Srpaulo 802.15.4 support 268190225Srpaulo Variable length 802.11 header support 269276768Sdelphij X2E data type support 270190225Srpaulo SITA ACN Interface support - see README.sita 271214518Srpaulo Support for memory-mapped capture on Linux 272190225Srpaulo Support for zerocopy BPF on platforms that support it 273214518Srpaulo Support for setting buffer size when opening devices 274214518Srpaulo Support for setting monitor mode when opening 802.11 devices 275190225Srpaulo Better support for dealing with VLAN tagging/stripping on Linux 276190225Srpaulo Fix dynamic library support on OSX 277190225Srpaulo Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 278190225Srpaulo can print better diagnostic information 279190225Srpaulo Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 280190225Srpaulo applications can tell the user they need to go play with permissions 281276768Sdelphij On Linux, ignore ENETDOWN so we can continue to capture packets if the 282190225Srpaulo interface goes down and comes back up again. 283190225Srpaulo On Linux, support new tpacket frame headers (2.6.27+) 284214518Srpaulo On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 285190225Srpaulo On Solaris, support 'passive mode' on systems that support it 286190225Srpaulo Fixes to autoconf and general build environment 287190225Srpaulo Man page reorganization + cleanup 288190225Srpaulo Autogenerate VERSION numbers better 289172677Smlaier 290190225SrpauloMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 291190225Srpaulo Change build process to put public libpcap headers into pcap subir 292190225Srpaulo DLT: Add value for IPMI IPMB packets 293190225Srpaulo DLT: Add value for u10 Networks boards 294276768Sdelphij Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 295190225Srpaulo libpcap files on an OS other than where the file was generated 296172677Smlaier 297190225SrpauloWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 298172677Smlaier 299172677Smlaier Put the public libpcap headers into a pcap subdirectory in both the 300172677Smlaier source directory and the target include directory, and have include 301276768Sdelphij files at the top-level directory to include those headers, for 302172677Smlaier backwards compatibility. 303172677Smlaier Add Bluetooth support 304172677Smlaier Add USB capturing support on Linux 305172677Smlaier Add support for the binary USB sniffing interface in Linux 306172677Smlaier Add support for new FreeBSD BIOCSDIRECTION ioctl 307172677Smlaier Add additional filter operations for 802.11 frame types 308172677Smlaier Add support for filtering on MTP2 frame types 309276768Sdelphij Propagate some changes from the main branch, so the x.9 branch has 310172677Smlaier all the DLT_ and LINKTYPE_ values that the main branch does 311276768Sdelphij Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 312172677Smlaier encapsulated packets 313276768Sdelphij Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 314172677Smlaier by Linux drivers 315172677Smlaier Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 316172677Smlaier Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 317172677Smlaier Add DLT for Bluetooth HCI UART transport layer 318172677Smlaier When building a shared library, build with "-fPIC" on Linux to support x86_64 319276768Sdelphij Link with "$(CC) -shared" rather than "ld -shared" when building a 320172677Smlaier ".so" shared library 321172677Smlaier Add support for autoconf 2.60 322172677Smlaier Fixes to discard unread packets when changing filters 323276768Sdelphij Changes to handle name changes in the DAG library resulting from 324172677Smlaier switching to libtool. 325172677Smlaier Add support for new DAG ERF types. 326276768Sdelphij Add an explicit "-ldag" when building the shared library, so the DAG 327172677Smlaier library dependency is explicit. 328172677Smlaier Mac OSX fixes for dealing with "wlt" devices 329172677Smlaier Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 330172677Smlaier device lists 331172677Smlaier Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 332276768Sdelphij was not checked. 333172677Smlaier 334172677SmlaierTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 335172677Smlaier 336172677Smlaier Support for LAPD frames with vISDN 337172677Smlaier Support for ERF on channelized T1/E1 cards via DAG API 338172677Smlaier Fix capitalization that caused issues crossc compiling on Linux 339172677Smlaier Better failure detection on PacketGetAdapterNames() 340172677Smlaier Fixes for MPLS packet generation (link layer) 341172677Smlaier OP_PACKET now matches the beginning of the packet, instead of 342172677Smlaier beginning+link-layer 343172677Smlaier Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 344276768Sdelphij Fix allocation of buffer for list of link-layer types 345172677Smlaier Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages 346172677Smlaier Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 347172677Smlaier Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 348172677Smlaier Added definition for DLT_A429 and LINKTYPE_A429 as #184. 349172677Smlaier Added a new DLT and LINKTYPE value for CAN v2.0B frames. 350172677Smlaier Add support for DLT_JUNIPER_VP. 351276768Sdelphij Don't double-count received packets on Linux systems that 352276768Sdelphij support the PACKET_STATISTICS getsockopt() argument on 353172677Smlaier PF_PACKET sockets. 354276768Sdelphij Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 355172677Smlaier layers in Windows 356276768Sdelphij Add support to build libpcap.lib and wpcap.dll under Cygnus and 357172677Smlaier MingW32. 358172677Smlaier 359162012SsamMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 360147894Ssam 361162012Ssam Support for radiotap on Linux (Mike Kershaw) 362162012Ssam Fixes for HP-UX 363162012Ssam Support for additional Juniper link-layer types 364162012Ssam Fixes for filters on MPLS-encapsulated packets 365162012Ssam "vlan" filter fixed 366162012Ssam "pppoed" and "pppoes" filters added; the latter modifies later 367162012Ssam parts of the filter expression to look at the PPP headers and 368162012Ssam headers in the PPP payload 369162012Ssam 370162012SsamTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 371162012Ssam 372147894Ssam Fixes for compiling on nearly every platform, 373147894Ssam including improved 64bit support 374147894Ssam MSDOS Support 375147894Ssam Add support for sending packets 376147894Ssam OpenBSD pf format support 377147894Ssam IrDA capture (Linux only) 378147894Ssam 379127664SbmsTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 380127664Sbms 381127664Sbms Fixed minor problem in gencode.c that would appear on 64-bit 382127664Sbms platforms. 383127664Sbms Version number is now sane. 384162012Ssam 385127664SbmsMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 386127664Sbms 387127664Sbms updates for autoconf 2.5 388127664Sbms fixes for ppp interfaces for freebsd 4.1 389127664Sbms pcap gencode can generate code for 802.11, IEEE1394, and pflog. 390127664Sbms 391127664SbmsWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 392127664Sbms 393127664Sbms added pcap_findalldevs() 394127664Sbms Win32 patches from NetGroup, Politecnico di Torino (Italy) 395127664Sbms OpenBSD pf, DLT_PFLOG added 396127664Sbms Many changes to ATM support. 397162012Ssam lookup pcap_lookupnet() 398127664Sbms Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 399127664Sbms DLT_IP_OVER_FC, DLT_FRELAY, others. 400127664Sbms Sigh. More AIX wonderfulness. 401162012Ssam Document updates. 402127664Sbms Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 403162012Ssam pcap_list_datalinks(), pcap_set_datalink(), 404127664Sbms pcap_lib_version(), pcap_datalink_val_to_name(), 405127664Sbms pcap_datalink_name_to_val(), new error returns. 406127664Sbms 407127664SbmsTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 408127664Sbms 409127664Sbms Support link types that use 802.2 always, never, and sometimes. 410127664Sbms Don't decrease the size of the BPF buffer from the default. 411127664Sbms Support frame relay. 412127664Sbms Handle 32-bit timestamps in DLPI, and pass the right buffer size. 413127664Sbms Handle Linux systems with modern kernel but without 414127664Sbms SOL_PACKET in the userland headers. 415127664Sbms Linux support for ARPHRD_RAWHDLC. 416127664Sbms Handle 32-bit timestamps in snoop. 417127664Sbms Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 418127664Sbms Add new reserved DLT types. 419127664Sbms 42098530SfennerMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 42198530Sfenner 42298530Sfenner Added pcap_findalldevs() call to get list of interfaces in a MI way. 42398530Sfenner 424162012Ssam pcap_stats() has been documented as to what its counters mean on 42598530Sfenner each platform. 42698530Sfenner 42775107SfennerTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 42856889Sfenner 42975107Sfenner New Linux libpcap implementation, which, in 2.2 and later 43075107Sfenner kernels, uses PF_PACKET sockets and supports kernel packet 43175107Sfenner filtering (if compiled into the kernel), and supports the "any" 43275107Sfenner device for capturing on all interfaces. Cleans up promiscuous 43375107Sfenner mode better on pre-2.2 kernels, and has various other fixes 43475107Sfenner (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 43575107Sfenner doesn't show duplicate packets on loopback interface, etc.). 43656889Sfenner 43775107Sfenner Fixed HP-UX libpcap implementation to correctly get the PPA for 43875107Sfenner an interface, to allow interfaces to be opened by interface name. 43975107Sfenner 44075107Sfenner libpcap savefiles have system-independent link-layer type values 44175107Sfenner in the header, rather than sometimes platform-dependent DLT_ 44275107Sfenner values, to make it easier to exchange capture files between 44375107Sfenner different OSes. 44475107Sfenner 44575107Sfenner Non-standard capture files produced by some Linux tcpdumps, e.g. 44675107Sfenner the one from Red Hat Linux 6.2 and later, can now be read. 44775107Sfenner 44875107Sfenner Updated autoconf stock files. 44975107Sfenner 45075107Sfenner Filter expressions can filter on VLAN IDs and various OSI 45175107Sfenner protocols, and work on Token Ring (with non-source-routed 45275107Sfenner packets). 45375107Sfenner 45475107Sfenner "pcap_open_dead()" added to allow compiling filter expressions 45575107Sfenner to pcap code without opening a capture device or capture file. 45675107Sfenner 45775107Sfenner Header files fixed to allow use in C++ programs. 45875107Sfenner 45975107Sfenner Removed dependancy on native headers for packet layout. 46075107Sfenner Removed Linux specific headers that were shipped. 46175107Sfenner 46275107Sfenner Security fixes: Strcpy replaced with strlcpy, sprintf replaced 46375107Sfenner with snprintf. 46475107Sfenner 46575107Sfenner Fixed bug that could cause subsequent "pcap_compile()"s to fail 46675107Sfenner erroneously after one compile failed. 46775107Sfenner 46875107Sfenner Assorted other bug fixes. 46975107Sfenner 47075107Sfenner README.aix and README.linux files added to describe 47175107Sfenner platform-specific issues. 47275107Sfenner 47375107Sfenner "getifaddrs()" rather than SIOCGIFCONF used, if available. 47475107Sfenner 47575107Sfennerv0.5 Sat Jun 10 11:09:15 PDT 2000 47675107Sfenner 47775107Sfenneritojun@iijlab.net 47875107Sfenner- Brought in KAME IPv6/IPsec bpf compiler. 47975107Sfenner- Fixes for NetBSD. 48075107Sfenner- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 48175107Sfenner and changes to work around different BSDs having different DLT_ types 48275107Sfenner with the same numeric value. 48375107Sfenner 48475107SfennerAssar Westerlund <assar@sics.se> 48575107Sfenner- Building outside the source code tree fixed. 48675107Sfenner- Changed to write out time stamps with 32-bit seconds and microseconds 48775107Sfenner fields, regardless of whether those fields are 32 bits or 64 bits in 48875107Sfenner the OS's native "struct timeval". 48975107Sfenner- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 49075107Sfenner the list of interfaces is read as necessary in order to hold the 49175107Sfenner entire list. 49275107Sfenner 49375107SfennerGreg Troxel <gdt@ir.bbn.com> 49475107Sfenner- Added a new "pcap_compile_nopcap()", which lets you compile a filter 49575107Sfenner expression into a BPF program without having an open live capture or 49675107Sfenner capture file. 497162012Ssam 49839291Sfennerv0.4 Sat Jul 25 12:40:09 PDT 1998 49939291Sfenner 50039291Sfenner- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 50139291Sfenner Fenner (fenner@parc.xerox.com) 50239291Sfenner 50339291Sfenner- Fix alignment problem with FDDI under DLPI. This was causing core 50439291Sfenner dumps under Solaris. 50539291Sfenner 50639291Sfenner- Added configure options to disable flex and bison. Resulted from a 50739291Sfenner bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 50839291Sfenner options to disable gcc and to force a particular packet capture type. 50939291Sfenner 51039291Sfenner- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 51139291Sfenner to John Hawkinson (jhawk@mit.edu) 51239291Sfenner 51339291Sfenner- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 51439291Sfenner supply any "link layer" data. 51539291Sfenner 51639291Sfenner- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 51739291Sfenner Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 51839291Sfenner 51939291Sfenner- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 52039291Sfenner "link layer" data. 52139291Sfenner 52239291Sfenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 52339291Sfenner formats. 52439291Sfenner 52539291Sfenner- Added some new SGI snoop interface types. Thanks to Steve Alexander 52639291Sfenner (sca@refugee.engr.sgi.com) 52739291Sfenner 52839291Sfenner- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 52939291Sfenner Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 53039291Sfenner 53139291Sfenner- Fddi supports broadcast as reported by Jeff Macdonald 53239291Sfenner (jeff@iacnet.com). Also correct ieee802 and arcnet. 53339291Sfenner 53439291Sfenner- Determine Linux pcap buffer size at run time or else it might not be 53539291Sfenner big enough for some interface types (e.g. FDDI). Thanks to Jes 53639291Sfenner Sorensen (Jes.Sorensen@cern.ch) 53739291Sfenner 53839291Sfenner- Fix some linux alignment problems. 53939291Sfenner 54039291Sfenner- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 54139291Sfenner (ianm@sics.se) 54239291Sfenner 54339291Sfenner- Support Metricom radio packets under Linux. Thanks to Kevin Lai 54439291Sfenner (laik@gunpowder.stanford.edu) 54539291Sfenner 54639291Sfenner- Bind to interface name under Linux to avoid packets from multiple 54739291Sfenner interfaces on multi-homed hosts. Thanks to Kevin Lai 54839291Sfenner (laik@gunpowder.stanford.edu) 54939291Sfenner 55039291Sfenner- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 55139291Sfenner (rroberts@muller.com) 55239291Sfenner 55339291Sfenner- Fixed an uninitialized memory reference found by Kent Vander Velden 55439291Sfenner (graphix@iastate.edu) 55539291Sfenner 55639291Sfenner- Fixed lex pattern for IDs to allow leading digits. As reported by 55739291Sfenner Theo de Raadt (deraadt@cvs.openbsd.org) 55839291Sfenner 55939291Sfenner- Fixed Linux include file problems when using GNU libc. 56039291Sfenner 56139291Sfenner- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 56239291Sfenner Reported reported by Eric Jacksch (jacksch@tenebris.ca) 56339291Sfenner 56439291Sfenner- Fixed bug in pcap_dispatch() that kept it from returning on packet 56539291Sfenner timeouts. 56639291Sfenner 56739291Sfenner- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 56839291Sfenner for "lo" followed by an eos or digit (newer versions of Linux 56939291Sfenner apparently call the loopback "lo" instead of "lo0"). 57039291Sfenner 57139291Sfenner- Fixed Linux networking include files to use ints instead of longs to 57239291Sfenner avoid problems with 64 bit longs on the alpha. Thanks to Cristian 57339291Sfenner Gafton (gafton@redhat.com) 57439291Sfenner 57526175Sfennerv0.3 Sat Nov 30 20:56:27 PST 1996 57626175Sfenner 57726175Sfenner- Added Linux support. 57826175Sfenner 57926175Sfenner- Fixed savefile bugs. 58026175Sfenner 58126175Sfenner- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 58226175Sfenner 58326175Sfenner- Add support for bpf kernel port filters. 58426175Sfenner 58526175Sfenner- Remove duplicate atalk protocol table entry. Thanks to Christian 58626175Sfenner Hopps (chopps@water.emich.edu) 58726175Sfenner 58826175Sfenner- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 58926175Sfenner reported to happen under BSD/OS by David Vincenzetti 59026175Sfenner (vince@cryptonet.it) 59126175Sfenner 59226175Sfenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett 59326175Sfenner (barnett@grymoire.crd.ge.com) 59426175Sfenner 59517683Spstv0.2.1 Sun Jul 14 03:02:26 PDT 1996 59617683Spst 59717683Spst- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram 59817683Spst (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 59917683Spst 60017683Spst- Added support for SINIX. Thanks to Andrej Borsenkow 60117683Spst (borsenkow.msk@sni.de) 60217683Spst 60317683Spst- Fixes for AIX (although this system is not yet supported). Thanks to 60417683Spst John Hawkinson (jhawk@mit.edu) 60517683Spst 60617683Spst- Use autoconf's idea of the top level directory in install targets. 60717683Spst Thanks to John Hawkinson. 60817683Spst 60917683Spst- Add missing autoconf packet capture result message. Thanks to Bill 61017683Spst Fenner (fenner@parc.xerox.com) 61117683Spst 61217683Spst- Fixed padding problems in the pf module. 61317683Spst 61417683Spst- Fixed some more alignment problems on the alpha. 61517683Spst 61617683Spst- Added explicit netmask support. Thanks to Steve Nuchia 61717683Spst (steve@research.oknet.com) 61817683Spst 61917683Spst- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 62017683Spst justifing" 62117683Spst 62217683Spst- Add "sca" keyword (for DEC cluster services) as suggested by Terry 62317683Spst Kennedy (terry@spcvxa.spc.edu) 62417683Spst 62517683Spst- Add "atalk" keyword as suggested by John Hawkinson. 62617683Spst 62717683Spst- Add "igrp" keyword. 62817683Spst 62917683Spst- Fixed HID definition in grammar.y to be a string, not a value. 63017683Spst 63117683Spst- Use $CC when checking gcc version. Thanks to Carl Lindberg 63217683Spst (carl_lindberg@blacksmith.com) 63317683Spst 63417683Spst- Removed obsolete reference to pcap_immediate() from the man page. 63517683Spst Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 63617683Spst 63717683Spst- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 63817683Spst (jch@bsdi.com) 63917683Spst 64017683Spstv0.2 Sun Jun 23 02:28:42 PDT 1996 64117683Spst 64217683Spst- Add support for HP-UX. Resulted from code contributed by Tom Murray 64317683Spst (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 64417683Spst (philipp@res.enst.fr) 64517683Spst 64617683Spst- Update INSTALL with a reminder to install include files. Thanks to 64717683Spst Mark Andrews (mandrews@aw.sgi.com) 64817683Spst 64917683Spst- Fix bpf compiler alignment bug on the alpha. 65017683Spst 65117683Spst- Use autoconf to detect architectures that can't handle misaligned 65217683Spst accesses. 65317683Spst 65417683Spst- Added loopback support for snoop. Resulted from report Steve 65517683Spst Alexander (sca@engr.sgi.com) 65617683Spst 65717683Spstv0.1 Fri Apr 28 18:11:03 PDT 1995 65817683Spst 65917683Spst- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 66017683Spst comparison operators, while the code generator and optimizer assumed 66117683Spst signed semantics in several places. Thanks to Charlie Slater 66217683Spst (cslater@imatek.com) for pointing this out. 66317683Spst 66417683Spst- Removed FDDI ifdef's, they aren't really needed. Resulted from report 66517683Spst by Gary Veum (veum@boa.gsfc.nasa.gov). 66617683Spst 66717683Spst- Add pcap-null.c which allows offline use of libpcap on systems that 66817683Spst don't support live package capture. This feature resulting from a 66917683Spst request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 67017683Spst 67117683Spst- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 67217683Spst (Pascal.Hennequin@hugo.int-evry.fr). 67317683Spst 67417683Spst- Port to GNU autoconf. 67517683Spst 67617683Spst- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 67717683Spst Johansen (fsj@csd.cri.dk). 67817683Spst 67917683Spst- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 68017683Spst Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 68117683Spst 68217683Spst- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 68317683Spst by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 68417683Spst 68517683Spst- Add support for "long jumps". Thanks to Jeffrey Mogul 68617683Spst (mogul@pa.dec.com). 68717683Spst 68817683Spst- Fix minor problems when compiling with BDEBUG as noticed by Scott 68917683Spst Bertilson (scott@unet.umn.edu). 69017683Spst 69117683Spst- Declare sys_errlist "const char *const" to avoid problems under 69217683Spst FreeBSD. Resulted from report by jher@eden.com. 69317683Spst 69417683Spstv0.0.6 Fri Apr 28 04:07:13 PDT 1995 69517683Spst 69617683Spst- Add missing variable declaration missing from 0.0.6 69717683Spst 69817683Spstv0.0.5 Fri Apr 28 00:22:21 PDT 1995 69917683Spst 70017683Spst- Workaround for problems when pcap_read() returns 0 due to the timeout 70117683Spst expiring. 70217683Spst 70317683Spstv0.0.4 Thu Apr 20 20:41:48 PDT 1995 70417683Spst 70517683Spst- Change configuration to not use gcc v2 flags with gcc v1. 70617683Spst 70717683Spst- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 70817683Spst should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 70917683Spst 71017683Spst- Fixed configure to test for snoop before dlpi to avoid problems under 71117683Spst IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 71217683Spst 71317683Spst- Hack around deficiency in Ultrix's make. 71417683Spst 71517683Spst- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 71617683Spst savefiles that have more than snapshot bytes of data in them (so we 71717683Spst can read old savefiles) and avoid writing such files. 71817683Spst 71917683Spst- Added checkioctl which is used with gcc to check that the 72017683Spst "fixincludes" script has been run. 72117683Spst 72217683Spstv0.0.3 Tue Oct 18 18:13:46 PDT 1994 72317683Spst 72417683Spst- Fixed configure to test for snoop before dlpi to avoid problems under 72517683Spst IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 72617683Spst 72717683Spstv0.0.2 Wed Oct 12 20:56:37 PDT 1994 72817683Spst 72917683Spst- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 73017683Spst Stevens. 73117683Spst 73217683Spst- Determine pcap link type from dlpi media type. Resulted from report 73317683Spst by Mahesh Jethanandani (mahesh@npix.com). 73417683Spst 73517683Spstv0.0.1 Fri Jun 24 14:50:57 PDT 1994 73617683Spst 73717683Spst- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 73817683Spst wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 73917683Spst Invalid argument" error under OSF/1. Reported by Matt Day 74017683Spst (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 74117683Spst 74217683Spst- Turn on FDDI support by default. 74317683Spst 74417683Spstv0.0 Mon Jun 20 19:20:16 PDT 1994 74517683Spst 74617683Spst- Initial release. 74717683Spst 74817683Spst- Fixed bug with greater/less keywords, reported by Mark Andrews 74917683Spst (mandrews@alias.com). 75017683Spst 75117683Spst- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 75217683Spst by Elan Amir (elan@leeb.cs.berkeley.edu). 75317683Spst 75417683Spst- Machines with little-endian byte ordering are supported thanks to 75517683Spst Jeff Mogul. 75617683Spst 75717683Spst- Add hack for version 2.3 savefiles which don't have caplen and len 75817683Spst swapped thanks to Vern Paxson. 75917683Spst 76017683Spst- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 76117683Spst 76217683Spst- Added length, inbound and outbound keywords. 763