1Friday, August 30, 2024 / The Tcpdump Group 2 Summary for 1.10.5 libpcap release 3 Source code: 4 Spell WirelessHART details properly. 5 Mark pcap_vasprintf() as printf-like. 6 Finalize moving of bpf_filter.c. (GH #1166) 7 Remove an unneeded argument from gen_mcode6(). 8 Don't do some Berkeley YACC workarounds with YACC releases not 9 requiring them. 10 Use correct data types rather than int in some cases. 11 Squelch compiler warning in grammar.c. 12 Fix findalldevtest compilation if IPv6 isn't enabled. 13 Rename helper routines for pcap modules to have names beginning with 14 pcapint_, to avoid namespace collisions for code linking statically 15 with libpcap. 16 Avoid casting hack for the Windows cleanup-on-exit routine. 17 Use %zu format for one case of printing a size_t. 18 Fix some Coverity errors. 19 Fix availabilities of some functions to match reality. 20 pcap: make the seconds and microseconds/nanoseconds fields unsigned. 21 Remove the unused pcap-rpcap-int.h header file. 22 Thread safety: 23 Make some static variables thread-local; fixes issue #1174. 24 Packet filtering: 25 Improve reporting of some invalid filter expressions. 26 Return an error from pcap_compile() if the scanner fails to initialize. 27 Optimizer fix from Archit Shah to recompute dominators after 28 moving code (#976); fixes #945 (although the resulting filter 29 isn't empty). 30 Optimizer fix from Archit Shah to mark value as unknown when store 31 of that value is deleted (#972); fixes #143, #434, #436, #437, 32 and #1076. 33 Linux: 34 Properly return warnings. 35 Don't use DLT_LINUX_SLL2 for anything other than the "any" device. 36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes 37 issues #1134 and #1205. 38 Fix a file descriptor leak. 39 Properly report warnings about unknown ARPHRD_ types. 40 Fix DLT_CAN_SOCKETCAN handling of CAN FD. 41 Add CAN XL support to DLT_CAN_SOCKETCAN. 42 Clean up the code that sets the "real" ("original") length for 43 isochronous USB transfers. 44 Avoid unnecessary blocking on recvmsg() in the Bluetooth monitor and 45 Bluetoth modules. 46 Solaris: 47 Handle BPF returning ESRCH for unknown devices. 48 List the "any" device if it's supported. 49 Report {non-existent zone}/{interface} errors appropriately. 50 Allow attaching to links owned by a non-global zone. (Based on 51 pull request #1202.) 52 Fix AF_LINK handling on illumos. 53 macOS: 54 Redid the availability macros to be closer to what Apple's doing 55 in recent SDKs, including tagging pcap-namedb.h routines. 56 Fix the install name of the installed shared library to have a 57 full path when building with CMake. 58 Fix universal builds. 59 Haiku: 60 Convert the module to C. Fixes issue #1114. 61 Address a few compiler warnings. Fixes issue #1114. 62 Fix various build problems. Fixes issue #1114. 63 Report non-existent devices correctly. 64 Fix handling of packet statistics. 65 Fix packet timestamping. 66 Fix packet filtering with low snaplen. 67 Improve connection status reporting. 68 Add support for promiscuous mode. 69 Detect DLTs and loopback capture support at run time. 70 Report IEEE 802.11 as PCAP_IF_WIRELESS. 71 Windows: 72 Fix internal handling of "not supported" error codes from NPF. 73 Work around a bug in Npcap 1.00 in case of driver version mismatch. 74 Don't call WSACleanup() when handling a failed WSAStartup(). 75 BSD, macOS, AIX, Solaris 11, Linux: 76 Add a new error PCAP_ERROR_CAPTURE_NOTSUP, for use if a capture 77 mechanism is not present, in the hopes that, for example, 78 attempts to capture on Windows Services for Linux 1, in which 79 the NT kernel attempts to simulate Linux system calls but does 80 not support packet sockets, can get an error that better 81 indicates the underlying problem. 82 AirPcap: 83 Format an error message if we run out of memory. 84 nflog: 85 Fix count of dropped packets. 86 Make sure we don't overflow when rounding up the TLV length. 87 rpcap: 88 Handle routines removed in at least some OpenSSL libraries. 89 CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid 90 double frees in some cases. 91 Don't define SOCKET ourselves; instead, define PCAP_SOCKET as int 92 on UN*Xes and as SOCKET on Windows. 93 CVE-2024-8006: Fix pcap_findalldevs_ex() not to crash if passed a 94 file:// URL with a path to a directory that cannot be opened. 95 Savefiles: 96 Handle DLT_/LINKTYPE_ mapping better, to handle some 97 OpenBSD-specific link types better. 98 Treat if_tsoffset as signed in pcapng files, as the spec says. 99 Don't try to fix the "real" length for isochronous USB 100 transfers if the number of USB descriptors is too large. 101 Reject pcap files where one of the reserved fields in the 102 "link-layer type plus other stuff" is non-zero. 103 Building and testing: 104 Add a configure option to help debugging (--enable-instrument-functions). 105 Improved tests and error reporting for uses of pkg-config, and 106 improve help message. 107 Fix Haiku build. 108 With CMake, install headers in CMAKE_INSTALL_INCLUDEDIR rather 109 than just include. 110 Build libpcap.a before building test programs. 111 Print address family numerically, as well as symbolically, 112 in findalldevstest. 113 Fail with suggestions, rather than failing over to no capture 114 support, if no capture mechanism was found. Fixes issue #1016. 115 Don't indent comments in Make, as that may cause them not to be 116 recognized as comments. 117 Don't check for libssl if we aren't going to use it. 118 Better handle enabling and disabling of sanitizers. Fixes issue 119 #1171. 120 CMakeLists.txt: Print "Symlinking: /some/path to ..." conditionally. 121 Evaluate CMAKE_INSTALL_PREFIX at install time. 122 cmake: Update the minimum required version to 2.8.12 (except Windows). 123 cmake: suppress CMP0042 OLD deprecated warning. 124 Makefile.in: Add the releasecheck target. 125 Cirrus CI: Add the "make releasecheck" command in the Linux task. 126 Makefile.in: Add the whitespacecheck target. 127 Cirrus CI: Run the "make whitespacecheck" command in the Linux task. 128 Autoconf: Update config.{guess,sub}, timestamps 2024-01-01. 129 Autoconf: Update the install-sh script to the 2020-11-14.01 version. 130 Compile with '-Wnull-pointer-subtraction', 131 '-Wunused-but-set-parameter', and '-Wunused-but-set-variable' in 132 devel mode if supported. 133 Don't ignore spaces between CMAKE_C_FLAGS and DPDK_C_FLAGS with 134 CMake. 135 Use noreturn and __format__ with XL C 7.0 and later. 136 Check for the same -W flags in autotools and CMake. 137 Autoconf: Add autogen.sh, remove configure and config.h.in and put 138 these generated files in the release tarball. 139 Autoconf: Get the size of a time_t. 140 Fix propagation of cc_werr_cflags() output. 141 Makefile.in(s): Fix the depend target. 142 mkdep: Exit with a non-zero status if a command fails. 143 Fix HCI_CHANNEL_MONITOR detection with musl libc. 144 Extend "make shellcheck" onto mkdep too. 145 Add initial support for building with TinyCC. 146 Address all known compiler warnings specific to illumos, Linux, NetBSD, 147 Solaris and Sun C; in CI expect warnings specific to TinyCC only. 148 Documentation: 149 Update and fix pcap-filter man page. 150 Add a README.haiku.md file. 151 Document pcap-config better. 152 Man page formatting and prose fixes. 153 Rename doc/README.Win32.md to doc/README.windows.md. 154 Update pcap-savefile man page to match the Internet-Draft for 155 pcap. 156 Fix CMake issues for target used by other projects. 157 Explain "any" device better in pcap_open_live(3PCAP). 158 Update INSTALL.md. 159 Note in man pages that errbuf arguments must point to an error 160 buffer. 161 Note that if pcap_findalldevs() fails it sets *alldevsp to NULL; 162 there's no devices list to free. 163 Explain "other addresses" in pcap_findalldevs(3PCAP). 164 Document pcap_lookupnet(3PCAP) a bit better. 165 166Friday, April 7, 2023 / The Tcpdump Group 167 Summary for 1.10.4 libpcap release 168 Source code: 169 Fix spaces before tabs in indentation. 170 rpcap: 171 Fix name of launchd service. 172 Documentation: 173 Document use of rpcapd with systemd, launchd, inetd, and xinetd. 174 Building and testing: 175 Require at least pkg-config 0.17.0, as we use --static. 176 Get rid of the remains of gnuc.h. 177 Require at least autoconf 2.69. 178 Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. 179 180Thursday, January 12, 2023 / The Tcpdump Group 181 Summary for 1.10.3 libpcap release 182 Source code: 183 Sort the PUBHDR variable in Makefile.in in "ls" order. 184 Fix typo in comment in pflog.h. 185 Remove two no-longer-present files from .gitignore. 186 Update code and comments for handling failure to set promiscuous 187 mode based on new information. 188 Building and testing: 189 install: Fixed not to install the non-public pcap-util.h header. 190 pcap-config: add a --version flag. 191 Makefile.in: Add some missing files in the distclean target. 192 193Saturday, December 31, 2022 / The Tcpdump Group 194 Summary for 1.10.2 libpcap release 195 Source code: 196 Use __builtin_unreachable() in PCAP_UNREACHABLE. 197 Use AS_HELP_STRING macro instead of AC_HELP_STRING in the 198 configure scripts, to avoid deprecation warnings. 199 Change availability tags in pcap.h to make it easier to 200 arrange for it to be used in Darwin releases. 201 Use AS_HELP_STRING for --enable-remote. 202 Fix some formatting string issues found by cppcheck. 203 Various small code and comment cleanups. 204 Use PCAP_ERROR (defined as -1) rather than explicit -1 for 205 functions the documentation says return PCAP_ERROR. 206 Remove unused code from the filter compiler. 207 Use _declspec(deprecated(msg)) rather than __pragma(deprecated) 208 for Windows deprecation warnings, so the message that was 209 specified shows up. 210 diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. 211 Use "%d" to print some signed ints. 212 Use the Wayback Machine for a removed document in a comment. 213 Add some const qualifiers. 214 RDMA: Use PRIu64 to print a uint64_t. 215 "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision(): 216 Don't crash if pcap_breakloop() is called. 217 Savefiles: 218 Fix pcap_dispatch() to return number of packets processed, rather 219 than 0, even at EOF. 220 If we get an error writing the packet header, don't write the 221 packet data. 222 Put PFLOG UID and PID values in the header into host byte order 223 when reading a LINKTYPE_PFLOG file. 224 Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do 225 for LINUX_SLL. 226 Fix incorrectly-computed "real" length for isochronous USB 227 transfers when reading savefiles. 228 Don't crash if pcap_can_set_rfmon() is called. 229 Fix pcap_offline_read() loop. 230 Capture: 231 Never process more than INT_MAX packets in a pcap_dispatch() call, 232 to avoid integer overflow (issue #1087). 233 Improve error messages for "no such device" and "permission 234 denied" errors. 235 SITA: Fix a typo in a variable name. 236 Packet filtering: 237 Get PFLOG header length from the length value in the header. 238 Support all the direction, reason, and action types supported by 239 all systems that support PFLOG. 240 Don't require PFLOG support on the target machine in order to 241 support PFLOG filtering (also fixes issue #1076). 242 Expand abbreviations into "proto X" properly. 243 gencode.c: Update a comment about the VLAN TPID test. 244 Add the minimum and maximum matching DLTs to an error message. 245 Linux: 246 Fix memory leak in capture device open (pull request #1038). 247 Fix detection of CAN/CAN FD packets in direction check (issue 248 #1051). 249 Fix double-free crashes on errors such as running on a kernel with 250 CONFIG_PACKET_MMAP not configured (issue #1054). 251 Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes 252 changes from pull request #1035). 253 Make sure the CANFD_FDF can be relied on to indicate whether a 254 CANbus packet is a CAN frame or a CAN FD frame 255 Improve error message for "out of memory" errors for kernel 256 filters (see issue #1089). 257 Fix pcap_findalldevs() to find usbmon devices. 258 Fix handling of VLAN tagged packets if the link-layer type is 259 changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). 260 Always turn on PACKET_AUXDATA (see issue #1105). 261 We require 2.6.27 or later, so PACKET_RESERVE is available. 262 Make sure there's reserved space for a DLT_LINUX_SLL2 header 263 when capturing. 264 Correctly compute the "real" length for isochronous USB transfers. 265 Don't have an eventfd descriptor open in non-blocking mode, so as 266 not to waste descriptors. 267 netfilter: Squelch a narrowing warning (To be look at before 2038). 268 BPF capture (*BSD, macOS, AIX, Solaris 11): 269 Fix case where a device open might fail, rather than falling back 270 to a smaller buffer size, when the initial buffer size is too 271 big. 272 Use an unsigned device number to iterate over BPF devices, to 273 squelch a compiler warning. 274 NetBSD: 275 Fix handling of LINKTYPE_HDLC/DLT_HDLC. 276 rpcap: 277 Fix unaligned accesses in rpcapd (pull request #1037). 278 Fix code to process port number. 279 Clean up findalldevs code in rpcapd. 280 Clean up bufferizing code. 281 Fix a file descriptor/handle leak in pcap_findalldevs_ex() 282 (Coverity CID 1507240). 283 Improve error messages for host and port resolution errors. 284 Fix connect code not to fail if both IPv4 and IPv6 addresses are 285 tried. 286 Improve connect failure error message. 287 Provide an error message for a bad authentication reply size. 288 For link-layer types with host-endian fields in the header, fix 289 those fields if capturing from a server with a different byte 290 order. 291 Suppress temporarily the warnings with "enable remote packet capture". 292 Windows: 293 Add support for NdisMediumIP (pull request #1027). 294 Don't require applications using pcap to be built with VS 2015 or 295 later. 296 Use the correct string for the DLL VersionInfo. 297 Remove unnecessary DllMain() function. 298 Correctly handle ERROR_INVALID_FUNCTION from 299 PacketGetTimestampModes() (indicate that WinPcap or an older 300 version of Npcap is probably installed). 301 Fix use-after-free in some cases when a pcap_t is closed. 302 Make sure an error is returned by pcap_create_interface() if 303 PacketOpenAdapter() fails. 304 Return an error if the driver reports 0 timestamp modes supported. 305 Close the ADAPTER handle for some errors in 306 pcap_create_interface(). 307 Get rid of old unmaintained VS project files. 308 Fix deprecation warning for pcap_handle(). 309 Npcap is now at npcap.com, not npcap.org. 310 Make sure "no such device" and "no permission to open device" 311 errors show up in pcap_activate(), not pcap_create() (fixes, 312 among other things, tcpdump -i <interface-number>). 313 npcap: squelch deprecation warnings for kernel dump mode. 314 Haiku: 315 Implement pcap_lib_version(), as now required. 316 Handle negative or too-large snaplen values. 317 Fix various build issues and warnings. 318 Building and testing: 319 Update configure-time universal build checks for macOS. 320 Update config.guess and config.sub. 321 If we look for an SSL library with pkg-config in configure script, 322 try pkg-config first. 323 If we have pkg-config and Homebrew, try to set pkg-config up to 324 find Homebrew packages. 325 Handle some Autoconf/make errors better. 326 Use "git archive" for the "make releasetar" process. 327 Remove the release candidate rcX targets. 328 Fix compiling on Solaris 9/SPARC and 11/AMD64. 329 Address assorted compiler warnings. 330 Fix cross-building on Linux for Windows with mingw32 for Win64 331 (pull request #1031). 332 Properly set installation directory on Windows when not compiling 333 with MSVC. 334 Fix configure script checks for compiler flags. 335 Give more details if check for usable (F)Lex fails. 336 Fix compiling with GCC 4.6.4. 337 Don't use add_compile_options() with CMake, as we currently don't 338 require 2.8.12, where it first appeared. 339 Don't provide -L/usr/lib for pkg-config --libs in pkg-config. 340 Fix error message for inadequate Bison/Berkeley YACC. 341 configure: correctly do some DPDK checks. 342 Only use pkg-config when checking for DPDK. 343 Allow the path in which DPDK is installed to be specified. 344 Use pkg-config first when checking for libibverbs. 345 CMake: fix check for libibverbs with Sun's C compiler. 346 Have CMake warn if no capture mechanism can be found. 347 Don't do stuff requiring 3.19 or later on earlier CMakes. 348 Squelch some CMake warnings. 349 Fix diag-control.h to handle compiling with clang-cl (issues 350 #1101 and #1115). 351 Cleanup various leftover cruft in the configure script. 352 Fix building without protochain support. (GH #852) 353 Check for a usable YACC (or Bison) and {F}lex in CMake, as we do 354 in autotools. 355 Only check for a C++ compiler on Haiku, as that's the only 356 platform with C++ code, and make sure they generate code for 357 the same instruction set bit-width (both 32-bit or both 64-bit) 358 (issue #1112). 359 On Solaris, check the target bit-width and set PKG_CONFIG_PATH 360 appropriately, to handle the mess that is the D-Bus library 361 package (issue #1112). 362 Fix generation of pcap-config and libpcap.pc files (issue #1062). 363 pcap-config: don't assume the system library directory is /usr/lib. 364 pcap-config: add a --static-pcap-only flag. 365 Cirrus CI: Use the same configuration as for the main branch. 366 Add four libpcap test files. 367 Update Npcap SDK to 1.13. 368 Makefile.in: Use TEST_DIST, like for tcpdump. 369 Remove awk code from mkdep. 370 Cirrus CI: Add the libssl-dev package in the Linux task. 371 Cirrus CI: Add the openssl@3 brew package in the macOS task. 372 Get "make shellcheck" to pass again. 373 CMake: Build valgrindtest only if Autoconf would. 374 CMake: use ${CMAKE_INSTALL_SBINDIR} rather than just sbin. 375 CMake: use NUL: as the null device on Windows. 376 autoconf: fix typo in test of macOS version. 377 Makefile.in: Add two missing files in EXTRA_DIST. 378 autotools, cmake: provide an rpath option if necessary. 379 configure: get rid of the attempt to auto-run PKG_PROG_PKG_CONFIG. 380 configure: use PKG_CHECK_MODULES to run pkg-config. 381 Documentation: 382 Add README.solaris.md. 383 Add SCTP to pcap-filter(7). 384 Note that = and == are the same operator in filters (issue #1044). 385 Update INSTALL.md, README.md, and README.solaris.md. 386 Update and clean up CONTRIBUTING.md. 387 Trim documentation of support for now-dead UN*Xe and older 388 versions of other UN*Xes. 389 Move the "how to allocate a LINKTYPE_/DLT_ value" documentation to 390 the web site. 391 Clean up man pages. 392 Move README.capture-module to the web site. 393 Improve some protocol details in pcap-filter(7). 394 Refine "relop" notes in pcap-filter(7). 395 In pcap-filter(7) "domain" is an id. 396 Discuss backward compatibility in pcap-filter(7). 397 Other improvements to pcap-filter(7). 398 Document pcap_breakloop(3PCAP) interaction with threads better. 399 Document PCAP_ERROR_NOT_ACTIVATED for more routines. 400 401Wednesday, June 9, 2021: 402 Summary for 1.10.1 libpcap release: 403 Packet filtering: 404 Fix "type XXX subtype YYY" giving a parse error 405 Source code: 406 Add PCAP_AVAILABLE_1_11. 407 Building and testing: 408 Rename struct bpf_aux_data to avoid NetBSD compile errors 409 Squelch some compiler warnings 410 Squelch some Bison warnings 411 Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR 412 Fix Bison detection for minor version 0. 413 Fix parallel build with FreeBSD make. 414 Get DLT_MATCHING_MAX right in gencode.c on NetBSD. 415 Define timeradd() and timersub() if necessary. 416 Fix Cygwin/MSYS target directories. 417 Fix symlinking with DESTDIR. 418 Fix generation of libpcap.pc with CMake when not building a shared 419 library. 420 Check for Arm64 as well as x86-64 when looking for packet.lib on 421 Windows. 422 Documentation: 423 Refine Markdown in README.md. 424 Improve the description of portrange in filters. 425 README.linux.md isn't Markdown, rename it just README.linux. 426 pcapng: 427 Support reading version 1.2, which some writers produce, and which 428 is the same as 1.0 (some new block types were added, but 429 that's not sufficient reason to bump the minor version number, 430 as code that understands those new block types can handle them 431 in a 1.0 file) 432 Linux: 433 Drop support for text-mode USB captures, as we require a 2.6.27 434 or later kernel (credit to Chaoyuan Peng for noting the 435 sscanf vulnerabilities in the text-mode code that got me to 436 realize that we didn't need this code any more) 437 Bluetooth: fix non-blocking mode. 438 Don't assume that all compilers used to build for Linux support 439 the __atomic builtins 440 Windows: 441 Add more information in "interface disappeared" error messages, in 442 the hopes of trying to figure out the cause. 443 Treat ERROR_DEVICE_REMOVED as "device was removed". 444 Indicate in the error message which "device was removed" error 445 occurred. 446 Report the Windows error status if PacketSendPacket() fails. 447 Use %lu for ULONGs in error message formats. 448 Don't treat the inability to find airpcap.dll as an error. 449 Ignore spurious error reports by Microsoft Surface mobile 450 telephony modem driver 451 rpcap: 452 Clean up error checking and error messages for server address 453 lookup. 454 455Tuesday, December 29, 2020 456 Summary for 1.10.0 libpcap release 457 Add support for capturing on DPDK devices 458 Label most APIs by the first release in which they're available 459 Fix some memory leaks, including in pcap_compile() 460 Add pcap_datalink_val_to_description_or_dlt() 461 Handle the pcap private data in a fashion that makes fewer 462 assumptions about memory layouts (might fix GitHub issue #940 463 on ARM) 464 Fix some thread safety issues 465 pcap_findalldevs(): don't sort interfaces by unit number 466 Always return a list of supported time-stamp types, even if only 467 host time stamps are supported 468 Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP 469 Report the DLT description in error messages 470 Add pcap_init() for first-time initialization and global option 471 setting; it's not required, but may be used 472 Remove (unused) SITA support 473 Capture file reading: 474 Correctly handle pcapng captures with more than one IDB with a 475 snapshot length greater than the supported maximum 476 Capture file writing: 477 Create the file in pcap_dump_open_append() if it doesn't exist 478 Packet filtering: 479 Fix "unknown ether proto 'aarp'" 480 Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all 481 platforms and live Linux captures 482 Add a hack to the optimizer to try to catch certain optimizer 483 loops (should prevent GitHub issue #112) 484 Show special Linux BPF offsets symbolically in bpf_image() and 485 bpf_dump() 486 Added support for ICMPv6 types 1-4 as tokens with names 487 Remove undocumented and rather old "ether proto" protocols 488 Catch invalid IPv4 addresses in filters 489 Don't assume ARM supports unaligned accesses 490 Security and other issues found by analysis: 491 Fix various security issues reported by Charles Smith at Tangible 492 Security 493 Fix various security issues reported by Include Security 494 Fix some issues found by cppcheck. 495 Add some overflow checks in the optimizer 496 rpcap: 497 Support rpcap-over-TLS 498 Redo protocol version negotiation to avoid problems with old 499 servers (it still works with servers using the old negotiation, 500 as well as servers not supporting negotiation) 501 Error handling cleanups 502 Add some new authentication libpcap error codes for specific 503 errors 504 Fix some inetd issues in rpcapd 505 Fix rpcapd core dumps with invalid configuration file 506 On UN*X, don't have rpcapd tell the client why authentication 507 failed, so a brute-force attacker can't distinguish between 508 "unknown user name" and "known user name, wrong password" 509 Allow rpcapd to rebind more rapidly (GitHub issue #765) 510 Documentation: 511 Improve man pages, including adding backward compatibility notes 512 Building and testing: 513 Require, and assume, some level of C99 support in the C compiler 514 Require Visual Studio 2015 or later if using Visual Studio 515 Fix configure script issues, including with libnl on Linux 516 Fix CMake issues 517 Squelch complaints from Bison about "%define api.pure" being 518 deprecated 519 Fix compilation of pcap-tc.c 520 Linux: 521 Require PF_PACKET support, and kernel 2.6.27 or later 522 Handle systems without AF_INET or AF_UNIX socket support 523 Get rid of Wireless Extensions for turning monitor mode on 524 Proper memory sync for PACKET_MMAP (may prevent GitHub issue 525 #898) 526 Drop support for libnl 1 and 2. 527 Return error on interface going away, but not if it just went 528 down but is still present 529 Set socket protocol only after packet ring configured, 530 reducing bogus packet drop reports 531 Get ifdrop stats from sysfs. 532 When adjusting BPF programs, do not subtract the 533 SLL[2]_HDR_LEN if the location is negative (special metadata 534 offset), to preserve references to metadata; see 535 https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment-486827278 536 Report a warning for unknown ARPHRD types 537 Have pcap_breakloop() forcibly break out of a sleeping 538 capture loop 539 Add support for DSA data link types 540 For raw USB bus capture, use the snapshot length to set the 541 buffer size, and set the len field to reflect the length 542 in the URB (GitHub issue #808) 543 With a timeout of zero, wait indefinitely 544 Clean up support for some non-GNU libc C libraries 545 Add DLT_LINUX_SLL2 for cooked-mode captures 546 Probe CONFIGURATION descriptor of connected USB devices 547 Treat EPERM on ethtool ioctls as meaning "not supported", as 548 permissions checks are done before checking whether the 549 ioctl is supported at all 550 macOS: 551 Cope with getting EPWROFF from SIOCGIFMEDIA 552 Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as 553 permissions checks are done before checking whether the 554 ioctl is supported at all 555 Treat ENXIO when reading packets as meaning "the interface 556 was removed" 557 Report "the interface disappeared", not "the interface went 558 down", if the interface was removed during a capture 559 FreeBSD: 560 Treat ENXIO as meaning "the interface was removed" 561 Report "the interface disappeared", not "the interface went 562 down", if the interface was removed during a capture 563 NetBSD: 564 Treat ENXIO as meaning "the interface was removed" 565 Report "the interface disappeared", not "the interface went 566 down", if the interface was removed during a capture 567 OpenBSD: 568 Treat EIO as meaning "the interface was removed" 569 Report "the interface disappeared", not "the interface went 570 down", if the interface was removed during a capture 571 DragonFly BSD: 572 Treat ENXIO as meaning "the interface was removed" 573 Report "the interface disappeared", not "the interface went 574 down", if the interface was removed during a capture 575 Solaris: 576 Treat ENXIO as meaning "the interface was removed" 577 Report "the interface disappeared", not "the interface went 578 down", if the interface was removed during a capture 579 AIX: 580 Fix loading of BPF kernel extension 581 Treat ENXIO as meaning "the interface was removed" 582 Report "the interface disappeared", not "the interface went 583 down", if the interface was removed during a capture 584 Windows: 585 Make the snapshot length work even if pcap_setfilter() 586 isn't called 587 Fix compilation on Cygwin/MSYS 588 Add pcap_handle(), and deprecate pcap_fileno() 589 Report PCAP_ERROR_NO_SUCH_DEVICE for a nonexistent device 590 Return an appropriate error message for device removed or 591 device unusable due to a suspend/resume 592 Report a warning for unknown NdisMedium types 593 Have pcap_breakloop() forcibly break out of a sleeping 594 capture loop 595 Clean up building DLL 596 Handle CRT mismatch for pcap_dump_fopen() 597 Map NdisMediumWirelessWan to DLT_RAW 598 Add AirPcap support in a module, rather than using 599 WinPcap/Npcap's support for it 600 Report the system error for PacketSetHwFilter() failures 601 Add support for getting and setting packet time stamp types 602 with Npcap 603 Have pcap_init() allow selecting whether the API should use 604 local code page strings or UTF-8 strings (including error 605 messages) 606 Haiku: 607 Add capture support 608 609Sunday, July 22, 2018 610 Summary for 1.9.1 libpcap release 611 Mention pcap_get_required_select_timeout() in the main pcap man page 612 Fix pcap-usb-linux.c build on systems with musl 613 Fix assorted man page and other documentation issues 614 Plug assorted memory leaks 615 Documentation changes to use https: 616 Changes to how time stamp calculations are done 617 Lots of tweaks to make newer compilers happier and warning-free and 618 to fix instances of C undefined behavior 619 Warn if AC_PROG_CC_C99 can't enable C99 support 620 Rename pcap_set_protocol() to pcap_set_protocol_linux(). 621 Align pcap_t private data on an 8-byte boundary. 622 Fix various error messages 623 Use 64-bit clean API in dag_findalldevs() 624 Fix cleaning up after some errors 625 Work around some ethtool ioctl bugs in newer Linux kernels (GitHub 626 issue #689) 627 Add backwards compatibility sections to some man pages (GitHub issue 628 #745) 629 Fix autotool configuration on AIX and macOS 630 Don't export bpf_filter_with_aux_data() or struct bpf_aux_data; 631 they're internal-only and subject to change 632 Fix pcapng block size checking 633 On macOS, don't build rpcapd or test programs any fatter than they 634 need to be 635 Fix reading of capture statistics for Linux USB 636 Fix packet size values for Linux USB packets (GitHub issue #808) 637 Check only VID in VLAN test in filters (GitHub issue #461) 638 Fix pcap_list_datalinks on 802.11 devices on macOS 639 Fix overflows with very large snapshot length in pcap file 640 Improve parsing of rpcapd configuration file (GitHub issue #767) 641 Handle systems without strlcpy() or strlcat() better 642 Fix crashes and other errors with invalid filter expressions 643 Fix use of uninitialized file descriptor in remote capture 644 Fix some CMake issues 645 Fix some divide-by-zero issues with the filter compiler 646 Work around a GNU libc bug in pcap_nametonetaddr() 647 Add support for DLT_LINUX_SLL2 648 Fix handling of the packet-count argument for Myricom SNF devices 649 Fix --disable-rdma in configure script (GitHub issue #782) 650 Fix compilation of TurboCap support (GitHub issue #764) 651 Constify first argument to pcap_findalldevs_ex() 652 Fix a number of issues when running rpcapd as an inetd-style daemon 653 Fix CMake issues with D-Bus libraries 654 In rpcapd, clean up termination of a capture session 655 Redo remote capture protocol negotiation 656 In rpcapd, report the same error for "invalid user name" and 657 "invalid password", to make brute-forcing harder 658 For remote captures, add an error code for "the server requires TLS" 659 Fix pcap_dump_fopen() on Windows to avoid clashes between 660 {Win,N}Pcap and application C runtimes 661 Fix exporting of functions from Windows DLLs (GitHub issue #810) 662 Fix building as part of Npcap 663 Allow rpcapd to rebind more rapidly 664 Fix building shared libpcap library on midipix (midipix.org) 665 Fix hack to detect UTF-16LE adapter names on Windows not to go past 666 the end of the string 667 Fix handling of "wireless WAN" (mobile phone network modems) on 668 Windows with WinPcap/Npcap (GitHub issue #824) 669 Have pcap_dump_open_append() create the dump file if it doesn't 670 exists (GitHub issue #247) 671 Fix the maximum snapshot length for DLT_USBPCAP 672 Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837) 673 Fix CMake 64-bit library installation directory on some Linux 674 distributions 675 Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 676 specified 677 Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165 678 PCAPNG reader applies some sanity checks before doing malloc(). 679 680Sunday, June 24, 2018, by mcr@sandelman.ca 681 Summary for 1.9.0 libpcap release 682 Added testing system to libpcap, independent of tcpdump 683 Changes to how pcap_t is activated 684 Adding support for Large stream buffers on Endace DAG cards 685 Changes to BSD 3-clause license to 2-clause license 686 Additions to TCP header parsing, per RFC3168 687 Add CMake build process (extensive number of changes) 688 Assign a value for OpenBSD DLT_OPENFLOW. 689 Support setting non-blocking mode before activating. 690 Extensive build support for Windows VS2010 and MINGW (many many changes, over many months) 691 Added RPCAPD support when --enable-remote (default no) 692 Add the rpcap daemon source and build instructions. 693 Put back the greasy "save the capture filter string so we can tweak it" 694 hack, that keeps libpcap from capturing rpcap traffic. 695 Fixes for captures on MacOS, utun0 696 fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses. 697 Add a linktype for IBM SDLC frames containing SNA PDUs. 698 pcap_compile() in 1.8.0 and later is newly thread-safe. 699 bound snaplen for linux tpacket_v2 to ~64k 700 Make VLAN filter handle both metadata and inline tags 701 D-Bus captures can now be up to 128MB in size 702 Added LORATAP DLT value 703 Added DLT_VSOCK for https://qemu-project.org/Features/VirtioVsock 704 probe_devices() fixes not to overrun buffer for name of device 705 Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol. 706 RDMA sniffing support for pcap 707 Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type. 708 fixes for reading /etc/ethers 709 Make it possible to build on Windows without packet.dll. 710 Add tests for large file support on UN*X. 711 Solaris fixes to work with 2.8.6 712 configuration test now looks for header files, not capture devices present 713 Fix to work with Berkeley YACC. 714 fixes for DragonBSD compilation of pcap-netmap.c 715 Clean up the ether_hostton() stuff. 716 Add an option to disable Linux memory-mapped capture support. 717 Add DAG API support checks. 718 Add Septel, Myricom SNF, and Riverbed TurboCap checks. 719 Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support. 720 Add a check for hardware time stamping on Linux. 721 Don't bother supporting pre-2005 Visual Studio. 722 Increased minimum autoconf version requirement to 2.64 723 Add DLT value 273 for XRA-31 sniffer 724 Clean up handing of signal interrupts in pcap_read_nocb_remote(). 725 Use the XPG 4.2 versions of the networking APIs in Solaris. 726 Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting. 727 Explicitly warn that negative packet buffer timeouts should not be used. 728 rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units 729 Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS. 730 Add DISPLAYPORT AUX link type 731 Remove the sunos4 kernel modules and all references to them. 732 Add more interface flags to pcap_findalldevs(). 733 Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu) 734 Man page improvements 735 Fix Linux cooked mode userspace filtering (GitHub pull request #429) 736 Fix compilation if IPv6 support not enabled 737 Fix some Linux memory-mapped capture buffer size issues 738 Don't fail if kernel filter can't be set on Linux (GitHub issue 739 #549) 740 Improve sorting of interfaces for pcap_findalldevs() 741 Don't list Linux usbmon devices if usbmon module isn't loaded 742 Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon 743 devices 744 Fix DLT_ type for Solaris IPNET devices 745 Always return an error message for errors finding DAG or Myricom 746 devices 747 If possible, don't require that a device be openable when 748 enumerating them for pcap_findalldevs() 749 Don't put incompletely-initialized addresses in the address list for 750 When finding Myricom devices, update description for regular 751 interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port 752 aggregation enabled) 753 Fix compilation error in DAG support 754 Fix issues with CMake configuration 755 Add support for stream buffers larger than 2GB on newer DAG cards 756 Remove support for building against DAG versions without STREAMS 757 support (before dag-3.0.0 2007) 758 759Tuesday, Oct. 25, 2016 mcr@sandelman.ca 760 Summary for 1.8.1 libpcap release 761 Add a target in Makefile.in for Exuberant Ctags use: 'extags'. 762 Rename configure.in to configure.ac: autoconf 2.59 763 Clean up the name-to-DLT mapping table. 764 Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS 765 Clarify what the return values are for both success and failure. 766 Many changes to build on windows 767 Check for the "break the loop" condition in the inner loop for TPACKET_V3. 768 Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. 769 Filter out duplicate looped back CAN frames. 770 Fix the handling of loopback filters for IPv6 packets. 771 Add a link-layer header type for RDS (IEC 62106) groups. 772 Use different intermediate folders for x86 and x64 builds on Windows. 773 On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. 774 Removes the need for the "host-endian" link-layer header type. 775 Compile with '-Wused-but-marked-unused' in devel mode if supported 776 Have separate DLTs for big-endian and host-endian SocketCAN headers. 777 Reflect version.h being renamed to pcap_version.h. 778 Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! 779 Properly check for sock_recv() errors. 780 Re-impose some of Winsock's limitations on sock_recv(). 781 Replace sprintf() with pcap_snprintf(). 782 Fix signature of pcap_stats_ex_remote(). 783 Initial cmake support for remote packet capture. 784 Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. 785 Clean up {DAG, Septel, Myricom SNF}-only builds. 786 Do UTF-16-to-ASCII conversion into the right place. 787 pcap_create_interface() needs the interface name on Linux. 788 Clean up hardware time stamp support: the "any" device does not support any time stamp types. 789 Add support for capturing on FreeBSD usbusN interfaces. 790 Add a LINKTYPE/DLT_ value for FreeBSD USB. 791 Go back to using PCAP_API on Windows. 792 CMake support 793 Add TurboCap support from WinPcap. 794 Recognize 802.1ad nested VLAN tag in vlan filter. 795 796Thursday Sep. 3, 2015 guy@alum.mit.edu 797 Summary for 1.7.5 libpcap release 798 Man page cleanups. 799 Add some allocation failure checks. 800 Fix a number of Linux/ucLinux configure/build issues. 801 Fix some memory leaks. 802 Recognize 802.1ad nested VLAN tag in vlan filter. 803 Fix building Bluetooth Linux Monitor support with BlueZ 5.1+ 804 805Saturday Jun. 27, 2015 mcr@sandelman.ca 806 Summary for 1.7.4 libpcap release 807 Include fix for GitHub issue #424 -- out of tree builds. 808 809Friday Apr. 10, 2015 guy@alum.mit.edu 810 Summary for 1.7.3 libpcap release 811 Work around a Linux bonding driver bug. 812 813Thursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca 814 Summary for 1.7.2 libpcap release 815 Support for filtering Geneve encapsulated packets. 816 Generalize encapsulation handling, fixing some bugs. 817 Don't add null addresses to address lists. 818 Add pcap_dump_open_append() to open for appending. 819 Fix the swapping of isochronous descriptors in Linux USB. 820 Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel. 821 822Wednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca 823 Summary for 1.7.0 libpcap release 824 Fix handling of zones for BPF on Solaris 825 new DLT for ZWAVE 826 clarifications for read timeouts. 827 Use BPF extensions in compiled filters, fixing VLAN filters 828 some fixes to compilation without stdint.h 829 EBUSY can now be returned by SNFv3 code. 830 Fix the range checks in BPF loads 831 Various DAG fixes. 832 Various Linux fixes. 833 834Monday Aug. 12, 2014 guy@alum.mit.edu 835 Summary for 1.6.2 libpcap release 836 Don't crash on filters testing a nonexistent link-layer type 837 field. 838 Fix sending in non-blocking mode on Linux with memory-mapped 839 capture. 840 Fix timestamps when reading pcap-ng files on big-endian 841 machines. 842 843Saturday Jul. 19, 2014 mcr@sandelman.ca 844 Summary for 1.6.1 libpcap release 845 some fixes for the any device 846 changes for how --enable-XXX (--enable-sniffing, --enable-can) works 847 848Wednesday Jul. 2, 2014 mcr@sandelman.ca 849 Summary for 1.6.0 libpcap release 850 Don't support D-Bus sniffing on OS X 851 fixes for byte order issues with NFLOG captures 852 Handle using cooked mode for DLT_NETLINK in activate_new(). 853 on platforms where you can not capture on down interfaces, do not list them 854 but: do list interfaces which are down, if you can capture on them! 855 856Wednesday December 18, 2013 guy@alum.mit.edu 857Summary for 1.5.3 libpcap release 858 Don't let packets that don't match the current filter get to the 859 application when TPACKET_V3 is used. (GitHub issue #331) 860 Fix handling of pcap_loop()/pcap_dispatch() with a packet count 861 of 0 on some platforms (including Linux with TPACKET_V3). 862 (GitHub issue #333) 863 Work around TPACKET_V3 deficiency that causes packets to be lost 864 when a timeout of 0 is specified. (GitHub issue #335) 865 Man page formatting fixes. 866 867Wednesday December 4, 2013 guy@alum.mit.edu 868Summary for 1.5.2 libpcap release 869 Fix libpcap to work when compiled with TPACKET_V3 support and 870 running on a kernel without TPACKET_V3 support. (GitHub 871 issue #329) 872 873Wednesday November 20, 2013 guy@alum.mit.edu 874Summary for 1.5.1 libpcap release 875 Report an error, rather than crashing, if an IPv6 address is 876 used for link-layer filtering. (Wireshark bug 9376) 877 878Wednesday October 30, 2013 guy@alum.mit.edu 879Summary for 1.5.0 libpcap release 880 TPACKET_V3 support added for Linux 881 Point users to the the-tcpdump-group repository on GitHub rather 882 than the mcr repository 883 Checks added for malloc()/realloc()/etc. failures 884 Fixed build on Solaris 11 885 Support filtering E1 SS7 traffic on MTP2 layer Annex A 886 Use "ln -s" to link man pages by default 887 Add support for getting nanosecond-resolution time stamps when 888 capturing and reading capture files 889 Many changes to autoconf to deal better with non-GCC compilers 890 added many new DLT types 891 892Saturday April 6, 2013 guy@alum.mit.edu 893Summary for 1.4.0 libpcap release 894 Add netfilter/nfqueue interface. 895 If we don't have support for IPv6 address resolution, support, 896 in filter expressions, what IPv6 stuff we can. 897 Fix pcap-config to include -lpthread if canusb support is 898 present 899 Try to fix "pcap_parse not defined" problems when --without-flex 900 and --without-bison are used when you have Flex and Bison 901 Fix some issues with the pcap_loop man page. 902 Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 903 supplied error message buffer 904 Fix typo that, it appeared, would cause pcap-libdlpi.c not to 905 compile (perhaps systems with libdlpi also have BPF and use 906 that instead) 907 Catch attempts to call pcap_compile() on a non-activated pcap_t 908 Fix crash on Linux with CAN-USB support without usbfs 909 Fix addition of VLAN tags for Linux cooked captures 910 Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 911 that the driver can report either one if it doesn't support 912 SIOCETHTOOL 913 Add DLT_INFINIBAND and DLT_SCTP 914 Describe "proto XXX" and "protochain XXX" in the pcap-filter man 915 page 916 Handle either directories, or symlinks to directories, that 917 correspond to interfaces in /sys/class/net 918 Fix handling of VLAN tag insertion to check, on Linux 3.x 919 kernels, for VLAN tag valid flag 920 Clean up some man pages 921 Support libnl3 as well as libnl1 and libnl2 on Linux 922 Fix handling of Bluetooth devices on 3.x Linux kernels 923 924Friday March 30, 2012. mcr@sandelman.ca 925Summary for 1.3.0 libpcap release 926 Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 927 Linux: Don't fail if netfilter isn't enabled in the kernel. 928 Add new link-layer type for NFC Forum LLCP. 929 Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 930 Add LINKTYPE_NG40/DLT_NG40. 931 Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 932 [PATCH] Fix AIX-3.5 crash with read failure during stress 933 AIX fixes. 934 Introduce --disable-shared configure option. 935 Added initial support for canusb devices. 936 Include the pcap(3PCAP) additions as 1.2.1 changes. 937 many updates to documentation: pcap.3pcap.in 938 Improve 'inbound'/'outbound' capture filters under Linux. 939 Note the cleanup of handling of new DLT_/LINKTYPE_ values. 940 On Lion, don't build for PPC. 941 For mac80211 devices we need to clean up monitor mode on exit. 942 943Friday December 9, 2011. guy@alum.mit.edu. 944Summary for 1.2.1 libpcap release 945 Update README file. 946 Fix typos in README.linux file. 947 Clean up some compiler warnings. 948 Fix Linux compile problems and tests for ethtool.h. 949 Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 950 toolchains. 951 Support 802.1 QinQ as a form of VLAN in filters. 952 Treat "carp" as equivalent to "vrrp" in filters. 953 Fix code generated for "ip6 protochain". 954 Add some new link-layer header types. 955 Support capturing NetFilter log messages on Linux. 956 Clean up some error messages. 957 Turn off monitor mode on exit for mac80211 interfaces on Linux. 958 Fix problems turning monitor mode on for non-mac80211 interfaces 959 on Linux. 960 Properly fail if /sys/class/net or /proc/net/dev exist but can't 961 be opened. 962 Fail if pcap_activate() is called on an already-activated 963 pcap_t, and add a test program for that. 964 Fix filtering in pcap-ng files. 965 Don't build for PowerPC on Mac OS X Lion. 966 Simplify handling of new DLT_/LINKTYPE_ values. 967 Expand pcap(3PCAP) man page. 968 969Sunday July 24, 2011. mcr@sandelman.ca. 970Summary for 1.2 libpcap release 971 All of the changes listed below for 1.1.1 and 1.1.2. 972 Changes to error handling for pcap_findalldevs(). 973 Fix the calculation of the frame size in memory-mapped captures. 974 Add a link-layer header type for STANAG 5066 D_PDUs. 975 Add a link-layer type for a variant of 3GPP TS 27.010. 976 Noted real nature of LINKTYPE_ARCNET. 977 Add a link-layer type for DVB-CI. 978 Fix configure-script discovery of VLAN acceleration support. 979 see https://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 980 Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 981 Protect against including AIX 5.x's <net/bpf.h> having been included. 982 Add DLT_DBUS, for raw D-Bus messages. 983 Treat either EPERM or EACCES as "no soup for you". 984 Changes to permissions on DLPI systems. 985 Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 986 987Fri. August 6, 2010. guy@alum.mit.edu. 988Summary for 1.1.2 libpcap release 989 Return DLT_ values, not raw LINKTYPE_ values from 990 pcap_datalink() when reading pcap-ng files 991 Add support for "wlan ra" and "wlan ta", to check the RA and TA 992 of WLAN frames that have them 993 Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 994 headers 995 Do filtering on USB and Bluetooth capturing 996 On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 997 Check for valid port numbers (fit in a 16-bit unsigned field) in 998 "port" filters 999 Reject attempts to put savefiles into non-blocking mode 1000 Check for "no such device" for the "get the media types" ioctl 1001 in *BSD 1002 Improve error messages from bpf_open(), and let it do the error 1003 handling 1004 Return more specific errors from pcap_can_set_rfmon(); fix 1005 documentation 1006 Update description fetching code for FreeBSD, fix code for 1007 OpenBSD 1008 Ignore /sys/net/dev files if we get ENODEV for them, not just 1009 ENXIO; fixes handling of bonding devices on Linux 1010 Fix check for a constant 0 argument to BPF_DIV 1011 Use the right version of ar when cross-building 1012 Free any filter set on a savefile when the savefile is closed 1013 Include the CFLAGS setting when configure was run in the 1014 compiler flags 1015 Add support for 802.15.4 interfaces on Linux 1016 1017Thu. April 1, 2010. guy@alum.mit.edu. 1018Summary for 1.1.1 libpcap release 1019 Update CHANGES to reflect more of the changes in 1.1.0. 1020 Fix build on RHEL5. 1021 Fix shared library build on AIX. 1022 1023Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 1024Summary for 1.1.0 libpcap release 1025 Add SocketCAN capture support 1026 Add Myricom SNF API support 1027 Update Endace DAG and ERF support 1028 Add support for shared libraries on Solaris, HP-UX, and AIX 1029 Build, install, and un-install shared libraries by default; 1030 don't build/install shared libraries on platforms we don't support 1031 Fix building from a directory other than the source directory 1032 Fix compiler warnings and builds on some platforms 1033 Update config.guess and config.sub 1034 Support monitor mode on mac80211 devices on Linux 1035 Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 1036 value 1037 On Linux, scan /sys/class/net for devices if we have it; scan 1038 it, or /proc/net/dev if we don't have /sys/class/net, even if 1039 we have getifaddrs(), as it'll find interfaces with no 1040 addresses 1041 Add limited support for reading pcap-ng files 1042 Fix BPF driver-loading error handling on AIX 1043 Support getting the full-length interface description on FreeBSD 1044 In the lexical analyzer, free up any addrinfo structure we got back 1045 from getaddrinfo(). 1046 Add support for BPF and libdlpi in OpenSolaris (and SXCE) 1047 Hyphenate "link-layer" everywhere 1048 Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 1049 In pcap_read_linux_mmap(), if there are no frames available, call 1050 poll() even if we're in non-blocking mode, so we pick up 1051 errors, and check for the errors in question. 1052 Note that poll() works on BPF devices is Snow Leopard 1053 If an ENXIO or ENETDOWN is received, it may mean the device has 1054 gone away. Deal with it. 1055 For BPF, raise the default capture buffer size to from 32k to 512k 1056 Support ps_ifdrop on Linux 1057 Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 1058 under cygwin. 1059 Changes to Linux mmapped captures. 1060 Fix bug where create_ring would fail for particular snaplen and 1061 buffer size combinations 1062 Update pcap-config so that it handles libpcap requiring 1063 additional libraries 1064 Add workaround for threadsafeness on Windows 1065 Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 1066 DLT: Add DLT_CAN_SOCKETCAN 1067 DLT: Add Solaris ipnet 1068 Don't check for DLT_IPNET if it's not defined 1069 Add link-layer types for Fibre Channel FC-2 1070 Add link-layer types for Wireless HART 1071 Add link-layer types for AOS 1072 Add link-layer types for DECT 1073 Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 1074 Install headers unconditionally, and include vlan.h/bluetooth.h if 1075 enabled 1076 Autoconf fixes+cleanup 1077 Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 1078 Support disabling SITA support (--without-sita) 1079 Return -1 on failure to create packet ring (if supported but 1080 creation failed) 1081 Fix handling of 'any' device, so that it can be opened, and no longer 1082 attempt to open it in Monitor mode 1083 Add support for snapshot length for USB Memory-Mapped Interface 1084 Fix configure and build on recent Linux kernels 1085 Fix memory-mapped Linux capture to support pcap_next() and 1086 pcap_next_ex() 1087 Fixes for Linux USB capture 1088 DLT: Add DLT_LINUX_EVDEV 1089 DLT: Add DLT_GSMTAP_UM 1090 DLT: Add DLT_GSMTAP_ABIS 1091 1092Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 1093 Compile with IPv6 support by default 1094 Compile with large file support on by default 1095 Add pcap-config script, which deals with -I/-L flags for compiling 1096 DLT: Add IPMB 1097 DLT: Add LAPD 1098 DLT: Add AX25 (AX.25 w/KISS header) 1099 DLT: Add JUNIPER_ST 1100 802.15.4 support 1101 Variable length 802.11 header support 1102 X2E data type support 1103 SITA ACN Interface support - see README.sita 1104 Support for memory-mapped capture on Linux 1105 Support for zerocopy BPF on platforms that support it 1106 Support for setting buffer size when opening devices 1107 Support for setting monitor mode when opening 802.11 devices 1108 Better support for dealing with VLAN tagging/stripping on Linux 1109 Fix dynamic library support on OSX 1110 Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 1111 can print better diagnostic information 1112 Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 1113 applications can tell the user they need to go play with permissions 1114 On Linux, ignore ENETDOWN so we can continue to capture packets if the 1115 interface goes down and comes back up again. 1116 On Linux, support new tpacket frame headers (2.6.27+) 1117 On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 1118 On Solaris, support 'passive mode' on systems that support it 1119 Fixes to autoconf and general build environment 1120 Man page reorganization + cleanup 1121 Autogenerate VERSION numbers better 1122 1123Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 1124 Change build process to put public libpcap headers into pcap subdir 1125 DLT: Add value for IPMI IPMB packets 1126 DLT: Add value for u10 Networks boards 1127 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 1128 libpcap files on an OS other than where the file was generated 1129 1130Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 1131 1132 Put the public libpcap headers into a pcap subdirectory in both the 1133 source directory and the target include directory, and have include 1134 files at the top-level directory to include those headers, for 1135 backwards compatibility. 1136 Add Bluetooth support 1137 Add USB capturing support on Linux 1138 Add support for the binary USB sniffing interface in Linux 1139 Add support for new FreeBSD BIOCSDIRECTION ioctl 1140 Add additional filter operations for 802.11 frame types 1141 Add support for filtering on MTP2 frame types 1142 Propagate some changes from the main branch, so the x.9 branch has 1143 all the DLT_ and LINKTYPE_ values that the main branch does 1144 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 1145 encapsulated packets 1146 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 1147 by Linux drivers 1148 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 1149 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 1150 Add DLT for Bluetooth HCI UART transport layer 1151 When building a shared library, build with "-fPIC" on Linux to support x86_64 1152 Link with "$(CC) -shared" rather than "ld -shared" when building a 1153 ".so" shared library 1154 Add support for autoconf 2.60 1155 Fixes to discard unread packets when changing filters 1156 Changes to handle name changes in the DAG library resulting from 1157 switching to libtool. 1158 Add support for new DAG ERF types. 1159 Add an explicit "-ldag" when building the shared library, so the DAG 1160 library dependency is explicit. 1161 Mac OSX fixes for dealing with "wlt" devices 1162 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 1163 device lists 1164 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 1165 was not checked. 1166 1167Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 1168 1169 Support for LAPD frames with vISDN 1170 Support for ERF on channelized T1/E1 cards via DAG API 1171 Fix capitalization that caused issues crossc compiling on Linux 1172 Better failure detection on PacketGetAdapterNames() 1173 Fixes for MPLS packet generation (link layer) 1174 OP_PACKET now matches the beginning of the packet, instead of 1175 beginning+link-layer 1176 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 1177 Fix allocation of buffer for list of link-layer types 1178 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communication Messages 1179 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 1180 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 1181 Added definition for DLT_A429 and LINKTYPE_A429 as #184. 1182 Added a new DLT and LINKTYPE value for CAN v2.0B frames. 1183 Add support for DLT_JUNIPER_VP. 1184 Don't double-count received packets on Linux systems that 1185 support the PACKET_STATISTICS getsockopt() argument on 1186 PF_PACKET sockets. 1187 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 1188 layers in Windows 1189 Add support to build libpcap.lib and wpcap.dll under Cygnus and 1190 MingW32. 1191 1192Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 1193 1194 Support for radiotap on Linux (Mike Kershaw) 1195 Fixes for HP-UX 1196 Support for additional Juniper link-layer types 1197 Fixes for filters on MPLS-encapsulated packets 1198 "vlan" filter fixed 1199 "pppoed" and "pppoes" filters added; the latter modifies later 1200 parts of the filter expression to look at the PPP headers and 1201 headers in the PPP payload 1202 1203Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 1204 1205 Fixes for compiling on nearly every platform, 1206 including improved 64bit support 1207 MSDOS Support 1208 Add support for sending packets 1209 OpenBSD pf format support 1210 IrDA capture (Linux only) 1211 1212Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 1213 1214 Fixed minor problem in gencode.c that would appear on 64-bit 1215 platforms. 1216 Version number is now sane. 1217 1218Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 1219 1220 updates for autoconf 2.5 1221 fixes for ppp interfaces for freebsd 4.1 1222 pcap gencode can generate code for 802.11, IEEE1394, and pflog. 1223 1224Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 1225 1226 added pcap_findalldevs() 1227 Win32 patches from NetGroup, Politecnico di Torino (Italy) 1228 OpenBSD pf, DLT_PFLOG added 1229 Many changes to ATM support. 1230 lookup pcap_lookupnet() 1231 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 1232 DLT_IP_OVER_FC, DLT_FRELAY, others. 1233 Sigh. More AIX wonderfulness. 1234 Document updates. 1235 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 1236 pcap_list_datalinks(), pcap_set_datalink(), 1237 pcap_lib_version(), pcap_datalink_val_to_name(), 1238 pcap_datalink_name_to_val(), new error returns. 1239 1240Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 1241 1242 Support link types that use 802.2 always, never, and sometimes. 1243 Don't decrease the size of the BPF buffer from the default. 1244 Support frame relay. 1245 Handle 32-bit timestamps in DLPI, and pass the right buffer size. 1246 Handle Linux systems with modern kernel but without 1247 SOL_PACKET in the userland headers. 1248 Linux support for ARPHRD_RAWHDLC. 1249 Handle 32-bit timestamps in snoop. 1250 Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 1251 Add new reserved DLT types. 1252 1253Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 1254 1255 Added pcap_findalldevs() call to get list of interfaces in a MI way. 1256 1257 pcap_stats() has been documented as to what its counters mean on 1258 each platform. 1259 1260Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 1261 1262 New Linux libpcap implementation, which, in 2.2 and later 1263 kernels, uses PF_PACKET sockets and supports kernel packet 1264 filtering (if compiled into the kernel), and supports the "any" 1265 device for capturing on all interfaces. Cleans up promiscuous 1266 mode better on pre-2.2 kernels, and has various other fixes 1267 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 1268 doesn't show duplicate packets on loopback interface, etc.). 1269 1270 Fixed HP-UX libpcap implementation to correctly get the PPA for 1271 an interface, to allow interfaces to be opened by interface name. 1272 1273 libpcap savefiles have system-independent link-layer type values 1274 in the header, rather than sometimes platform-dependent DLT_ 1275 values, to make it easier to exchange capture files between 1276 different OSes. 1277 1278 Non-standard capture files produced by some Linux tcpdumps, e.g. 1279 the one from Red Hat Linux 6.2 and later, can now be read. 1280 1281 Updated autoconf stock files. 1282 1283 Filter expressions can filter on VLAN IDs and various OSI 1284 protocols, and work on Token Ring (with non-source-routed 1285 packets). 1286 1287 "pcap_open_dead()" added to allow compiling filter expressions 1288 to pcap code without opening a capture device or capture file. 1289 1290 Header files fixed to allow use in C++ programs. 1291 1292 Removed dependency on native headers for packet layout. 1293 Removed Linux specific headers that were shipped. 1294 1295 Security fixes: Strcpy replaced with strlcpy, sprintf replaced 1296 with snprintf. 1297 1298 Fixed bug that could cause subsequent "pcap_compile()"s to fail 1299 erroneously after one compile failed. 1300 1301 Assorted other bug fixes. 1302 1303 README.aix and README.linux files added to describe 1304 platform-specific issues. 1305 1306 "getifaddrs()" rather than SIOCGIFCONF used, if available. 1307 1308v0.5 Sat Jun 10 11:09:15 PDT 2000 1309 1310itojun@iijlab.net 1311- Brought in KAME IPv6/IPsec bpf compiler. 1312- Fixes for NetBSD. 1313- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 1314 and changes to work around different BSDs having different DLT_ types 1315 with the same numeric value. 1316 1317Assar Westerlund <assar@sics.se> 1318- Building outside the source code tree fixed. 1319- Changed to write out time stamps with 32-bit seconds and microseconds 1320 fields, regardless of whether those fields are 32 bits or 64 bits in 1321 the OS's native "struct timeval". 1322- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 1323 the list of interfaces is read as necessary in order to hold the 1324 entire list. 1325 1326Greg Troxel <gdt@ir.bbn.com> 1327- Added a new "pcap_compile_nopcap()", which lets you compile a filter 1328 expression into a BPF program without having an open live capture or 1329 capture file. 1330 1331v0.4 Sat Jul 25 12:40:09 PDT 1998 1332 1333- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 1334 Fenner (fenner@parc.xerox.com) 1335 1336- Fix alignment problem with FDDI under DLPI. This was causing core 1337 dumps under Solaris. 1338 1339- Added configure options to disable flex and bison. Resulted from a 1340 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 1341 options to disable gcc and to force a particular packet capture type. 1342 1343- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 1344 to John Hawkinson (jhawk@mit.edu) 1345 1346- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 1347 supply any "link layer" data. 1348 1349- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 1350 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 1351 1352- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 1353 "link layer" data. 1354 1355- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 1356 formats. 1357 1358- Added some new SGI snoop interface types. Thanks to Steve Alexander 1359 (sca@refugee.engr.sgi.com) 1360 1361- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 1362 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 1363 1364- Fddi supports broadcast as reported by Jeff Macdonald 1365 (jeff@iacnet.com). Also correct ieee802 and arcnet. 1366 1367- Determine Linux pcap buffer size at run time or else it might not be 1368 big enough for some interface types (e.g. FDDI). Thanks to Jes 1369 Sorensen (Jes.Sorensen@cern.ch) 1370 1371- Fix some linux alignment problems. 1372 1373- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 1374 (ianm@sics.se) 1375 1376- Support Metricom radio packets under Linux. Thanks to Kevin Lai 1377 (laik@gunpowder.stanford.edu) 1378 1379- Bind to interface name under Linux to avoid packets from multiple 1380 interfaces on multi-homed hosts. Thanks to Kevin Lai 1381 (laik@gunpowder.stanford.edu) 1382 1383- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 1384 (rroberts@muller.com) 1385 1386- Fixed an uninitialized memory reference found by Kent Vander Velden 1387 (graphix@iastate.edu) 1388 1389- Fixed lex pattern for IDs to allow leading digits. As reported by 1390 Theo de Raadt (deraadt@cvs.openbsd.org) 1391 1392- Fixed Linux include file problems when using GNU libc. 1393 1394- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 1395 Reported reported by Eric Jacksch (jacksch@tenebris.ca) 1396 1397- Fixed bug in pcap_dispatch() that kept it from returning on packet 1398 timeouts. 1399 1400- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 1401 for "lo" followed by an eos or digit (newer versions of Linux 1402 apparently call the loopback "lo" instead of "lo0"). 1403 1404- Fixed Linux networking include files to use ints instead of longs to 1405 avoid problems with 64 bit longs on the alpha. Thanks to Cristian 1406 Gafton (gafton@redhat.com) 1407 1408v0.3 Sat Nov 30 20:56:27 PST 1996 1409 1410- Added Linux support. 1411 1412- Fixed savefile bugs. 1413 1414- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 1415 1416- Add support for bpf kernel port filters. 1417 1418- Remove duplicate atalk protocol table entry. Thanks to Christian 1419 Hopps (chopps@water.emich.edu) 1420 1421- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 1422 reported to happen under BSD/OS by David Vincenzetti 1423 (vince@cryptonet.it) 1424 1425- Avoid solaris compiler warnings. Thanks to Bruce Barnett 1426 (barnett@grymoire.crd.ge.com) 1427 1428v0.2.1 Sun Jul 14 03:02:26 PDT 1996 1429 1430- Fixes for HP-UX 10. Thanks in part to Thomas Wolfram 1431 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 1432 1433- Added support for SINIX. Thanks to Andrej Borsenkow 1434 (borsenkow.msk@sni.de) 1435 1436- Fixes for AIX (although this system is not yet supported). Thanks to 1437 John Hawkinson (jhawk@mit.edu) 1438 1439- Use autoconf's idea of the top level directory in install targets. 1440 Thanks to John Hawkinson. 1441 1442- Add missing autoconf packet capture result message. Thanks to Bill 1443 Fenner (fenner@parc.xerox.com) 1444 1445- Fixed padding problems in the pf module. 1446 1447- Fixed some more alignment problems on the alpha. 1448 1449- Added explicit netmask support. Thanks to Steve Nuchia 1450 (steve@research.oknet.com) 1451 1452- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 1453 justifying" 1454 1455- Add "sca" keyword (for DEC cluster services) as suggested by Terry 1456 Kennedy (terry@spcvxa.spc.edu) 1457 1458- Add "atalk" keyword as suggested by John Hawkinson. 1459 1460- Add "igrp" keyword. 1461 1462- Fixed HID definition in grammar.y to be a string, not a value. 1463 1464- Use $CC when checking gcc version. Thanks to Carl Lindberg 1465 (carl_lindberg@blacksmith.com) 1466 1467- Removed obsolete reference to pcap_immediate() from the man page. 1468 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 1469 1470- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 1471 (jch@bsdi.com) 1472 1473v0.2 Sun Jun 23 02:28:42 PDT 1996 1474 1475- Add support for HP-UX. Resulted from code contributed by Tom Murray 1476 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 1477 (philipp@res.enst.fr) 1478 1479- Update INSTALL with a reminder to install include files. Thanks to 1480 Mark Andrews (mandrews@aw.sgi.com) 1481 1482- Fix bpf compiler alignment bug on the alpha. 1483 1484- Use autoconf to detect architectures that can't handle misaligned 1485 accesses. 1486 1487- Added loopback support for snoop. Resulted from report Steve 1488 Alexander (sca@engr.sgi.com) 1489 1490v0.1 Fri Apr 28 18:11:03 PDT 1995 1491 1492- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 1493 comparison operators, while the code generator and optimizer assumed 1494 signed semantics in several places. Thanks to Charlie Slater 1495 (cslater@imatek.com) for pointing this out. 1496 1497- Removed FDDI ifdef's, they aren't really needed. Resulted from report 1498 by Gary Veum (veum@boa.gsfc.nasa.gov). 1499 1500- Add pcap-null.c which allows offline use of libpcap on systems that 1501 don't support live package capture. This feature resulting from a 1502 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 1503 1504- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 1505 (Pascal.Hennequin@hugo.int-evry.fr). 1506 1507- Port to GNU autoconf. 1508 1509- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 1510 Johansen (fsj@csd.cri.dk). 1511 1512- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 1513 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 1514 1515- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 1516 by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 1517 1518- Add support for "long jumps". Thanks to Jeffrey Mogul 1519 (mogul@pa.dec.com). 1520 1521- Fix minor problems when compiling with BDEBUG as noticed by Scott 1522 Bertilson (scott@unet.umn.edu). 1523 1524- Declare sys_errlist "const char *const" to avoid problems under 1525 FreeBSD. Resulted from report by jher@eden.com. 1526 1527v0.0.6 Fri Apr 28 04:07:13 PDT 1995 1528 1529- Add missing variable declaration missing from 0.0.6 1530 1531v0.0.5 Fri Apr 28 00:22:21 PDT 1995 1532 1533- Workaround for problems when pcap_read() returns 0 due to the timeout 1534 expiring. 1535 1536v0.0.4 Thu Apr 20 20:41:48 PDT 1995 1537 1538- Change configuration to not use gcc v2 flags with gcc v1. 1539 1540- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 1541 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 1542 1543- Fixed configure to test for snoop before dlpi to avoid problems under 1544 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 1545 1546- Hack around deficiency in Ultrix's make. 1547 1548- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 1549 savefiles that have more than snapshot bytes of data in them (so we 1550 can read old savefiles) and avoid writing such files. 1551 1552- Added checkioctl which is used with gcc to check that the 1553 "fixincludes" script has been run. 1554 1555v0.0.3 Tue Oct 18 18:13:46 PDT 1994 1556 1557- Fixed configure to test for snoop before dlpi to avoid problems under 1558 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 1559 1560v0.0.2 Wed Oct 12 20:56:37 PDT 1994 1561 1562- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 1563 Stevens. 1564 1565- Determine pcap link type from dlpi media type. Resulted from report 1566 by Mahesh Jethanandani (mahesh@npix.com). 1567 1568v0.0.1 Fri Jun 24 14:50:57 PDT 1994 1569 1570- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 1571 wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 1572 Invalid argument" error under OSF/1. Reported by Matt Day 1573 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 1574 1575- Turn on FDDI support by default. 1576 1577v0.0 Mon Jun 20 19:20:16 PDT 1994 1578 1579- Initial release. 1580 1581- Fixed bug with greater/less keywords, reported by Mark Andrews 1582 (mandrews@alias.com). 1583 1584- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 1585 by Elan Amir (elan@leeb.cs.berkeley.edu). 1586 1587- Machines with little-endian byte ordering are supported thanks to 1588 Jeff Mogul. 1589 1590- Add hack for version 2.3 savefiles which don't have caplen and len 1591 swapped thanks to Vern Paxson. 1592 1593- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 1594 1595- Added length, inbound and outbound keywords. 1596