1*afdbf109SJoseph MingroneFriday, August 30, 2024 / The Tcpdump Group 2*afdbf109SJoseph Mingrone Summary for 1.10.5 libpcap release 3*afdbf109SJoseph Mingrone Source code: 4*afdbf109SJoseph Mingrone Spell WirelessHART details properly. 5*afdbf109SJoseph Mingrone Mark pcap_vasprintf() as printf-like. 6*afdbf109SJoseph Mingrone Finalize moving of bpf_filter.c. (GH #1166) 7*afdbf109SJoseph Mingrone Remove an unneeded argument from gen_mcode6(). 8*afdbf109SJoseph Mingrone Don't do some Berkeley YACC workarounds with YACC releases not 9*afdbf109SJoseph Mingrone requiring them. 10*afdbf109SJoseph Mingrone Use correct data types rather than int in some cases. 11*afdbf109SJoseph Mingrone Squelch compiler warning in grammar.c. 12*afdbf109SJoseph Mingrone Fix findalldevtest compilation if IPv6 isn't enabled. 13*afdbf109SJoseph Mingrone Rename helper routines for pcap modules to have names beginning with 14*afdbf109SJoseph Mingrone pcapint_, to avoid namespace collisions for code linking statically 15*afdbf109SJoseph Mingrone with libpcap. 16*afdbf109SJoseph Mingrone Avoid casting hack for the Windows cleanup-on-exit routine. 17*afdbf109SJoseph Mingrone Use %zu format for one case of printing a size_t. 18*afdbf109SJoseph Mingrone Fix some Coverity errors. 19*afdbf109SJoseph Mingrone Fix availabilities of some functions to match reality. 20*afdbf109SJoseph Mingrone pcap: make the seconds and microseconds/nanoseconds fields unsigned. 21*afdbf109SJoseph Mingrone Remove the unused pcap-rpcap-int.h header file. 22*afdbf109SJoseph Mingrone Thread safety: 23*afdbf109SJoseph Mingrone Make some static variables thread-local; fixes issue #1174. 24*afdbf109SJoseph Mingrone Packet filtering: 25*afdbf109SJoseph Mingrone Improve reporting of some invalid filter expressions. 26*afdbf109SJoseph Mingrone Return an error from pcap_compile() if the scanner fails to initialize. 27*afdbf109SJoseph Mingrone Optimizer fix from Archit Shah to recompute dominators after 28*afdbf109SJoseph Mingrone moving code (#976); fixes #945 (although the resulting filter 29*afdbf109SJoseph Mingrone isn't empty). 30*afdbf109SJoseph Mingrone Optimizer fix from Archit Shah to mark value as unknown when store 31*afdbf109SJoseph Mingrone of that value is deleted (#972); fixes #143, #434, #436, #437, 32*afdbf109SJoseph Mingrone and #1076. 33*afdbf109SJoseph Mingrone Linux: 34*afdbf109SJoseph Mingrone Properly return warnings. 35*afdbf109SJoseph Mingrone Don't use DLT_LINUX_SLL2 for anything other than the "any" device. 36*afdbf109SJoseph Mingrone Avoid 32-bit unsigned integer overflow in USB captures. Fixes 37*afdbf109SJoseph Mingrone issues #1134 and #1205. 38*afdbf109SJoseph Mingrone Fix a file descriptor leak. 39*afdbf109SJoseph Mingrone Properly report warnings about unknown ARPHRD_ types. 40*afdbf109SJoseph Mingrone Fix DLT_CAN_SOCKETCAN handling of CAN FD. 41*afdbf109SJoseph Mingrone Add CAN XL support to DLT_CAN_SOCKETCAN. 42*afdbf109SJoseph Mingrone Clean up the code that sets the "real" ("original") length for 43*afdbf109SJoseph Mingrone isochronous USB transfers. 44*afdbf109SJoseph Mingrone Avoid unnecessary blocking on recvmsg() in the Bluetooth monitor and 45*afdbf109SJoseph Mingrone Bluetoth modules. 46*afdbf109SJoseph Mingrone Solaris: 47*afdbf109SJoseph Mingrone Handle BPF returning ESRCH for unknown devices. 48*afdbf109SJoseph Mingrone List the "any" device if it's supported. 49*afdbf109SJoseph Mingrone Report {non-existent zone}/{interface} errors appropriately. 50*afdbf109SJoseph Mingrone Allow attaching to links owned by a non-global zone. (Based on 51*afdbf109SJoseph Mingrone pull request #1202.) 52*afdbf109SJoseph Mingrone Fix AF_LINK handling on illumos. 53*afdbf109SJoseph Mingrone macOS: 54*afdbf109SJoseph Mingrone Redid the availability macros to be closer to what Apple's doing 55*afdbf109SJoseph Mingrone in recent SDKs, including tagging pcap-namedb.h routines. 56*afdbf109SJoseph Mingrone Fix the install name of the installed shared library to have a 57*afdbf109SJoseph Mingrone full path when building with CMake. 58*afdbf109SJoseph Mingrone Fix universal builds. 59*afdbf109SJoseph Mingrone Haiku: 60*afdbf109SJoseph Mingrone Convert the module to C. Fixes issue #1114. 61*afdbf109SJoseph Mingrone Address a few compiler warnings. Fixes issue #1114. 62*afdbf109SJoseph Mingrone Fix various build problems. Fixes issue #1114. 63*afdbf109SJoseph Mingrone Report non-existent devices correctly. 64*afdbf109SJoseph Mingrone Fix handling of packet statistics. 65*afdbf109SJoseph Mingrone Fix packet timestamping. 66*afdbf109SJoseph Mingrone Fix packet filtering with low snaplen. 67*afdbf109SJoseph Mingrone Improve connection status reporting. 68*afdbf109SJoseph Mingrone Add support for promiscuous mode. 69*afdbf109SJoseph Mingrone Detect DLTs and loopback capture support at run time. 70*afdbf109SJoseph Mingrone Report IEEE 802.11 as PCAP_IF_WIRELESS. 71*afdbf109SJoseph Mingrone Windows: 72*afdbf109SJoseph Mingrone Fix internal handling of "not supported" error codes from NPF. 73*afdbf109SJoseph Mingrone Work around a bug in Npcap 1.00 in case of driver version mismatch. 74*afdbf109SJoseph Mingrone Don't call WSACleanup() when handling a failed WSAStartup(). 75*afdbf109SJoseph Mingrone BSD, macOS, AIX, Solaris 11, Linux: 76*afdbf109SJoseph Mingrone Add a new error PCAP_ERROR_CAPTURE_NOTSUP, for use if a capture 77*afdbf109SJoseph Mingrone mechanism is not present, in the hopes that, for example, 78*afdbf109SJoseph Mingrone attempts to capture on Windows Services for Linux 1, in which 79*afdbf109SJoseph Mingrone the NT kernel attempts to simulate Linux system calls but does 80*afdbf109SJoseph Mingrone not support packet sockets, can get an error that better 81*afdbf109SJoseph Mingrone indicates the underlying problem. 82*afdbf109SJoseph Mingrone AirPcap: 83*afdbf109SJoseph Mingrone Format an error message if we run out of memory. 84*afdbf109SJoseph Mingrone nflog: 85*afdbf109SJoseph Mingrone Fix count of dropped packets. 86*afdbf109SJoseph Mingrone Make sure we don't overflow when rounding up the TLV length. 87*afdbf109SJoseph Mingrone rpcap: 88*afdbf109SJoseph Mingrone Handle routines removed in at least some OpenSSL libraries. 89*afdbf109SJoseph Mingrone CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid 90*afdbf109SJoseph Mingrone double frees in some cases. 91*afdbf109SJoseph Mingrone Don't define SOCKET ourselves; instead, define PCAP_SOCKET as int 92*afdbf109SJoseph Mingrone on UN*Xes and as SOCKET on Windows. 93*afdbf109SJoseph Mingrone CVE-2024-8006: Fix pcap_findalldevs_ex() not to crash if passed a 94*afdbf109SJoseph Mingrone file:// URL with a path to a directory that cannot be opened. 95*afdbf109SJoseph Mingrone Savefiles: 96*afdbf109SJoseph Mingrone Handle DLT_/LINKTYPE_ mapping better, to handle some 97*afdbf109SJoseph Mingrone OpenBSD-specific link types better. 98*afdbf109SJoseph Mingrone Treat if_tsoffset as signed in pcapng files, as the spec says. 99*afdbf109SJoseph Mingrone Don't try to fix the "real" length for isochronous USB 100*afdbf109SJoseph Mingrone transfers if the number of USB descriptors is too large. 101*afdbf109SJoseph Mingrone Reject pcap files where one of the reserved fields in the 102*afdbf109SJoseph Mingrone "link-layer type plus other stuff" is non-zero. 103*afdbf109SJoseph Mingrone Building and testing: 104*afdbf109SJoseph Mingrone Add a configure option to help debugging (--enable-instrument-functions). 105*afdbf109SJoseph Mingrone Improved tests and error reporting for uses of pkg-config, and 106*afdbf109SJoseph Mingrone improve help message. 107*afdbf109SJoseph Mingrone Fix Haiku build. 108*afdbf109SJoseph Mingrone With CMake, install headers in CMAKE_INSTALL_INCLUDEDIR rather 109*afdbf109SJoseph Mingrone than just include. 110*afdbf109SJoseph Mingrone Build libpcap.a before building test programs. 111*afdbf109SJoseph Mingrone Print address family numerically, as well as symbolically, 112*afdbf109SJoseph Mingrone in findalldevstest. 113*afdbf109SJoseph Mingrone Fail with suggestions, rather than failing over to no capture 114*afdbf109SJoseph Mingrone support, if no capture mechanism was found. Fixes issue #1016. 115*afdbf109SJoseph Mingrone Don't indent comments in Make, as that may cause them not to be 116*afdbf109SJoseph Mingrone recognized as comments. 117*afdbf109SJoseph Mingrone Don't check for libssl if we aren't going to use it. 118*afdbf109SJoseph Mingrone Better handle enabling and disabling of sanitizers. Fixes issue 119*afdbf109SJoseph Mingrone #1171. 120*afdbf109SJoseph Mingrone CMakeLists.txt: Print "Symlinking: /some/path to ..." conditionally. 121*afdbf109SJoseph Mingrone Evaluate CMAKE_INSTALL_PREFIX at install time. 122*afdbf109SJoseph Mingrone cmake: Update the minimum required version to 2.8.12 (except Windows). 123*afdbf109SJoseph Mingrone cmake: suppress CMP0042 OLD deprecated warning. 124*afdbf109SJoseph Mingrone Makefile.in: Add the releasecheck target. 125*afdbf109SJoseph Mingrone Cirrus CI: Add the "make releasecheck" command in the Linux task. 126*afdbf109SJoseph Mingrone Makefile.in: Add the whitespacecheck target. 127*afdbf109SJoseph Mingrone Cirrus CI: Run the "make whitespacecheck" command in the Linux task. 128*afdbf109SJoseph Mingrone Autoconf: Update config.{guess,sub}, timestamps 2024-01-01. 129*afdbf109SJoseph Mingrone Autoconf: Update the install-sh script to the 2020-11-14.01 version. 130*afdbf109SJoseph Mingrone Compile with '-Wnull-pointer-subtraction', 131*afdbf109SJoseph Mingrone '-Wunused-but-set-parameter', and '-Wunused-but-set-variable' in 132*afdbf109SJoseph Mingrone devel mode if supported. 133*afdbf109SJoseph Mingrone Don't ignore spaces between CMAKE_C_FLAGS and DPDK_C_FLAGS with 134*afdbf109SJoseph Mingrone CMake. 135*afdbf109SJoseph Mingrone Use noreturn and __format__ with XL C 7.0 and later. 136*afdbf109SJoseph Mingrone Check for the same -W flags in autotools and CMake. 137*afdbf109SJoseph Mingrone Autoconf: Add autogen.sh, remove configure and config.h.in and put 138*afdbf109SJoseph Mingrone these generated files in the release tarball. 139*afdbf109SJoseph Mingrone Autoconf: Get the size of a time_t. 140*afdbf109SJoseph Mingrone Fix propagation of cc_werr_cflags() output. 141*afdbf109SJoseph Mingrone Makefile.in(s): Fix the depend target. 142*afdbf109SJoseph Mingrone mkdep: Exit with a non-zero status if a command fails. 143*afdbf109SJoseph Mingrone Fix HCI_CHANNEL_MONITOR detection with musl libc. 144*afdbf109SJoseph Mingrone Extend "make shellcheck" onto mkdep too. 145*afdbf109SJoseph Mingrone Add initial support for building with TinyCC. 146*afdbf109SJoseph Mingrone Address all known compiler warnings specific to illumos, Linux, NetBSD, 147*afdbf109SJoseph Mingrone Solaris and Sun C; in CI expect warnings specific to TinyCC only. 148*afdbf109SJoseph Mingrone Documentation: 149*afdbf109SJoseph Mingrone Update and fix pcap-filter man page. 150*afdbf109SJoseph Mingrone Add a README.haiku.md file. 151*afdbf109SJoseph Mingrone Document pcap-config better. 152*afdbf109SJoseph Mingrone Man page formatting and prose fixes. 153*afdbf109SJoseph Mingrone Rename doc/README.Win32.md to doc/README.windows.md. 154*afdbf109SJoseph Mingrone Update pcap-savefile man page to match the Internet-Draft for 155*afdbf109SJoseph Mingrone pcap. 156*afdbf109SJoseph Mingrone Fix CMake issues for target used by other projects. 157*afdbf109SJoseph Mingrone Explain "any" device better in pcap_open_live(3PCAP). 158*afdbf109SJoseph Mingrone Update INSTALL.md. 159*afdbf109SJoseph Mingrone Note in man pages that errbuf arguments must point to an error 160*afdbf109SJoseph Mingrone buffer. 161*afdbf109SJoseph Mingrone Note that if pcap_findalldevs() fails it sets *alldevsp to NULL; 162*afdbf109SJoseph Mingrone there's no devices list to free. 163*afdbf109SJoseph Mingrone Explain "other addresses" in pcap_findalldevs(3PCAP). 164*afdbf109SJoseph Mingrone Document pcap_lookupnet(3PCAP) a bit better. 165*afdbf109SJoseph Mingrone 166dd744a89SJoseph MingroneFriday, April 7, 2023 / The Tcpdump Group 167dd744a89SJoseph Mingrone Summary for 1.10.4 libpcap release 168dd744a89SJoseph Mingrone Source code: 169dd744a89SJoseph Mingrone Fix spaces before tabs in indentation. 170dd744a89SJoseph Mingrone rpcap: 171dd744a89SJoseph Mingrone Fix name of launchd service. 172dd744a89SJoseph Mingrone Documentation: 173dd744a89SJoseph Mingrone Document use of rpcapd with systemd, launchd, inetd, and xinetd. 174dd744a89SJoseph Mingrone Building and testing: 175dd744a89SJoseph Mingrone Require at least pkg-config 0.17.0, as we use --static. 176dd744a89SJoseph Mingrone Get rid of the remains of gnuc.h. 177dd744a89SJoseph Mingrone Require at least autoconf 2.69. 178dd744a89SJoseph Mingrone Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. 179dd744a89SJoseph Mingrone 1806f9cba8fSJoseph MingroneThursday, January 12, 2023 / The Tcpdump Group 1816f9cba8fSJoseph Mingrone Summary for 1.10.3 libpcap release 1826f9cba8fSJoseph Mingrone Source code: 1836f9cba8fSJoseph Mingrone Sort the PUBHDR variable in Makefile.in in "ls" order. 1846f9cba8fSJoseph Mingrone Fix typo in comment in pflog.h. 1856f9cba8fSJoseph Mingrone Remove two no-longer-present files from .gitignore. 1866f9cba8fSJoseph Mingrone Update code and comments for handling failure to set promiscuous 1876f9cba8fSJoseph Mingrone mode based on new information. 1886f9cba8fSJoseph Mingrone Building and testing: 1896f9cba8fSJoseph Mingrone install: Fixed not to install the non-public pcap-util.h header. 1906f9cba8fSJoseph Mingrone pcap-config: add a --version flag. 1916f9cba8fSJoseph Mingrone Makefile.in: Add some missing files in the distclean target. 1926f9cba8fSJoseph Mingrone 1936f9cba8fSJoseph MingroneSaturday, December 31, 2022 / The Tcpdump Group 1946f9cba8fSJoseph Mingrone Summary for 1.10.2 libpcap release 1956f9cba8fSJoseph Mingrone Source code: 1966f9cba8fSJoseph Mingrone Use __builtin_unreachable() in PCAP_UNREACHABLE. 1976f9cba8fSJoseph Mingrone Use AS_HELP_STRING macro instead of AC_HELP_STRING in the 1986f9cba8fSJoseph Mingrone configure scripts, to avoid deprecation warnings. 1996f9cba8fSJoseph Mingrone Change availability tags in pcap.h to make it easier to 2006f9cba8fSJoseph Mingrone arrange for it to be used in Darwin releases. 2016f9cba8fSJoseph Mingrone Use AS_HELP_STRING for --enable-remote. 2026f9cba8fSJoseph Mingrone Fix some formatting string issues found by cppcheck. 2036f9cba8fSJoseph Mingrone Various small code and comment cleanups. 2046f9cba8fSJoseph Mingrone Use PCAP_ERROR (defined as -1) rather than explicit -1 for 2056f9cba8fSJoseph Mingrone functions the documentation says return PCAP_ERROR. 2066f9cba8fSJoseph Mingrone Remove unused code from the filter compiler. 2076f9cba8fSJoseph Mingrone Use _declspec(deprecated(msg)) rather than __pragma(deprecated) 2086f9cba8fSJoseph Mingrone for Windows deprecation warnings, so the message that was 2096f9cba8fSJoseph Mingrone specified shows up. 2106f9cba8fSJoseph Mingrone diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. 2116f9cba8fSJoseph Mingrone Use "%d" to print some signed ints. 2126f9cba8fSJoseph Mingrone Use the Wayback Machine for a removed document in a comment. 2136f9cba8fSJoseph Mingrone Add some const qualifiers. 2146f9cba8fSJoseph Mingrone RDMA: Use PRIu64 to print a uint64_t. 2156f9cba8fSJoseph Mingrone "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision(): 2166f9cba8fSJoseph Mingrone Don't crash if pcap_breakloop() is called. 2176f9cba8fSJoseph Mingrone Savefiles: 2186f9cba8fSJoseph Mingrone Fix pcap_dispatch() to return number of packets processed, rather 2196f9cba8fSJoseph Mingrone than 0, even at EOF. 2206f9cba8fSJoseph Mingrone If we get an error writing the packet header, don't write the 2216f9cba8fSJoseph Mingrone packet data. 2226f9cba8fSJoseph Mingrone Put PFLOG UID and PID values in the header into host byte order 2236f9cba8fSJoseph Mingrone when reading a LINKTYPE_PFLOG file. 2246f9cba8fSJoseph Mingrone Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do 2256f9cba8fSJoseph Mingrone for LINUX_SLL. 226*afdbf109SJoseph Mingrone Fix incorrectly-computed "real" length for isochronous USB 2276f9cba8fSJoseph Mingrone transfers when reading savefiles. 2286f9cba8fSJoseph Mingrone Don't crash if pcap_can_set_rfmon() is called. 2296f9cba8fSJoseph Mingrone Fix pcap_offline_read() loop. 2306f9cba8fSJoseph Mingrone Capture: 2316f9cba8fSJoseph Mingrone Never process more than INT_MAX packets in a pcap_dispatch() call, 2326f9cba8fSJoseph Mingrone to avoid integer overflow (issue #1087). 2336f9cba8fSJoseph Mingrone Improve error messages for "no such device" and "permission 2346f9cba8fSJoseph Mingrone denied" errors. 2356f9cba8fSJoseph Mingrone SITA: Fix a typo in a variable name. 2366f9cba8fSJoseph Mingrone Packet filtering: 2376f9cba8fSJoseph Mingrone Get PFLOG header length from the length value in the header. 2386f9cba8fSJoseph Mingrone Support all the direction, reason, and action types supported by 2396f9cba8fSJoseph Mingrone all systems that support PFLOG. 2406f9cba8fSJoseph Mingrone Don't require PFLOG support on the target machine in order to 2416f9cba8fSJoseph Mingrone support PFLOG filtering (also fixes issue #1076). 2426f9cba8fSJoseph Mingrone Expand abbreviations into "proto X" properly. 2436f9cba8fSJoseph Mingrone gencode.c: Update a comment about the VLAN TPID test. 2446f9cba8fSJoseph Mingrone Add the minimum and maximum matching DLTs to an error message. 2456f9cba8fSJoseph Mingrone Linux: 2466f9cba8fSJoseph Mingrone Fix memory leak in capture device open (pull request #1038). 2476f9cba8fSJoseph Mingrone Fix detection of CAN/CAN FD packets in direction check (issue 2486f9cba8fSJoseph Mingrone #1051). 2496f9cba8fSJoseph Mingrone Fix double-free crashes on errors such as running on a kernel with 2506f9cba8fSJoseph Mingrone CONFIG_PACKET_MMAP not configured (issue #1054). 2516f9cba8fSJoseph Mingrone Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes 2526f9cba8fSJoseph Mingrone changes from pull request #1035). 2536f9cba8fSJoseph Mingrone Make sure the CANFD_FDF can be relied on to indicate whether a 2546f9cba8fSJoseph Mingrone CANbus packet is a CAN frame or a CAN FD frame 2556f9cba8fSJoseph Mingrone Improve error message for "out of memory" errors for kernel 2566f9cba8fSJoseph Mingrone filters (see issue #1089). 2576f9cba8fSJoseph Mingrone Fix pcap_findalldevs() to find usbmon devices. 2586f9cba8fSJoseph Mingrone Fix handling of VLAN tagged packets if the link-layer type is 2596f9cba8fSJoseph Mingrone changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). 2606f9cba8fSJoseph Mingrone Always turn on PACKET_AUXDATA (see issue #1105). 2616f9cba8fSJoseph Mingrone We require 2.6.27 or later, so PACKET_RESERVE is available. 2626f9cba8fSJoseph Mingrone Make sure there's reserved space for a DLT_LINUX_SLL2 header 2636f9cba8fSJoseph Mingrone when capturing. 2646f9cba8fSJoseph Mingrone Correctly compute the "real" length for isochronous USB transfers. 2656f9cba8fSJoseph Mingrone Don't have an eventfd descriptor open in non-blocking mode, so as 2666f9cba8fSJoseph Mingrone not to waste descriptors. 2676f9cba8fSJoseph Mingrone netfilter: Squelch a narrowing warning (To be look at before 2038). 2686f9cba8fSJoseph Mingrone BPF capture (*BSD, macOS, AIX, Solaris 11): 2696f9cba8fSJoseph Mingrone Fix case where a device open might fail, rather than falling back 2706f9cba8fSJoseph Mingrone to a smaller buffer size, when the initial buffer size is too 2716f9cba8fSJoseph Mingrone big. 2726f9cba8fSJoseph Mingrone Use an unsigned device number to iterate over BPF devices, to 2736f9cba8fSJoseph Mingrone squelch a compiler warning. 2746f9cba8fSJoseph Mingrone NetBSD: 2756f9cba8fSJoseph Mingrone Fix handling of LINKTYPE_HDLC/DLT_HDLC. 2766f9cba8fSJoseph Mingrone rpcap: 2776f9cba8fSJoseph Mingrone Fix unaligned accesses in rpcapd (pull request #1037). 2786f9cba8fSJoseph Mingrone Fix code to process port number. 2796f9cba8fSJoseph Mingrone Clean up findalldevs code in rpcapd. 2806f9cba8fSJoseph Mingrone Clean up bufferizing code. 2816f9cba8fSJoseph Mingrone Fix a file descriptor/handle leak in pcap_findalldevs_ex() 2826f9cba8fSJoseph Mingrone (Coverity CID 1507240). 2836f9cba8fSJoseph Mingrone Improve error messages for host and port resolution errors. 2846f9cba8fSJoseph Mingrone Fix connect code not to fail if both IPv4 and IPv6 addresses are 2856f9cba8fSJoseph Mingrone tried. 2866f9cba8fSJoseph Mingrone Improve connect failure error message. 2876f9cba8fSJoseph Mingrone Provide an error message for a bad authentication reply size. 2886f9cba8fSJoseph Mingrone For link-layer types with host-endian fields in the header, fix 2896f9cba8fSJoseph Mingrone those fields if capturing from a server with a different byte 2906f9cba8fSJoseph Mingrone order. 2916f9cba8fSJoseph Mingrone Suppress temporarily the warnings with "enable remote packet capture". 2926f9cba8fSJoseph Mingrone Windows: 2936f9cba8fSJoseph Mingrone Add support for NdisMediumIP (pull request #1027). 2946f9cba8fSJoseph Mingrone Don't require applications using pcap to be built with VS 2015 or 2956f9cba8fSJoseph Mingrone later. 2966f9cba8fSJoseph Mingrone Use the correct string for the DLL VersionInfo. 2976f9cba8fSJoseph Mingrone Remove unnecessary DllMain() function. 2986f9cba8fSJoseph Mingrone Correctly handle ERROR_INVALID_FUNCTION from 2996f9cba8fSJoseph Mingrone PacketGetTimestampModes() (indicate that WinPcap or an older 3006f9cba8fSJoseph Mingrone version of Npcap is probably installed). 3016f9cba8fSJoseph Mingrone Fix use-after-free in some cases when a pcap_t is closed. 3026f9cba8fSJoseph Mingrone Make sure an error is returned by pcap_create_interface() if 3036f9cba8fSJoseph Mingrone PacketOpenAdapter() fails. 3046f9cba8fSJoseph Mingrone Return an error if the driver reports 0 timestamp modes supported. 3056f9cba8fSJoseph Mingrone Close the ADAPTER handle for some errors in 3066f9cba8fSJoseph Mingrone pcap_create_interface(). 307*afdbf109SJoseph Mingrone Get rid of old unmaintained VS project files. 3086f9cba8fSJoseph Mingrone Fix deprecation warning for pcap_handle(). 3096f9cba8fSJoseph Mingrone Npcap is now at npcap.com, not npcap.org. 3106f9cba8fSJoseph Mingrone Make sure "no such device" and "no permission to open device" 3116f9cba8fSJoseph Mingrone errors show up in pcap_activate(), not pcap_create() (fixes, 3126f9cba8fSJoseph Mingrone among other things, tcpdump -i <interface-number>). 3136f9cba8fSJoseph Mingrone npcap: squelch deprecation warnings for kernel dump mode. 3146f9cba8fSJoseph Mingrone Haiku: 3156f9cba8fSJoseph Mingrone Implement pcap_lib_version(), as now required. 3166f9cba8fSJoseph Mingrone Handle negative or too-large snaplen values. 3176f9cba8fSJoseph Mingrone Fix various build issues and warnings. 3186f9cba8fSJoseph Mingrone Building and testing: 3196f9cba8fSJoseph Mingrone Update configure-time universal build checks for macOS. 3206f9cba8fSJoseph Mingrone Update config.guess and config.sub. 3216f9cba8fSJoseph Mingrone If we look for an SSL library with pkg-config in configure script, 3226f9cba8fSJoseph Mingrone try pkg-config first. 3236f9cba8fSJoseph Mingrone If we have pkg-config and Homebrew, try to set pkg-config up to 3246f9cba8fSJoseph Mingrone find Homebrew packages. 3256f9cba8fSJoseph Mingrone Handle some Autoconf/make errors better. 3266f9cba8fSJoseph Mingrone Use "git archive" for the "make releasetar" process. 3276f9cba8fSJoseph Mingrone Remove the release candidate rcX targets. 3286f9cba8fSJoseph Mingrone Fix compiling on Solaris 9/SPARC and 11/AMD64. 3296f9cba8fSJoseph Mingrone Address assorted compiler warnings. 3306f9cba8fSJoseph Mingrone Fix cross-building on Linux for Windows with mingw32 for Win64 3316f9cba8fSJoseph Mingrone (pull request #1031). 3326f9cba8fSJoseph Mingrone Properly set installation directory on Windows when not compiling 3336f9cba8fSJoseph Mingrone with MSVC. 3346f9cba8fSJoseph Mingrone Fix configure script checks for compiler flags. 3356f9cba8fSJoseph Mingrone Give more details if check for usable (F)Lex fails. 3366f9cba8fSJoseph Mingrone Fix compiling with GCC 4.6.4. 3376f9cba8fSJoseph Mingrone Don't use add_compile_options() with CMake, as we currently don't 3386f9cba8fSJoseph Mingrone require 2.8.12, where it first appeared. 3396f9cba8fSJoseph Mingrone Don't provide -L/usr/lib for pkg-config --libs in pkg-config. 3406f9cba8fSJoseph Mingrone Fix error message for inadequate Bison/Berkeley YACC. 3416f9cba8fSJoseph Mingrone configure: correctly do some DPDK checks. 3426f9cba8fSJoseph Mingrone Only use pkg-config when checking for DPDK. 3436f9cba8fSJoseph Mingrone Allow the path in which DPDK is installed to be specified. 3446f9cba8fSJoseph Mingrone Use pkg-config first when checking for libibverbs. 3456f9cba8fSJoseph Mingrone CMake: fix check for libibverbs with Sun's C compiler. 3466f9cba8fSJoseph Mingrone Have CMake warn if no capture mechanism can be found. 3476f9cba8fSJoseph Mingrone Don't do stuff requiring 3.19 or later on earlier CMakes. 3486f9cba8fSJoseph Mingrone Squelch some CMake warnings. 3496f9cba8fSJoseph Mingrone Fix diag-control.h to handle compiling with clang-cl (issues 3506f9cba8fSJoseph Mingrone #1101 and #1115). 3516f9cba8fSJoseph Mingrone Cleanup various leftover cruft in the configure script. 3526f9cba8fSJoseph Mingrone Fix building without protochain support. (GH #852) 3536f9cba8fSJoseph Mingrone Check for a usable YACC (or Bison) and {F}lex in CMake, as we do 3546f9cba8fSJoseph Mingrone in autotools. 3556f9cba8fSJoseph Mingrone Only check for a C++ compiler on Haiku, as that's the only 3566f9cba8fSJoseph Mingrone platform with C++ code, and make sure they generate code for 3576f9cba8fSJoseph Mingrone the same instruction set bit-width (both 32-bit or both 64-bit) 3586f9cba8fSJoseph Mingrone (issue #1112). 3596f9cba8fSJoseph Mingrone On Solaris, check the target bit-width and set PKG_CONFIG_PATH 3606f9cba8fSJoseph Mingrone appropriately, to handle the mess that is the D-Bus library 3616f9cba8fSJoseph Mingrone package (issue #1112). 3626f9cba8fSJoseph Mingrone Fix generation of pcap-config and libpcap.pc files (issue #1062). 3636f9cba8fSJoseph Mingrone pcap-config: don't assume the system library directory is /usr/lib. 3646f9cba8fSJoseph Mingrone pcap-config: add a --static-pcap-only flag. 3656f9cba8fSJoseph Mingrone Cirrus CI: Use the same configuration as for the main branch. 3666f9cba8fSJoseph Mingrone Add four libpcap test files. 3676f9cba8fSJoseph Mingrone Update Npcap SDK to 1.13. 3686f9cba8fSJoseph Mingrone Makefile.in: Use TEST_DIST, like for tcpdump. 3696f9cba8fSJoseph Mingrone Remove awk code from mkdep. 3706f9cba8fSJoseph Mingrone Cirrus CI: Add the libssl-dev package in the Linux task. 3716f9cba8fSJoseph Mingrone Cirrus CI: Add the openssl@3 brew package in the macOS task. 3726f9cba8fSJoseph Mingrone Get "make shellcheck" to pass again. 3736f9cba8fSJoseph Mingrone CMake: Build valgrindtest only if Autoconf would. 3746f9cba8fSJoseph Mingrone CMake: use ${CMAKE_INSTALL_SBINDIR} rather than just sbin. 3756f9cba8fSJoseph Mingrone CMake: use NUL: as the null device on Windows. 3766f9cba8fSJoseph Mingrone autoconf: fix typo in test of macOS version. 3776f9cba8fSJoseph Mingrone Makefile.in: Add two missing files in EXTRA_DIST. 3786f9cba8fSJoseph Mingrone autotools, cmake: provide an rpath option if necessary. 3796f9cba8fSJoseph Mingrone configure: get rid of the attempt to auto-run PKG_PROG_PKG_CONFIG. 3806f9cba8fSJoseph Mingrone configure: use PKG_CHECK_MODULES to run pkg-config. 3816f9cba8fSJoseph Mingrone Documentation: 3826f9cba8fSJoseph Mingrone Add README.solaris.md. 3836f9cba8fSJoseph Mingrone Add SCTP to pcap-filter(7). 3846f9cba8fSJoseph Mingrone Note that = and == are the same operator in filters (issue #1044). 3856f9cba8fSJoseph Mingrone Update INSTALL.md, README.md, and README.solaris.md. 3866f9cba8fSJoseph Mingrone Update and clean up CONTRIBUTING.md. 3876f9cba8fSJoseph Mingrone Trim documentation of support for now-dead UN*Xe and older 3886f9cba8fSJoseph Mingrone versions of other UN*Xes. 3896f9cba8fSJoseph Mingrone Move the "how to allocate a LINKTYPE_/DLT_ value" documentation to 3906f9cba8fSJoseph Mingrone the web site. 3916f9cba8fSJoseph Mingrone Clean up man pages. 3926f9cba8fSJoseph Mingrone Move README.capture-module to the web site. 3936f9cba8fSJoseph Mingrone Improve some protocol details in pcap-filter(7). 3946f9cba8fSJoseph Mingrone Refine "relop" notes in pcap-filter(7). 3956f9cba8fSJoseph Mingrone In pcap-filter(7) "domain" is an id. 3966f9cba8fSJoseph Mingrone Discuss backward compatibility in pcap-filter(7). 3976f9cba8fSJoseph Mingrone Other improvements to pcap-filter(7). 3986f9cba8fSJoseph Mingrone Document pcap_breakloop(3PCAP) interaction with threads better. 3996f9cba8fSJoseph Mingrone Document PCAP_ERROR_NOT_ACTIVATED for more routines. 4006f9cba8fSJoseph Mingrone 4016f9cba8fSJoseph MingroneWednesday, June 9, 2021: 4026f9cba8fSJoseph Mingrone Summary for 1.10.1 libpcap release: 4036f9cba8fSJoseph Mingrone Packet filtering: 4046f9cba8fSJoseph Mingrone Fix "type XXX subtype YYY" giving a parse error 4056f9cba8fSJoseph Mingrone Source code: 4066f9cba8fSJoseph Mingrone Add PCAP_AVAILABLE_1_11. 4076f9cba8fSJoseph Mingrone Building and testing: 4086f9cba8fSJoseph Mingrone Rename struct bpf_aux_data to avoid NetBSD compile errors 4096f9cba8fSJoseph Mingrone Squelch some compiler warnings 4106f9cba8fSJoseph Mingrone Squelch some Bison warnings 4116f9cba8fSJoseph Mingrone Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR 4126f9cba8fSJoseph Mingrone Fix Bison detection for minor version 0. 4136f9cba8fSJoseph Mingrone Fix parallel build with FreeBSD make. 4146f9cba8fSJoseph Mingrone Get DLT_MATCHING_MAX right in gencode.c on NetBSD. 4156f9cba8fSJoseph Mingrone Define timeradd() and timersub() if necessary. 4166f9cba8fSJoseph Mingrone Fix Cygwin/MSYS target directories. 4176f9cba8fSJoseph Mingrone Fix symlinking with DESTDIR. 4186f9cba8fSJoseph Mingrone Fix generation of libpcap.pc with CMake when not building a shared 4196f9cba8fSJoseph Mingrone library. 4206f9cba8fSJoseph Mingrone Check for Arm64 as well as x86-64 when looking for packet.lib on 4216f9cba8fSJoseph Mingrone Windows. 4226f9cba8fSJoseph Mingrone Documentation: 4236f9cba8fSJoseph Mingrone Refine Markdown in README.md. 4246f9cba8fSJoseph Mingrone Improve the description of portrange in filters. 4256f9cba8fSJoseph Mingrone README.linux.md isn't Markdown, rename it just README.linux. 4266f9cba8fSJoseph Mingrone pcapng: 4276f9cba8fSJoseph Mingrone Support reading version 1.2, which some writers produce, and which 4286f9cba8fSJoseph Mingrone is the same as 1.0 (some new block types were added, but 4296f9cba8fSJoseph Mingrone that's not sufficient reason to bump the minor version number, 4306f9cba8fSJoseph Mingrone as code that understands those new block types can handle them 4316f9cba8fSJoseph Mingrone in a 1.0 file) 4326f9cba8fSJoseph Mingrone Linux: 4336f9cba8fSJoseph Mingrone Drop support for text-mode USB captures, as we require a 2.6.27 4346f9cba8fSJoseph Mingrone or later kernel (credit to Chaoyuan Peng for noting the 4356f9cba8fSJoseph Mingrone sscanf vulnerabilities in the text-mode code that got me to 4366f9cba8fSJoseph Mingrone realize that we didn't need this code any more) 4376f9cba8fSJoseph Mingrone Bluetooth: fix non-blocking mode. 4386f9cba8fSJoseph Mingrone Don't assume that all compilers used to build for Linux support 4396f9cba8fSJoseph Mingrone the __atomic builtins 4406f9cba8fSJoseph Mingrone Windows: 4416f9cba8fSJoseph Mingrone Add more information in "interface disappeared" error messages, in 4426f9cba8fSJoseph Mingrone the hopes of trying to figure out the cause. 4436f9cba8fSJoseph Mingrone Treat ERROR_DEVICE_REMOVED as "device was removed". 4446f9cba8fSJoseph Mingrone Indicate in the error message which "device was removed" error 4456f9cba8fSJoseph Mingrone occurred. 4466f9cba8fSJoseph Mingrone Report the Windows error status if PacketSendPacket() fails. 4476f9cba8fSJoseph Mingrone Use %lu for ULONGs in error message formats. 4486f9cba8fSJoseph Mingrone Don't treat the inability to find airpcap.dll as an error. 4496f9cba8fSJoseph Mingrone Ignore spurious error reports by Microsoft Surface mobile 4506f9cba8fSJoseph Mingrone telephony modem driver 4516f9cba8fSJoseph Mingrone rpcap: 4526f9cba8fSJoseph Mingrone Clean up error checking and error messages for server address 4536f9cba8fSJoseph Mingrone lookup. 4546f9cba8fSJoseph Mingrone 4556f9cba8fSJoseph MingroneTuesday, December 29, 2020 4566f9cba8fSJoseph Mingrone Summary for 1.10.0 libpcap release 4576f9cba8fSJoseph Mingrone Add support for capturing on DPDK devices 4586f9cba8fSJoseph Mingrone Label most APIs by the first release in which they're available 4596f9cba8fSJoseph Mingrone Fix some memory leaks, including in pcap_compile() 4606f9cba8fSJoseph Mingrone Add pcap_datalink_val_to_description_or_dlt() 4616f9cba8fSJoseph Mingrone Handle the pcap private data in a fashion that makes fewer 4626f9cba8fSJoseph Mingrone assumptions about memory layouts (might fix GitHub issue #940 4636f9cba8fSJoseph Mingrone on ARM) 4646f9cba8fSJoseph Mingrone Fix some thread safety issues 4656f9cba8fSJoseph Mingrone pcap_findalldevs(): don't sort interfaces by unit number 4666f9cba8fSJoseph Mingrone Always return a list of supported time-stamp types, even if only 4676f9cba8fSJoseph Mingrone host time stamps are supported 4686f9cba8fSJoseph Mingrone Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP 4696f9cba8fSJoseph Mingrone Report the DLT description in error messages 4706f9cba8fSJoseph Mingrone Add pcap_init() for first-time initialization and global option 4716f9cba8fSJoseph Mingrone setting; it's not required, but may be used 4726f9cba8fSJoseph Mingrone Remove (unused) SITA support 4736f9cba8fSJoseph Mingrone Capture file reading: 4746f9cba8fSJoseph Mingrone Correctly handle pcapng captures with more than one IDB with a 475*afdbf109SJoseph Mingrone snapshot length greater than the supported maximum 4766f9cba8fSJoseph Mingrone Capture file writing: 4776f9cba8fSJoseph Mingrone Create the file in pcap_dump_open_append() if it doesn't exist 4786f9cba8fSJoseph Mingrone Packet filtering: 4796f9cba8fSJoseph Mingrone Fix "unknown ether proto 'aarp'" 4806f9cba8fSJoseph Mingrone Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all 4816f9cba8fSJoseph Mingrone platforms and live Linux captures 4826f9cba8fSJoseph Mingrone Add a hack to the optimizer to try to catch certain optimizer 4836f9cba8fSJoseph Mingrone loops (should prevent GitHub issue #112) 4846f9cba8fSJoseph Mingrone Show special Linux BPF offsets symbolically in bpf_image() and 4856f9cba8fSJoseph Mingrone bpf_dump() 4866f9cba8fSJoseph Mingrone Added support for ICMPv6 types 1-4 as tokens with names 4876f9cba8fSJoseph Mingrone Remove undocumented and rather old "ether proto" protocols 4886f9cba8fSJoseph Mingrone Catch invalid IPv4 addresses in filters 4896f9cba8fSJoseph Mingrone Don't assume ARM supports unaligned accesses 4906f9cba8fSJoseph Mingrone Security and other issues found by analysis: 4916f9cba8fSJoseph Mingrone Fix various security issues reported by Charles Smith at Tangible 4926f9cba8fSJoseph Mingrone Security 4936f9cba8fSJoseph Mingrone Fix various security issues reported by Include Security 4946f9cba8fSJoseph Mingrone Fix some issues found by cppcheck. 4956f9cba8fSJoseph Mingrone Add some overflow checks in the optimizer 4966f9cba8fSJoseph Mingrone rpcap: 4976f9cba8fSJoseph Mingrone Support rpcap-over-TLS 4986f9cba8fSJoseph Mingrone Redo protocol version negotiation to avoid problems with old 4996f9cba8fSJoseph Mingrone servers (it still works with servers using the old negotiation, 5006f9cba8fSJoseph Mingrone as well as servers not supporting negotiation) 5016f9cba8fSJoseph Mingrone Error handling cleanups 5026f9cba8fSJoseph Mingrone Add some new authentication libpcap error codes for specific 5036f9cba8fSJoseph Mingrone errors 5046f9cba8fSJoseph Mingrone Fix some inetd issues in rpcapd 5056f9cba8fSJoseph Mingrone Fix rpcapd core dumps with invalid configuration file 5066f9cba8fSJoseph Mingrone On UN*X, don't have rpcapd tell the client why authentication 5076f9cba8fSJoseph Mingrone failed, so a brute-force attacker can't distinguish between 5086f9cba8fSJoseph Mingrone "unknown user name" and "known user name, wrong password" 5096f9cba8fSJoseph Mingrone Allow rpcapd to rebind more rapidly (GitHub issue #765) 5106f9cba8fSJoseph Mingrone Documentation: 5116f9cba8fSJoseph Mingrone Improve man pages, including adding backward compatibility notes 5126f9cba8fSJoseph Mingrone Building and testing: 5136f9cba8fSJoseph Mingrone Require, and assume, some level of C99 support in the C compiler 5146f9cba8fSJoseph Mingrone Require Visual Studio 2015 or later if using Visual Studio 5156f9cba8fSJoseph Mingrone Fix configure script issues, including with libnl on Linux 5166f9cba8fSJoseph Mingrone Fix CMake issues 5176f9cba8fSJoseph Mingrone Squelch complaints from Bison about "%define api.pure" being 5186f9cba8fSJoseph Mingrone deprecated 5196f9cba8fSJoseph Mingrone Fix compilation of pcap-tc.c 5206f9cba8fSJoseph Mingrone Linux: 5216f9cba8fSJoseph Mingrone Require PF_PACKET support, and kernel 2.6.27 or later 5226f9cba8fSJoseph Mingrone Handle systems without AF_INET or AF_UNIX socket support 5236f9cba8fSJoseph Mingrone Get rid of Wireless Extensions for turning monitor mode on 5246f9cba8fSJoseph Mingrone Proper memory sync for PACKET_MMAP (may prevent GitHub issue 5256f9cba8fSJoseph Mingrone #898) 5266f9cba8fSJoseph Mingrone Drop support for libnl 1 and 2. 5276f9cba8fSJoseph Mingrone Return error on interface going away, but not if it just went 5286f9cba8fSJoseph Mingrone down but is still present 5296f9cba8fSJoseph Mingrone Set socket protocol only after packet ring configured, 5306f9cba8fSJoseph Mingrone reducing bogus packet drop reports 5316f9cba8fSJoseph Mingrone Get ifdrop stats from sysfs. 5326f9cba8fSJoseph Mingrone When adjusting BPF programs, do not subtract the 5336f9cba8fSJoseph Mingrone SLL[2]_HDR_LEN if the location is negative (special metadata 5346f9cba8fSJoseph Mingrone offset), to preserve references to metadata; see 5356f9cba8fSJoseph Mingrone https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment-486827278 5366f9cba8fSJoseph Mingrone Report a warning for unknown ARPHRD types 5376f9cba8fSJoseph Mingrone Have pcap_breakloop() forcibly break out of a sleeping 5386f9cba8fSJoseph Mingrone capture loop 5396f9cba8fSJoseph Mingrone Add support for DSA data link types 5406f9cba8fSJoseph Mingrone For raw USB bus capture, use the snapshot length to set the 5416f9cba8fSJoseph Mingrone buffer size, and set the len field to reflect the length 5426f9cba8fSJoseph Mingrone in the URB (GitHub issue #808) 5436f9cba8fSJoseph Mingrone With a timeout of zero, wait indefinitely 5446f9cba8fSJoseph Mingrone Clean up support for some non-GNU libc C libraries 5456f9cba8fSJoseph Mingrone Add DLT_LINUX_SLL2 for cooked-mode captures 5466f9cba8fSJoseph Mingrone Probe CONFIGURATION descriptor of connected USB devices 5476f9cba8fSJoseph Mingrone Treat EPERM on ethtool ioctls as meaning "not supported", as 5486f9cba8fSJoseph Mingrone permissions checks are done before checking whether the 5496f9cba8fSJoseph Mingrone ioctl is supported at all 5506f9cba8fSJoseph Mingrone macOS: 5516f9cba8fSJoseph Mingrone Cope with getting EPWROFF from SIOCGIFMEDIA 5526f9cba8fSJoseph Mingrone Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as 5536f9cba8fSJoseph Mingrone permissions checks are done before checking whether the 5546f9cba8fSJoseph Mingrone ioctl is supported at all 5556f9cba8fSJoseph Mingrone Treat ENXIO when reading packets as meaning "the interface 5566f9cba8fSJoseph Mingrone was removed" 5576f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5586f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5596f9cba8fSJoseph Mingrone FreeBSD: 5606f9cba8fSJoseph Mingrone Treat ENXIO as meaning "the interface was removed" 5616f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5626f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5636f9cba8fSJoseph Mingrone NetBSD: 5646f9cba8fSJoseph Mingrone Treat ENXIO as meaning "the interface was removed" 5656f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5666f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5676f9cba8fSJoseph Mingrone OpenBSD: 5686f9cba8fSJoseph Mingrone Treat EIO as meaning "the interface was removed" 5696f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5706f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5716f9cba8fSJoseph Mingrone DragonFly BSD: 5726f9cba8fSJoseph Mingrone Treat ENXIO as meaning "the interface was removed" 5736f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5746f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5756f9cba8fSJoseph Mingrone Solaris: 5766f9cba8fSJoseph Mingrone Treat ENXIO as meaning "the interface was removed" 5776f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5786f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5796f9cba8fSJoseph Mingrone AIX: 5806f9cba8fSJoseph Mingrone Fix loading of BPF kernel extension 5816f9cba8fSJoseph Mingrone Treat ENXIO as meaning "the interface was removed" 5826f9cba8fSJoseph Mingrone Report "the interface disappeared", not "the interface went 5836f9cba8fSJoseph Mingrone down", if the interface was removed during a capture 5846f9cba8fSJoseph Mingrone Windows: 5856f9cba8fSJoseph Mingrone Make the snapshot length work even if pcap_setfilter() 5866f9cba8fSJoseph Mingrone isn't called 5876f9cba8fSJoseph Mingrone Fix compilation on Cygwin/MSYS 5886f9cba8fSJoseph Mingrone Add pcap_handle(), and deprecate pcap_fileno() 589*afdbf109SJoseph Mingrone Report PCAP_ERROR_NO_SUCH_DEVICE for a nonexistent device 5906f9cba8fSJoseph Mingrone Return an appropriate error message for device removed or 5916f9cba8fSJoseph Mingrone device unusable due to a suspend/resume 5926f9cba8fSJoseph Mingrone Report a warning for unknown NdisMedium types 5936f9cba8fSJoseph Mingrone Have pcap_breakloop() forcibly break out of a sleeping 5946f9cba8fSJoseph Mingrone capture loop 5956f9cba8fSJoseph Mingrone Clean up building DLL 5966f9cba8fSJoseph Mingrone Handle CRT mismatch for pcap_dump_fopen() 5976f9cba8fSJoseph Mingrone Map NdisMediumWirelessWan to DLT_RAW 5986f9cba8fSJoseph Mingrone Add AirPcap support in a module, rather than using 5996f9cba8fSJoseph Mingrone WinPcap/Npcap's support for it 6006f9cba8fSJoseph Mingrone Report the system error for PacketSetHwFilter() failures 6016f9cba8fSJoseph Mingrone Add support for getting and setting packet time stamp types 6026f9cba8fSJoseph Mingrone with Npcap 6036f9cba8fSJoseph Mingrone Have pcap_init() allow selecting whether the API should use 6046f9cba8fSJoseph Mingrone local code page strings or UTF-8 strings (including error 6056f9cba8fSJoseph Mingrone messages) 6066f9cba8fSJoseph Mingrone Haiku: 6076f9cba8fSJoseph Mingrone Add capture support 6086f9cba8fSJoseph Mingrone 60957e22627SCy SchubertSunday, July 22, 2018 61057e22627SCy Schubert Summary for 1.9.1 libpcap release 61157e22627SCy Schubert Mention pcap_get_required_select_timeout() in the main pcap man page 61257e22627SCy Schubert Fix pcap-usb-linux.c build on systems with musl 61357e22627SCy Schubert Fix assorted man page and other documentation issues 61457e22627SCy Schubert Plug assorted memory leaks 61557e22627SCy Schubert Documentation changes to use https: 61657e22627SCy Schubert Changes to how time stamp calculations are done 61757e22627SCy Schubert Lots of tweaks to make newer compilers happier and warning-free and 61857e22627SCy Schubert to fix instances of C undefined behavior 61957e22627SCy Schubert Warn if AC_PROG_CC_C99 can't enable C99 support 62057e22627SCy Schubert Rename pcap_set_protocol() to pcap_set_protocol_linux(). 62157e22627SCy Schubert Align pcap_t private data on an 8-byte boundary. 62257e22627SCy Schubert Fix various error messages 62357e22627SCy Schubert Use 64-bit clean API in dag_findalldevs() 62457e22627SCy Schubert Fix cleaning up after some errors 62557e22627SCy Schubert Work around some ethtool ioctl bugs in newer Linux kernels (GitHub 62657e22627SCy Schubert issue #689) 62757e22627SCy Schubert Add backwards compatibility sections to some man pages (GitHub issue 62857e22627SCy Schubert #745) 62957e22627SCy Schubert Fix autotool configuration on AIX and macOS 63057e22627SCy Schubert Don't export bpf_filter_with_aux_data() or struct bpf_aux_data; 63157e22627SCy Schubert they're internal-only and subject to change 63257e22627SCy Schubert Fix pcapng block size checking 63357e22627SCy Schubert On macOS, don't build rpcapd or test programs any fatter than they 63457e22627SCy Schubert need to be 63557e22627SCy Schubert Fix reading of capture statistics for Linux USB 63657e22627SCy Schubert Fix packet size values for Linux USB packets (GitHub issue #808) 6376f9cba8fSJoseph Mingrone Check only VID in VLAN test in filters (GitHub issue #461) 63857e22627SCy Schubert Fix pcap_list_datalinks on 802.11 devices on macOS 63957e22627SCy Schubert Fix overflows with very large snapshot length in pcap file 64057e22627SCy Schubert Improve parsing of rpcapd configuration file (GitHub issue #767) 64157e22627SCy Schubert Handle systems without strlcpy() or strlcat() better 64257e22627SCy Schubert Fix crashes and other errors with invalid filter expressions 64357e22627SCy Schubert Fix use of uninitialized file descriptor in remote capture 64457e22627SCy Schubert Fix some CMake issues 64557e22627SCy Schubert Fix some divide-by-zero issues with the filter compiler 64657e22627SCy Schubert Work around a GNU libc bug in pcap_nametonetaddr() 64757e22627SCy Schubert Add support for DLT_LINUX_SLL2 64857e22627SCy Schubert Fix handling of the packet-count argument for Myricom SNF devices 64957e22627SCy Schubert Fix --disable-rdma in configure script (GitHub issue #782) 65057e22627SCy Schubert Fix compilation of TurboCap support (GitHub issue #764) 65157e22627SCy Schubert Constify first argument to pcap_findalldevs_ex() 65257e22627SCy Schubert Fix a number of issues when running rpcapd as an inetd-style daemon 65357e22627SCy Schubert Fix CMake issues with D-Bus libraries 65457e22627SCy Schubert In rpcapd, clean up termination of a capture session 65557e22627SCy Schubert Redo remote capture protocol negotiation 65657e22627SCy Schubert In rpcapd, report the same error for "invalid user name" and 65757e22627SCy Schubert "invalid password", to make brute-forcing harder 65857e22627SCy Schubert For remote captures, add an error code for "the server requires TLS" 65957e22627SCy Schubert Fix pcap_dump_fopen() on Windows to avoid clashes between 66057e22627SCy Schubert {Win,N}Pcap and application C runtimes 66157e22627SCy Schubert Fix exporting of functions from Windows DLLs (GitHub issue #810) 66257e22627SCy Schubert Fix building as part of Npcap 66357e22627SCy Schubert Allow rpcapd to rebind more rapidly 66457e22627SCy Schubert Fix building shared libpcap library on midipix (midipix.org) 66557e22627SCy Schubert Fix hack to detect UTF-16LE adapter names on Windows not to go past 66657e22627SCy Schubert the end of the string 66757e22627SCy Schubert Fix handling of "wireless WAN" (mobile phone network modems) on 66857e22627SCy Schubert Windows with WinPcap/Npcap (GitHub issue #824) 66957e22627SCy Schubert Have pcap_dump_open_append() create the dump file if it doesn't 67057e22627SCy Schubert exists (GitHub issue #247) 671*afdbf109SJoseph Mingrone Fix the maximum snapshot length for DLT_USBPCAP 67257e22627SCy Schubert Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837) 67357e22627SCy Schubert Fix CMake 64-bit library installation directory on some Linux 67457e22627SCy Schubert distributions 67557e22627SCy Schubert Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 67657e22627SCy Schubert specified 67757e22627SCy Schubert Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165 67857e22627SCy Schubert PCAPNG reader applies some sanity checks before doing malloc(). 67957e22627SCy Schubert 68057e22627SCy SchubertSunday, June 24, 2018, by mcr@sandelman.ca 681b00ab754SHans Petter Selasky Summary for 1.9.0 libpcap release 68257e22627SCy Schubert Added testing system to libpcap, independent of tcpdump 68357e22627SCy Schubert Changes to how pcap_t is activated 68457e22627SCy Schubert Adding support for Large stream buffers on Endace DAG cards 6856f9cba8fSJoseph Mingrone Changes to BSD 3-clause license to 2-clause license 68657e22627SCy Schubert Additions to TCP header parsing, per RFC3168 68757e22627SCy Schubert Add CMake build process (extensive number of changes) 68857e22627SCy Schubert Assign a value for OpenBSD DLT_OPENFLOW. 68957e22627SCy Schubert Support setting non-blocking mode before activating. 69057e22627SCy Schubert Extensive build support for Windows VS2010 and MINGW (many many changes, over many months) 69157e22627SCy Schubert Added RPCAPD support when --enable-remote (default no) 69257e22627SCy Schubert Add the rpcap daemon source and build instructions. 69357e22627SCy Schubert Put back the greasy "save the capture filter string so we can tweak it" 69457e22627SCy Schubert hack, that keeps libpcap from capturing rpcap traffic. 69557e22627SCy Schubert Fixes for captures on MacOS, utun0 69657e22627SCy Schubert fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses. 69757e22627SCy Schubert Add a linktype for IBM SDLC frames containing SNA PDUs. 69857e22627SCy Schubert pcap_compile() in 1.8.0 and later is newly thread-safe. 69957e22627SCy Schubert bound snaplen for linux tpacket_v2 to ~64k 70057e22627SCy Schubert Make VLAN filter handle both metadata and inline tags 70157e22627SCy Schubert D-Bus captures can now be up to 128MB in size 70257e22627SCy Schubert Added LORATAP DLT value 7036f9cba8fSJoseph Mingrone Added DLT_VSOCK for https://qemu-project.org/Features/VirtioVsock 70457e22627SCy Schubert probe_devices() fixes not to overrun buffer for name of device 70557e22627SCy Schubert Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol. 70657e22627SCy Schubert RDMA sniffing support for pcap 70757e22627SCy Schubert Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type. 70857e22627SCy Schubert fixes for reading /etc/ethers 70957e22627SCy Schubert Make it possible to build on Windows without packet.dll. 71057e22627SCy Schubert Add tests for large file support on UN*X. 71157e22627SCy Schubert Solaris fixes to work with 2.8.6 71257e22627SCy Schubert configuration test now looks for header files, not capture devices present 71357e22627SCy Schubert Fix to work with Berkeley YACC. 71457e22627SCy Schubert fixes for DragonBSD compilation of pcap-netmap.c 71557e22627SCy Schubert Clean up the ether_hostton() stuff. 71657e22627SCy Schubert Add an option to disable Linux memory-mapped capture support. 71757e22627SCy Schubert Add DAG API support checks. 71857e22627SCy Schubert Add Septel, Myricom SNF, and Riverbed TurboCap checks. 71957e22627SCy Schubert Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support. 72057e22627SCy Schubert Add a check for hardware time stamping on Linux. 72157e22627SCy Schubert Don't bother supporting pre-2005 Visual Studio. 72257e22627SCy Schubert Increased minimum autoconf version requirement to 2.64 72357e22627SCy Schubert Add DLT value 273 for XRA-31 sniffer 72457e22627SCy Schubert Clean up handing of signal interrupts in pcap_read_nocb_remote(). 72557e22627SCy Schubert Use the XPG 4.2 versions of the networking APIs in Solaris. 72657e22627SCy Schubert Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting. 72757e22627SCy Schubert Explicitly warn that negative packet buffer timeouts should not be used. 72857e22627SCy Schubert rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units 72957e22627SCy Schubert Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS. 73057e22627SCy Schubert Add DISPLAYPORT AUX link type 73157e22627SCy Schubert Remove the sunos4 kernel modules and all references to them. 73257e22627SCy Schubert Add more interface flags to pcap_findalldevs(). 73357e22627SCy Schubert Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu) 734b00ab754SHans Petter Selasky Man page improvements 735b00ab754SHans Petter Selasky Fix Linux cooked mode userspace filtering (GitHub pull request #429) 736b00ab754SHans Petter Selasky Fix compilation if IPv6 support not enabled 737b00ab754SHans Petter Selasky Fix some Linux memory-mapped capture buffer size issues 738b00ab754SHans Petter Selasky Don't fail if kernel filter can't be set on Linux (GitHub issue 739b00ab754SHans Petter Selasky #549) 740b00ab754SHans Petter Selasky Improve sorting of interfaces for pcap_findalldevs() 741b00ab754SHans Petter Selasky Don't list Linux usbmon devices if usbmon module isn't loaded 742b00ab754SHans Petter Selasky Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon 743b00ab754SHans Petter Selasky devices 744b00ab754SHans Petter Selasky Fix DLT_ type for Solaris IPNET devices 745b00ab754SHans Petter Selasky Always return an error message for errors finding DAG or Myricom 746b00ab754SHans Petter Selasky devices 747b00ab754SHans Petter Selasky If possible, don't require that a device be openable when 748b00ab754SHans Petter Selasky enumerating them for pcap_findalldevs() 749b00ab754SHans Petter Selasky Don't put incompletely-initialized addresses in the address list for 750b00ab754SHans Petter Selasky When finding Myricom devices, update description for regular 751b00ab754SHans Petter Selasky interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port 752b00ab754SHans Petter Selasky aggregation enabled) 753b00ab754SHans Petter Selasky Fix compilation error in DAG support 754b00ab754SHans Petter Selasky Fix issues with CMake configuration 755b00ab754SHans Petter Selasky Add support for stream buffers larger than 2GB on newer DAG cards 756b00ab754SHans Petter Selasky Remove support for building against DAG versions without STREAMS 757b00ab754SHans Petter Selasky support (before dag-3.0.0 2007) 758b00ab754SHans Petter Selasky 759ada6f083SXin LITuesday, Oct. 25, 2016 mcr@sandelman.ca 760ada6f083SXin LI Summary for 1.8.1 libpcap release 761ada6f083SXin LI Add a target in Makefile.in for Exuberant Ctags use: 'extags'. 762ada6f083SXin LI Rename configure.in to configure.ac: autoconf 2.59 763ada6f083SXin LI Clean up the name-to-DLT mapping table. 764ada6f083SXin LI Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS 765ada6f083SXin LI Clarify what the return values are for both success and failure. 766ada6f083SXin LI Many changes to build on windows 767ada6f083SXin LI Check for the "break the loop" condition in the inner loop for TPACKET_V3. 768ada6f083SXin LI Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. 769ada6f083SXin LI Filter out duplicate looped back CAN frames. 770ada6f083SXin LI Fix the handling of loopback filters for IPv6 packets. 771ada6f083SXin LI Add a link-layer header type for RDS (IEC 62106) groups. 772ada6f083SXin LI Use different intermediate folders for x86 and x64 builds on Windows. 773ada6f083SXin LI On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. 774ada6f083SXin LI Removes the need for the "host-endian" link-layer header type. 775ada6f083SXin LI Compile with '-Wused-but-marked-unused' in devel mode if supported 776ada6f083SXin LI Have separate DLTs for big-endian and host-endian SocketCAN headers. 777ada6f083SXin LI Reflect version.h being renamed to pcap_version.h. 778ada6f083SXin LI Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! 779ada6f083SXin LI Properly check for sock_recv() errors. 780ada6f083SXin LI Re-impose some of Winsock's limitations on sock_recv(). 781ada6f083SXin LI Replace sprintf() with pcap_snprintf(). 782ada6f083SXin LI Fix signature of pcap_stats_ex_remote(). 783ada6f083SXin LI Initial cmake support for remote packet capture. 784ada6f083SXin LI Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. 785ada6f083SXin LI Clean up {DAG, Septel, Myricom SNF}-only builds. 786ada6f083SXin LI Do UTF-16-to-ASCII conversion into the right place. 787ada6f083SXin LI pcap_create_interface() needs the interface name on Linux. 788ada6f083SXin LI Clean up hardware time stamp support: the "any" device does not support any time stamp types. 789ada6f083SXin LI Add support for capturing on FreeBSD usbusN interfaces. 790ada6f083SXin LI Add a LINKTYPE/DLT_ value for FreeBSD USB. 791ada6f083SXin LI Go back to using PCAP_API on Windows. 792ada6f083SXin LI CMake support 793ada6f083SXin LI Add TurboCap support from WinPcap. 794ada6f083SXin LI Recognize 802.1ad nested VLAN tag in vlan filter. 795ada6f083SXin LI 796ada6f083SXin LIThursday Sep. 3, 2015 guy@alum.mit.edu 797ada6f083SXin LI Summary for 1.7.5 libpcap release 798ada6f083SXin LI Man page cleanups. 799ada6f083SXin LI Add some allocation failure checks. 800ada6f083SXin LI Fix a number of Linux/ucLinux configure/build issues. 801ada6f083SXin LI Fix some memory leaks. 802ada6f083SXin LI Recognize 802.1ad nested VLAN tag in vlan filter. 803ada6f083SXin LI Fix building Bluetooth Linux Monitor support with BlueZ 5.1+ 804ada6f083SXin LI 805ada6f083SXin LISaturday Jun. 27, 2015 mcr@sandelman.ca 806ada6f083SXin LI Summary for 1.7.4 libpcap release 807ada6f083SXin LI Include fix for GitHub issue #424 -- out of tree builds. 808ada6f083SXin LI 809ada6f083SXin LIFriday Apr. 10, 2015 guy@alum.mit.edu 810ada6f083SXin LI Summary for 1.7.3 libpcap release 811ada6f083SXin LI Work around a Linux bonding driver bug. 812ada6f083SXin LI 813ada6f083SXin LIThursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca 814ada6f083SXin LI Summary for 1.7.2 libpcap release 815ada6f083SXin LI Support for filtering Geneve encapsulated packets. 816ada6f083SXin LI Generalize encapsulation handling, fixing some bugs. 817ada6f083SXin LI Don't add null addresses to address lists. 818ada6f083SXin LI Add pcap_dump_open_append() to open for appending. 819ada6f083SXin LI Fix the swapping of isochronous descriptors in Linux USB. 820ada6f083SXin LI Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel. 821ada6f083SXin LI 822ada6f083SXin LIWednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca 823ada6f083SXin LI Summary for 1.7.0 libpcap release 824ada6f083SXin LI Fix handling of zones for BPF on Solaris 825ada6f083SXin LI new DLT for ZWAVE 826ada6f083SXin LI clarifications for read timeouts. 827ada6f083SXin LI Use BPF extensions in compiled filters, fixing VLAN filters 828ada6f083SXin LI some fixes to compilation without stdint.h 829ada6f083SXin LI EBUSY can now be returned by SNFv3 code. 830ada6f083SXin LI Fix the range checks in BPF loads 831ada6f083SXin LI Various DAG fixes. 832ada6f083SXin LI Various Linux fixes. 833ada6f083SXin LI 834681ed54cSXin LIMonday Aug. 12, 2014 guy@alum.mit.edu 835ada6f083SXin LI Summary for 1.6.2 libpcap release 836*afdbf109SJoseph Mingrone Don't crash on filters testing a nonexistent link-layer type 837681ed54cSXin LI field. 838681ed54cSXin LI Fix sending in non-blocking mode on Linux with memory-mapped 839681ed54cSXin LI capture. 840681ed54cSXin LI Fix timestamps when reading pcap-ng files on big-endian 841681ed54cSXin LI machines. 842681ed54cSXin LI 843681ed54cSXin LISaturday Jul. 19, 2014 mcr@sandelman.ca 844ada6f083SXin LI Summary for 1.6.1 libpcap release 845681ed54cSXin LI some fixes for the any device 846ada6f083SXin LI changes for how --enable-XXX (--enable-sniffing, --enable-can) works 847681ed54cSXin LI 848681ed54cSXin LIWednesday Jul. 2, 2014 mcr@sandelman.ca 849ada6f083SXin LI Summary for 1.6.0 libpcap release 850681ed54cSXin LI Don't support D-Bus sniffing on OS X 851681ed54cSXin LI fixes for byte order issues with NFLOG captures 852681ed54cSXin LI Handle using cooked mode for DLT_NETLINK in activate_new(). 853681ed54cSXin LI on platforms where you can not capture on down interfaces, do not list them 854681ed54cSXin LI but: do list interfaces which are down, if you can capture on them! 855681ed54cSXin LI 856681ed54cSXin LIWednesday December 18, 2013 guy@alum.mit.edu 857681ed54cSXin LISummary for 1.5.3 libpcap release 858681ed54cSXin LI Don't let packets that don't match the current filter get to the 859681ed54cSXin LI application when TPACKET_V3 is used. (GitHub issue #331) 860681ed54cSXin LI Fix handling of pcap_loop()/pcap_dispatch() with a packet count 861681ed54cSXin LI of 0 on some platforms (including Linux with TPACKET_V3). 862681ed54cSXin LI (GitHub issue #333) 863681ed54cSXin LI Work around TPACKET_V3 deficiency that causes packets to be lost 864681ed54cSXin LI when a timeout of 0 is specified. (GitHub issue #335) 865681ed54cSXin LI Man page formatting fixes. 866681ed54cSXin LI 867681ed54cSXin LIWednesday December 4, 2013 guy@alum.mit.edu 868681ed54cSXin LISummary for 1.5.2 libpcap release 869681ed54cSXin LI Fix libpcap to work when compiled with TPACKET_V3 support and 870681ed54cSXin LI running on a kernel without TPACKET_V3 support. (GitHub 871681ed54cSXin LI issue #329) 872681ed54cSXin LI 873681ed54cSXin LIWednesday November 20, 2013 guy@alum.mit.edu 874681ed54cSXin LISummary for 1.5.1 libpcap release 875681ed54cSXin LI Report an error, rather than crashing, if an IPv6 address is 876681ed54cSXin LI used for link-layer filtering. (Wireshark bug 9376) 877681ed54cSXin LI 878681ed54cSXin LIWednesday October 30, 2013 guy@alum.mit.edu 879681ed54cSXin LISummary for 1.5.0 libpcap release 880681ed54cSXin LI TPACKET_V3 support added for Linux 881681ed54cSXin LI Point users to the the-tcpdump-group repository on GitHub rather 882681ed54cSXin LI than the mcr repository 883681ed54cSXin LI Checks added for malloc()/realloc()/etc. failures 884681ed54cSXin LI Fixed build on Solaris 11 8856f9cba8fSJoseph Mingrone Support filtering E1 SS7 traffic on MTP2 layer Annex A 886681ed54cSXin LI Use "ln -s" to link man pages by default 887681ed54cSXin LI Add support for getting nanosecond-resolution time stamps when 888681ed54cSXin LI capturing and reading capture files 889681ed54cSXin LI Many changes to autoconf to deal better with non-GCC compilers 890681ed54cSXin LI added many new DLT types 891681ed54cSXin LI 892681ed54cSXin LISaturday April 6, 2013 guy@alum.mit.edu 893edc89b24SXin LISummary for 1.4.0 libpcap release 894edc89b24SXin LI Add netfilter/nfqueue interface. 895edc89b24SXin LI If we don't have support for IPv6 address resolution, support, 896edc89b24SXin LI in filter expressions, what IPv6 stuff we can. 897edc89b24SXin LI Fix pcap-config to include -lpthread if canusb support is 898edc89b24SXin LI present 899edc89b24SXin LI Try to fix "pcap_parse not defined" problems when --without-flex 900edc89b24SXin LI and --without-bison are used when you have Flex and Bison 901edc89b24SXin LI Fix some issues with the pcap_loop man page. 902edc89b24SXin LI Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 903edc89b24SXin LI supplied error message buffer 904edc89b24SXin LI Fix typo that, it appeared, would cause pcap-libdlpi.c not to 905edc89b24SXin LI compile (perhaps systems with libdlpi also have BPF and use 906edc89b24SXin LI that instead) 907edc89b24SXin LI Catch attempts to call pcap_compile() on a non-activated pcap_t 908edc89b24SXin LI Fix crash on Linux with CAN-USB support without usbfs 909edc89b24SXin LI Fix addition of VLAN tags for Linux cooked captures 910edc89b24SXin LI Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 911edc89b24SXin LI that the driver can report either one if it doesn't support 912edc89b24SXin LI SIOCETHTOOL 913edc89b24SXin LI Add DLT_INFINIBAND and DLT_SCTP 914edc89b24SXin LI Describe "proto XXX" and "protochain XXX" in the pcap-filter man 915edc89b24SXin LI page 916edc89b24SXin LI Handle either directories, or symlinks to directories, that 917edc89b24SXin LI correspond to interfaces in /sys/class/net 918edc89b24SXin LI Fix handling of VLAN tag insertion to check, on Linux 3.x 919edc89b24SXin LI kernels, for VLAN tag valid flag 920edc89b24SXin LI Clean up some man pages 921edc89b24SXin LI Support libnl3 as well as libnl1 and libnl2 on Linux 922681ed54cSXin LI Fix handling of Bluetooth devices on 3.x Linux kernels 923edc89b24SXin LI 92415752fa8SXin LIFriday March 30, 2012. mcr@sandelman.ca 92515752fa8SXin LISummary for 1.3.0 libpcap release 92615752fa8SXin LI Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 92715752fa8SXin LI Linux: Don't fail if netfilter isn't enabled in the kernel. 92815752fa8SXin LI Add new link-layer type for NFC Forum LLCP. 92915752fa8SXin LI Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 93015752fa8SXin LI Add LINKTYPE_NG40/DLT_NG40. 93115752fa8SXin LI Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 93215752fa8SXin LI [PATCH] Fix AIX-3.5 crash with read failure during stress 93315752fa8SXin LI AIX fixes. 93415752fa8SXin LI Introduce --disable-shared configure option. 93515752fa8SXin LI Added initial support for canusb devices. 93615752fa8SXin LI Include the pcap(3PCAP) additions as 1.2.1 changes. 93715752fa8SXin LI many updates to documentation: pcap.3pcap.in 93815752fa8SXin LI Improve 'inbound'/'outbound' capture filters under Linux. 93915752fa8SXin LI Note the cleanup of handling of new DLT_/LINKTYPE_ values. 94015752fa8SXin LI On Lion, don't build for PPC. 94115752fa8SXin LI For mac80211 devices we need to clean up monitor mode on exit. 94215752fa8SXin LI 943d1e87331SXin LIFriday December 9, 2011. guy@alum.mit.edu. 944d1e87331SXin LISummary for 1.2.1 libpcap release 945d1e87331SXin LI Update README file. 9466f9cba8fSJoseph Mingrone Fix typos in README.linux file. 947d1e87331SXin LI Clean up some compiler warnings. 948d1e87331SXin LI Fix Linux compile problems and tests for ethtool.h. 949d1e87331SXin LI Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 950d1e87331SXin LI toolchains. 951d1e87331SXin LI Support 802.1 QinQ as a form of VLAN in filters. 952d1e87331SXin LI Treat "carp" as equivalent to "vrrp" in filters. 953d1e87331SXin LI Fix code generated for "ip6 protochain". 954d1e87331SXin LI Add some new link-layer header types. 955d1e87331SXin LI Support capturing NetFilter log messages on Linux. 956d1e87331SXin LI Clean up some error messages. 957d1e87331SXin LI Turn off monitor mode on exit for mac80211 interfaces on Linux. 958d1e87331SXin LI Fix problems turning monitor mode on for non-mac80211 interfaces 959d1e87331SXin LI on Linux. 960d1e87331SXin LI Properly fail if /sys/class/net or /proc/net/dev exist but can't 961d1e87331SXin LI be opened. 962d1e87331SXin LI Fail if pcap_activate() is called on an already-activated 963d1e87331SXin LI pcap_t, and add a test program for that. 964d1e87331SXin LI Fix filtering in pcap-ng files. 965d1e87331SXin LI Don't build for PowerPC on Mac OS X Lion. 966d1e87331SXin LI Simplify handling of new DLT_/LINKTYPE_ values. 967d1e87331SXin LI Expand pcap(3PCAP) man page. 968d1e87331SXin LI 969d1e87331SXin LISunday July 24, 2011. mcr@sandelman.ca. 970d1e87331SXin LISummary for 1.2 libpcap release 971d1e87331SXin LI All of the changes listed below for 1.1.1 and 1.1.2. 972d1e87331SXin LI Changes to error handling for pcap_findalldevs(). 973d1e87331SXin LI Fix the calculation of the frame size in memory-mapped captures. 974d1e87331SXin LI Add a link-layer header type for STANAG 5066 D_PDUs. 975d1e87331SXin LI Add a link-layer type for a variant of 3GPP TS 27.010. 976d1e87331SXin LI Noted real nature of LINKTYPE_ARCNET. 977d1e87331SXin LI Add a link-layer type for DVB-CI. 978d1e87331SXin LI Fix configure-script discovery of VLAN acceleration support. 9796f9cba8fSJoseph Mingrone see https://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 980d1e87331SXin LI Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 981d1e87331SXin LI Protect against including AIX 5.x's <net/bpf.h> having been included. 982d1e87331SXin LI Add DLT_DBUS, for raw D-Bus messages. 983d1e87331SXin LI Treat either EPERM or EACCES as "no soup for you". 984d1e87331SXin LI Changes to permissions on DLPI systems. 985d1e87331SXin LI Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 986d1e87331SXin LI 987d1e87331SXin LIFri. August 6, 2010. guy@alum.mit.edu. 988d1e87331SXin LISummary for 1.1.2 libpcap release 989d1e87331SXin LI Return DLT_ values, not raw LINKTYPE_ values from 990d1e87331SXin LI pcap_datalink() when reading pcap-ng files 991d1e87331SXin LI Add support for "wlan ra" and "wlan ta", to check the RA and TA 992d1e87331SXin LI of WLAN frames that have them 993d1e87331SXin LI Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 994d1e87331SXin LI headers 995d1e87331SXin LI Do filtering on USB and Bluetooth capturing 996d1e87331SXin LI On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 997d1e87331SXin LI Check for valid port numbers (fit in a 16-bit unsigned field) in 998d1e87331SXin LI "port" filters 999d1e87331SXin LI Reject attempts to put savefiles into non-blocking mode 1000d1e87331SXin LI Check for "no such device" for the "get the media types" ioctl 1001d1e87331SXin LI in *BSD 1002d1e87331SXin LI Improve error messages from bpf_open(), and let it do the error 1003d1e87331SXin LI handling 1004d1e87331SXin LI Return more specific errors from pcap_can_set_rfmon(); fix 1005d1e87331SXin LI documentation 1006d1e87331SXin LI Update description fetching code for FreeBSD, fix code for 1007d1e87331SXin LI OpenBSD 1008d1e87331SXin LI Ignore /sys/net/dev files if we get ENODEV for them, not just 1009d1e87331SXin LI ENXIO; fixes handling of bonding devices on Linux 1010d1e87331SXin LI Fix check for a constant 0 argument to BPF_DIV 1011d1e87331SXin LI Use the right version of ar when cross-building 1012d1e87331SXin LI Free any filter set on a savefile when the savefile is closed 1013d1e87331SXin LI Include the CFLAGS setting when configure was run in the 1014d1e87331SXin LI compiler flags 1015d1e87331SXin LI Add support for 802.15.4 interfaces on Linux 1016d1e87331SXin LI 1017a0ee43a1SRui PauloThu. April 1, 2010. guy@alum.mit.edu. 1018a0ee43a1SRui PauloSummary for 1.1.1 libpcap release 1019a0ee43a1SRui Paulo Update CHANGES to reflect more of the changes in 1.1.0. 1020a0ee43a1SRui Paulo Fix build on RHEL5. 1021a0ee43a1SRui Paulo Fix shared library build on AIX. 1022a0ee43a1SRui Paulo 1023a0ee43a1SRui PauloThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 1024a0ee43a1SRui PauloSummary for 1.1.0 libpcap release 1025a0ee43a1SRui Paulo Add SocketCAN capture support 1026a0ee43a1SRui Paulo Add Myricom SNF API support 1027a0ee43a1SRui Paulo Update Endace DAG and ERF support 1028a0ee43a1SRui Paulo Add support for shared libraries on Solaris, HP-UX, and AIX 1029a0ee43a1SRui Paulo Build, install, and un-install shared libraries by default; 1030a0ee43a1SRui Paulo don't build/install shared libraries on platforms we don't support 1031a0ee43a1SRui Paulo Fix building from a directory other than the source directory 1032a0ee43a1SRui Paulo Fix compiler warnings and builds on some platforms 1033a0ee43a1SRui Paulo Update config.guess and config.sub 1034a0ee43a1SRui Paulo Support monitor mode on mac80211 devices on Linux 1035a0ee43a1SRui Paulo Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 1036a0ee43a1SRui Paulo value 1037a0ee43a1SRui Paulo On Linux, scan /sys/class/net for devices if we have it; scan 1038a0ee43a1SRui Paulo it, or /proc/net/dev if we don't have /sys/class/net, even if 1039a0ee43a1SRui Paulo we have getifaddrs(), as it'll find interfaces with no 1040a0ee43a1SRui Paulo addresses 1041a0ee43a1SRui Paulo Add limited support for reading pcap-ng files 1042a0ee43a1SRui Paulo Fix BPF driver-loading error handling on AIX 1043a0ee43a1SRui Paulo Support getting the full-length interface description on FreeBSD 1044a0ee43a1SRui Paulo In the lexical analyzer, free up any addrinfo structure we got back 1045a0ee43a1SRui Paulo from getaddrinfo(). 1046a0ee43a1SRui Paulo Add support for BPF and libdlpi in OpenSolaris (and SXCE) 1047a0ee43a1SRui Paulo Hyphenate "link-layer" everywhere 1048a0ee43a1SRui Paulo Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 1049a0ee43a1SRui Paulo In pcap_read_linux_mmap(), if there are no frames available, call 1050a0ee43a1SRui Paulo poll() even if we're in non-blocking mode, so we pick up 1051a0ee43a1SRui Paulo errors, and check for the errors in question. 1052a0ee43a1SRui Paulo Note that poll() works on BPF devices is Snow Leopard 1053a0ee43a1SRui Paulo If an ENXIO or ENETDOWN is received, it may mean the device has 1054a0ee43a1SRui Paulo gone away. Deal with it. 1055a0ee43a1SRui Paulo For BPF, raise the default capture buffer size to from 32k to 512k 1056a0ee43a1SRui Paulo Support ps_ifdrop on Linux 1057a0ee43a1SRui Paulo Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 1058a0ee43a1SRui Paulo under cygwin. 1059a0ee43a1SRui Paulo Changes to Linux mmapped captures. 1060a0ee43a1SRui Paulo Fix bug where create_ring would fail for particular snaplen and 1061a0ee43a1SRui Paulo buffer size combinations 1062a0ee43a1SRui Paulo Update pcap-config so that it handles libpcap requiring 1063a0ee43a1SRui Paulo additional libraries 1064a0ee43a1SRui Paulo Add workaround for threadsafeness on Windows 1065a0ee43a1SRui Paulo Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 1066a0ee43a1SRui Paulo DLT: Add DLT_CAN_SOCKETCAN 1067a0ee43a1SRui Paulo DLT: Add Solaris ipnet 1068a0ee43a1SRui Paulo Don't check for DLT_IPNET if it's not defined 1069a0ee43a1SRui Paulo Add link-layer types for Fibre Channel FC-2 1070a0ee43a1SRui Paulo Add link-layer types for Wireless HART 1071a0ee43a1SRui Paulo Add link-layer types for AOS 1072a0ee43a1SRui Paulo Add link-layer types for DECT 1073a0ee43a1SRui Paulo Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 1074a0ee43a1SRui Paulo Install headers unconditionally, and include vlan.h/bluetooth.h if 1075a0ee43a1SRui Paulo enabled 1076a0ee43a1SRui Paulo Autoconf fixes+cleanup 1077a0ee43a1SRui Paulo Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 1078a0ee43a1SRui Paulo Support disabling SITA support (--without-sita) 1079a0ee43a1SRui Paulo Return -1 on failure to create packet ring (if supported but 1080a0ee43a1SRui Paulo creation failed) 1081a0ee43a1SRui Paulo Fix handling of 'any' device, so that it can be opened, and no longer 1082a0ee43a1SRui Paulo attempt to open it in Monitor mode 1083a0ee43a1SRui Paulo Add support for snapshot length for USB Memory-Mapped Interface 1084a0ee43a1SRui Paulo Fix configure and build on recent Linux kernels 1085a0ee43a1SRui Paulo Fix memory-mapped Linux capture to support pcap_next() and 1086a0ee43a1SRui Paulo pcap_next_ex() 1087a0ee43a1SRui Paulo Fixes for Linux USB capture 1088a0ee43a1SRui Paulo DLT: Add DLT_LINUX_EVDEV 1089a0ee43a1SRui Paulo DLT: Add DLT_GSMTAP_UM 1090a0ee43a1SRui Paulo DLT: Add DLT_GSMTAP_ABIS 1091a8e07101SRui Paulo 1092a8e07101SRui PauloMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 1093a8e07101SRui Paulo Compile with IPv6 support by default 1094a8e07101SRui Paulo Compile with large file support on by default 1095a8e07101SRui Paulo Add pcap-config script, which deals with -I/-L flags for compiling 1096a8e07101SRui Paulo DLT: Add IPMB 1097a8e07101SRui Paulo DLT: Add LAPD 1098a8e07101SRui Paulo DLT: Add AX25 (AX.25 w/KISS header) 1099a8e07101SRui Paulo DLT: Add JUNIPER_ST 1100a8e07101SRui Paulo 802.15.4 support 1101a8e07101SRui Paulo Variable length 802.11 header support 1102a8e07101SRui Paulo X2E data type support 1103a8e07101SRui Paulo SITA ACN Interface support - see README.sita 1104a0ee43a1SRui Paulo Support for memory-mapped capture on Linux 1105a8e07101SRui Paulo Support for zerocopy BPF on platforms that support it 1106a0ee43a1SRui Paulo Support for setting buffer size when opening devices 1107a0ee43a1SRui Paulo Support for setting monitor mode when opening 802.11 devices 1108a8e07101SRui Paulo Better support for dealing with VLAN tagging/stripping on Linux 1109a8e07101SRui Paulo Fix dynamic library support on OSX 1110a8e07101SRui Paulo Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 1111a8e07101SRui Paulo can print better diagnostic information 1112a8e07101SRui Paulo Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 1113a8e07101SRui Paulo applications can tell the user they need to go play with permissions 1114a8e07101SRui Paulo On Linux, ignore ENETDOWN so we can continue to capture packets if the 1115a8e07101SRui Paulo interface goes down and comes back up again. 1116a8e07101SRui Paulo On Linux, support new tpacket frame headers (2.6.27+) 1117a0ee43a1SRui Paulo On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 1118a8e07101SRui Paulo On Solaris, support 'passive mode' on systems that support it 1119a8e07101SRui Paulo Fixes to autoconf and general build environment 1120a8e07101SRui Paulo Man page reorganization + cleanup 1121a8e07101SRui Paulo Autogenerate VERSION numbers better 1122ef96d74fSMax Laier 1123ef96d74fSMax LaierMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 1124*afdbf109SJoseph Mingrone Change build process to put public libpcap headers into pcap subdir 1125ef96d74fSMax Laier DLT: Add value for IPMI IPMB packets 1126ef96d74fSMax Laier DLT: Add value for u10 Networks boards 1127ef96d74fSMax Laier Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 1128ef96d74fSMax Laier libpcap files on an OS other than where the file was generated 1129ef96d74fSMax Laier 1130ef96d74fSMax LaierWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 1131ef96d74fSMax Laier 1132ef96d74fSMax Laier Put the public libpcap headers into a pcap subdirectory in both the 1133ef96d74fSMax Laier source directory and the target include directory, and have include 1134ef96d74fSMax Laier files at the top-level directory to include those headers, for 1135ef96d74fSMax Laier backwards compatibility. 1136ef96d74fSMax Laier Add Bluetooth support 1137ef96d74fSMax Laier Add USB capturing support on Linux 1138ef96d74fSMax Laier Add support for the binary USB sniffing interface in Linux 1139ef96d74fSMax Laier Add support for new FreeBSD BIOCSDIRECTION ioctl 1140ef96d74fSMax Laier Add additional filter operations for 802.11 frame types 1141ef96d74fSMax Laier Add support for filtering on MTP2 frame types 1142ef96d74fSMax Laier Propagate some changes from the main branch, so the x.9 branch has 1143ef96d74fSMax Laier all the DLT_ and LINKTYPE_ values that the main branch does 1144ef96d74fSMax Laier Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 1145ef96d74fSMax Laier encapsulated packets 1146ef96d74fSMax Laier Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 1147ef96d74fSMax Laier by Linux drivers 1148ef96d74fSMax Laier Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 1149ef96d74fSMax Laier Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 1150ef96d74fSMax Laier Add DLT for Bluetooth HCI UART transport layer 1151ef96d74fSMax Laier When building a shared library, build with "-fPIC" on Linux to support x86_64 1152ef96d74fSMax Laier Link with "$(CC) -shared" rather than "ld -shared" when building a 1153ef96d74fSMax Laier ".so" shared library 1154ef96d74fSMax Laier Add support for autoconf 2.60 1155ef96d74fSMax Laier Fixes to discard unread packets when changing filters 1156ef96d74fSMax Laier Changes to handle name changes in the DAG library resulting from 1157ef96d74fSMax Laier switching to libtool. 1158ef96d74fSMax Laier Add support for new DAG ERF types. 1159ef96d74fSMax Laier Add an explicit "-ldag" when building the shared library, so the DAG 1160ef96d74fSMax Laier library dependency is explicit. 1161ef96d74fSMax Laier Mac OSX fixes for dealing with "wlt" devices 1162ef96d74fSMax Laier Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 1163ef96d74fSMax Laier device lists 1164ef96d74fSMax Laier Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 1165ef96d74fSMax Laier was not checked. 1166ef96d74fSMax Laier 1167ef96d74fSMax LaierTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 1168ef96d74fSMax Laier 1169ef96d74fSMax Laier Support for LAPD frames with vISDN 1170ef96d74fSMax Laier Support for ERF on channelized T1/E1 cards via DAG API 1171ef96d74fSMax Laier Fix capitalization that caused issues crossc compiling on Linux 1172ef96d74fSMax Laier Better failure detection on PacketGetAdapterNames() 1173ef96d74fSMax Laier Fixes for MPLS packet generation (link layer) 1174ef96d74fSMax Laier OP_PACKET now matches the beginning of the packet, instead of 1175ef96d74fSMax Laier beginning+link-layer 1176ef96d74fSMax Laier Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 1177ef96d74fSMax Laier Fix allocation of buffer for list of link-layer types 11786f9cba8fSJoseph Mingrone Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communication Messages 1179ef96d74fSMax Laier Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 1180ef96d74fSMax Laier Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 1181ef96d74fSMax Laier Added definition for DLT_A429 and LINKTYPE_A429 as #184. 1182ef96d74fSMax Laier Added a new DLT and LINKTYPE value for CAN v2.0B frames. 1183ef96d74fSMax Laier Add support for DLT_JUNIPER_VP. 1184ef96d74fSMax Laier Don't double-count received packets on Linux systems that 1185ef96d74fSMax Laier support the PACKET_STATISTICS getsockopt() argument on 1186ef96d74fSMax Laier PF_PACKET sockets. 1187ef96d74fSMax Laier Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 1188ef96d74fSMax Laier layers in Windows 1189ef96d74fSMax Laier Add support to build libpcap.lib and wpcap.dll under Cygnus and 1190ef96d74fSMax Laier MingW32. 1191ee2dd488SSam Leffler 11925d18909fSSam LefflerMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 11935d18909fSSam Leffler 11945d18909fSSam Leffler Support for radiotap on Linux (Mike Kershaw) 11955d18909fSSam Leffler Fixes for HP-UX 11965d18909fSSam Leffler Support for additional Juniper link-layer types 11975d18909fSSam Leffler Fixes for filters on MPLS-encapsulated packets 11985d18909fSSam Leffler "vlan" filter fixed 11995d18909fSSam Leffler "pppoed" and "pppoes" filters added; the latter modifies later 12005d18909fSSam Leffler parts of the filter expression to look at the PPP headers and 12015d18909fSSam Leffler headers in the PPP payload 12025d18909fSSam Leffler 12035d18909fSSam LefflerTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 1204ee2dd488SSam Leffler 1205ee2dd488SSam Leffler Fixes for compiling on nearly every platform, 1206ee2dd488SSam Leffler including improved 64bit support 1207ee2dd488SSam Leffler MSDOS Support 1208ee2dd488SSam Leffler Add support for sending packets 1209ee2dd488SSam Leffler OpenBSD pf format support 1210ee2dd488SSam Leffler IrDA capture (Linux only) 1211ee2dd488SSam Leffler 1212feb4ecdbSBruce M SimpsonTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 1213feb4ecdbSBruce M Simpson 1214feb4ecdbSBruce M Simpson Fixed minor problem in gencode.c that would appear on 64-bit 1215feb4ecdbSBruce M Simpson platforms. 1216feb4ecdbSBruce M Simpson Version number is now sane. 1217feb4ecdbSBruce M Simpson 1218feb4ecdbSBruce M SimpsonMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 1219feb4ecdbSBruce M Simpson 1220feb4ecdbSBruce M Simpson updates for autoconf 2.5 1221feb4ecdbSBruce M Simpson fixes for ppp interfaces for freebsd 4.1 1222feb4ecdbSBruce M Simpson pcap gencode can generate code for 802.11, IEEE1394, and pflog. 1223feb4ecdbSBruce M Simpson 1224feb4ecdbSBruce M SimpsonWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 1225feb4ecdbSBruce M Simpson 1226feb4ecdbSBruce M Simpson added pcap_findalldevs() 1227feb4ecdbSBruce M Simpson Win32 patches from NetGroup, Politecnico di Torino (Italy) 1228feb4ecdbSBruce M Simpson OpenBSD pf, DLT_PFLOG added 1229feb4ecdbSBruce M Simpson Many changes to ATM support. 1230feb4ecdbSBruce M Simpson lookup pcap_lookupnet() 1231feb4ecdbSBruce M Simpson Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 1232feb4ecdbSBruce M Simpson DLT_IP_OVER_FC, DLT_FRELAY, others. 1233feb4ecdbSBruce M Simpson Sigh. More AIX wonderfulness. 1234feb4ecdbSBruce M Simpson Document updates. 1235feb4ecdbSBruce M Simpson Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 1236feb4ecdbSBruce M Simpson pcap_list_datalinks(), pcap_set_datalink(), 1237feb4ecdbSBruce M Simpson pcap_lib_version(), pcap_datalink_val_to_name(), 1238feb4ecdbSBruce M Simpson pcap_datalink_name_to_val(), new error returns. 1239feb4ecdbSBruce M Simpson 1240feb4ecdbSBruce M SimpsonTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 1241feb4ecdbSBruce M Simpson 1242feb4ecdbSBruce M Simpson Support link types that use 802.2 always, never, and sometimes. 1243feb4ecdbSBruce M Simpson Don't decrease the size of the BPF buffer from the default. 1244feb4ecdbSBruce M Simpson Support frame relay. 1245feb4ecdbSBruce M Simpson Handle 32-bit timestamps in DLPI, and pass the right buffer size. 1246feb4ecdbSBruce M Simpson Handle Linux systems with modern kernel but without 1247feb4ecdbSBruce M Simpson SOL_PACKET in the userland headers. 1248feb4ecdbSBruce M Simpson Linux support for ARPHRD_RAWHDLC. 1249feb4ecdbSBruce M Simpson Handle 32-bit timestamps in snoop. 1250feb4ecdbSBruce M Simpson Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 1251feb4ecdbSBruce M Simpson Add new reserved DLT types. 12520a94d38fSBill Fenner 12530a94d38fSBill FennerMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 12540a94d38fSBill Fenner 12550a94d38fSBill Fenner Added pcap_findalldevs() call to get list of interfaces in a MI way. 12560a94d38fSBill Fenner 12570a94d38fSBill Fenner pcap_stats() has been documented as to what its counters mean on 12580a94d38fSBill Fenner each platform. 12598751327cSBill Fenner 1260dc2c7305SBill FennerTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 12618751327cSBill Fenner 1262dc2c7305SBill Fenner New Linux libpcap implementation, which, in 2.2 and later 1263dc2c7305SBill Fenner kernels, uses PF_PACKET sockets and supports kernel packet 1264dc2c7305SBill Fenner filtering (if compiled into the kernel), and supports the "any" 1265dc2c7305SBill Fenner device for capturing on all interfaces. Cleans up promiscuous 1266dc2c7305SBill Fenner mode better on pre-2.2 kernels, and has various other fixes 1267dc2c7305SBill Fenner (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 1268dc2c7305SBill Fenner doesn't show duplicate packets on loopback interface, etc.). 1269dc2c7305SBill Fenner 1270dc2c7305SBill Fenner Fixed HP-UX libpcap implementation to correctly get the PPA for 1271dc2c7305SBill Fenner an interface, to allow interfaces to be opened by interface name. 1272dc2c7305SBill Fenner 1273dc2c7305SBill Fenner libpcap savefiles have system-independent link-layer type values 1274dc2c7305SBill Fenner in the header, rather than sometimes platform-dependent DLT_ 1275dc2c7305SBill Fenner values, to make it easier to exchange capture files between 1276dc2c7305SBill Fenner different OSes. 1277dc2c7305SBill Fenner 1278dc2c7305SBill Fenner Non-standard capture files produced by some Linux tcpdumps, e.g. 1279dc2c7305SBill Fenner the one from Red Hat Linux 6.2 and later, can now be read. 1280dc2c7305SBill Fenner 1281dc2c7305SBill Fenner Updated autoconf stock files. 1282dc2c7305SBill Fenner 1283dc2c7305SBill Fenner Filter expressions can filter on VLAN IDs and various OSI 1284dc2c7305SBill Fenner protocols, and work on Token Ring (with non-source-routed 1285dc2c7305SBill Fenner packets). 1286dc2c7305SBill Fenner 1287dc2c7305SBill Fenner "pcap_open_dead()" added to allow compiling filter expressions 1288dc2c7305SBill Fenner to pcap code without opening a capture device or capture file. 1289dc2c7305SBill Fenner 1290dc2c7305SBill Fenner Header files fixed to allow use in C++ programs. 1291dc2c7305SBill Fenner 12926f9cba8fSJoseph Mingrone Removed dependency on native headers for packet layout. 1293dc2c7305SBill Fenner Removed Linux specific headers that were shipped. 1294dc2c7305SBill Fenner 1295dc2c7305SBill Fenner Security fixes: Strcpy replaced with strlcpy, sprintf replaced 1296dc2c7305SBill Fenner with snprintf. 1297dc2c7305SBill Fenner 1298dc2c7305SBill Fenner Fixed bug that could cause subsequent "pcap_compile()"s to fail 1299dc2c7305SBill Fenner erroneously after one compile failed. 1300dc2c7305SBill Fenner 1301dc2c7305SBill Fenner Assorted other bug fixes. 1302dc2c7305SBill Fenner 1303dc2c7305SBill Fenner README.aix and README.linux files added to describe 1304dc2c7305SBill Fenner platform-specific issues. 1305dc2c7305SBill Fenner 1306dc2c7305SBill Fenner "getifaddrs()" rather than SIOCGIFCONF used, if available. 1307dc2c7305SBill Fenner 1308dc2c7305SBill Fennerv0.5 Sat Jun 10 11:09:15 PDT 2000 1309dc2c7305SBill Fenner 1310dc2c7305SBill Fenneritojun@iijlab.net 1311dc2c7305SBill Fenner- Brought in KAME IPv6/IPsec bpf compiler. 1312dc2c7305SBill Fenner- Fixes for NetBSD. 1313dc2c7305SBill Fenner- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 1314dc2c7305SBill Fenner and changes to work around different BSDs having different DLT_ types 1315dc2c7305SBill Fenner with the same numeric value. 1316dc2c7305SBill Fenner 1317dc2c7305SBill FennerAssar Westerlund <assar@sics.se> 1318dc2c7305SBill Fenner- Building outside the source code tree fixed. 1319dc2c7305SBill Fenner- Changed to write out time stamps with 32-bit seconds and microseconds 1320dc2c7305SBill Fenner fields, regardless of whether those fields are 32 bits or 64 bits in 1321dc2c7305SBill Fenner the OS's native "struct timeval". 1322dc2c7305SBill Fenner- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 1323dc2c7305SBill Fenner the list of interfaces is read as necessary in order to hold the 1324dc2c7305SBill Fenner entire list. 1325dc2c7305SBill Fenner 1326dc2c7305SBill FennerGreg Troxel <gdt@ir.bbn.com> 1327dc2c7305SBill Fenner- Added a new "pcap_compile_nopcap()", which lets you compile a filter 1328dc2c7305SBill Fenner expression into a BPF program without having an open live capture or 1329dc2c7305SBill Fenner capture file. 1330a4b5b39fSBill Fenner 1331a4b5b39fSBill Fennerv0.4 Sat Jul 25 12:40:09 PDT 1998 1332a4b5b39fSBill Fenner 1333a4b5b39fSBill Fenner- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 1334a4b5b39fSBill Fenner Fenner (fenner@parc.xerox.com) 1335a4b5b39fSBill Fenner 1336a4b5b39fSBill Fenner- Fix alignment problem with FDDI under DLPI. This was causing core 1337a4b5b39fSBill Fenner dumps under Solaris. 1338a4b5b39fSBill Fenner 1339a4b5b39fSBill Fenner- Added configure options to disable flex and bison. Resulted from a 1340a4b5b39fSBill Fenner bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 1341a4b5b39fSBill Fenner options to disable gcc and to force a particular packet capture type. 1342a4b5b39fSBill Fenner 1343a4b5b39fSBill Fenner- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 1344a4b5b39fSBill Fenner to John Hawkinson (jhawk@mit.edu) 1345a4b5b39fSBill Fenner 1346a4b5b39fSBill Fenner- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 1347a4b5b39fSBill Fenner supply any "link layer" data. 1348a4b5b39fSBill Fenner 1349a4b5b39fSBill Fenner- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 1350a4b5b39fSBill Fenner Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 1351a4b5b39fSBill Fenner 1352a4b5b39fSBill Fenner- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 1353a4b5b39fSBill Fenner "link layer" data. 1354a4b5b39fSBill Fenner 1355a4b5b39fSBill Fenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 1356a4b5b39fSBill Fenner formats. 1357a4b5b39fSBill Fenner 1358a4b5b39fSBill Fenner- Added some new SGI snoop interface types. Thanks to Steve Alexander 1359a4b5b39fSBill Fenner (sca@refugee.engr.sgi.com) 1360a4b5b39fSBill Fenner 1361a4b5b39fSBill Fenner- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 1362a4b5b39fSBill Fenner Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 1363a4b5b39fSBill Fenner 1364a4b5b39fSBill Fenner- Fddi supports broadcast as reported by Jeff Macdonald 1365a4b5b39fSBill Fenner (jeff@iacnet.com). Also correct ieee802 and arcnet. 1366a4b5b39fSBill Fenner 1367a4b5b39fSBill Fenner- Determine Linux pcap buffer size at run time or else it might not be 1368a4b5b39fSBill Fenner big enough for some interface types (e.g. FDDI). Thanks to Jes 1369a4b5b39fSBill Fenner Sorensen (Jes.Sorensen@cern.ch) 1370a4b5b39fSBill Fenner 1371a4b5b39fSBill Fenner- Fix some linux alignment problems. 1372a4b5b39fSBill Fenner 1373a4b5b39fSBill Fenner- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 1374a4b5b39fSBill Fenner (ianm@sics.se) 1375a4b5b39fSBill Fenner 1376a4b5b39fSBill Fenner- Support Metricom radio packets under Linux. Thanks to Kevin Lai 1377a4b5b39fSBill Fenner (laik@gunpowder.stanford.edu) 1378a4b5b39fSBill Fenner 1379a4b5b39fSBill Fenner- Bind to interface name under Linux to avoid packets from multiple 1380a4b5b39fSBill Fenner interfaces on multi-homed hosts. Thanks to Kevin Lai 1381a4b5b39fSBill Fenner (laik@gunpowder.stanford.edu) 1382a4b5b39fSBill Fenner 1383a4b5b39fSBill Fenner- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 1384a4b5b39fSBill Fenner (rroberts@muller.com) 1385a4b5b39fSBill Fenner 1386a4b5b39fSBill Fenner- Fixed an uninitialized memory reference found by Kent Vander Velden 1387a4b5b39fSBill Fenner (graphix@iastate.edu) 1388a4b5b39fSBill Fenner 1389a4b5b39fSBill Fenner- Fixed lex pattern for IDs to allow leading digits. As reported by 1390a4b5b39fSBill Fenner Theo de Raadt (deraadt@cvs.openbsd.org) 1391a4b5b39fSBill Fenner 1392a4b5b39fSBill Fenner- Fixed Linux include file problems when using GNU libc. 1393a4b5b39fSBill Fenner 1394a4b5b39fSBill Fenner- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 1395a4b5b39fSBill Fenner Reported reported by Eric Jacksch (jacksch@tenebris.ca) 1396a4b5b39fSBill Fenner 1397a4b5b39fSBill Fenner- Fixed bug in pcap_dispatch() that kept it from returning on packet 1398a4b5b39fSBill Fenner timeouts. 1399a4b5b39fSBill Fenner 1400a4b5b39fSBill Fenner- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 1401a4b5b39fSBill Fenner for "lo" followed by an eos or digit (newer versions of Linux 1402a4b5b39fSBill Fenner apparently call the loopback "lo" instead of "lo0"). 1403a4b5b39fSBill Fenner 1404a4b5b39fSBill Fenner- Fixed Linux networking include files to use ints instead of longs to 1405a4b5b39fSBill Fenner avoid problems with 64 bit longs on the alpha. Thanks to Cristian 1406a4b5b39fSBill Fenner Gafton (gafton@redhat.com) 14073052b236SBill Fenner 14083052b236SBill Fennerv0.3 Sat Nov 30 20:56:27 PST 1996 14093052b236SBill Fenner 14103052b236SBill Fenner- Added Linux support. 14113052b236SBill Fenner 14123052b236SBill Fenner- Fixed savefile bugs. 14133052b236SBill Fenner 14143052b236SBill Fenner- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 14153052b236SBill Fenner 14163052b236SBill Fenner- Add support for bpf kernel port filters. 14173052b236SBill Fenner 14183052b236SBill Fenner- Remove duplicate atalk protocol table entry. Thanks to Christian 14193052b236SBill Fenner Hopps (chopps@water.emich.edu) 14203052b236SBill Fenner 14213052b236SBill Fenner- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 14223052b236SBill Fenner reported to happen under BSD/OS by David Vincenzetti 14233052b236SBill Fenner (vince@cryptonet.it) 14243052b236SBill Fenner 14253052b236SBill Fenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett 14263052b236SBill Fenner (barnett@grymoire.crd.ge.com) 14278cf6c252SPaul Traina 14288cf6c252SPaul Trainav0.2.1 Sun Jul 14 03:02:26 PDT 1996 14298cf6c252SPaul Traina 14306f9cba8fSJoseph Mingrone- Fixes for HP-UX 10. Thanks in part to Thomas Wolfram 14318cf6c252SPaul Traina (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 14328cf6c252SPaul Traina 14338cf6c252SPaul Traina- Added support for SINIX. Thanks to Andrej Borsenkow 14348cf6c252SPaul Traina (borsenkow.msk@sni.de) 14358cf6c252SPaul Traina 14368cf6c252SPaul Traina- Fixes for AIX (although this system is not yet supported). Thanks to 14378cf6c252SPaul Traina John Hawkinson (jhawk@mit.edu) 14388cf6c252SPaul Traina 14398cf6c252SPaul Traina- Use autoconf's idea of the top level directory in install targets. 14408cf6c252SPaul Traina Thanks to John Hawkinson. 14418cf6c252SPaul Traina 14428cf6c252SPaul Traina- Add missing autoconf packet capture result message. Thanks to Bill 14438cf6c252SPaul Traina Fenner (fenner@parc.xerox.com) 14448cf6c252SPaul Traina 14458cf6c252SPaul Traina- Fixed padding problems in the pf module. 14468cf6c252SPaul Traina 14478cf6c252SPaul Traina- Fixed some more alignment problems on the alpha. 14488cf6c252SPaul Traina 14498cf6c252SPaul Traina- Added explicit netmask support. Thanks to Steve Nuchia 14508cf6c252SPaul Traina (steve@research.oknet.com) 14518cf6c252SPaul Traina 14528cf6c252SPaul Traina- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 1453*afdbf109SJoseph Mingrone justifying" 14548cf6c252SPaul Traina 14558cf6c252SPaul Traina- Add "sca" keyword (for DEC cluster services) as suggested by Terry 14568cf6c252SPaul Traina Kennedy (terry@spcvxa.spc.edu) 14578cf6c252SPaul Traina 14588cf6c252SPaul Traina- Add "atalk" keyword as suggested by John Hawkinson. 14598cf6c252SPaul Traina 14608cf6c252SPaul Traina- Add "igrp" keyword. 14618cf6c252SPaul Traina 14628cf6c252SPaul Traina- Fixed HID definition in grammar.y to be a string, not a value. 14638cf6c252SPaul Traina 14648cf6c252SPaul Traina- Use $CC when checking gcc version. Thanks to Carl Lindberg 14658cf6c252SPaul Traina (carl_lindberg@blacksmith.com) 14668cf6c252SPaul Traina 14678cf6c252SPaul Traina- Removed obsolete reference to pcap_immediate() from the man page. 14688cf6c252SPaul Traina Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 14698cf6c252SPaul Traina 14708cf6c252SPaul Traina- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 14718cf6c252SPaul Traina (jch@bsdi.com) 14728cf6c252SPaul Traina 14738cf6c252SPaul Trainav0.2 Sun Jun 23 02:28:42 PDT 1996 14748cf6c252SPaul Traina 14758cf6c252SPaul Traina- Add support for HP-UX. Resulted from code contributed by Tom Murray 14768cf6c252SPaul Traina (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 14778cf6c252SPaul Traina (philipp@res.enst.fr) 14788cf6c252SPaul Traina 14798cf6c252SPaul Traina- Update INSTALL with a reminder to install include files. Thanks to 14808cf6c252SPaul Traina Mark Andrews (mandrews@aw.sgi.com) 14818cf6c252SPaul Traina 14828cf6c252SPaul Traina- Fix bpf compiler alignment bug on the alpha. 14838cf6c252SPaul Traina 14848cf6c252SPaul Traina- Use autoconf to detect architectures that can't handle misaligned 14858cf6c252SPaul Traina accesses. 14868cf6c252SPaul Traina 14878cf6c252SPaul Traina- Added loopback support for snoop. Resulted from report Steve 14888cf6c252SPaul Traina Alexander (sca@engr.sgi.com) 14898cf6c252SPaul Traina 14908cf6c252SPaul Trainav0.1 Fri Apr 28 18:11:03 PDT 1995 14918cf6c252SPaul Traina 14928cf6c252SPaul Traina- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 14938cf6c252SPaul Traina comparison operators, while the code generator and optimizer assumed 14948cf6c252SPaul Traina signed semantics in several places. Thanks to Charlie Slater 14958cf6c252SPaul Traina (cslater@imatek.com) for pointing this out. 14968cf6c252SPaul Traina 14978cf6c252SPaul Traina- Removed FDDI ifdef's, they aren't really needed. Resulted from report 14988cf6c252SPaul Traina by Gary Veum (veum@boa.gsfc.nasa.gov). 14998cf6c252SPaul Traina 15008cf6c252SPaul Traina- Add pcap-null.c which allows offline use of libpcap on systems that 15018cf6c252SPaul Traina don't support live package capture. This feature resulting from a 15028cf6c252SPaul Traina request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 15038cf6c252SPaul Traina 15048cf6c252SPaul Traina- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 15058cf6c252SPaul Traina (Pascal.Hennequin@hugo.int-evry.fr). 15068cf6c252SPaul Traina 15078cf6c252SPaul Traina- Port to GNU autoconf. 15088cf6c252SPaul Traina 15098cf6c252SPaul Traina- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 15108cf6c252SPaul Traina Johansen (fsj@csd.cri.dk). 15118cf6c252SPaul Traina 15128cf6c252SPaul Traina- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 15138cf6c252SPaul Traina Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 15148cf6c252SPaul Traina 15158cf6c252SPaul Traina- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 15168cf6c252SPaul Traina by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 15178cf6c252SPaul Traina 15188cf6c252SPaul Traina- Add support for "long jumps". Thanks to Jeffrey Mogul 15198cf6c252SPaul Traina (mogul@pa.dec.com). 15208cf6c252SPaul Traina 15218cf6c252SPaul Traina- Fix minor problems when compiling with BDEBUG as noticed by Scott 15228cf6c252SPaul Traina Bertilson (scott@unet.umn.edu). 15238cf6c252SPaul Traina 15248cf6c252SPaul Traina- Declare sys_errlist "const char *const" to avoid problems under 15258cf6c252SPaul Traina FreeBSD. Resulted from report by jher@eden.com. 15268cf6c252SPaul Traina 15278cf6c252SPaul Trainav0.0.6 Fri Apr 28 04:07:13 PDT 1995 15288cf6c252SPaul Traina 15298cf6c252SPaul Traina- Add missing variable declaration missing from 0.0.6 15308cf6c252SPaul Traina 15318cf6c252SPaul Trainav0.0.5 Fri Apr 28 00:22:21 PDT 1995 15328cf6c252SPaul Traina 15338cf6c252SPaul Traina- Workaround for problems when pcap_read() returns 0 due to the timeout 15348cf6c252SPaul Traina expiring. 15358cf6c252SPaul Traina 15368cf6c252SPaul Trainav0.0.4 Thu Apr 20 20:41:48 PDT 1995 15378cf6c252SPaul Traina 15388cf6c252SPaul Traina- Change configuration to not use gcc v2 flags with gcc v1. 15398cf6c252SPaul Traina 15408cf6c252SPaul Traina- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 15418cf6c252SPaul Traina should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 15428cf6c252SPaul Traina 15438cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under 15448cf6c252SPaul Traina IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 15458cf6c252SPaul Traina 15468cf6c252SPaul Traina- Hack around deficiency in Ultrix's make. 15478cf6c252SPaul Traina 15488cf6c252SPaul Traina- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 15498cf6c252SPaul Traina savefiles that have more than snapshot bytes of data in them (so we 15508cf6c252SPaul Traina can read old savefiles) and avoid writing such files. 15518cf6c252SPaul Traina 15528cf6c252SPaul Traina- Added checkioctl which is used with gcc to check that the 15538cf6c252SPaul Traina "fixincludes" script has been run. 15548cf6c252SPaul Traina 15558cf6c252SPaul Trainav0.0.3 Tue Oct 18 18:13:46 PDT 1994 15568cf6c252SPaul Traina 15578cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under 15588cf6c252SPaul Traina IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 15598cf6c252SPaul Traina 15608cf6c252SPaul Trainav0.0.2 Wed Oct 12 20:56:37 PDT 1994 15618cf6c252SPaul Traina 15628cf6c252SPaul Traina- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 15638cf6c252SPaul Traina Stevens. 15648cf6c252SPaul Traina 15658cf6c252SPaul Traina- Determine pcap link type from dlpi media type. Resulted from report 15668cf6c252SPaul Traina by Mahesh Jethanandani (mahesh@npix.com). 15678cf6c252SPaul Traina 15688cf6c252SPaul Trainav0.0.1 Fri Jun 24 14:50:57 PDT 1994 15698cf6c252SPaul Traina 15708cf6c252SPaul Traina- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 15718cf6c252SPaul Traina wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 15728cf6c252SPaul Traina Invalid argument" error under OSF/1. Reported by Matt Day 15738cf6c252SPaul Traina (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 15748cf6c252SPaul Traina 15758cf6c252SPaul Traina- Turn on FDDI support by default. 15768cf6c252SPaul Traina 15778cf6c252SPaul Trainav0.0 Mon Jun 20 19:20:16 PDT 1994 15788cf6c252SPaul Traina 15798cf6c252SPaul Traina- Initial release. 15808cf6c252SPaul Traina 15818cf6c252SPaul Traina- Fixed bug with greater/less keywords, reported by Mark Andrews 15828cf6c252SPaul Traina (mandrews@alias.com). 15838cf6c252SPaul Traina 15848cf6c252SPaul Traina- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 15858cf6c252SPaul Traina by Elan Amir (elan@leeb.cs.berkeley.edu). 15868cf6c252SPaul Traina 15878cf6c252SPaul Traina- Machines with little-endian byte ordering are supported thanks to 15888cf6c252SPaul Traina Jeff Mogul. 15898cf6c252SPaul Traina 15908cf6c252SPaul Traina- Add hack for version 2.3 savefiles which don't have caplen and len 15918cf6c252SPaul Traina swapped thanks to Vern Paxson. 15928cf6c252SPaul Traina 15938cf6c252SPaul Traina- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 15948cf6c252SPaul Traina 15958cf6c252SPaul Traina- Added length, inbound and outbound keywords. 1596