diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2022-12-30 17:03:27 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2022-12-31 12:58:07 +0000 |
commit | 3dd4e676895bdb1a10673690e6cc058e83a24d33 (patch) | |
tree | d01a6af8d25619338f24e2355c8b292171d3a325 | |
parent | 9c1294d1905c2c0af590e85cbc7ddf7a5fc809a5 (diff) | |
download | libpcap-3dd4e676895bdb1a10673690e6cc058e83a24d33.tar.gz |
CHANGES: Refine the 1.10.2 section. [skip ci]
(cherry picked from commit 6676eaa30e4243e42f7c21dc56c09cff4033ef9a)
-rw-r--r-- | CHANGES | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -15,7 +15,7 @@ Monthday, Month DD, YYYY: Use _declspec(deprecated(msg)) rather than __pragma(deprecated) for Windows deprecation warnings, so the message that was specified shows up. - Remove unnecessary DllMain() function. + diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. Use "%d" to print some signed ints. Use the Wayback Machine for a removed document in a comment. Add some const qualifiers. @@ -34,11 +34,13 @@ Monthday, Month DD, YYYY: Fix inorrectly-computed "real" length for isochronous USB transfers when reading savefiles. Don't crash if pcap_can_set_rfmon() is called. + Fix pcap_offline_read() loop. Capture: Never process more than INT_MAX packets in a pcap_dispatch() call, to avoid integer overflow (issue #1087). Improve error messages for "no such device" and "permission denied" errors. + SITA: Fix a typo in a variable name. Packet filtering: Get PFLOG header length from the length value in the header. Support all the direction, reason, and action types supported by @@ -47,6 +49,7 @@ Monthday, Month DD, YYYY: support PFLOG filtering (also fixes issue #1076). Expand abbreviations into "proto X" properly. gencode.c: Update a comment about the VLAN TPID test. + Add the minimum and maximum matching DLTs to an error message. Linux: Fix memory leak in capture device open (pull request #1038). Fix detection of CAN/CAN FD packets in direction check (issue @@ -63,6 +66,7 @@ Monthday, Month DD, YYYY: Fix handling of VLAN tagged packets if the link-layer type is changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). Always turn on PACKET_AUXDATA (see issue #1105). + We require 2.6.27 or later, so PACKET_RESERVE is available. Make sure there's reserved space for a DLT_LINUX_SLL2 header when capturing. Correctly compute the "real" length for isochronous USB transfers. @@ -98,6 +102,7 @@ Monthday, Month DD, YYYY: Don't require applications using pcap to be built with VS 2015 or later. Use the correct string for the DLL VersionInfo. + Remove unnecessary DllMain() function. Correctly handle ERROR_INVALID_FUNCTION from PacketGetTimestampModes() (indicate that WinPcap or an older version of Npcap is probably installed). @@ -113,6 +118,7 @@ Monthday, Month DD, YYYY: Make sure "no such device" and "no permission to open device" errors show up in pcap_activate(), not pcap_create() (fixes, among other things, tcpdump -i <interface-number>). + npcap: squelch deprecation warnings for kernel dump mode. Haiku: Implement pcap_lib_version(), as now required. Handle negative or too-large snaplen values. @@ -125,7 +131,6 @@ Monthday, Month DD, YYYY: If we have pkg-config and Homebrew, try to set pkg-config up to find Homebrew packages. Handle some Autoconf/make errors better. - Fix "make releasetar" on AIX, OpenBSD and Solaris. Use "git archive" for the "make releasetar" process. Remove the release candidate rcX targets. Fix compiling on Solaris 9/SPARC and 11/AMD64. @@ -141,8 +146,11 @@ Monthday, Month DD, YYYY: require 2.8.12, where it first appeared. Don't provide -L/usr/lib for pkg-config --libs in pkg-config. Fix error message for inadequate Bison/Berkeley YACC. + configure: correctly do some DPDK checks. Only use pkg-config when checking for DPDK. + Allow the path in which DPDK is installed to be specified. Use pkg-config first when checking for libibverbs. + CMake: fix check for libibverbs with Sun's C compiler. Have CMake warn if no capture mechanism can be found. Don't do stuff requiring 3.19 or later on earlier CMakes. Squelch some CMake warnings. @@ -160,6 +168,8 @@ Monthday, Month DD, YYYY: appropriately, to handle the mess that is the D-Bus library package (issue #1112). Fix generation of pcap-config and libpcap.pc files (issue #1062). + pcap-config: don't assume the system library directory is /usr/lib. + pcap-config: add a --static-pcap-only flag. Cirrus CI: Use the same configuration as for the main branch. Add four libpcap test files. Update Npcap SDK to 1.13. @@ -167,6 +177,15 @@ Monthday, Month DD, YYYY: Remove awk code from mkdep. Cirrus CI: Add the libssl-dev package in the Linux task. Cirrus CI: Add the openssl@3 brew package in the macOS task. + Get "make shellcheck" to pass again. + CMake: Build valgrindtest only if Autoconf would. + CMake: use ${CMAKE_INSTALL_SBINDIR} rather than just sbin. + CMake: use NUL: as the null device on Windows. + autoconf: fix typo in test of macOS version. + Makefile.in: Add two missing files in EXTRA_DIST. + autotools, cmake: provide an rpath option if necessary. + configure: get rid of the attempt to auto-run PKG_PROG_PKG_CONFIG. + configure: use PKG_CHECK_MODULES to run pkg-config. Documentation: Add README.solaris.md. Add SCTP to pcap-filter(7). @@ -184,6 +203,8 @@ Monthday, Month DD, YYYY: In pcap-filter(7) "domain" is an id. Discuss backward compatibility in pcap-filter(7). Other improvements to pcap-filter(7). + Document pcap_breakloop(3PCAP) interaction with threads better. + Document PCAP_ERROR_NOT_ACTIVATED for more routines. Wednesday, June 9, 2021: Summary for 1.10.1 libpcap release: |