"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CHANGES" between
libpcap-1.10.0.tar.gz and libpcap-1.10.1.tar.gz

About: libpcap is a packet filter library used by tools like tcpdump.

CHANGES  (libpcap-1.10.0):CHANGES  (libpcap-1.10.1)
Monthday, Month DD, YYYY
Summary for 1.10.1 libpcap release (so far!)
Packet filtering:
Fix "type XXX subtype YYY" giving a parse error
Source code:
Add PCAP_AVAILABLE_1_11.
Building and testing:
Rename struct bpf_aux_data to avoid NetBSD compile errors
Squelch some compiler warnings
Squelch some Bison warnings
Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR
Fix Bison detection for minor version 0.
Fix parallel build with FreeBSD make.
Get DLT_MATCHING_MAX right in gencode.c on NetBSD.
Define timeradd() and timersub() if necessary.
Fix Cygwin/MSYS target directories.
Fix symlinking with DESTDIR.
Fix generation of libpcap.pc with CMake when not building a shared
library.
Check for Arm64 as well as x86-64 when looking for packet.lib on
Windows.
Documentation:
Refine Markdown in README.md.
Improve the description of portrange in filters.
README.linux.md isn't Markdown, rename it just README.linux.
pcapng:
Support reading version 1.2, which some writers produce, and which
is the same as 1.0 (some new block types were added, but
that's not sufficient reason to bump the minor version number,
as code that understands those new block types can handle them
in a 1.0 file)
Linux:
Drop support for text-mode USB captures, as we require a 2.6.27
or later kernel (credit to Chaoyuan Peng for noting the
sscanf vulnerabilities in the text-mode code that got me to
realize that we didn't need this code any more)
Bluetooth: fix non-blocking mode.
Don't assume that all compilers used to build for Linux support
the __atomic builtins
Windows:
Add more information in "interface disappeared" error messages, in
the hopes of trying to figure out the cause.
Treat ERROR_DEVICE_REMOVED as "device was removed".
Indicate in the error message which "device was removed" error
occurred.
Report the Windows error status if PacketSendPacket() fails.
Use %lu for ULONGs in error message formats.
Don't treat the inability to find airpcap.dll as an error.
Ignore spurious error reports by Microsoft Surface mobile
telephony modem driver
rpcap:
Clean up error checking and error messages for server address
lookup.
Tuesday, December 29, 2020 Tuesday, December 29, 2020
Summary for 1.10.0 libpcap release Summary for 1.10.0 libpcap release
Require, and assume, some level of C99 support in the C compiler
Require Visual Studio 2015 or later if using Visual Studio
Add support for capturing on DPDK devices Add support for capturing on DPDK devices
rpcap: support rpcap-over-TLS
Windows: report the system error for PacketSetHwFilter() failures
Label most APIs by the first release in which they're available Label most APIs by the first release in which they're available
Add support for getting and setting packet time stamp types
with Npcap
Add pcap_init(), and add support for UTF-8 strings, including error
messages, on Windows
Improve man pages, including adding backward compatibility notes
Fix configure script issues, including with libnl on Linux
Fix CMake issues
Squelch complaints from Bison about "%define api.pure" being
deprecated
Fix some memory leaks, including in pcap_compile() Fix some memory leaks, including in pcap_compile()
Linux: handle systems without AF_INET or AF_UNIX socket support
Catch invalid IPv4 addresses in filters
AIX: fix loading of BPF kernel extension
rpcapd: fix core dumps with invalid configuration file
Show special Linux BPF offsets symbolically in bpf_image() and
bpf_dump()
Add some overflow checks in the optimizer
Add pcap_datalink_val_to_description_or_dlt() Add pcap_datalink_val_to_description_or_dlt()
Windows: make the snapshot length work even if pcap_setfilter()
isn't called
Linux: get rid of Wireless Extensions for turning monitor mode on
Handle the pcap private data in a fashion that makes fewer Handle the pcap private data in a fashion that makes fewer
assumptions about memory layouts (might fix GitHub issue #940 assumptions about memory layouts (might fix GitHub issue #940
on ARM) on ARM)
Fix "unknown ether proto 'aarp'"
Fix some issues found by cppcheck.
Linux: proper memory sync for PACKET_MMAP (may prevent GitHub issue
#898)
Remove undocumented and rather old "ether proto" protocols
Fix some thread safety issues Fix some thread safety issues
Windows: add pcap_handle(), and deprecate pcap_fileno()
AirPcap: add AirPcap support in a module, rather than using
WinPcap/Npcap's support for it
Linux: drop support for libnl 1 and 2.
Linux: Require PF_PACKET support, and kernel 2.6.27 or later
Add DLT_LINUX_SLL2
Add a new filter "ifindex" for DLT_LINUX_SLL2 files and live
Linux captures
optimizer: add a hack to try to catch certain optimizer loops
(should prevent GitHub issue #112)
Probe CONFIGURATION descriptor of connected USB devices
macOS: cope with getting EPWROFF from SIOCGIFMEDIA
Linux: return error on interface going away, but not if it just went
down
Windows: fix compilation on Cygwin/MSYS
Linux: set socket protocol only after packet ring configured,
reducing bogus packet drop reports
pcap_findalldevs(): don't sort interfaces by unit number pcap_findalldevs(): don't sort interfaces by unit number
Linux: get ifdrop stats from sysfs.
Fix various security issues reported by Charles Smith at Tangible
Security
Fix various security issues reported by Include Security
rpcapd: on UN*X, don't tell the client why authentication failed
Linux: when adjusting BPF programs, do not subtract the
SLL[2]_HDR_LEN if the location is negative (special metadata
offset)
Preserve references to metadata when adjusting the program;
see https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment
-486827278
Always return a list of supported time-stamp types, even if only Always return a list of supported time-stamp types, even if only
host time stamps are supported host time stamps are supported
Linux: with a timeout of zero, wait indefinitely
Linux: clean up support for some non-GNU libc C libraries
Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP
Fix handling of some ioctls that fail with "permission denied" even
when the ioctl isn't supported at all
Added support for ICMPv6 types 1-4 as tokens in filters
Windows: Report PCAP_ERROR_NO_SUCH_DEVICE for a non-existent device
Windows: return an appropriate error message for device removed or
device unusable due to a suspend/resume
BPF: treat both ENXIO (everybody but OpenBSD) and EIO (OpenBSD) as
meaning "the interface was removed"
BPF: report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
Linux, Windows: report a warning for unknown link-layer header types
Create the file in pcap_dump_open_append() if it doesn't exist
Linux, NPF: have pcap_breakloop() forcibly break out of a sleeping
capture loop
Report the DLT description in error messages Report the DLT description in error messages
Linux: Add support for DSA data link types Add pcap_init() for first-time initialization and global option
Linux USB: use the snapshot length to set the buffer size, and set setting; it's not required, but may be used
the len field to reflect the length in the URB (GitHub issue Remove (unused) SITA support
#808) Capture file reading:
rpcapd: allow rpcapd to rebind more rapidly (GitHub issue #765) Correctly handle pcapng captures with more than one IDB with a
Windows: clean up building DLL snspshot length greater than the supported maximum
Fix compilation of pcap-tc.c Capture file writing:
Add Haiku pcap implementation Create the file in pcap_dump_open_append() if it doesn't exist
Windows: handle CRT mismatch for pcap_dump_fopen() Packet filtering:
Windows: map NdisMediumWirelessWan to DLT_RAW Fix "unknown ether proto 'aarp'"
rpcap: add some new authentication libpcap error codes for Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all
specific errors platforms and live Linux captures
rpcap: redo protocol version negotiation to avoid problems with old Add a hack to the optimizer to try to catch certain optimizer
servers (it still works with servers using the old negotiation, loops (should prevent GitHub issue #112)
as well as servers not supporting negotiation) Show special Linux BPF offsets symbolically in bpf_image() and
rpcap: error handling cleanups bpf_dump()
rpcapd: fix some inetd issues Added support for ICMPv6 types 1-4 as tokens with names
Don't assume ARM supports unaligned accesses Remove undocumented and rather old "ether proto" protocols
Remove (unused) SITA support here. Catch invalid IPv4 addresses in filters
Correctly handle pcapng captures with more than one IDB with a Don't assume ARM supports unaligned accesses
snspshot length greater than the supported maximum Security and other issues found by analysis:
Fix various security issues reported by Charles Smith at Tangible
Security
Fix various security issues reported by Include Security
Fix some issues found by cppcheck.
Add some overflow checks in the optimizer
rpcap:
Support rpcap-over-TLS
Redo protocol version negotiation to avoid problems with old
servers (it still works with servers using the old negotiation,
as well as servers not supporting negotiation)
Error handling cleanups
Add some new authentication libpcap error codes for specific
errors
Fix some inetd issues in rpcapd
Fix rpcapd core dumps with invalid configuration file
On UN*X, don't have rpcapd tell the client why authentication
failed, so a brute-force attacker can't distinguish between
"unknown user name" and "known user name, wrong password"
Allow rpcapd to rebind more rapidly (GitHub issue #765)
Documentation:
Improve man pages, including adding backward compatibility notes
Building and testing:
Require, and assume, some level of C99 support in the C compiler
Require Visual Studio 2015 or later if using Visual Studio
Fix configure script issues, including with libnl on Linux
Fix CMake issues
Squelch complaints from Bison about "%define api.pure" being
deprecated
Fix compilation of pcap-tc.c
Linux:
Require PF_PACKET support, and kernel 2.6.27 or later
Handle systems without AF_INET or AF_UNIX socket support
Get rid of Wireless Extensions for turning monitor mode on
Proper memory sync for PACKET_MMAP (may prevent GitHub issue
#898)
Drop support for libnl 1 and 2.
Return error on interface going away, but not if it just went
down but is still present
Set socket protocol only after packet ring configured,
reducing bogus packet drop reports
Get ifdrop stats from sysfs.
When adjusting BPF programs, do not subtract the
SLL[2]_HDR_LEN if the location is negative (special metadata
offset), to preserve references to metadata; see
https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment
-486827278
Report a warning for unknown ARPHRD types
Have pcap_breakloop() forcibly break out of a sleeping
capture loop
Add support for DSA data link types
For raw USB bus capture, use the snapshot length to set the
buffer size, and set the len field to reflect the length
in the URB (GitHub issue #808)
With a timeout of zero, wait indefinitely
Clean up support for some non-GNU libc C libraries
Add DLT_LINUX_SLL2 for cooked-mode captures
Probe CONFIGURATION descriptor of connected USB devices
Treat EPERM on ethtool ioctls as meaning "not supported", as
permissions checks are done before checking whether the
ioctl is supported at all
macOS:
Cope with getting EPWROFF from SIOCGIFMEDIA
Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as
permissions checks are done before checking whether the
ioctl is supported at all
Treat ENXIO when reading packets as meaning "the interface
was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
FreeBSD:
Treat ENXIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
NetBSD:
Treat ENXIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
OpenBSD:
Treat EIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
DragonFly BSD:
Treat ENXIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
Solaris:
Treat ENXIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
AIX:
Fix loading of BPF kernel extension
Treat ENXIO as meaning "the interface was removed"
Report "the interface disappeared", not "the interface went
down", if the interface was removed during a capture
Windows:
Make the snapshot length work even if pcap_setfilter()
isn't called
Fix compilation on Cygwin/MSYS
Add pcap_handle(), and deprecate pcap_fileno()
Report PCAP_ERROR_NO_SUCH_DEVICE for a non-existent device
Return an appropriate error message for device removed or
device unusable due to a suspend/resume
Report a warning for unknown NdisMedium types
Have pcap_breakloop() forcibly break out of a sleeping
capture loop
Clean up building DLL
Handle CRT mismatch for pcap_dump_fopen()
Map NdisMediumWirelessWan to DLT_RAW
Add AirPcap support in a module, rather than using
WinPcap/Npcap's support for it
Report the system error for PacketSetHwFilter() failures
Add support for getting and setting packet time stamp types
with Npcap
Have pcap_init() allow selecting whether the API should use
local code page strings or UTF-8 strings (including error
messages)
Haiku:
Add capture support
Sunday, July 22, 2018 Sunday, July 22, 2018
Summary for 1.9.1 libpcap release Summary for 1.9.1 libpcap release
Mention pcap_get_required_select_timeout() in the main pcap man page Mention pcap_get_required_select_timeout() in the main pcap man page
Fix pcap-usb-linux.c build on systems with musl Fix pcap-usb-linux.c build on systems with musl
Fix assorted man page and other documentation issues Fix assorted man page and other documentation issues
Plug assorted memory leaks Plug assorted memory leaks
Documentation changes to use https: Documentation changes to use https:
Changes to how time stamp calculations are done Changes to how time stamp calculations are done
Lots of tweaks to make newer compilers happier and warning-free and Lots of tweaks to make newer compilers happier and warning-free and
 End of changes. 12 change blocks. 
93 lines changed or deleted 193 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)