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