1*ea16f64eSAntonio Huete JimenezMonthday, Month DD, YYYY 2*ea16f64eSAntonio Huete Jimenez Summary for 1.10.1 libpcap release (so far!) 3*ea16f64eSAntonio Huete Jimenez Packet filtering: 4*ea16f64eSAntonio Huete Jimenez Fix "type XXX subtype YYY" giving a parse error 5*ea16f64eSAntonio Huete Jimenez Source code: 6*ea16f64eSAntonio Huete Jimenez Add PCAP_AVAILABLE_1_11. 7*ea16f64eSAntonio Huete Jimenez Building and testing: 8*ea16f64eSAntonio Huete Jimenez Rename struct bpf_aux_data to avoid NetBSD compile errors 9*ea16f64eSAntonio Huete Jimenez Squelch some compiler warnings 10*ea16f64eSAntonio Huete Jimenez Squelch some Bison warnings 11*ea16f64eSAntonio Huete Jimenez Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR 12*ea16f64eSAntonio Huete Jimenez Fix Bison detection for minor version 0. 13*ea16f64eSAntonio Huete Jimenez Fix parallel build with FreeBSD make. 14*ea16f64eSAntonio Huete Jimenez Get DLT_MATCHING_MAX right in gencode.c on NetBSD. 15*ea16f64eSAntonio Huete Jimenez Define timeradd() and timersub() if necessary. 16*ea16f64eSAntonio Huete Jimenez Fix Cygwin/MSYS target directories. 17*ea16f64eSAntonio Huete Jimenez Fix symlinking with DESTDIR. 18*ea16f64eSAntonio Huete Jimenez Fix generation of libpcap.pc with CMake when not building a shared 19*ea16f64eSAntonio Huete Jimenez library. 20*ea16f64eSAntonio Huete Jimenez Check for Arm64 as well as x86-64 when looking for packet.lib on 21*ea16f64eSAntonio Huete Jimenez Windows. 22*ea16f64eSAntonio Huete Jimenez Documentation: 23*ea16f64eSAntonio Huete Jimenez Refine Markdown in README.md. 24*ea16f64eSAntonio Huete Jimenez Improve the description of portrange in filters. 25*ea16f64eSAntonio Huete Jimenez README.linux.md isn't Markdown, rename it just README.linux. 26*ea16f64eSAntonio Huete Jimenez pcapng: 27*ea16f64eSAntonio Huete Jimenez Support reading version 1.2, which some writers produce, and which 28*ea16f64eSAntonio Huete Jimenez is the same as 1.0 (some new block types were added, but 29*ea16f64eSAntonio Huete Jimenez that's not sufficient reason to bump the minor version number, 30*ea16f64eSAntonio Huete Jimenez as code that understands those new block types can handle them 31*ea16f64eSAntonio Huete Jimenez in a 1.0 file) 32*ea16f64eSAntonio Huete Jimenez Linux: 33*ea16f64eSAntonio Huete Jimenez Drop support for text-mode USB captures, as we require a 2.6.27 34*ea16f64eSAntonio Huete Jimenez or later kernel (credit to Chaoyuan Peng for noting the 35*ea16f64eSAntonio Huete Jimenez sscanf vulnerabilities in the text-mode code that got me to 36*ea16f64eSAntonio Huete Jimenez realize that we didn't need this code any more) 37*ea16f64eSAntonio Huete Jimenez Bluetooth: fix non-blocking mode. 38*ea16f64eSAntonio Huete Jimenez Don't assume that all compilers used to build for Linux support 39*ea16f64eSAntonio Huete Jimenez the __atomic builtins 40*ea16f64eSAntonio Huete Jimenez Windows: 41*ea16f64eSAntonio Huete Jimenez Add more information in "interface disappeared" error messages, in 42*ea16f64eSAntonio Huete Jimenez the hopes of trying to figure out the cause. 43*ea16f64eSAntonio Huete Jimenez Treat ERROR_DEVICE_REMOVED as "device was removed". 44*ea16f64eSAntonio Huete Jimenez Indicate in the error message which "device was removed" error 45*ea16f64eSAntonio Huete Jimenez occurred. 46*ea16f64eSAntonio Huete Jimenez Report the Windows error status if PacketSendPacket() fails. 47*ea16f64eSAntonio Huete Jimenez Use %lu for ULONGs in error message formats. 48*ea16f64eSAntonio Huete Jimenez Don't treat the inability to find airpcap.dll as an error. 49*ea16f64eSAntonio Huete Jimenez Ignore spurious error reports by Microsoft Surface mobile 50*ea16f64eSAntonio Huete Jimenez telephony modem driver 51*ea16f64eSAntonio Huete Jimenez rpcap: 52*ea16f64eSAntonio Huete Jimenez Clean up error checking and error messages for server address 53*ea16f64eSAntonio Huete Jimenez lookup. 54*ea16f64eSAntonio Huete Jimenez 55*ea16f64eSAntonio Huete JimenezTuesday, December 29, 2020 56*ea16f64eSAntonio Huete Jimenez Summary for 1.10.0 libpcap release 57*ea16f64eSAntonio Huete Jimenez Add support for capturing on DPDK devices 58*ea16f64eSAntonio Huete Jimenez Label most APIs by the first release in which they're available 59*ea16f64eSAntonio Huete Jimenez Fix some memory leaks, including in pcap_compile() 60*ea16f64eSAntonio Huete Jimenez Add pcap_datalink_val_to_description_or_dlt() 61*ea16f64eSAntonio Huete Jimenez Handle the pcap private data in a fashion that makes fewer 62*ea16f64eSAntonio Huete Jimenez assumptions about memory layouts (might fix GitHub issue #940 63*ea16f64eSAntonio Huete Jimenez on ARM) 64*ea16f64eSAntonio Huete Jimenez Fix some thread safety issues 65*ea16f64eSAntonio Huete Jimenez pcap_findalldevs(): don't sort interfaces by unit number 66*ea16f64eSAntonio Huete Jimenez Always return a list of supported time-stamp types, even if only 67*ea16f64eSAntonio Huete Jimenez host time stamps are supported 68*ea16f64eSAntonio Huete Jimenez Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP 69*ea16f64eSAntonio Huete Jimenez Report the DLT description in error messages 70*ea16f64eSAntonio Huete Jimenez Add pcap_init() for first-time initialization and global option 71*ea16f64eSAntonio Huete Jimenez setting; it's not required, but may be used 72*ea16f64eSAntonio Huete Jimenez Remove (unused) SITA support 73*ea16f64eSAntonio Huete Jimenez Capture file reading: 74*ea16f64eSAntonio Huete Jimenez Correctly handle pcapng captures with more than one IDB with a 75*ea16f64eSAntonio Huete Jimenez snspshot length greater than the supported maximum 76*ea16f64eSAntonio Huete Jimenez Capture file writing: 77*ea16f64eSAntonio Huete Jimenez Create the file in pcap_dump_open_append() if it doesn't exist 78*ea16f64eSAntonio Huete Jimenez Packet filtering: 79*ea16f64eSAntonio Huete Jimenez Fix "unknown ether proto 'aarp'" 80*ea16f64eSAntonio Huete Jimenez Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all 81*ea16f64eSAntonio Huete Jimenez platforms and live Linux captures 82*ea16f64eSAntonio Huete Jimenez Add a hack to the optimizer to try to catch certain optimizer 83*ea16f64eSAntonio Huete Jimenez loops (should prevent GitHub issue #112) 84*ea16f64eSAntonio Huete Jimenez Show special Linux BPF offsets symbolically in bpf_image() and 85*ea16f64eSAntonio Huete Jimenez bpf_dump() 86*ea16f64eSAntonio Huete Jimenez Added support for ICMPv6 types 1-4 as tokens with names 87*ea16f64eSAntonio Huete Jimenez Remove undocumented and rather old "ether proto" protocols 88*ea16f64eSAntonio Huete Jimenez Catch invalid IPv4 addresses in filters 89*ea16f64eSAntonio Huete Jimenez Don't assume ARM supports unaligned accesses 90*ea16f64eSAntonio Huete Jimenez Security and other issues found by analysis: 91*ea16f64eSAntonio Huete Jimenez Fix various security issues reported by Charles Smith at Tangible 92*ea16f64eSAntonio Huete Jimenez Security 93*ea16f64eSAntonio Huete Jimenez Fix various security issues reported by Include Security 94*ea16f64eSAntonio Huete Jimenez Fix some issues found by cppcheck. 95*ea16f64eSAntonio Huete Jimenez Add some overflow checks in the optimizer 96*ea16f64eSAntonio Huete Jimenez rpcap: 97*ea16f64eSAntonio Huete Jimenez Support rpcap-over-TLS 98*ea16f64eSAntonio Huete Jimenez Redo protocol version negotiation to avoid problems with old 99*ea16f64eSAntonio Huete Jimenez servers (it still works with servers using the old negotiation, 100*ea16f64eSAntonio Huete Jimenez as well as servers not supporting negotiation) 101*ea16f64eSAntonio Huete Jimenez Error handling cleanups 102*ea16f64eSAntonio Huete Jimenez Add some new authentication libpcap error codes for specific 103*ea16f64eSAntonio Huete Jimenez errors 104*ea16f64eSAntonio Huete Jimenez Fix some inetd issues in rpcapd 105*ea16f64eSAntonio Huete Jimenez Fix rpcapd core dumps with invalid configuration file 106*ea16f64eSAntonio Huete Jimenez On UN*X, don't have rpcapd tell the client why authentication 107*ea16f64eSAntonio Huete Jimenez failed, so a brute-force attacker can't distinguish between 108*ea16f64eSAntonio Huete Jimenez "unknown user name" and "known user name, wrong password" 109*ea16f64eSAntonio Huete Jimenez Allow rpcapd to rebind more rapidly (GitHub issue #765) 110*ea16f64eSAntonio Huete Jimenez Documentation: 111*ea16f64eSAntonio Huete Jimenez Improve man pages, including adding backward compatibility notes 112*ea16f64eSAntonio Huete Jimenez Building and testing: 113*ea16f64eSAntonio Huete Jimenez Require, and assume, some level of C99 support in the C compiler 114*ea16f64eSAntonio Huete Jimenez Require Visual Studio 2015 or later if using Visual Studio 115*ea16f64eSAntonio Huete Jimenez Fix configure script issues, including with libnl on Linux 116*ea16f64eSAntonio Huete Jimenez Fix CMake issues 117*ea16f64eSAntonio Huete Jimenez Squelch complaints from Bison about "%define api.pure" being 118*ea16f64eSAntonio Huete Jimenez deprecated 119*ea16f64eSAntonio Huete Jimenez Fix compilation of pcap-tc.c 120*ea16f64eSAntonio Huete Jimenez Linux: 121*ea16f64eSAntonio Huete Jimenez Require PF_PACKET support, and kernel 2.6.27 or later 122*ea16f64eSAntonio Huete Jimenez Handle systems without AF_INET or AF_UNIX socket support 123*ea16f64eSAntonio Huete Jimenez Get rid of Wireless Extensions for turning monitor mode on 124*ea16f64eSAntonio Huete Jimenez Proper memory sync for PACKET_MMAP (may prevent GitHub issue 125*ea16f64eSAntonio Huete Jimenez #898) 126*ea16f64eSAntonio Huete Jimenez Drop support for libnl 1 and 2. 127*ea16f64eSAntonio Huete Jimenez Return error on interface going away, but not if it just went 128*ea16f64eSAntonio Huete Jimenez down but is still present 129*ea16f64eSAntonio Huete Jimenez Set socket protocol only after packet ring configured, 130*ea16f64eSAntonio Huete Jimenez reducing bogus packet drop reports 131*ea16f64eSAntonio Huete Jimenez Get ifdrop stats from sysfs. 132*ea16f64eSAntonio Huete Jimenez When adjusting BPF programs, do not subtract the 133*ea16f64eSAntonio Huete Jimenez SLL[2]_HDR_LEN if the location is negative (special metadata 134*ea16f64eSAntonio Huete Jimenez offset), to preserve references to metadata; see 135*ea16f64eSAntonio Huete Jimenez https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment-486827278 136*ea16f64eSAntonio Huete Jimenez Report a warning for unknown ARPHRD types 137*ea16f64eSAntonio Huete Jimenez Have pcap_breakloop() forcibly break out of a sleeping 138*ea16f64eSAntonio Huete Jimenez capture loop 139*ea16f64eSAntonio Huete Jimenez Add support for DSA data link types 140*ea16f64eSAntonio Huete Jimenez For raw USB bus capture, use the snapshot length to set the 141*ea16f64eSAntonio Huete Jimenez buffer size, and set the len field to reflect the length 142*ea16f64eSAntonio Huete Jimenez in the URB (GitHub issue #808) 143*ea16f64eSAntonio Huete Jimenez With a timeout of zero, wait indefinitely 144*ea16f64eSAntonio Huete Jimenez Clean up support for some non-GNU libc C libraries 145*ea16f64eSAntonio Huete Jimenez Add DLT_LINUX_SLL2 for cooked-mode captures 146*ea16f64eSAntonio Huete Jimenez Probe CONFIGURATION descriptor of connected USB devices 147*ea16f64eSAntonio Huete Jimenez Treat EPERM on ethtool ioctls as meaning "not supported", as 148*ea16f64eSAntonio Huete Jimenez permissions checks are done before checking whether the 149*ea16f64eSAntonio Huete Jimenez ioctl is supported at all 150*ea16f64eSAntonio Huete Jimenez macOS: 151*ea16f64eSAntonio Huete Jimenez Cope with getting EPWROFF from SIOCGIFMEDIA 152*ea16f64eSAntonio Huete Jimenez Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as 153*ea16f64eSAntonio Huete Jimenez permissions checks are done before checking whether the 154*ea16f64eSAntonio Huete Jimenez ioctl is supported at all 155*ea16f64eSAntonio Huete Jimenez Treat ENXIO when reading packets as meaning "the interface 156*ea16f64eSAntonio Huete Jimenez was removed" 157*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 158*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 159*ea16f64eSAntonio Huete Jimenez FreeBSD: 160*ea16f64eSAntonio Huete Jimenez Treat ENXIO as meaning "the interface was removed" 161*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 162*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 163*ea16f64eSAntonio Huete Jimenez NetBSD: 164*ea16f64eSAntonio Huete Jimenez Treat ENXIO as meaning "the interface was removed" 165*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 166*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 167*ea16f64eSAntonio Huete Jimenez OpenBSD: 168*ea16f64eSAntonio Huete Jimenez Treat EIO as meaning "the interface was removed" 169*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 170*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 171*ea16f64eSAntonio Huete Jimenez DragonFly BSD: 172*ea16f64eSAntonio Huete Jimenez Treat ENXIO as meaning "the interface was removed" 173*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 174*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 175*ea16f64eSAntonio Huete Jimenez Solaris: 176*ea16f64eSAntonio Huete Jimenez Treat ENXIO as meaning "the interface was removed" 177*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 178*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 179*ea16f64eSAntonio Huete Jimenez AIX: 180*ea16f64eSAntonio Huete Jimenez Fix loading of BPF kernel extension 181*ea16f64eSAntonio Huete Jimenez Treat ENXIO as meaning "the interface was removed" 182*ea16f64eSAntonio Huete Jimenez Report "the interface disappeared", not "the interface went 183*ea16f64eSAntonio Huete Jimenez down", if the interface was removed during a capture 184*ea16f64eSAntonio Huete Jimenez Windows: 185*ea16f64eSAntonio Huete Jimenez Make the snapshot length work even if pcap_setfilter() 186*ea16f64eSAntonio Huete Jimenez isn't called 187*ea16f64eSAntonio Huete Jimenez Fix compilation on Cygwin/MSYS 188*ea16f64eSAntonio Huete Jimenez Add pcap_handle(), and deprecate pcap_fileno() 189*ea16f64eSAntonio Huete Jimenez Report PCAP_ERROR_NO_SUCH_DEVICE for a non-existent device 190*ea16f64eSAntonio Huete Jimenez Return an appropriate error message for device removed or 191*ea16f64eSAntonio Huete Jimenez device unusable due to a suspend/resume 192*ea16f64eSAntonio Huete Jimenez Report a warning for unknown NdisMedium types 193*ea16f64eSAntonio Huete Jimenez Have pcap_breakloop() forcibly break out of a sleeping 194*ea16f64eSAntonio Huete Jimenez capture loop 195*ea16f64eSAntonio Huete Jimenez Clean up building DLL 196*ea16f64eSAntonio Huete Jimenez Handle CRT mismatch for pcap_dump_fopen() 197*ea16f64eSAntonio Huete Jimenez Map NdisMediumWirelessWan to DLT_RAW 198*ea16f64eSAntonio Huete Jimenez Add AirPcap support in a module, rather than using 199*ea16f64eSAntonio Huete Jimenez WinPcap/Npcap's support for it 200*ea16f64eSAntonio Huete Jimenez Report the system error for PacketSetHwFilter() failures 201*ea16f64eSAntonio Huete Jimenez Add support for getting and setting packet time stamp types 202*ea16f64eSAntonio Huete Jimenez with Npcap 203*ea16f64eSAntonio Huete Jimenez Have pcap_init() allow selecting whether the API should use 204*ea16f64eSAntonio Huete Jimenez local code page strings or UTF-8 strings (including error 205*ea16f64eSAntonio Huete Jimenez messages) 206*ea16f64eSAntonio Huete Jimenez Haiku: 207*ea16f64eSAntonio Huete Jimenez Add capture support 208*ea16f64eSAntonio Huete Jimenez 2093a289941SAaron LISunday, July 22, 2018 2103a289941SAaron LI Summary for 1.9.1 libpcap release 2113a289941SAaron LI Mention pcap_get_required_select_timeout() in the main pcap man page 2123a289941SAaron LI Fix pcap-usb-linux.c build on systems with musl 2133a289941SAaron LI Fix assorted man page and other documentation issues 2143a289941SAaron LI Plug assorted memory leaks 2153a289941SAaron LI Documentation changes to use https: 2163a289941SAaron LI Changes to how time stamp calculations are done 2173a289941SAaron LI Lots of tweaks to make newer compilers happier and warning-free and 2183a289941SAaron LI to fix instances of C undefined behavior 2193a289941SAaron LI Warn if AC_PROG_CC_C99 can't enable C99 support 2203a289941SAaron LI Rename pcap_set_protocol() to pcap_set_protocol_linux(). 2213a289941SAaron LI Align pcap_t private data on an 8-byte boundary. 2223a289941SAaron LI Fix various error messages 2233a289941SAaron LI Use 64-bit clean API in dag_findalldevs() 2243a289941SAaron LI Fix cleaning up after some errors 2253a289941SAaron LI Work around some ethtool ioctl bugs in newer Linux kernels (GitHub 2263a289941SAaron LI issue #689) 2273a289941SAaron LI Add backwards compatibility sections to some man pages (GitHub issue 2283a289941SAaron LI #745) 2293a289941SAaron LI Fix autotool configuration on AIX and macOS 2303a289941SAaron LI Don't export bpf_filter_with_aux_data() or struct bpf_aux_data; 2313a289941SAaron LI they're internal-only and subject to change 2323a289941SAaron LI Fix pcapng block size checking 2333a289941SAaron LI On macOS, don't build rpcapd or test programs any fatter than they 2343a289941SAaron LI need to be 2353a289941SAaron LI Fix reading of capture statistics for Linux USB 2363a289941SAaron LI Fix packet size values for Linux USB packets (GitHub issue #808) 2373a289941SAaron LI Check only VID in VLAN test in filterss (GitHub issue #461) 2383a289941SAaron LI Fix pcap_list_datalinks on 802.11 devices on macOS 2393a289941SAaron LI Fix overflows with very large snapshot length in pcap file 2403a289941SAaron LI Improve parsing of rpcapd configuration file (GitHub issue #767) 2413a289941SAaron LI Handle systems without strlcpy() or strlcat() better 2423a289941SAaron LI Fix crashes and other errors with invalid filter expressions 2433a289941SAaron LI Fix use of uninitialized file descriptor in remote capture 2443a289941SAaron LI Fix some CMake issues 2453a289941SAaron LI Fix some divide-by-zero issues with the filter compiler 2463a289941SAaron LI Work around a GNU libc bug in pcap_nametonetaddr() 2473a289941SAaron LI Add support for DLT_LINUX_SLL2 2483a289941SAaron LI Fix handling of the packet-count argument for Myricom SNF devices 2493a289941SAaron LI Fix --disable-rdma in configure script (GitHub issue #782) 2503a289941SAaron LI Fix compilation of TurboCap support (GitHub issue #764) 2513a289941SAaron LI Constify first argument to pcap_findalldevs_ex() 2523a289941SAaron LI Fix a number of issues when running rpcapd as an inetd-style daemon 2533a289941SAaron LI Fix CMake issues with D-Bus libraries 2543a289941SAaron LI In rpcapd, clean up termination of a capture session 2553a289941SAaron LI Redo remote capture protocol negotiation 2563a289941SAaron LI In rpcapd, report the same error for "invalid user name" and 2573a289941SAaron LI "invalid password", to make brute-forcing harder 2583a289941SAaron LI For remote captures, add an error code for "the server requires TLS" 2593a289941SAaron LI Fix pcap_dump_fopen() on Windows to avoid clashes between 2603a289941SAaron LI {Win,N}Pcap and application C runtimes 2613a289941SAaron LI Fix exporting of functions from Windows DLLs (GitHub issue #810) 2623a289941SAaron LI Fix building as part of Npcap 2633a289941SAaron LI Allow rpcapd to rebind more rapidly 2643a289941SAaron LI Fix building shared libpcap library on midipix (midipix.org) 2653a289941SAaron LI Fix hack to detect UTF-16LE adapter names on Windows not to go past 2663a289941SAaron LI the end of the string 2673a289941SAaron LI Fix handling of "wireless WAN" (mobile phone network modems) on 2683a289941SAaron LI Windows with WinPcap/Npcap (GitHub issue #824) 2693a289941SAaron LI Have pcap_dump_open_append() create the dump file if it doesn't 2703a289941SAaron LI exists (GitHub issue #247) 2713a289941SAaron LI Fix the maxmum snapshot length for DLT_USBPCAP 2723a289941SAaron LI Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837) 2733a289941SAaron LI Fix CMake 64-bit library installation directory on some Linux 2743a289941SAaron LI distributions 2753a289941SAaron LI Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 2763a289941SAaron LI specified 2773a289941SAaron LI Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165 2783a289941SAaron LI Fixes for CVE-2018-16301, errors in pcapng reading. 2793a289941SAaron LI PCAPNG reader applies some sanity checks before doing malloc(). 2803a289941SAaron LI 2813a289941SAaron LISunday, June 24, 2018, by mcr@sandelman.ca 2823a289941SAaron LI Summary for 1.9.0 libpcap release 2833a289941SAaron LI Added testing system to libpcap, independent of tcpdump 2843a289941SAaron LI Changes to how pcap_t is activated 2853a289941SAaron LI Adding support for Large stream buffers on Endace DAG cards 2863a289941SAaron LI Changes to BSD 3-clause license to 2-clause licence 2873a289941SAaron LI Additions to TCP header parsing, per RFC3168 2883a289941SAaron LI Add CMake build process (extensive number of changes) 2893a289941SAaron LI Assign a value for OpenBSD DLT_OPENFLOW. 2903a289941SAaron LI Support setting non-blocking mode before activating. 2913a289941SAaron LI Extensive build support for Windows VS2010 and MINGW (many many changes, over many months) 2923a289941SAaron LI Added RPCAPD support when --enable-remote (default no) 2933a289941SAaron LI Add the rpcap daemon source and build instructions. 2943a289941SAaron LI Put back the greasy "save the capture filter string so we can tweak it" 2953a289941SAaron LI hack, that keeps libpcap from capturing rpcap traffic. 2963a289941SAaron LI Fixes for captures on MacOS, utun0 2973a289941SAaron LI fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses. 2983a289941SAaron LI Add a linktype for IBM SDLC frames containing SNA PDUs. 2993a289941SAaron LI pcap_compile() in 1.8.0 and later is newly thread-safe. 3003a289941SAaron LI bound snaplen for linux tpacket_v2 to ~64k 3013a289941SAaron LI Make VLAN filter handle both metadata and inline tags 3023a289941SAaron LI D-Bus captures can now be up to 128MB in size 3033a289941SAaron LI Added LORATAP DLT value 304*ea16f64eSAntonio Huete Jimenez Added DLT_VSOCK for https://qemu-project.org/Features/VirtioVsock 3053a289941SAaron LI probe_devices() fixes not to overrun buffer for name of device 3063a289941SAaron LI Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol. 3073a289941SAaron LI RDMA sniffing support for pcap 3083a289941SAaron LI Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type. 3093a289941SAaron LI fixes for reading /etc/ethers 3103a289941SAaron LI Make it possible to build on Windows without packet.dll. 3113a289941SAaron LI Add tests for large file support on UN*X. 3123a289941SAaron LI Solaris fixes to work with 2.8.6 3133a289941SAaron LI configuration test now looks for header files, not capture devices present 3143a289941SAaron LI Fix to work with Berkeley YACC. 3153a289941SAaron LI fixes for DragonBSD compilation of pcap-netmap.c 3163a289941SAaron LI Clean up the ether_hostton() stuff. 3173a289941SAaron LI Add an option to disable Linux memory-mapped capture support. 3183a289941SAaron LI Add DAG API support checks. 3193a289941SAaron LI Add Septel, Myricom SNF, and Riverbed TurboCap checks. 3203a289941SAaron LI Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support. 3213a289941SAaron LI Add a check for hardware time stamping on Linux. 3223a289941SAaron LI Don't bother supporting pre-2005 Visual Studio. 3233a289941SAaron LI Increased minimum autoconf version requirement to 2.64 3243a289941SAaron LI Add DLT value 273 for XRA-31 sniffer 3253a289941SAaron LI Clean up handing of signal interrupts in pcap_read_nocb_remote(). 3263a289941SAaron LI Use the XPG 4.2 versions of the networking APIs in Solaris. 3273a289941SAaron LI Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting. 3283a289941SAaron LI Explicitly warn that negative packet buffer timeouts should not be used. 3293a289941SAaron LI rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units 3303a289941SAaron LI Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS. 3313a289941SAaron LI Add DISPLAYPORT AUX link type 3323a289941SAaron LI Remove the sunos4 kernel modules and all references to them. 3333a289941SAaron LI Add more interface flags to pcap_findalldevs(). 3343a289941SAaron LI Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu) 3353a289941SAaron LI Man page improvements 3363a289941SAaron LI Fix Linux cooked mode userspace filtering (GitHub pull request #429) 3373a289941SAaron LI Fix compilation if IPv6 support not enabled 3383a289941SAaron LI Fix some Linux memory-mapped capture buffer size issues 3393a289941SAaron LI Don't fail if kernel filter can't be set on Linux (GitHub issue 3403a289941SAaron LI #549) 3413a289941SAaron LI Improve sorting of interfaces for pcap_findalldevs() 3423a289941SAaron LI Don't list Linux usbmon devices if usbmon module isn't loaded 3433a289941SAaron LI Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon 3443a289941SAaron LI devices 3453a289941SAaron LI Fix DLT_ type for Solaris IPNET devices 3463a289941SAaron LI Always return an error message for errors finding DAG or Myricom 3473a289941SAaron LI devices 3483a289941SAaron LI If possible, don't require that a device be openable when 3493a289941SAaron LI enumerating them for pcap_findalldevs() 3503a289941SAaron LI Don't put incompletely-initialized addresses in the address list for 3513a289941SAaron LI When finding Myricom devices, update description for regular 3523a289941SAaron LI interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port 3533a289941SAaron LI aggregation enabled) 3543a289941SAaron LI Fix compilation error in DAG support 3553a289941SAaron LI Fix issues with CMake configuration 3563a289941SAaron LI Add support for stream buffers larger than 2GB on newer DAG cards 3573a289941SAaron LI Remove support for building against DAG versions without STREAMS 3583a289941SAaron LI support (before dag-3.0.0 2007) 3593a289941SAaron LI 36097a9217aSAntonio Huete JimenezTuesday, Oct. 25, 2016 mcr@sandelman.ca 36197a9217aSAntonio Huete Jimenez Summary for 1.8.1 libpcap release 36297a9217aSAntonio Huete Jimenez Add a target in Makefile.in for Exuberant Ctags use: 'extags'. 36397a9217aSAntonio Huete Jimenez Rename configure.in to configure.ac: autoconf 2.59 36497a9217aSAntonio Huete Jimenez Clean up the name-to-DLT mapping table. 36597a9217aSAntonio Huete Jimenez Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS 36697a9217aSAntonio Huete Jimenez Clarify what the return values are for both success and failure. 36797a9217aSAntonio Huete Jimenez Many changes to build on windows 36897a9217aSAntonio Huete Jimenez Check for the "break the loop" condition in the inner loop for TPACKET_V3. 36997a9217aSAntonio Huete Jimenez Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. 37097a9217aSAntonio Huete Jimenez Filter out duplicate looped back CAN frames. 37197a9217aSAntonio Huete Jimenez Fix the handling of loopback filters for IPv6 packets. 37297a9217aSAntonio Huete Jimenez Add a link-layer header type for RDS (IEC 62106) groups. 37397a9217aSAntonio Huete Jimenez Use different intermediate folders for x86 and x64 builds on Windows. 37497a9217aSAntonio Huete Jimenez On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. 37597a9217aSAntonio Huete Jimenez Removes the need for the "host-endian" link-layer header type. 37697a9217aSAntonio Huete Jimenez Compile with '-Wused-but-marked-unused' in devel mode if supported 37797a9217aSAntonio Huete Jimenez Have separate DLTs for big-endian and host-endian SocketCAN headers. 37897a9217aSAntonio Huete Jimenez Reflect version.h being renamed to pcap_version.h. 37997a9217aSAntonio Huete Jimenez Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! 38097a9217aSAntonio Huete Jimenez Properly check for sock_recv() errors. 38197a9217aSAntonio Huete Jimenez Re-impose some of Winsock's limitations on sock_recv(). 38297a9217aSAntonio Huete Jimenez Replace sprintf() with pcap_snprintf(). 38397a9217aSAntonio Huete Jimenez Fix signature of pcap_stats_ex_remote(). 38497a9217aSAntonio Huete Jimenez Initial cmake support for remote packet capture. 38597a9217aSAntonio Huete Jimenez Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. 38697a9217aSAntonio Huete Jimenez Clean up {DAG, Septel, Myricom SNF}-only builds. 38797a9217aSAntonio Huete Jimenez Do UTF-16-to-ASCII conversion into the right place. 38897a9217aSAntonio Huete Jimenez pcap_create_interface() needs the interface name on Linux. 38997a9217aSAntonio Huete Jimenez Clean up hardware time stamp support: the "any" device does not support any time stamp types. 39097a9217aSAntonio Huete Jimenez Add support for capturing on FreeBSD usbusN interfaces. 39197a9217aSAntonio Huete Jimenez Add a LINKTYPE/DLT_ value for FreeBSD USB. 39297a9217aSAntonio Huete Jimenez Go back to using PCAP_API on Windows. 39397a9217aSAntonio Huete Jimenez CMake support 39497a9217aSAntonio Huete Jimenez Add TurboCap support from WinPcap. 39597a9217aSAntonio Huete Jimenez Recognize 802.1ad nested VLAN tag in vlan filter. 39697a9217aSAntonio Huete Jimenez 39797a9217aSAntonio Huete JimenezThursday Sep. 3, 2015 guy@alum.mit.edu 39897a9217aSAntonio Huete Jimenez Summary for 1.7.5 libpcap release 39997a9217aSAntonio Huete Jimenez Man page cleanups. 40097a9217aSAntonio Huete Jimenez Add some allocation failure checks. 40197a9217aSAntonio Huete Jimenez Fix a number of Linux/ucLinux configure/build issues. 40297a9217aSAntonio Huete Jimenez Fix some memory leaks. 40397a9217aSAntonio Huete Jimenez Recognize 802.1ad nested VLAN tag in vlan filter. 40497a9217aSAntonio Huete Jimenez Fix building Bluetooth Linux Monitor support with BlueZ 5.1+ 40597a9217aSAntonio Huete Jimenez 40697a9217aSAntonio Huete JimenezSaturday Jun. 27, 2015 mcr@sandelman.ca 40797a9217aSAntonio Huete Jimenez Summary for 1.7.4 libpcap release 40897a9217aSAntonio Huete Jimenez Include fix for GitHub issue #424 -- out of tree builds. 40997a9217aSAntonio Huete Jimenez 41097a9217aSAntonio Huete JimenezFriday Apr. 10, 2015 guy@alum.mit.edu 41197a9217aSAntonio Huete Jimenez Summary for 1.7.3 libpcap release 41297a9217aSAntonio Huete Jimenez Work around a Linux bonding driver bug. 41397a9217aSAntonio Huete Jimenez 41497a9217aSAntonio Huete JimenezThursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca 41597a9217aSAntonio Huete Jimenez Summary for 1.7.2 libpcap release 41697a9217aSAntonio Huete Jimenez Support for filtering Geneve encapsulated packets. 41797a9217aSAntonio Huete Jimenez Generalize encapsulation handling, fixing some bugs. 41897a9217aSAntonio Huete Jimenez Don't add null addresses to address lists. 41997a9217aSAntonio Huete Jimenez Add pcap_dump_open_append() to open for appending. 42097a9217aSAntonio Huete Jimenez Fix the swapping of isochronous descriptors in Linux USB. 42197a9217aSAntonio Huete Jimenez Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel. 42297a9217aSAntonio Huete Jimenez 42397a9217aSAntonio Huete JimenezWednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca 42497a9217aSAntonio Huete Jimenez Summary for 1.7.0 libpcap release 42597a9217aSAntonio Huete Jimenez Fix handling of zones for BPF on Solaris 42697a9217aSAntonio Huete Jimenez new DLT for ZWAVE 42797a9217aSAntonio Huete Jimenez clarifications for read timeouts. 42897a9217aSAntonio Huete Jimenez Use BPF extensions in compiled filters, fixing VLAN filters 42997a9217aSAntonio Huete Jimenez some fixes to compilation without stdint.h 43097a9217aSAntonio Huete Jimenez EBUSY can now be returned by SNFv3 code. 43197a9217aSAntonio Huete Jimenez Fix the range checks in BPF loads 43297a9217aSAntonio Huete Jimenez Various DAG fixes. 43397a9217aSAntonio Huete Jimenez Various Linux fixes. 43497a9217aSAntonio Huete Jimenez 43597a9217aSAntonio Huete JimenezMonday Aug. 12, 2014 guy@alum.mit.edu 43697a9217aSAntonio Huete Jimenez Summary for 1.6.2 libpcap release 43797a9217aSAntonio Huete Jimenez Don't crash on filters testing a non-existent link-layer type 43897a9217aSAntonio Huete Jimenez field. 43997a9217aSAntonio Huete Jimenez Fix sending in non-blocking mode on Linux with memory-mapped 44097a9217aSAntonio Huete Jimenez capture. 44197a9217aSAntonio Huete Jimenez Fix timestamps when reading pcap-ng files on big-endian 44297a9217aSAntonio Huete Jimenez machines. 44397a9217aSAntonio Huete Jimenez 44497a9217aSAntonio Huete JimenezSaturday Jul. 19, 2014 mcr@sandelman.ca 44597a9217aSAntonio Huete Jimenez Summary for 1.6.1 libpcap release 44697a9217aSAntonio Huete Jimenez some fixes for the any device 44797a9217aSAntonio Huete Jimenez changes for how --enable-XXX (--enable-sniffing, --enable-can) works 44897a9217aSAntonio Huete Jimenez 44997a9217aSAntonio Huete JimenezWednesday Jul. 2, 2014 mcr@sandelman.ca 45097a9217aSAntonio Huete Jimenez Summary for 1.6.0 libpcap release 45197a9217aSAntonio Huete Jimenez Don't support D-Bus sniffing on OS X 45297a9217aSAntonio Huete Jimenez fixes for byte order issues with NFLOG captures 45397a9217aSAntonio Huete Jimenez Handle using cooked mode for DLT_NETLINK in activate_new(). 45497a9217aSAntonio Huete Jimenez on platforms where you can not capture on down interfaces, do not list them 45597a9217aSAntonio Huete Jimenez but: do list interfaces which are down, if you can capture on them! 45697a9217aSAntonio Huete Jimenez 45797a9217aSAntonio Huete JimenezWednesday December 18, 2013 guy@alum.mit.edu 45897a9217aSAntonio Huete JimenezSummary for 1.5.3 libpcap release 45997a9217aSAntonio Huete Jimenez Don't let packets that don't match the current filter get to the 46097a9217aSAntonio Huete Jimenez application when TPACKET_V3 is used. (GitHub issue #331) 46197a9217aSAntonio Huete Jimenez Fix handling of pcap_loop()/pcap_dispatch() with a packet count 46297a9217aSAntonio Huete Jimenez of 0 on some platforms (including Linux with TPACKET_V3). 46397a9217aSAntonio Huete Jimenez (GitHub issue #333) 46497a9217aSAntonio Huete Jimenez Work around TPACKET_V3 deficiency that causes packets to be lost 46597a9217aSAntonio Huete Jimenez when a timeout of 0 is specified. (GitHub issue #335) 46697a9217aSAntonio Huete Jimenez Man page formatting fixes. 46797a9217aSAntonio Huete Jimenez 46897a9217aSAntonio Huete JimenezWednesday December 4, 2013 guy@alum.mit.edu 46997a9217aSAntonio Huete JimenezSummary for 1.5.2 libpcap release 47097a9217aSAntonio Huete Jimenez Fix libpcap to work when compiled with TPACKET_V3 support and 47197a9217aSAntonio Huete Jimenez running on a kernel without TPACKET_V3 support. (GitHub 47297a9217aSAntonio Huete Jimenez issue #329) 47397a9217aSAntonio Huete Jimenez 47497a9217aSAntonio Huete JimenezWednesday November 20, 2013 guy@alum.mit.edu 47597a9217aSAntonio Huete JimenezSummary for 1.5.1 libpcap release 47697a9217aSAntonio Huete Jimenez Report an error, rather than crashing, if an IPv6 address is 47797a9217aSAntonio Huete Jimenez used for link-layer filtering. (Wireshark bug 9376) 47897a9217aSAntonio Huete Jimenez 47997a9217aSAntonio Huete JimenezWednesday October 30, 2013 guy@alum.mit.edu 48097a9217aSAntonio Huete JimenezSummary for 1.5.0 libpcap release 48197a9217aSAntonio Huete Jimenez TPACKET_V3 support added for Linux 48297a9217aSAntonio Huete Jimenez Point users to the the-tcpdump-group repository on GitHub rather 48397a9217aSAntonio Huete Jimenez than the mcr repository 48497a9217aSAntonio Huete Jimenez Checks added for malloc()/realloc()/etc. failures 48597a9217aSAntonio Huete Jimenez Fixed build on Solaris 11 486*ea16f64eSAntonio Huete Jimenez Support filtering E1 SS7 traffic on MTP2 layer Annex A 48797a9217aSAntonio Huete Jimenez Use "ln -s" to link man pages by default 48897a9217aSAntonio Huete Jimenez Add support for getting nanosecond-resolution time stamps when 48997a9217aSAntonio Huete Jimenez capturing and reading capture files 49097a9217aSAntonio Huete Jimenez Many changes to autoconf to deal better with non-GCC compilers 49197a9217aSAntonio Huete Jimenez added many new DLT types 49297a9217aSAntonio Huete Jimenez 49397a9217aSAntonio Huete JimenezSaturday April 6, 2013 guy@alum.mit.edu 4940e381983SMatthew DillonSummary for 1.4.0 libpcap release 4950e381983SMatthew Dillon Add netfilter/nfqueue interface. 4960e381983SMatthew Dillon If we don't have support for IPv6 address resolution, support, 4970e381983SMatthew Dillon in filter expressions, what IPv6 stuff we can. 4980e381983SMatthew Dillon Fix pcap-config to include -lpthread if canusb support is 4990e381983SMatthew Dillon present 5000e381983SMatthew Dillon Try to fix "pcap_parse not defined" problems when --without-flex 5010e381983SMatthew Dillon and --without-bison are used when you have Flex and Bison 5020e381983SMatthew Dillon Fix some issues with the pcap_loop man page. 5030e381983SMatthew Dillon Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 5040e381983SMatthew Dillon supplied error message buffer 5050e381983SMatthew Dillon Fix typo that, it appeared, would cause pcap-libdlpi.c not to 5060e381983SMatthew Dillon compile (perhaps systems with libdlpi also have BPF and use 5070e381983SMatthew Dillon that instead) 5080e381983SMatthew Dillon Catch attempts to call pcap_compile() on a non-activated pcap_t 5090e381983SMatthew Dillon Fix crash on Linux with CAN-USB support without usbfs 5100e381983SMatthew Dillon Fix addition of VLAN tags for Linux cooked captures 5110e381983SMatthew Dillon Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 5120e381983SMatthew Dillon that the driver can report either one if it doesn't support 5130e381983SMatthew Dillon SIOCETHTOOL 5140e381983SMatthew Dillon Add DLT_INFINIBAND and DLT_SCTP 5150e381983SMatthew Dillon Describe "proto XXX" and "protochain XXX" in the pcap-filter man 5160e381983SMatthew Dillon page 5170e381983SMatthew Dillon Handle either directories, or symlinks to directories, that 5180e381983SMatthew Dillon correspond to interfaces in /sys/class/net 5190e381983SMatthew Dillon Fix handling of VLAN tag insertion to check, on Linux 3.x 5200e381983SMatthew Dillon kernels, for VLAN tag valid flag 5210e381983SMatthew Dillon Clean up some man pages 5220e381983SMatthew Dillon Support libnl3 as well as libnl1 and libnl2 on Linux 52397a9217aSAntonio Huete Jimenez Fix handling of Bluetooth devices on 3.x Linux kernels 5240e381983SMatthew Dillon 5250e1eae1fSPeter AvalosFriday March 30, 2012. mcr@sandelman.ca 5260e1eae1fSPeter AvalosSummary for 1.3.0 libpcap release 5270e1eae1fSPeter Avalos Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 5280e1eae1fSPeter Avalos Linux: Don't fail if netfilter isn't enabled in the kernel. 5290e1eae1fSPeter Avalos Add new link-layer type for NFC Forum LLCP. 5300e1eae1fSPeter Avalos Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 5310e1eae1fSPeter Avalos Add LINKTYPE_NG40/DLT_NG40. 5320e1eae1fSPeter Avalos Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 5330e1eae1fSPeter Avalos [PATCH] Fix AIX-3.5 crash with read failure during stress 5340e1eae1fSPeter Avalos AIX fixes. 5350e1eae1fSPeter Avalos Introduce --disable-shared configure option. 5360e1eae1fSPeter Avalos Added initial support for canusb devices. 5370e1eae1fSPeter Avalos Include the pcap(3PCAP) additions as 1.2.1 changes. 5380e1eae1fSPeter Avalos many updates to documentation: pcap.3pcap.in 5390e1eae1fSPeter Avalos Improve 'inbound'/'outbound' capture filters under Linux. 5400e1eae1fSPeter Avalos Note the cleanup of handling of new DLT_/LINKTYPE_ values. 5410e1eae1fSPeter Avalos On Lion, don't build for PPC. 5420e1eae1fSPeter Avalos For mac80211 devices we need to clean up monitor mode on exit. 5430e1eae1fSPeter Avalos 544a85e14b0SPeter AvalosFriday December 9, 2011. guy@alum.mit.edu. 545a85e14b0SPeter AvalosSummary for 1.2.1 libpcap release 546a85e14b0SPeter Avalos Update README file. 547*ea16f64eSAntonio Huete Jimenez Fix typos in README.linux file. 548a85e14b0SPeter Avalos Clean up some compiler warnings. 549a85e14b0SPeter Avalos Fix Linux compile problems and tests for ethtool.h. 550a85e14b0SPeter Avalos Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 551a85e14b0SPeter Avalos toolchains. 552a85e14b0SPeter Avalos Support 802.1 QinQ as a form of VLAN in filters. 553a85e14b0SPeter Avalos Treat "carp" as equivalent to "vrrp" in filters. 554a85e14b0SPeter Avalos Fix code generated for "ip6 protochain". 555a85e14b0SPeter Avalos Add some new link-layer header types. 556a85e14b0SPeter Avalos Support capturing NetFilter log messages on Linux. 557a85e14b0SPeter Avalos Clean up some error messages. 558a85e14b0SPeter Avalos Turn off monitor mode on exit for mac80211 interfaces on Linux. 559a85e14b0SPeter Avalos Fix problems turning monitor mode on for non-mac80211 interfaces 560a85e14b0SPeter Avalos on Linux. 561a85e14b0SPeter Avalos Properly fail if /sys/class/net or /proc/net/dev exist but can't 562a85e14b0SPeter Avalos be opened. 563a85e14b0SPeter Avalos Fail if pcap_activate() is called on an already-activated 564a85e14b0SPeter Avalos pcap_t, and add a test program for that. 565a85e14b0SPeter Avalos Fix filtering in pcap-ng files. 566a85e14b0SPeter Avalos Don't build for PowerPC on Mac OS X Lion. 567a85e14b0SPeter Avalos Simplify handling of new DLT_/LINKTYPE_ values. 568a85e14b0SPeter Avalos Expand pcap(3PCAP) man page. 569a85e14b0SPeter Avalos 570a85e14b0SPeter AvalosSunday July 24, 2011. mcr@sandelman.ca. 571a85e14b0SPeter AvalosSummary for 1.2 libpcap release 572a85e14b0SPeter Avalos All of the changes listed below for 1.1.1 and 1.1.2. 573a85e14b0SPeter Avalos Changes to error handling for pcap_findalldevs(). 574a85e14b0SPeter Avalos Fix the calculation of the frame size in memory-mapped captures. 575a85e14b0SPeter Avalos Add a link-layer header type for STANAG 5066 D_PDUs. 576a85e14b0SPeter Avalos Add a link-layer type for a variant of 3GPP TS 27.010. 577a85e14b0SPeter Avalos Noted real nature of LINKTYPE_ARCNET. 578a85e14b0SPeter Avalos Add a link-layer type for DVB-CI. 579a85e14b0SPeter Avalos Fix configure-script discovery of VLAN acceleration support. 580*ea16f64eSAntonio Huete Jimenez see https://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 581a85e14b0SPeter Avalos Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 582a85e14b0SPeter Avalos Protect against including AIX 5.x's <net/bpf.h> having been included. 583a85e14b0SPeter Avalos Add DLT_DBUS, for raw D-Bus messages. 584a85e14b0SPeter Avalos Treat either EPERM or EACCES as "no soup for you". 585a85e14b0SPeter Avalos Changes to permissions on DLPI systems. 586a85e14b0SPeter Avalos Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 587a85e14b0SPeter Avalos 588a85e14b0SPeter AvalosFri. August 6, 2010. guy@alum.mit.edu. 589a85e14b0SPeter AvalosSummary for 1.1.2 libpcap release 590a85e14b0SPeter Avalos Return DLT_ values, not raw LINKTYPE_ values from 591a85e14b0SPeter Avalos pcap_datalink() when reading pcap-ng files 592a85e14b0SPeter Avalos Add support for "wlan ra" and "wlan ta", to check the RA and TA 593a85e14b0SPeter Avalos of WLAN frames that have them 594a85e14b0SPeter Avalos Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 595a85e14b0SPeter Avalos headers 596a85e14b0SPeter Avalos Do filtering on USB and Bluetooth capturing 597a85e14b0SPeter Avalos On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 598a85e14b0SPeter Avalos Check for valid port numbers (fit in a 16-bit unsigned field) in 599a85e14b0SPeter Avalos "port" filters 600a85e14b0SPeter Avalos Reject attempts to put savefiles into non-blocking mode 601a85e14b0SPeter Avalos Check for "no such device" for the "get the media types" ioctl 602a85e14b0SPeter Avalos in *BSD 603a85e14b0SPeter Avalos Improve error messages from bpf_open(), and let it do the error 604a85e14b0SPeter Avalos handling 605a85e14b0SPeter Avalos Return more specific errors from pcap_can_set_rfmon(); fix 606a85e14b0SPeter Avalos documentation 607a85e14b0SPeter Avalos Update description fetching code for FreeBSD, fix code for 608a85e14b0SPeter Avalos OpenBSD 609a85e14b0SPeter Avalos Ignore /sys/net/dev files if we get ENODEV for them, not just 610a85e14b0SPeter Avalos ENXIO; fixes handling of bonding devices on Linux 611a85e14b0SPeter Avalos Fix check for a constant 0 argument to BPF_DIV 612a85e14b0SPeter Avalos Use the right version of ar when cross-building 613a85e14b0SPeter Avalos Free any filter set on a savefile when the savefile is closed 614a85e14b0SPeter Avalos Include the CFLAGS setting when configure was run in the 615a85e14b0SPeter Avalos compiler flags 616a85e14b0SPeter Avalos Add support for 802.15.4 interfaces on Linux 617a85e14b0SPeter Avalos 618a85e14b0SPeter AvalosThu. April 1, 2010. guy@alum.mit.edu. 619a85e14b0SPeter AvalosSummary for 1.1.1 libpcap release 620a85e14b0SPeter Avalos Update CHANGES to reflect more of the changes in 1.1.0. 621a85e14b0SPeter Avalos Fix build on RHEL5. 622a85e14b0SPeter Avalos Fix shared library build on AIX. 623a85e14b0SPeter Avalos 624a85e14b0SPeter AvalosThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 625a85e14b0SPeter AvalosSummary for 1.1.0 libpcap release 626a85e14b0SPeter Avalos Add SocketCAN capture support 627a85e14b0SPeter Avalos Add Myricom SNF API support 628a85e14b0SPeter Avalos Update Endace DAG and ERF support 629a85e14b0SPeter Avalos Add support for shared libraries on Solaris, HP-UX, and AIX 630a85e14b0SPeter Avalos Build, install, and un-install shared libraries by default; 631a85e14b0SPeter Avalos don't build/install shared libraries on platforms we don't support 632a85e14b0SPeter Avalos Fix building from a directory other than the source directory 633a85e14b0SPeter Avalos Fix compiler warnings and builds on some platforms 634a85e14b0SPeter Avalos Update config.guess and config.sub 635a85e14b0SPeter Avalos Support monitor mode on mac80211 devices on Linux 636a85e14b0SPeter Avalos Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 637a85e14b0SPeter Avalos value 638a85e14b0SPeter Avalos On Linux, scan /sys/class/net for devices if we have it; scan 639a85e14b0SPeter Avalos it, or /proc/net/dev if we don't have /sys/class/net, even if 640a85e14b0SPeter Avalos we have getifaddrs(), as it'll find interfaces with no 641a85e14b0SPeter Avalos addresses 642a85e14b0SPeter Avalos Add limited support for reading pcap-ng files 643a85e14b0SPeter Avalos Fix BPF driver-loading error handling on AIX 644a85e14b0SPeter Avalos Support getting the full-length interface description on FreeBSD 645a85e14b0SPeter Avalos In the lexical analyzer, free up any addrinfo structure we got back 646a85e14b0SPeter Avalos from getaddrinfo(). 647a85e14b0SPeter Avalos Add support for BPF and libdlpi in OpenSolaris (and SXCE) 648a85e14b0SPeter Avalos Hyphenate "link-layer" everywhere 649a85e14b0SPeter Avalos Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 650a85e14b0SPeter Avalos In pcap_read_linux_mmap(), if there are no frames available, call 651a85e14b0SPeter Avalos poll() even if we're in non-blocking mode, so we pick up 652a85e14b0SPeter Avalos errors, and check for the errors in question. 653a85e14b0SPeter Avalos Note that poll() works on BPF devices is Snow Leopard 654a85e14b0SPeter Avalos If an ENXIO or ENETDOWN is received, it may mean the device has 655a85e14b0SPeter Avalos gone away. Deal with it. 656a85e14b0SPeter Avalos For BPF, raise the default capture buffer size to from 32k to 512k 657a85e14b0SPeter Avalos Support ps_ifdrop on Linux 658a85e14b0SPeter Avalos Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 659a85e14b0SPeter Avalos under cygwin. 660a85e14b0SPeter Avalos Changes to Linux mmapped captures. 661a85e14b0SPeter Avalos Fix bug where create_ring would fail for particular snaplen and 662a85e14b0SPeter Avalos buffer size combinations 663a85e14b0SPeter Avalos Update pcap-config so that it handles libpcap requiring 664a85e14b0SPeter Avalos additional libraries 665a85e14b0SPeter Avalos Add workaround for threadsafeness on Windows 666a85e14b0SPeter Avalos Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 667a85e14b0SPeter Avalos DLT: Add DLT_CAN_SOCKETCAN 668a85e14b0SPeter Avalos DLT: Add Solaris ipnet 669a85e14b0SPeter Avalos Don't check for DLT_IPNET if it's not defined 670a85e14b0SPeter Avalos Add link-layer types for Fibre Channel FC-2 671a85e14b0SPeter Avalos Add link-layer types for Wireless HART 672a85e14b0SPeter Avalos Add link-layer types for AOS 673a85e14b0SPeter Avalos Add link-layer types for DECT 674a85e14b0SPeter Avalos Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 675a85e14b0SPeter Avalos Install headers unconditionally, and include vlan.h/bluetooth.h if 676a85e14b0SPeter Avalos enabled 677a85e14b0SPeter Avalos Autoconf fixes+cleanup 678a85e14b0SPeter Avalos Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 679a85e14b0SPeter Avalos Support disabling SITA support (--without-sita) 680a85e14b0SPeter Avalos Return -1 on failure to create packet ring (if supported but 681a85e14b0SPeter Avalos creation failed) 682a85e14b0SPeter Avalos Fix handling of 'any' device, so that it can be opened, and no longer 683a85e14b0SPeter Avalos attempt to open it in Monitor mode 684a85e14b0SPeter Avalos Add support for snapshot length for USB Memory-Mapped Interface 685a85e14b0SPeter Avalos Fix configure and build on recent Linux kernels 686a85e14b0SPeter Avalos Fix memory-mapped Linux capture to support pcap_next() and 687a85e14b0SPeter Avalos pcap_next_ex() 688a85e14b0SPeter Avalos Fixes for Linux USB capture 689a85e14b0SPeter Avalos DLT: Add DLT_LINUX_EVDEV 690a85e14b0SPeter Avalos DLT: Add DLT_GSMTAP_UM 691a85e14b0SPeter Avalos DLT: Add DLT_GSMTAP_ABIS 692de0d3203SPeter Avalos 693de0d3203SPeter AvalosMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 694de0d3203SPeter Avalos Compile with IPv6 support by default 695de0d3203SPeter Avalos Compile with large file support on by default 696de0d3203SPeter Avalos Add pcap-config script, which deals with -I/-L flags for compiling 697de0d3203SPeter Avalos DLT: Add IPMB 698de0d3203SPeter Avalos DLT: Add LAPD 699de0d3203SPeter Avalos DLT: Add AX25 (AX.25 w/KISS header) 700de0d3203SPeter Avalos DLT: Add JUNIPER_ST 701de0d3203SPeter Avalos 802.15.4 support 702de0d3203SPeter Avalos Variable length 802.11 header support 703de0d3203SPeter Avalos X2E data type support 704de0d3203SPeter Avalos SITA ACN Interface support - see README.sita 705a85e14b0SPeter Avalos Support for memory-mapped capture on Linux 706de0d3203SPeter Avalos Support for zerocopy BPF on platforms that support it 707a85e14b0SPeter Avalos Support for setting buffer size when opening devices 708a85e14b0SPeter Avalos Support for setting monitor mode when opening 802.11 devices 709de0d3203SPeter Avalos Better support for dealing with VLAN tagging/stripping on Linux 710de0d3203SPeter Avalos Fix dynamic library support on OSX 711de0d3203SPeter Avalos Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 712de0d3203SPeter Avalos can print better diagnostic information 713de0d3203SPeter Avalos Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 714de0d3203SPeter Avalos applications can tell the user they need to go play with permissions 715de0d3203SPeter Avalos On Linux, ignore ENETDOWN so we can continue to capture packets if the 716de0d3203SPeter Avalos interface goes down and comes back up again. 717de0d3203SPeter Avalos On Linux, support new tpacket frame headers (2.6.27+) 718a85e14b0SPeter Avalos On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 719de0d3203SPeter Avalos On Solaris, support 'passive mode' on systems that support it 720de0d3203SPeter Avalos Fixes to autoconf and general build environment 721de0d3203SPeter Avalos Man page reorganization + cleanup 722de0d3203SPeter Avalos Autogenerate VERSION numbers better 7231077d0bdSPeter Avalos 7241077d0bdSPeter AvalosMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 7251077d0bdSPeter Avalos Change build process to put public libpcap headers into pcap subir 7261077d0bdSPeter Avalos DLT: Add value for IPMI IPMB packets 7271077d0bdSPeter Avalos DLT: Add value for u10 Networks boards 7281077d0bdSPeter Avalos Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 7291077d0bdSPeter Avalos libpcap files on an OS other than where the file was generated 7301077d0bdSPeter Avalos 7311077d0bdSPeter AvalosWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 7321077d0bdSPeter Avalos 7331077d0bdSPeter Avalos Put the public libpcap headers into a pcap subdirectory in both the 7341077d0bdSPeter Avalos source directory and the target include directory, and have include 7351077d0bdSPeter Avalos files at the top-level directory to include those headers, for 7361077d0bdSPeter Avalos backwards compatibility. 7371077d0bdSPeter Avalos Add Bluetooth support 7381077d0bdSPeter Avalos Add USB capturing support on Linux 7391077d0bdSPeter Avalos Add support for the binary USB sniffing interface in Linux 7401077d0bdSPeter Avalos Add support for new FreeBSD BIOCSDIRECTION ioctl 7411077d0bdSPeter Avalos Add additional filter operations for 802.11 frame types 7421077d0bdSPeter Avalos Add support for filtering on MTP2 frame types 7431077d0bdSPeter Avalos Propagate some changes from the main branch, so the x.9 branch has 7441077d0bdSPeter Avalos all the DLT_ and LINKTYPE_ values that the main branch does 7451077d0bdSPeter Avalos Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 7461077d0bdSPeter Avalos encapsulated packets 7471077d0bdSPeter Avalos Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 7481077d0bdSPeter Avalos by Linux drivers 7491077d0bdSPeter Avalos Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 7501077d0bdSPeter Avalos Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 7511077d0bdSPeter Avalos Add DLT for Bluetooth HCI UART transport layer 7521077d0bdSPeter Avalos When building a shared library, build with "-fPIC" on Linux to support x86_64 7531077d0bdSPeter Avalos Link with "$(CC) -shared" rather than "ld -shared" when building a 7541077d0bdSPeter Avalos ".so" shared library 7551077d0bdSPeter Avalos Add support for autoconf 2.60 7561077d0bdSPeter Avalos Fixes to discard unread packets when changing filters 7571077d0bdSPeter Avalos Changes to handle name changes in the DAG library resulting from 7581077d0bdSPeter Avalos switching to libtool. 7591077d0bdSPeter Avalos Add support for new DAG ERF types. 7601077d0bdSPeter Avalos Add an explicit "-ldag" when building the shared library, so the DAG 7611077d0bdSPeter Avalos library dependency is explicit. 7621077d0bdSPeter Avalos Mac OSX fixes for dealing with "wlt" devices 7631077d0bdSPeter Avalos Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 7641077d0bdSPeter Avalos device lists 7651077d0bdSPeter Avalos Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 7661077d0bdSPeter Avalos was not checked. 7671077d0bdSPeter Avalos 7681077d0bdSPeter AvalosTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 7691077d0bdSPeter Avalos 7701077d0bdSPeter Avalos Support for LAPD frames with vISDN 7711077d0bdSPeter Avalos Support for ERF on channelized T1/E1 cards via DAG API 7721077d0bdSPeter Avalos Fix capitalization that caused issues crossc compiling on Linux 7731077d0bdSPeter Avalos Better failure detection on PacketGetAdapterNames() 7741077d0bdSPeter Avalos Fixes for MPLS packet generation (link layer) 7751077d0bdSPeter Avalos OP_PACKET now matches the beginning of the packet, instead of 7761077d0bdSPeter Avalos beginning+link-layer 7771077d0bdSPeter Avalos Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 7781077d0bdSPeter Avalos Fix allocation of buffer for list of link-layer types 779*ea16f64eSAntonio Huete Jimenez Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communication Messages 7801077d0bdSPeter Avalos Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 7811077d0bdSPeter Avalos Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 7821077d0bdSPeter Avalos Added definition for DLT_A429 and LINKTYPE_A429 as #184. 7831077d0bdSPeter Avalos Added a new DLT and LINKTYPE value for CAN v2.0B frames. 7841077d0bdSPeter Avalos Add support for DLT_JUNIPER_VP. 7851077d0bdSPeter Avalos Don't double-count received packets on Linux systems that 7861077d0bdSPeter Avalos support the PACKET_STATISTICS getsockopt() argument on 7871077d0bdSPeter Avalos PF_PACKET sockets. 7881077d0bdSPeter Avalos Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 7891077d0bdSPeter Avalos layers in Windows 7901077d0bdSPeter Avalos Add support to build libpcap.lib and wpcap.dll under Cygnus and 7911077d0bdSPeter Avalos MingW32. 7921077d0bdSPeter Avalos 7931077d0bdSPeter AvalosMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 7941077d0bdSPeter Avalos 7951077d0bdSPeter Avalos Support for radiotap on Linux (Mike Kershaw) 7961077d0bdSPeter Avalos Fixes for HP-UX 7971077d0bdSPeter Avalos Support for additional Juniper link-layer types 7981077d0bdSPeter Avalos Fixes for filters on MPLS-encapsulated packets 7991077d0bdSPeter Avalos "vlan" filter fixed 8001077d0bdSPeter Avalos "pppoed" and "pppoes" filters added; the latter modifies later 8011077d0bdSPeter Avalos parts of the filter expression to look at the PPP headers and 8021077d0bdSPeter Avalos headers in the PPP payload 8031077d0bdSPeter Avalos 8041077d0bdSPeter AvalosTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 8051077d0bdSPeter Avalos 8061077d0bdSPeter Avalos Fixes for compiling on nearly every platform, 8071077d0bdSPeter Avalos including improved 64bit support 8081077d0bdSPeter Avalos MSDOS Support 8091077d0bdSPeter Avalos Add support for sending packets 8101077d0bdSPeter Avalos OpenBSD pf format support 8111077d0bdSPeter Avalos IrDA capture (Linux only) 8121077d0bdSPeter Avalos 8131077d0bdSPeter AvalosTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 8141077d0bdSPeter Avalos 8151077d0bdSPeter Avalos Fixed minor problem in gencode.c that would appear on 64-bit 8161077d0bdSPeter Avalos platforms. 8171077d0bdSPeter Avalos Version number is now sane. 8181077d0bdSPeter Avalos 8191077d0bdSPeter AvalosMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 8201077d0bdSPeter Avalos 8211077d0bdSPeter Avalos updates for autoconf 2.5 8221077d0bdSPeter Avalos fixes for ppp interfaces for freebsd 4.1 8231077d0bdSPeter Avalos pcap gencode can generate code for 802.11, IEEE1394, and pflog. 8241077d0bdSPeter Avalos 8251077d0bdSPeter AvalosWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 8261077d0bdSPeter Avalos 8271077d0bdSPeter Avalos added pcap_findalldevs() 8281077d0bdSPeter Avalos Win32 patches from NetGroup, Politecnico di Torino (Italy) 8291077d0bdSPeter Avalos OpenBSD pf, DLT_PFLOG added 8301077d0bdSPeter Avalos Many changes to ATM support. 8311077d0bdSPeter Avalos lookup pcap_lookupnet() 8321077d0bdSPeter Avalos Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 8331077d0bdSPeter Avalos DLT_IP_OVER_FC, DLT_FRELAY, others. 8341077d0bdSPeter Avalos Sigh. More AIX wonderfulness. 8351077d0bdSPeter Avalos Document updates. 8361077d0bdSPeter Avalos Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 8371077d0bdSPeter Avalos pcap_list_datalinks(), pcap_set_datalink(), 8381077d0bdSPeter Avalos pcap_lib_version(), pcap_datalink_val_to_name(), 8391077d0bdSPeter Avalos pcap_datalink_name_to_val(), new error returns. 8401077d0bdSPeter Avalos 8411077d0bdSPeter AvalosTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 8421077d0bdSPeter Avalos 8431077d0bdSPeter Avalos Support link types that use 802.2 always, never, and sometimes. 8441077d0bdSPeter Avalos Don't decrease the size of the BPF buffer from the default. 8451077d0bdSPeter Avalos Support frame relay. 8461077d0bdSPeter Avalos Handle 32-bit timestamps in DLPI, and pass the right buffer size. 8471077d0bdSPeter Avalos Handle Linux systems with modern kernel but without 8481077d0bdSPeter Avalos SOL_PACKET in the userland headers. 8491077d0bdSPeter Avalos Linux support for ARPHRD_RAWHDLC. 8501077d0bdSPeter Avalos Handle 32-bit timestamps in snoop. 8511077d0bdSPeter Avalos Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 8521077d0bdSPeter Avalos Add new reserved DLT types. 8531077d0bdSPeter Avalos 8541077d0bdSPeter AvalosMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 8551077d0bdSPeter Avalos 8561077d0bdSPeter Avalos Added pcap_findalldevs() call to get list of interfaces in a MI way. 8571077d0bdSPeter Avalos 8581077d0bdSPeter Avalos pcap_stats() has been documented as to what its counters mean on 8591077d0bdSPeter Avalos each platform. 8601077d0bdSPeter Avalos 8611077d0bdSPeter AvalosTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 8621077d0bdSPeter Avalos 8631077d0bdSPeter Avalos New Linux libpcap implementation, which, in 2.2 and later 8641077d0bdSPeter Avalos kernels, uses PF_PACKET sockets and supports kernel packet 8651077d0bdSPeter Avalos filtering (if compiled into the kernel), and supports the "any" 8661077d0bdSPeter Avalos device for capturing on all interfaces. Cleans up promiscuous 8671077d0bdSPeter Avalos mode better on pre-2.2 kernels, and has various other fixes 8681077d0bdSPeter Avalos (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 8691077d0bdSPeter Avalos doesn't show duplicate packets on loopback interface, etc.). 8701077d0bdSPeter Avalos 8711077d0bdSPeter Avalos Fixed HP-UX libpcap implementation to correctly get the PPA for 8721077d0bdSPeter Avalos an interface, to allow interfaces to be opened by interface name. 8731077d0bdSPeter Avalos 8741077d0bdSPeter Avalos libpcap savefiles have system-independent link-layer type values 8751077d0bdSPeter Avalos in the header, rather than sometimes platform-dependent DLT_ 8761077d0bdSPeter Avalos values, to make it easier to exchange capture files between 8771077d0bdSPeter Avalos different OSes. 8781077d0bdSPeter Avalos 8791077d0bdSPeter Avalos Non-standard capture files produced by some Linux tcpdumps, e.g. 8801077d0bdSPeter Avalos the one from Red Hat Linux 6.2 and later, can now be read. 8811077d0bdSPeter Avalos 8821077d0bdSPeter Avalos Updated autoconf stock files. 8831077d0bdSPeter Avalos 8841077d0bdSPeter Avalos Filter expressions can filter on VLAN IDs and various OSI 8851077d0bdSPeter Avalos protocols, and work on Token Ring (with non-source-routed 8861077d0bdSPeter Avalos packets). 8871077d0bdSPeter Avalos 8881077d0bdSPeter Avalos "pcap_open_dead()" added to allow compiling filter expressions 8891077d0bdSPeter Avalos to pcap code without opening a capture device or capture file. 8901077d0bdSPeter Avalos 8911077d0bdSPeter Avalos Header files fixed to allow use in C++ programs. 8921077d0bdSPeter Avalos 893*ea16f64eSAntonio Huete Jimenez Removed dependency on native headers for packet layout. 8941077d0bdSPeter Avalos Removed Linux specific headers that were shipped. 8951077d0bdSPeter Avalos 8961077d0bdSPeter Avalos Security fixes: Strcpy replaced with strlcpy, sprintf replaced 8971077d0bdSPeter Avalos with snprintf. 8981077d0bdSPeter Avalos 8991077d0bdSPeter Avalos Fixed bug that could cause subsequent "pcap_compile()"s to fail 9001077d0bdSPeter Avalos erroneously after one compile failed. 9011077d0bdSPeter Avalos 9021077d0bdSPeter Avalos Assorted other bug fixes. 9031077d0bdSPeter Avalos 9041077d0bdSPeter Avalos README.aix and README.linux files added to describe 9051077d0bdSPeter Avalos platform-specific issues. 9061077d0bdSPeter Avalos 9071077d0bdSPeter Avalos "getifaddrs()" rather than SIOCGIFCONF used, if available. 9081077d0bdSPeter Avalos 9091077d0bdSPeter Avalosv0.5 Sat Jun 10 11:09:15 PDT 2000 9101077d0bdSPeter Avalos 9111077d0bdSPeter Avalositojun@iijlab.net 9121077d0bdSPeter Avalos- Brought in KAME IPv6/IPsec bpf compiler. 9131077d0bdSPeter Avalos- Fixes for NetBSD. 9141077d0bdSPeter Avalos- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 9151077d0bdSPeter Avalos and changes to work around different BSDs having different DLT_ types 9161077d0bdSPeter Avalos with the same numeric value. 9171077d0bdSPeter Avalos 9181077d0bdSPeter AvalosAssar Westerlund <assar@sics.se> 9191077d0bdSPeter Avalos- Building outside the source code tree fixed. 9201077d0bdSPeter Avalos- Changed to write out time stamps with 32-bit seconds and microseconds 9211077d0bdSPeter Avalos fields, regardless of whether those fields are 32 bits or 64 bits in 9221077d0bdSPeter Avalos the OS's native "struct timeval". 9231077d0bdSPeter Avalos- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 9241077d0bdSPeter Avalos the list of interfaces is read as necessary in order to hold the 9251077d0bdSPeter Avalos entire list. 9261077d0bdSPeter Avalos 9271077d0bdSPeter AvalosGreg Troxel <gdt@ir.bbn.com> 9281077d0bdSPeter Avalos- Added a new "pcap_compile_nopcap()", which lets you compile a filter 9291077d0bdSPeter Avalos expression into a BPF program without having an open live capture or 9301077d0bdSPeter Avalos capture file. 9311077d0bdSPeter Avalos 9321077d0bdSPeter Avalosv0.4 Sat Jul 25 12:40:09 PDT 1998 9331077d0bdSPeter Avalos 9341077d0bdSPeter Avalos- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 9351077d0bdSPeter Avalos Fenner (fenner@parc.xerox.com) 9361077d0bdSPeter Avalos 9371077d0bdSPeter Avalos- Fix alignment problem with FDDI under DLPI. This was causing core 9381077d0bdSPeter Avalos dumps under Solaris. 9391077d0bdSPeter Avalos 9401077d0bdSPeter Avalos- Added configure options to disable flex and bison. Resulted from a 9411077d0bdSPeter Avalos bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 9421077d0bdSPeter Avalos options to disable gcc and to force a particular packet capture type. 9431077d0bdSPeter Avalos 9441077d0bdSPeter Avalos- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 9451077d0bdSPeter Avalos to John Hawkinson (jhawk@mit.edu) 9461077d0bdSPeter Avalos 9471077d0bdSPeter Avalos- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 9481077d0bdSPeter Avalos supply any "link layer" data. 9491077d0bdSPeter Avalos 9501077d0bdSPeter Avalos- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 9511077d0bdSPeter Avalos Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 9521077d0bdSPeter Avalos 9531077d0bdSPeter Avalos- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 9541077d0bdSPeter Avalos "link layer" data. 9551077d0bdSPeter Avalos 9561077d0bdSPeter Avalos- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 9571077d0bdSPeter Avalos formats. 9581077d0bdSPeter Avalos 9591077d0bdSPeter Avalos- Added some new SGI snoop interface types. Thanks to Steve Alexander 9601077d0bdSPeter Avalos (sca@refugee.engr.sgi.com) 9611077d0bdSPeter Avalos 9621077d0bdSPeter Avalos- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 9631077d0bdSPeter Avalos Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 9641077d0bdSPeter Avalos 9651077d0bdSPeter Avalos- Fddi supports broadcast as reported by Jeff Macdonald 9661077d0bdSPeter Avalos (jeff@iacnet.com). Also correct ieee802 and arcnet. 9671077d0bdSPeter Avalos 9681077d0bdSPeter Avalos- Determine Linux pcap buffer size at run time or else it might not be 9691077d0bdSPeter Avalos big enough for some interface types (e.g. FDDI). Thanks to Jes 9701077d0bdSPeter Avalos Sorensen (Jes.Sorensen@cern.ch) 9711077d0bdSPeter Avalos 9721077d0bdSPeter Avalos- Fix some linux alignment problems. 9731077d0bdSPeter Avalos 9741077d0bdSPeter Avalos- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 9751077d0bdSPeter Avalos (ianm@sics.se) 9761077d0bdSPeter Avalos 9771077d0bdSPeter Avalos- Support Metricom radio packets under Linux. Thanks to Kevin Lai 9781077d0bdSPeter Avalos (laik@gunpowder.stanford.edu) 9791077d0bdSPeter Avalos 9801077d0bdSPeter Avalos- Bind to interface name under Linux to avoid packets from multiple 9811077d0bdSPeter Avalos interfaces on multi-homed hosts. Thanks to Kevin Lai 9821077d0bdSPeter Avalos (laik@gunpowder.stanford.edu) 9831077d0bdSPeter Avalos 9841077d0bdSPeter Avalos- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 9851077d0bdSPeter Avalos (rroberts@muller.com) 9861077d0bdSPeter Avalos 9871077d0bdSPeter Avalos- Fixed an uninitialized memory reference found by Kent Vander Velden 9881077d0bdSPeter Avalos (graphix@iastate.edu) 9891077d0bdSPeter Avalos 9901077d0bdSPeter Avalos- Fixed lex pattern for IDs to allow leading digits. As reported by 9911077d0bdSPeter Avalos Theo de Raadt (deraadt@cvs.openbsd.org) 9921077d0bdSPeter Avalos 9931077d0bdSPeter Avalos- Fixed Linux include file problems when using GNU libc. 9941077d0bdSPeter Avalos 9951077d0bdSPeter Avalos- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 9961077d0bdSPeter Avalos Reported reported by Eric Jacksch (jacksch@tenebris.ca) 9971077d0bdSPeter Avalos 9981077d0bdSPeter Avalos- Fixed bug in pcap_dispatch() that kept it from returning on packet 9991077d0bdSPeter Avalos timeouts. 10001077d0bdSPeter Avalos 10011077d0bdSPeter Avalos- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 10021077d0bdSPeter Avalos for "lo" followed by an eos or digit (newer versions of Linux 10031077d0bdSPeter Avalos apparently call the loopback "lo" instead of "lo0"). 10041077d0bdSPeter Avalos 10051077d0bdSPeter Avalos- Fixed Linux networking include files to use ints instead of longs to 10061077d0bdSPeter Avalos avoid problems with 64 bit longs on the alpha. Thanks to Cristian 10071077d0bdSPeter Avalos Gafton (gafton@redhat.com) 10081077d0bdSPeter Avalos 10091077d0bdSPeter Avalosv0.3 Sat Nov 30 20:56:27 PST 1996 10101077d0bdSPeter Avalos 10111077d0bdSPeter Avalos- Added Linux support. 10121077d0bdSPeter Avalos 10131077d0bdSPeter Avalos- Fixed savefile bugs. 10141077d0bdSPeter Avalos 10151077d0bdSPeter Avalos- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 10161077d0bdSPeter Avalos 10171077d0bdSPeter Avalos- Add support for bpf kernel port filters. 10181077d0bdSPeter Avalos 10191077d0bdSPeter Avalos- Remove duplicate atalk protocol table entry. Thanks to Christian 10201077d0bdSPeter Avalos Hopps (chopps@water.emich.edu) 10211077d0bdSPeter Avalos 10221077d0bdSPeter Avalos- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 10231077d0bdSPeter Avalos reported to happen under BSD/OS by David Vincenzetti 10241077d0bdSPeter Avalos (vince@cryptonet.it) 10251077d0bdSPeter Avalos 10261077d0bdSPeter Avalos- Avoid solaris compiler warnings. Thanks to Bruce Barnett 10271077d0bdSPeter Avalos (barnett@grymoire.crd.ge.com) 10281077d0bdSPeter Avalos 10291077d0bdSPeter Avalosv0.2.1 Sun Jul 14 03:02:26 PDT 1996 10301077d0bdSPeter Avalos 1031*ea16f64eSAntonio Huete Jimenez- Fixes for HP-UX 10. Thanks in part to Thomas Wolfram 10321077d0bdSPeter Avalos (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 10331077d0bdSPeter Avalos 10341077d0bdSPeter Avalos- Added support for SINIX. Thanks to Andrej Borsenkow 10351077d0bdSPeter Avalos (borsenkow.msk@sni.de) 10361077d0bdSPeter Avalos 10371077d0bdSPeter Avalos- Fixes for AIX (although this system is not yet supported). Thanks to 10381077d0bdSPeter Avalos John Hawkinson (jhawk@mit.edu) 10391077d0bdSPeter Avalos 10401077d0bdSPeter Avalos- Use autoconf's idea of the top level directory in install targets. 10411077d0bdSPeter Avalos Thanks to John Hawkinson. 10421077d0bdSPeter Avalos 10431077d0bdSPeter Avalos- Add missing autoconf packet capture result message. Thanks to Bill 10441077d0bdSPeter Avalos Fenner (fenner@parc.xerox.com) 10451077d0bdSPeter Avalos 10461077d0bdSPeter Avalos- Fixed padding problems in the pf module. 10471077d0bdSPeter Avalos 10481077d0bdSPeter Avalos- Fixed some more alignment problems on the alpha. 10491077d0bdSPeter Avalos 10501077d0bdSPeter Avalos- Added explicit netmask support. Thanks to Steve Nuchia 10511077d0bdSPeter Avalos (steve@research.oknet.com) 10521077d0bdSPeter Avalos 10531077d0bdSPeter Avalos- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 10541077d0bdSPeter Avalos justifing" 10551077d0bdSPeter Avalos 10561077d0bdSPeter Avalos- Add "sca" keyword (for DEC cluster services) as suggested by Terry 10571077d0bdSPeter Avalos Kennedy (terry@spcvxa.spc.edu) 10581077d0bdSPeter Avalos 10591077d0bdSPeter Avalos- Add "atalk" keyword as suggested by John Hawkinson. 10601077d0bdSPeter Avalos 10611077d0bdSPeter Avalos- Add "igrp" keyword. 10621077d0bdSPeter Avalos 10631077d0bdSPeter Avalos- Fixed HID definition in grammar.y to be a string, not a value. 10641077d0bdSPeter Avalos 10651077d0bdSPeter Avalos- Use $CC when checking gcc version. Thanks to Carl Lindberg 10661077d0bdSPeter Avalos (carl_lindberg@blacksmith.com) 10671077d0bdSPeter Avalos 10681077d0bdSPeter Avalos- Removed obsolete reference to pcap_immediate() from the man page. 10691077d0bdSPeter Avalos Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 10701077d0bdSPeter Avalos 10711077d0bdSPeter Avalos- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 10721077d0bdSPeter Avalos (jch@bsdi.com) 10731077d0bdSPeter Avalos 10741077d0bdSPeter Avalosv0.2 Sun Jun 23 02:28:42 PDT 1996 10751077d0bdSPeter Avalos 10761077d0bdSPeter Avalos- Add support for HP-UX. Resulted from code contributed by Tom Murray 10771077d0bdSPeter Avalos (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 10781077d0bdSPeter Avalos (philipp@res.enst.fr) 10791077d0bdSPeter Avalos 10801077d0bdSPeter Avalos- Update INSTALL with a reminder to install include files. Thanks to 10811077d0bdSPeter Avalos Mark Andrews (mandrews@aw.sgi.com) 10821077d0bdSPeter Avalos 10831077d0bdSPeter Avalos- Fix bpf compiler alignment bug on the alpha. 10841077d0bdSPeter Avalos 10851077d0bdSPeter Avalos- Use autoconf to detect architectures that can't handle misaligned 10861077d0bdSPeter Avalos accesses. 10871077d0bdSPeter Avalos 10881077d0bdSPeter Avalos- Added loopback support for snoop. Resulted from report Steve 10891077d0bdSPeter Avalos Alexander (sca@engr.sgi.com) 10901077d0bdSPeter Avalos 10911077d0bdSPeter Avalosv0.1 Fri Apr 28 18:11:03 PDT 1995 10921077d0bdSPeter Avalos 10931077d0bdSPeter Avalos- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 10941077d0bdSPeter Avalos comparison operators, while the code generator and optimizer assumed 10951077d0bdSPeter Avalos signed semantics in several places. Thanks to Charlie Slater 10961077d0bdSPeter Avalos (cslater@imatek.com) for pointing this out. 10971077d0bdSPeter Avalos 10981077d0bdSPeter Avalos- Removed FDDI ifdef's, they aren't really needed. Resulted from report 10991077d0bdSPeter Avalos by Gary Veum (veum@boa.gsfc.nasa.gov). 11001077d0bdSPeter Avalos 11011077d0bdSPeter Avalos- Add pcap-null.c which allows offline use of libpcap on systems that 11021077d0bdSPeter Avalos don't support live package capture. This feature resulting from a 11031077d0bdSPeter Avalos request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 11041077d0bdSPeter Avalos 11051077d0bdSPeter Avalos- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 11061077d0bdSPeter Avalos (Pascal.Hennequin@hugo.int-evry.fr). 11071077d0bdSPeter Avalos 11081077d0bdSPeter Avalos- Port to GNU autoconf. 11091077d0bdSPeter Avalos 11101077d0bdSPeter Avalos- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 11111077d0bdSPeter Avalos Johansen (fsj@csd.cri.dk). 11121077d0bdSPeter Avalos 11131077d0bdSPeter Avalos- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 11141077d0bdSPeter Avalos Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 11151077d0bdSPeter Avalos 11161077d0bdSPeter Avalos- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 11171077d0bdSPeter Avalos by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 11181077d0bdSPeter Avalos 11191077d0bdSPeter Avalos- Add support for "long jumps". Thanks to Jeffrey Mogul 11201077d0bdSPeter Avalos (mogul@pa.dec.com). 11211077d0bdSPeter Avalos 11221077d0bdSPeter Avalos- Fix minor problems when compiling with BDEBUG as noticed by Scott 11231077d0bdSPeter Avalos Bertilson (scott@unet.umn.edu). 11241077d0bdSPeter Avalos 11251077d0bdSPeter Avalos- Declare sys_errlist "const char *const" to avoid problems under 11261077d0bdSPeter Avalos FreeBSD. Resulted from report by jher@eden.com. 11271077d0bdSPeter Avalos 11281077d0bdSPeter Avalosv0.0.6 Fri Apr 28 04:07:13 PDT 1995 11291077d0bdSPeter Avalos 11301077d0bdSPeter Avalos- Add missing variable declaration missing from 0.0.6 11311077d0bdSPeter Avalos 11321077d0bdSPeter Avalosv0.0.5 Fri Apr 28 00:22:21 PDT 1995 11331077d0bdSPeter Avalos 11341077d0bdSPeter Avalos- Workaround for problems when pcap_read() returns 0 due to the timeout 11351077d0bdSPeter Avalos expiring. 11361077d0bdSPeter Avalos 11371077d0bdSPeter Avalosv0.0.4 Thu Apr 20 20:41:48 PDT 1995 11381077d0bdSPeter Avalos 11391077d0bdSPeter Avalos- Change configuration to not use gcc v2 flags with gcc v1. 11401077d0bdSPeter Avalos 11411077d0bdSPeter Avalos- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 11421077d0bdSPeter Avalos should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 11431077d0bdSPeter Avalos 11441077d0bdSPeter Avalos- Fixed configure to test for snoop before dlpi to avoid problems under 11451077d0bdSPeter Avalos IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 11461077d0bdSPeter Avalos 11471077d0bdSPeter Avalos- Hack around deficiency in Ultrix's make. 11481077d0bdSPeter Avalos 11491077d0bdSPeter Avalos- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 11501077d0bdSPeter Avalos savefiles that have more than snapshot bytes of data in them (so we 11511077d0bdSPeter Avalos can read old savefiles) and avoid writing such files. 11521077d0bdSPeter Avalos 11531077d0bdSPeter Avalos- Added checkioctl which is used with gcc to check that the 11541077d0bdSPeter Avalos "fixincludes" script has been run. 11551077d0bdSPeter Avalos 11561077d0bdSPeter Avalosv0.0.3 Tue Oct 18 18:13:46 PDT 1994 11571077d0bdSPeter Avalos 11581077d0bdSPeter Avalos- Fixed configure to test for snoop before dlpi to avoid problems under 11591077d0bdSPeter Avalos IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 11601077d0bdSPeter Avalos 11611077d0bdSPeter Avalosv0.0.2 Wed Oct 12 20:56:37 PDT 1994 11621077d0bdSPeter Avalos 11631077d0bdSPeter Avalos- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 11641077d0bdSPeter Avalos Stevens. 11651077d0bdSPeter Avalos 11661077d0bdSPeter Avalos- Determine pcap link type from dlpi media type. Resulted from report 11671077d0bdSPeter Avalos by Mahesh Jethanandani (mahesh@npix.com). 11681077d0bdSPeter Avalos 11691077d0bdSPeter Avalosv0.0.1 Fri Jun 24 14:50:57 PDT 1994 11701077d0bdSPeter Avalos 11711077d0bdSPeter Avalos- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 11721077d0bdSPeter Avalos wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 11731077d0bdSPeter Avalos Invalid argument" error under OSF/1. Reported by Matt Day 11741077d0bdSPeter Avalos (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 11751077d0bdSPeter Avalos 11761077d0bdSPeter Avalos- Turn on FDDI support by default. 11771077d0bdSPeter Avalos 11781077d0bdSPeter Avalosv0.0 Mon Jun 20 19:20:16 PDT 1994 11791077d0bdSPeter Avalos 11801077d0bdSPeter Avalos- Initial release. 11811077d0bdSPeter Avalos 11821077d0bdSPeter Avalos- Fixed bug with greater/less keywords, reported by Mark Andrews 11831077d0bdSPeter Avalos (mandrews@alias.com). 11841077d0bdSPeter Avalos 11851077d0bdSPeter Avalos- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 11861077d0bdSPeter Avalos by Elan Amir (elan@leeb.cs.berkeley.edu). 11871077d0bdSPeter Avalos 11881077d0bdSPeter Avalos- Machines with little-endian byte ordering are supported thanks to 11891077d0bdSPeter Avalos Jeff Mogul. 11901077d0bdSPeter Avalos 11911077d0bdSPeter Avalos- Add hack for version 2.3 savefiles which don't have caplen and len 11921077d0bdSPeter Avalos swapped thanks to Vern Paxson. 11931077d0bdSPeter Avalos 11941077d0bdSPeter Avalos- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 11951077d0bdSPeter Avalos 11961077d0bdSPeter Avalos- Added length, inbound and outbound keywords. 1197