1ecae4ace1
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. Summary for 1.10.0 libpcap release Add support for capturing on DPDK devices Label most APIs by the first release in which they're available Fix some memory leaks, including in pcap_compile() Add pcap_datalink_val_to_description_or_dlt() Handle the pcap private data in a fashion that makes fewer assumptions about memory layouts (might fix GitHub issue #940 on ARM) Fix some thread safety issues pcap_findalldevs(): don't sort interfaces by unit number Always return a list of supported time-stamp types, even if only host time stamps are supported Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP Report the DLT description in error messages Add pcap_init() for first-time initialization and global option setting; it's not required, but may be used Remove (unused) SITA support Capture file reading: Correctly handle pcapng captures with more than one IDB with a snspshot length greater than the supported maximum Capture file writing: Create the file in pcap_dump_open_append() if it doesn't exist Packet filtering: Fix "unknown ether proto 'aarp'" Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all platforms and live Linux captures Add a hack to the optimizer to try to catch certain optimizer loops (should prevent GitHub issue #112) Show special Linux BPF offsets symbolically in bpf_image() and bpf_dump() Added support for ICMPv6 types 1-4 as tokens with names Remove undocumented and rather old "ether proto" protocols Catch invalid IPv4 addresses in filters Don't assume ARM supports unaligned accesses 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
102 lines
2.8 KiB
Text
102 lines
2.8 KiB
Text
@comment $NetBSD: PLIST,v 1.16 2021/11/16 16:18:48 adam Exp $
|
|
bin/pcap-config
|
|
include/pcap-bpf.h
|
|
include/pcap-int.h
|
|
include/pcap-namedb.h
|
|
include/pcap.h
|
|
include/pcap/bluetooth.h
|
|
include/pcap/bpf.h
|
|
include/pcap/can_socketcan.h
|
|
include/pcap/compiler-tests.h
|
|
include/pcap/dlt.h
|
|
include/pcap/funcattrs.h
|
|
include/pcap/ipnet.h
|
|
include/pcap/namedb.h
|
|
include/pcap/nflog.h
|
|
include/pcap/pcap-inttypes.h
|
|
include/pcap/pcap.h
|
|
include/pcap/sll.h
|
|
include/pcap/socket.h
|
|
include/pcap/usb.h
|
|
include/pcap/vlan.h
|
|
lib/libpcap.la
|
|
lib/pkgconfig/libpcap.pc
|
|
man/man1/pcap-config.1
|
|
man/man3/pcap.3
|
|
man/man3/pcap_activate.3
|
|
man/man3/pcap_breakloop.3
|
|
man/man3/pcap_can_set_rfmon.3
|
|
man/man3/pcap_close.3
|
|
man/man3/pcap_compile.3
|
|
man/man3/pcap_create.3
|
|
man/man3/pcap_datalink.3
|
|
man/man3/pcap_datalink_name_to_val.3
|
|
man/man3/pcap_datalink_val_to_description.3
|
|
man/man3/pcap_datalink_val_to_name.3
|
|
man/man3/pcap_dispatch.3
|
|
man/man3/pcap_dump.3
|
|
man/man3/pcap_dump_close.3
|
|
man/man3/pcap_dump_file.3
|
|
man/man3/pcap_dump_flush.3
|
|
man/man3/pcap_dump_fopen.3
|
|
man/man3/pcap_dump_ftell.3
|
|
man/man3/pcap_dump_open.3
|
|
man/man3/pcap_file.3
|
|
man/man3/pcap_fileno.3
|
|
man/man3/pcap_findalldevs.3
|
|
man/man3/pcap_fopen_offline.3
|
|
man/man3/pcap_fopen_offline_with_tstamp_precision.3
|
|
man/man3/pcap_free_datalinks.3
|
|
man/man3/pcap_free_tstamp_types.3
|
|
man/man3/pcap_freealldevs.3
|
|
man/man3/pcap_freecode.3
|
|
man/man3/pcap_get_required_select_timeout.3
|
|
man/man3/pcap_get_selectable_fd.3
|
|
man/man3/pcap_get_tstamp_precision.3
|
|
man/man3/pcap_geterr.3
|
|
man/man3/pcap_getnonblock.3
|
|
man/man3/pcap_init.3
|
|
man/man3/pcap_inject.3
|
|
man/man3/pcap_is_swapped.3
|
|
man/man3/pcap_lib_version.3
|
|
man/man3/pcap_list_datalinks.3
|
|
man/man3/pcap_list_tstamp_types.3
|
|
man/man3/pcap_lookupdev.3
|
|
man/man3/pcap_lookupnet.3
|
|
man/man3/pcap_loop.3
|
|
man/man3/pcap_major_version.3
|
|
man/man3/pcap_minor_version.3
|
|
man/man3/pcap_next.3
|
|
man/man3/pcap_next_ex.3
|
|
man/man3/pcap_offline_filter.3
|
|
man/man3/pcap_open_dead.3
|
|
man/man3/pcap_open_dead_with_tstamp_precision.3
|
|
man/man3/pcap_open_live.3
|
|
man/man3/pcap_open_offline.3
|
|
man/man3/pcap_open_offline_with_tstamp_precision.3
|
|
man/man3/pcap_perror.3
|
|
man/man3/pcap_sendpacket.3
|
|
man/man3/pcap_set_buffer_size.3
|
|
man/man3/pcap_set_datalink.3
|
|
man/man3/pcap_set_immediate_mode.3
|
|
man/man3/pcap_set_promisc.3
|
|
man/man3/pcap_set_protocol_linux.3
|
|
man/man3/pcap_set_rfmon.3
|
|
man/man3/pcap_set_snaplen.3
|
|
man/man3/pcap_set_timeout.3
|
|
man/man3/pcap_set_tstamp_precision.3
|
|
man/man3/pcap_set_tstamp_type.3
|
|
man/man3/pcap_setdirection.3
|
|
man/man3/pcap_setfilter.3
|
|
man/man3/pcap_setnonblock.3
|
|
man/man3/pcap_snapshot.3
|
|
man/man3/pcap_stats.3
|
|
man/man3/pcap_statustostr.3
|
|
man/man3/pcap_strerror.3
|
|
man/man3/pcap_tstamp_type_name_to_val.3
|
|
man/man3/pcap_tstamp_type_val_to_description.3
|
|
man/man3/pcap_tstamp_type_val_to_name.3
|
|
man/man5/pcap-savefile.5
|
|
man/man7/pcap-filter.7
|
|
man/man7/pcap-linktype.7
|
|
man/man7/pcap-tstamp.7
|