<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in sslutils.c</title>
    <link>http://nxr.netbsd.org/rss/src/external/bsd/libpcap/dist/sslutils.c</link>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2005</copyright>
    <generator>Java</generator>
    
<item>
    <title>merge conflicts between libpcap-1.10.4 and libpcap-1.10.5</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.3</description>
    <pubDate>Mon Sep 02 15:33:38 UTC 2024</pubDate>
    <dc:creator>christos</dc:creator>
</item>

<item>
    <title>branches:  1.2.2;<br/>merge conflicts between libpcap 1.9.1 and 1.10.4</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.2</description>
    <pubDate>Thu Aug 17 15:18:12 UTC 2023</pubDate>
    <dc:creator>christos</dc:creator>
</item>

<item>
    <title>branches:  1.1.1;<br/>Initial revision</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.1</description>
    <pubDate>Thu Aug 17 13:11:03 UTC 2023</pubDate>
    <dc:creator>christos</dc:creator>
</item>

<item>
    <title>Import libpcap 1.10.5, previous was 1.10.4<br/><br/>Friday, August 30, 2024 / The Tcpdump Group<br/>  Summary for 1.10.5 libpcap release<br/>    Source code:<br/>      Spell WirelessHART details properly.<br/>      Mark pcap_vasprintf() as printf-like.<br/>      Finalize moving of bpf_filter.c. (GH #1166)<br/>      Remove an unneeded argument from gen_mcode6().<br/>      Don't do some Berkeley YACC workarounds with YACC releases not<br/>        requiring them.<br/>      Use correct data types rather than int in some cases.<br/>      Squelch compiler warning in grammar.c.<br/>      Fix findalldevtest compilation if IPv6 isn't enabled.<br/>      Rename helper routines for pcap modules to have names beginning with<br/>        pcapint_, to avoid namespace collisions for code linking statically<br/>        with libpcap.<br/>      Avoid casting hack for the Windows cleanup-on-exit routine.<br/>      Use %zu format for one case of printing a size_t.<br/>      Fix some Coverity errors.<br/>      Fix availabilities of some functions to match reality.<br/>      pcap: make the seconds and microseconds/nanoseconds fields unsigned.<br/>      Remove the unused pcap-rpcap-int.h header file.<br/>    Thread safety:<br/>      Make some static variables thread-local; fixes issue #1174.<br/>    Packet filtering:<br/>      Improve reporting of some invalid filter expressions.<br/>      Return an error from pcap_compile() if the scanner fails to initialize.<br/>      Optimizer fix from Archit Shah to recompute dominators after<br/>        moving code (#976); fixes #945 (although the resulting filter<br/>        isn't empty).<br/>      Optimizer fix from Archit Shah to mark value as unknown when store<br/>        of that value is deleted (#972); fixes #143, #434, #436, #437,<br/>        and #1076.<br/>    Linux:<br/>      Properly return warnings.<br/>      Don't use DLT_LINUX_SLL2 for anything other than the "any" device.<br/>      Avoid 32-bit unsigned integer overflow in USB captures.  Fixes<br/>        issues #1134 and #1205.<br/>      Fix a file descriptor leak.<br/>      Properly report warnings about unknown ARPHRD_ types.<br/>      Fix DLT_CAN_SOCKETCAN handling of CAN FD.<br/>      Add CAN XL support to DLT_CAN_SOCKETCAN.<br/>      Clean up the code that sets the "real" ("original") length for<br/>        isochronous USB transfers.<br/>      Avoid unnecessary blocking on recvmsg() in the Bluetooth monitor and<br/>        Bluetoth modules.<br/>    Solaris:<br/>      Handle BPF returning ESRCH for unknown devices.<br/>      List the "any" device if it's supported.<br/>      Report {non-existent zone}/{interface} errors appropriately.<br/>      Allow attaching to links owned by a non-global zone.  (Based on<br/>        pull request #1202.)<br/>      Fix AF_LINK handling on illumos.<br/>    macOS:<br/>      Redid the availability macros to be closer to what Apple's doing<br/>        in recent SDKs, including tagging pcap-namedb.h routines.<br/>      Fix the install name of the installed shared library to have a<br/>        full path when building with CMake.<br/>      Fix universal builds.<br/>    Haiku:<br/>      Convert the module to C.  Fixes issue #1114.<br/>      Address a few compiler warnings.  Fixes issue #1114.<br/>      Fix various build problems.  Fixes issue #1114.<br/>      Report non-existent devices correctly.<br/>      Fix handling of packet statistics.<br/>      Fix packet timestamping.<br/>      Fix packet filtering with low snaplen.<br/>      Improve connection status reporting.<br/>      Add support for promiscuous mode.<br/>      Detect DLTs and loopback capture support at run time.<br/>      Report IEEE 802.11 as PCAP_IF_WIRELESS.<br/>    Windows:<br/>      Fix internal handling of "not supported" error codes from NPF.<br/>      Work around a bug in Npcap 1.00 in case of driver version mismatch.<br/>      Don't call WSACleanup() when handling a failed WSAStartup().<br/>    BSD, macOS, AIX, Solaris 11, Linux:<br/>      Add a new error PCAP_ERROR_CAPTURE_NOTSUP, for use if a capture<br/>        mechanism is not present, in the hopes that, for example,<br/>        attempts to capture on Windows Services for Linux 1, in which<br/>        the NT kernel attempts to simulate Linux system calls but does<br/>        not support packet sockets, can get an error that better<br/>        indicates the underlying problem.<br/>    AirPcap:<br/>      Format an error message if we run out of memory.<br/>    nflog:<br/>      Fix count of dropped packets.<br/>      Make sure we don't overflow when rounding up the TLV length.<br/>    rpcap:<br/>      Handle routines removed in at least some OpenSSL libraries.<br/>      CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid<br/>        double frees in some cases.<br/>      Don't define SOCKET ourselves; instead, define PCAP_SOCKET as int<br/>        on UN*Xes and as SOCKET on Windows.<br/>      CVE-2024-8006: Fix pcap_findalldevs_ex() not to crash if passed a<br/>        file:// URL with a path to a directory that cannot be opened.<br/>    Savefiles:<br/>      Handle DLT_/LINKTYPE_ mapping better, to handle some<br/>        OpenBSD-specific link types better.<br/>      Treat if_tsoffset as signed in pcapng files, as the spec says.<br/>      Don't try to fix the "real" length for isochronous USB<br/>        transfers if the number of USB descriptors is too large.<br/>      Reject pcap files where one of the reserved fields in the<br/>        "link-layer type plus other stuff" is non-zero.<br/>    Building and testing:<br/>      Add a configure option to help debugging (--enable-instrument-functions).<br/>      Improved tests and error reporting for uses of pkg-config, and<br/>        improve help message.<br/>      Fix Haiku build.<br/>      With CMake, install headers in CMAKE_INSTALL_INCLUDEDIR rather<br/>        than just include.<br/>      Build libpcap.a before building test programs.<br/>      Print address family numerically, as well as symbolically,<br/>        in findalldevstest.<br/>      Fail with suggestions, rather than failing over to no capture<br/>        support, if no capture mechanism was found.  Fixes issue #1016.<br/>      Don't indent comments in Make, as that may cause them not to be<br/>        recognized as comments.<br/>      Don't check for libssl if we aren't going to use it.<br/>      Better handle enabling and disabling of sanitizers.  Fixes issue<br/>        #1171.<br/>      CMakeLists.txt: Print "Symlinking: /some/path to ..." conditionally.<br/>      Evaluate CMAKE_INSTALL_PREFIX at install time.<br/>      cmake: Update the minimum required version to 2.8.12 (except Windows).<br/>      cmake: suppress CMP0042 OLD deprecated warning.<br/>      Makefile.in: Add the releasecheck target.<br/>      Cirrus CI: Add the "make releasecheck" command in the Linux task.<br/>      Makefile.in: Add the whitespacecheck target.<br/>      Cirrus CI: Run the "make whitespacecheck" command in the Linux task.<br/>      Autoconf: Update config.{guess,sub}, timestamps 2024-01-01.<br/>      Autoconf: Update the install-sh script to the 2020-11-14.01 version.<br/>      Compile with '-Wnull-pointer-subtraction',<br/>        '-Wunused-but-set-parameter', and '-Wunused-but-set-variable' in<br/>        devel mode if supported.<br/>      Don't ignore spaces between CMAKE_C_FLAGS and DPDK_C_FLAGS with<br/>        CMake.<br/>      Use noreturn and __format__ with XL C 7.0 and later.<br/>      Check for the same -W flags in autotools and CMake.<br/>      Autoconf: Add autogen.sh, remove configure and config.h.in and put<br/>        these generated files in the release tarball.<br/>      Autoconf: Get the size of a time_t.<br/>      Fix propagation of cc_werr_cflags() output.<br/>      Makefile.in(s): Fix the depend target.<br/>      mkdep: Exit with a non-zero status if a command fails.<br/>      Fix HCI_CHANNEL_MONITOR detection with musl libc.<br/>      Extend "make shellcheck" onto mkdep too.<br/>      Add initial support for building with TinyCC.<br/>      Address all known compiler warnings specific to illumos, Linux, NetBSD,<br/>        Solaris and Sun C; in CI expect warnings specific to TinyCC only.<br/>    Documentation:<br/>      Update and fix pcap-filter man page.<br/>      Add a README.haiku.md file.<br/>      Document pcap-config better.<br/>      Man page formatting and prose fixes.<br/>      Rename doc/README.Win32.md to doc/README.windows.md.<br/>      Update pcap-savefile man page to match the Internet-Draft for<br/>        pcap.<br/>      Fix CMake issues for target used by other projects.<br/>      Explain "any" device better in pcap_open_live(3PCAP).<br/>      Update INSTALL.md.<br/>      Note in man pages that errbuf arguments must point to an error<br/>        buffer.<br/>      Note that if pcap_findalldevs() fails it sets *alldevsp to NULL;<br/>        there's no devices list to free.<br/>      Explain "other addresses" in pcap_findalldevs(3PCAP).<br/>      Document pcap_lookupnet(3PCAP) a bit better.</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.1.1.2</description>
    <pubDate>Mon Sep 02 14:51:53 UTC 2024</pubDate>
    <dc:creator>christos</dc:creator>
</item>

<item>
    <title>Import libpcap-1.10.4 (previous was 1.9.1)<br/><br/>Friday, April 7, 2023 / The Tcpdump Group<br/>  Summary for 1.10.4 libpcap release<br/>    Source code:<br/>      Fix spaces before tabs in indentation.<br/>    rpcap:<br/>      Fix name of launchd service.<br/>    Documentation:<br/>      Document use of rpcapd with systemd, launchd, inetd, and xinetd.<br/>    Building and testing:<br/>      Require at least pkg-config 0.17.0, as we use --static.<br/>      Get rid of the remains of gnuc.h.<br/>      Require at least autoconf 2.69.<br/>      Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21.<br/><br/>Thursday, January 12, 2023 / The Tcpdump Group<br/>  Summary for 1.10.3 libpcap release<br/>    Source code:<br/>      Sort the PUBHDR variable in Makefile.in in "ls" order.<br/>      Fix typo in comment in pflog.h.<br/>      Remove two no-longer-present files from .gitignore.<br/>      Update code and comments for handling failure to set promiscuous<br/>        mode based on new information.<br/>    Building and testing:<br/>      install: Fixed not to install the non-public pcap-util.h header.<br/>      pcap-config: add a --version flag.<br/>      Makefile.in: Add some missing files in the distclean target.<br/><br/>Saturday, December 31, 2022 / The Tcpdump Group<br/>  Summary for 1.10.2 libpcap release<br/>    Source code:<br/>      Use __builtin_unreachable() in PCAP_UNREACHABLE.<br/>      Use AS_HELP_STRING macro instead of AC_HELP_STRING in the<br/>        configure scripts, to avoid deprecation warnings.<br/>      Change availability tags in pcap.h to make it easier to<br/>        arrange for it to be used in Darwin releases.<br/>      Use AS_HELP_STRING for --enable-remote.<br/>      Fix some formatting string issues found by cppcheck.<br/>      Various small code and comment cleanups.<br/>      Use PCAP_ERROR (defined as -1) rather than explicit -1 for<br/>        functions the documentation says return PCAP_ERROR.<br/>      Remove unused code from the filter compiler.<br/>      Use _declspec(deprecated(msg)) rather than __pragma(deprecated)<br/>        for Windows deprecation warnings, so the message that was<br/>        specified shows up.<br/>      diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it.<br/>      Use "%d" to print some signed ints.<br/>      Use the Wayback Machine for a removed document in a comment.<br/>      Add some const qualifiers.<br/>      RDMA: Use PRIu64 to print a uint64_t.<br/>    "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision():<br/>        Don't crash if pcap_breakloop() is called.<br/>    Savefiles:<br/>      Fix pcap_dispatch() to return number of packets processed, rather<br/>        than 0, even at EOF.<br/>      If we get an error writing the packet header, don't write the<br/>        packet data.<br/>      Put PFLOG UID and PID values in the header into host byte order<br/>        when reading a LINKTYPE_PFLOG file.<br/>      Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do<br/>        for LINUX_SLL.<br/>      Fix inorrectly-computed "real" length for isochronous USB<br/>        transfers when reading savefiles.<br/>      Don't crash if pcap_can_set_rfmon() is called.<br/>      Fix pcap_offline_read() loop.<br/>    Capture:<br/>      Never process more than INT_MAX packets in a pcap_dispatch() call,<br/>        to avoid integer overflow (issue #1087).<br/>      Improve error messages for "no such device" and "permission<br/>        denied" errors.<br/>      SITA: Fix a typo in a variable name.<br/>    Packet filtering:<br/>      Get PFLOG header length from the length value in the header.<br/>      Support all the direction, reason, and action types supported by<br/>        all systems that support PFLOG.<br/>      Don't require PFLOG support on the target machine in order to<br/>        support PFLOG filtering (also fixes issue #1076).<br/>      Expand abbreviations into "proto X" properly.<br/>      gencode.c: Update a comment about the VLAN TPID test.<br/>      Add the minimum and maximum matching DLTs to an error message.<br/>    Linux:<br/>      Fix memory leak in capture device open (pull request #1038).<br/>      Fix detection of CAN/CAN FD packets in direction check (issue<br/>        #1051).<br/>      Fix double-free crashes on errors such as running on a kernel with<br/>        CONFIG_PACKET_MMAP not configured (issue #1054).<br/>      Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes<br/>        changes from pull request #1035).<br/>      Make sure the CANFD_FDF can be relied on to indicate whether a<br/>        CANbus packet is a CAN frame or a CAN FD frame<br/>      Improve error message for "out of memory" errors for kernel<br/>        filters (see issue #1089).<br/>      Fix pcap_findalldevs() to find usbmon devices.<br/>      Fix handling of VLAN tagged packets if the link-layer type is<br/>        changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105).<br/>      Always turn on PACKET_AUXDATA (see issue #1105).<br/>      We require 2.6.27 or later, so PACKET_RESERVE is available.<br/>      Make sure there's reserved space for a DLT_LINUX_SLL2 header<br/>        when capturing.<br/>      Correctly compute the "real" length for isochronous USB transfers.<br/>      Don't have an eventfd descriptor open in non-blocking mode, so as<br/>        not to waste descriptors.<br/>      netfilter: Squelch a narrowing warning (To be look at before 2038).<br/>    BPF capture (*BSD, macOS, AIX, Solaris 11):<br/>      Fix case where a device open might fail, rather than falling back<br/>        to a smaller buffer size, when the initial buffer size is too<br/>        big.<br/>      Use an unsigned device number to iterate over BPF devices, to<br/>        squelch a compiler warning.<br/>    NetBSD:<br/>      Fix handling of LINKTYPE_HDLC/DLT_HDLC.<br/>    rpcap:<br/>      Fix unaligned accesses in rpcapd (pull request #1037).<br/>      Fix code to process port number.<br/>      Clean up findalldevs code in rpcapd.<br/>      Clean up bufferizing code.<br/>      Fix a file descriptor/handle leak in pcap_findalldevs_ex()<br/>        (Coverity CID 1507240).<br/>      Improve error messages for host and port resolution errors.<br/>      Fix connect code not to fail if both IPv4 and IPv6 addresses are<br/>        tried.<br/>      Improve connect failure error message.<br/>      Provide an error message for a bad authentication reply size.<br/>      For link-layer types with host-endian fields in the header, fix<br/>        those fields if capturing from a server with a different byte<br/>        order.<br/>      Suppress temporarily the warnings with "enable remote packet capture".<br/>    Windows:<br/>      Add support for NdisMediumIP (pull request #1027).<br/>      Don't require applications using pcap to be built with VS 2015 or<br/>        later.<br/>      Use the correct string for the DLL VersionInfo.<br/>      Remove unnecessary DllMain() function.<br/>      Correctly handle ERROR_INVALID_FUNCTION from<br/>        PacketGetTimestampModes() (indicate that WinPcap or an older<br/>        version of Npcap is probably installed).<br/>      Fix use-after-free in some cases when a pcap_t is closed.<br/>      Make sure an error is returned by pcap_create_interface() if<br/>        PacketOpenAdapter() fails.<br/>      Return an error if the driver reports 0 timestamp modes supported.<br/>      Close the ADAPTER handle for some errors in<br/>        pcap_create_interface().<br/>      Get rid of old umaintained VS project files.<br/>      Fix deprecation warning for pcap_handle().<br/>      Npcap is now at npcap.com, not npcap.org.<br/>      Make sure "no such device" and "no permission to open device"<br/>        errors show up in pcap_activate(), not pcap_create() (fixes,<br/>        among other things, tcpdump -i &lt;interface-number&gt;).<br/>      npcap: squelch deprecation warnings for kernel dump mode.<br/>    Haiku:<br/>      Implement pcap_lib_version(), as now required.<br/>      Handle negative or too-large snaplen values.<br/>      Fix various build issues and warnings.<br/>    Building and testing:<br/>      Update configure-time universal build checks for macOS.<br/>      Update config.guess and config.sub.<br/>      If we look for an SSL library with pkg-config in configure script,<br/>        try pkg-config first.<br/>      If we have pkg-config and Homebrew, try to set pkg-config up to<br/>        find Homebrew packages.<br/>      Handle some Autoconf/make errors better.<br/>      Use "git archive" for the "make releasetar" process.<br/>      Remove the release candidate rcX targets.<br/>      Fix compiling on Solaris 9/SPARC and 11/AMD64.<br/>      Address assorted compiler warnings.<br/>      Fix cross-building on Linux for Windows with mingw32 for Win64<br/>        (pull request #1031).<br/>      Properly set installation directory on Windows when not compiling<br/>        with MSVC.<br/>      Fix configure script checks for compiler flags.<br/>      Give more details if check for usable (F)Lex fails.<br/>      Fix compiling with GCC 4.6.4.<br/>      Don't use add_compile_options() with CMake, as we currently don't<br/>        require 2.8.12, where it first appeared.<br/>      Don't provide -L/usr/lib for pkg-config --libs in pkg-config.<br/>      Fix error message for inadequate Bison/Berkeley YACC.<br/>      configure: correctly do some DPDK checks.<br/>      Only use pkg-config when checking for DPDK.<br/>      Allow the path in which DPDK is installed to be specified.<br/>      Use pkg-config first when checking for libibverbs.<br/>      CMake: fix check for libibverbs with Sun's C compiler.<br/>      Have CMake warn if no capture mechanism can be found.<br/>      Don't do stuff requiring 3.19 or later on earlier CMakes.<br/>      Squelch some CMake warnings.<br/>      Fix diag-control.h to handle compiling with clang-cl (issues<br/>        #1101 and #1115).<br/>      Cleanup various leftover cruft in the configure script.<br/>      Fix building without protochain support. (GH #852)<br/>      Check for a usable YACC (or Bison) and {F}lex in CMake, as we do<br/>        in autotools.<br/>      Only check for a C++ compiler on Haiku, as that's the only<br/>        platform with C++ code, and make sure they generate code for<br/>        the same instruction set bit-width (both 32-bit or both 64-bit)<br/>        (issue #1112).<br/>      On Solaris, check the target bit-width and set PKG_CONFIG_PATH<br/>        appropriately, to handle the mess that is the D-Bus library<br/>        package (issue #1112).<br/>      Fix generation of pcap-config and libpcap.pc files (issue #1062).<br/>      pcap-config: don't assume the system library directory is /usr/lib.<br/>      pcap-config: add a --static-pcap-only flag.<br/>      Cirrus CI: Use the same configuration as for the main branch.<br/>      Add four libpcap test files.<br/>      Update Npcap SDK to 1.13.<br/>      Makefile.in: Use TEST_DIST, like for tcpdump.<br/>      Remove awk code from mkdep.<br/>      Cirrus CI: Add the libssl-dev package in the Linux task.<br/>      Cirrus CI: Add the openssl@3 brew package in the macOS task.<br/>      Get "make shellcheck" to pass again.<br/>      CMake: Build valgrindtest only if Autoconf would.<br/>      CMake: use ${CMAKE_INSTALL_SBINDIR} rather than just sbin.<br/>      CMake: use NUL: as the null device on Windows.<br/>      autoconf: fix typo in test of macOS version.<br/>      Makefile.in: Add two missing files in EXTRA_DIST.<br/>      autotools, cmake: provide an rpath option if necessary.<br/>      configure: get rid of the attempt to auto-run PKG_PROG_PKG_CONFIG.<br/>      configure: use PKG_CHECK_MODULES to run pkg-config.<br/>    Documentation:<br/>      Add README.solaris.md.<br/>      Add SCTP to pcap-filter(7).<br/>      Note that = and == are the same operator in filters (issue #1044).<br/>      Update INSTALL.md, README.md, and README.solaris.md.<br/>      Update and clean up CONTRIBUTING.md.<br/>      Trim documentation of support for now-dead UN*Xe and older<br/>        versions of other UN*Xes.<br/>      Move the "how to allocate a LINKTYPE_/DLT_ value" documentation to<br/>        the web site.<br/>      Clean up man pages.<br/>      Move README.capture-module to the web site.<br/>      Improve some protocol details in pcap-filter(7).<br/>      Refine "relop" notes in pcap-filter(7).<br/>      In pcap-filter(7) "domain" is an id.<br/>      Discuss backward compatibility in pcap-filter(7).<br/>      Other improvements to pcap-filter(7).<br/>      Document pcap_breakloop(3PCAP) interaction with threads better.<br/>      Document PCAP_ERROR_NOT_ACTIVATED for more routines.<br/><br/>Wednesday, June 9, 2021:<br/>  Summary for 1.10.1 libpcap release:<br/>    Packet filtering:<br/>      Fix "type XXX subtype YYY" giving a parse error<br/>    Source code:<br/>      Add PCAP_AVAILABLE_1_11.<br/>    Building and testing:<br/>      Rename struct bpf_aux_data to avoid NetBSD compile errors<br/>      Squelch some compiler warnings<br/>      Squelch some Bison warnings<br/>      Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR<br/>      Fix Bison detection for minor version 0.<br/>      Fix parallel build with FreeBSD make.<br/>      Get DLT_MATCHING_MAX right in gencode.c on NetBSD.<br/>      Define timeradd() and timersub() if necessary.<br/>      Fix Cygwin/MSYS target directories.<br/>      Fix symlinking with DESTDIR.<br/>      Fix generation of libpcap.pc with CMake when not building a shared<br/>          library.<br/>      Check for Arm64 as well as x86-64 when looking for packet.lib on<br/>          Windows.<br/>    Documentation:<br/>      Refine Markdown in README.md.<br/>      Improve the description of portrange in filters.<br/>      README.linux.md isn't Markdown, rename it just README.linux.<br/>    pcapng:<br/>      Support reading version 1.2, which some writers produce, and which<br/>          is the same as 1.0 (some new block types were added, but<br/>          that's not sufficient reason to bump the minor version number,<br/>          as code that understands those new block types can handle them<br/>          in a 1.0 file)<br/>    Linux:<br/>      Drop support for text-mode USB captures, as we require a 2.6.27<br/>          or later kernel (credit to Chaoyuan Peng for noting the<br/>          sscanf vulnerabilities in the text-mode code that got me to<br/>          realize that we didn't need this code any more)<br/>      Bluetooth: fix non-blocking mode.<br/>      Don't assume that all compilers used to build for Linux support<br/>          the __atomic builtins<br/>    Windows:<br/>      Add more information in "interface disappeared" error messages, in<br/>        the hopes of trying to figure out the cause.<br/>      Treat ERROR_DEVICE_REMOVED as "device was removed".<br/>      Indicate in the error message which "device was removed" error<br/>          occurred.<br/>      Report the Windows error status if PacketSendPacket() fails.<br/>      Use %lu for ULONGs in error message formats.<br/>      Don't treat the inability to find airpcap.dll as an error.<br/>      Ignore spurious error reports by Microsoft Surface mobile<br/>          telephony modem driver<br/>    rpcap:<br/>      Clean up error checking and error messages for server address<br/>          lookup.<br/><br/>Tuesday, December 29, 2020<br/>  Summary for 1.10.0 libpcap release<br/>    Add support for capturing on DPDK devices<br/>    Label most APIs by the first release in which they're available<br/>    Fix some memory leaks, including in pcap_compile()<br/>    Add pcap_datalink_val_to_description_or_dlt()<br/>    Handle the pcap private data in a fashion that makes fewer<br/>       assumptions about memory layouts (might fix GitHub issue #940<br/>       on ARM)<br/>    Fix some thread safety issues<br/>    pcap_findalldevs(): don't sort interfaces by unit number<br/>    Always return a list of supported time-stamp types, even if only<br/>        host time stamps are supported<br/>    Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP<br/>    Report the DLT description in error messages<br/>    Add pcap_init() for first-time initialization and global option<br/>        setting; it's not required, but may be used<br/>    Remove (unused) SITA support<br/>    Capture file reading:<br/>        Correctly handle pcapng captures with more than one IDB with a<br/>            snspshot length greater than the supported maximum<br/>    Capture file writing:<br/>        Create the file in pcap_dump_open_append() if it doesn't exist<br/>    Packet filtering:<br/>        Fix "unknown ether proto 'aarp'"<br/>        Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all<br/>            platforms and live Linux captures<br/>        Add a hack to the optimizer to try to catch certain optimizer<br/>            loops (should prevent GitHub issue #112)<br/>        Show special Linux BPF offsets symbolically in bpf_image() and<br/>            bpf_dump()<br/>        Added support for ICMPv6 types 1-4 as tokens with names<br/>        Remove undocumented and rather old "ether proto" protocols<br/>        Catch invalid IPv4 addresses in filters<br/>        Don't assume ARM supports unaligned accesses<br/>    Security and other issues found by analysis:<br/>        Fix various security issues reported by Charles Smith at Tangible<br/>            Security<br/>        Fix various security issues reported by Include Security<br/>        Fix some issues found by cppcheck.<br/>        Add some overflow checks in the optimizer<br/>    rpcap:<br/>        Support rpcap-over-TLS<br/>        Redo protocol version negotiation to avoid problems with old<br/>            servers (it still works with servers using the old negotiation,<br/>            as well as servers not supporting negotiation)<br/>        Error handling cleanups<br/>        Add some new authentication libpcap error codes for specific<br/>            errors<br/>        Fix some inetd issues in rpcapd<br/>        Fix rpcapd core dumps with invalid configuration file<br/>        On UN*X, don't have rpcapd tell the client why authentication<br/>            failed, so a brute-force attacker can't distinguish between<br/>            "unknown user name" and "known user name, wrong password"<br/>        Allow rpcapd to rebind more rapidly (GitHub issue #765)<br/>    Documentation:<br/>        Improve man pages, including adding backward compatibility notes<br/>    Building and testing:<br/>        Require, and assume, some level of C99 support in the C compiler<br/>        Require Visual Studio 2015 or later if using Visual Studio<br/>        Fix configure script issues, including with libnl on Linux<br/>        Fix CMake issues<br/>        Squelch complaints from Bison about "%define api.pure" being<br/>            deprecated<br/>        Fix compilation of pcap-tc.c<br/>    Linux:<br/>        Require PF_PACKET support, and kernel 2.6.27 or later<br/>        Handle systems without AF_INET or AF_UNIX socket support<br/>        Get rid of Wireless Extensions for turning monitor mode on<br/>        Proper memory sync for PACKET_MMAP (may prevent GitHub issue<br/>            #898)<br/>        Drop support for libnl 1 and 2.<br/>        Return error on interface going away, but not if it just went<br/>            down but is still present<br/>        Set socket protocol only after packet ring configured,<br/>            reducing bogus packet drop reports<br/>        Get ifdrop stats from sysfs.<br/>        When adjusting BPF programs, do not subtract the<br/>            SLL[2]_HDR_LEN if the location is negative (special metadata<br/>            offset), to preserve references to metadata; see<br/>            https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment-486827278<br/>        Report a warning for unknown ARPHRD types<br/>        Have pcap_breakloop() forcibly break out of a sleeping<br/>            capture loop<br/>        Add support for DSA data link types<br/>        For raw USB bus capture, use the snapshot length to set the<br/>            buffer size, and set the len field to reflect the length<br/>            in the URB (GitHub issue #808)<br/>        With a timeout of zero, wait indefinitely<br/>        Clean up support for some non-GNU libc C libraries<br/>        Add DLT_LINUX_SLL2 for cooked-mode captures<br/>        Probe CONFIGURATION descriptor of connected USB devices<br/>        Treat EPERM on ethtool ioctls as meaning "not supported", as<br/>            permissions checks are done before checking whether the<br/>            ioctl is supported at all<br/>    macOS:<br/>        Cope with getting EPWROFF from SIOCGIFMEDIA<br/>        Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as<br/>            permissions checks are done before checking whether the<br/>            ioctl is supported at all<br/>        Treat ENXIO when reading packets as meaning "the interface<br/>            was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    FreeBSD:<br/>        Treat ENXIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    NetBSD:<br/>        Treat ENXIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    OpenBSD:<br/>        Treat EIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    DragonFly BSD:<br/>        Treat ENXIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    Solaris:<br/>        Treat ENXIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    AIX:<br/>        Fix loading of BPF kernel extension<br/>        Treat ENXIO as meaning "the interface was removed"<br/>        Report "the interface disappeared", not "the interface went<br/>            down", if the interface was removed during a capture<br/>    Windows:<br/>        Make the snapshot length work even if pcap_setfilter()<br/>            isn't called<br/>        Fix compilation on Cygwin/MSYS<br/>        Add pcap_handle(), and deprecate pcap_fileno()<br/>        Report PCAP_ERROR_NO_SUCH_DEVICE for a non-existent device<br/>        Return an appropriate error message for device removed or<br/>            device unusable due to a suspend/resume<br/>        Report a warning for unknown NdisMedium types<br/>        Have pcap_breakloop() forcibly break out of a sleeping<br/>            capture loop<br/>        Clean up building DLL<br/>        Handle CRT mismatch for pcap_dump_fopen()<br/>        Map NdisMediumWirelessWan to DLT_RAW<br/>        Add AirPcap support in a module, rather than using<br/>            WinPcap/Npcap's support for it<br/>        Report the system error for PacketSetHwFilter() failures<br/>        Add support for getting and setting packet time stamp types<br/>            with Npcap<br/>        Have pcap_init() allow selecting whether the API should use<br/>            local code page strings or UTF-8 strings (including error<br/>            messages)<br/>    Haiku:<br/>        Add capture support</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.1.1.1</description>
    <pubDate>Thu Aug 17 13:11:03 UTC 2023</pubDate>
    <dc:creator>christos</dc:creator>
</item>

<item>
    <title>Sync with HEAD</title>
    <description>/src/external/bsd/libpcap/dist/sslutils.c - 1.2.2.1</description>
    <pubDate>Sat Aug 02 05:22:00 UTC 2025</pubDate>
    <dc:creator>perseant</dc:creator>
</item>
</channel></rss>

