- Update to 1.10.1
* Fix "type XXX subtype YYY" giving a parse error
* Add PCAP_AVAILABLE_1_11.
* Rename struct bpf_aux_data to avoid NetBSD compile errors
* 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.
* Support reading version 1.2, which some writers produce,
and which is the same as 1.0
* Drop support for text-mode USB captures, as we require a 2.6.27
or later kernel
* Bluetooth: fix non-blocking mode. Don't assume that all compilers
used to build for Linux support the __atomic builtins
OBS-URL: https://build.opensuse.org/request/show/899469
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=73
- Update to 1.10.0
* Require, and assume, some level of C99 support in the C compiler
* Add support for capturing on DPDK devices
* rpcap: support rpcap-over-TLS
* 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
* Show special Linux BPF offsets symbolically in bpf_image()
and bpf_dump()
* Linux: get rid of Wireless Extensions for turning monitor mode on
* Linux: proper memory sync for PACKET_MMAP
* 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
* Probe CONFIGURATION descriptor of connected USB devices
* Linux: return error on interface going away, but not if it just
went down
* Linux: set socket protocol only after packet ring configured,
reducing bogus packet drop reports
* 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)
OBS-URL: https://build.opensuse.org/request/show/872631
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=71
- Update to 1.9.1
* Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165
* Fixes for CVE-2018-16301, errors in pcapng reading.
* Mention pcap_get_required_select_timeout() in the main pcap man page
* Fix pcap-usb-linux.c build on systems with musl
* Fix assorted man page and other documentation issues
* Plug assorted memory leaks
* Documentation changes to use https:
* Changes to how time stamp calculations are done
* Lots of tweaks to make newer compilers happier and warning-free and
to fix instances of C undefined behavior
* Warn if AC_PROG_CC_C99 can't enable C99 support
* Rename pcap_set_protocol() to pcap_set_protocol_linux().
* Align pcap_t private data on an 8-byte boundary.
* Fix various error messages
* Use 64-bit clean API in dag_findalldevs()
* Fix cleaning up after some errors
* Work around some ethtool ioctl bugs in newer Linux kernels
* Add backwards compatibility sections to some man pages
* Fix autotool configuration on AIX and macOS
* Don't export bpf_filter_with_aux_data() or struct bpf_aux_data;
they're internal-only and subject to change
* Fix pcapng block size checking
* Fix reading of capture statistics for Linux USB
* Fix packet size values for Linux USB packets
* Check only VID in VLAN test in filterss
* Fix pcap_list_datalinks on 802.11 devices on macOS
* Fix overflows with very large snapshot length in pcap file
* Improve parsing of rpcapd configuration file
* Handle systems without strlcpy() or strlcat() better
OBS-URL: https://build.opensuse.org/request/show/734758
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=67
- Formatted the specs file using spec-cleaner.
- Allow bluetooth monitoring support unconditionally.
- update to 1.8.1
* Clean up the name-to-DLT mapping table.
* Add some newer DLT_ values:
IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS
* Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue
#493.
* Filter out duplicate looped back CAN frames.
* Fix the handling of loopback filters for IPv6 packets.
* Add a link-layer header type for RDS (IEC 62106) groups.
* On Linux, handle all CAN captures with pcap-linux.c, in cooked mode.
* Removes the need for the "host-endian" link-layer header type.
* Compile with '-Wused-but-marked-unused' in devel mode if supported
* Have separate DLTs for big-endian and host-endian SocketCAN headers.
* Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)!
* Properly check for sock_recv() errors.
* Re-impose some of Winsock's limitations on sock_recv().
* Replace sprintf() with pcap_snprintf().
* Fix signature of pcap_stats_ex_remote().
* Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag.
* Clean up {DAG, Septel, Myricom SNF}-only builds.
* pcap_create_interface() needs the interface name on Linux.
* Clean up hardware time stamp support: the "any" device does not support any time stamp types.
* Recognize 802.1ad nested VLAN tag in vlan filter.
- dropped libpcap-ocloexec.patch, never upstreamed.
- refreshed libpcap-1.0.0-ppp.patch
OBS-URL: https://build.opensuse.org/request/show/454184
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=52
- added support for netlink (bnc#863823)
* libpcap-netlink.patch
- update to 1.5.3
* Don't let packets that don't match the current filter get to the
application when TPACKET_V3 is used. (GitHub issue #331)
* Fix handling of pcap_loop()/pcap_dispatch() with a packet count
of 0 on some platforms (including Linux with TPACKET_V3).
(GitHub issue #333)
* Work around TPACKET_V3 deficiency that causes packets to be lost
when a timeout of 0 is specified. (GitHub issue #335)
* Man page formatting fixes.
- refreshed libpcap-1.5.2-filter-fix.patch
OBS-URL: https://build.opensuse.org/request/show/222227
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=36
- Support 802.1 QinQ as a form of VLAN in filters.
- Treat "carp" as equivalent to "vrrp" in filters.
- Fix code generated for "ip6 protochain".
- Add some new link-layer header types.
- Support capturing NetFilter log messages on Linux.
- Turn off monitor mode on exit for mac80211 interfaces on Linux.
- Fix problems turning monitor mode on for non-mac80211 interfaces
- on Linux.
- Properly fail if /sys/class/net or /proc/net/dev exist but can't
- be opened.
- Fail if pcap_activate() is called on an already-activated
- pcap_t, and add a test program for that.
- Fix filtering in pcap-ng files.
- Simplify handling of new DLT_/LINKTYPE_ values.
- Expand pcap(3PCAP) man page.
- drop libpcap-fix-calculation-of-frame-size.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=21