Subject: CVS commit: pkgsrc/net/scapy
From: David H. Gutteridge
Date: 2023-01-17 02:33:17
Message id: 20230117013317.995FFFA90@cvs.NetBSD.org

Log Message:
scapy: update to 2.5.0

Changelog

Scapy v2.5.0 is the last version to support Python 2.7
Main Changes

    Type hinting of Scapy core: Scapy now provides type hintings for all of its core
    Python 3.9 and 3.10 support
    macOS 10.15 support
    update built-in dependencies (six) + and our cryptography imports that \ 
created warnings
    fix sniffing performance issues with 2.4.4+ on Windows
    greatly improve BPF (macOS) support (timestamps...)
    enhanced loopback interface support on Linux, *BSD, and Windows
    SPDX License identifiers added
    several major CLI improvements, especially in autocompletion: you can now \ 
auto-complete the names for all Scapy fields, automatons, answering machines \ 
thanks to signature injection (and patches in IPython/bpython)

Core

    improved support of BPF
    support pcapng writing, comments, TLS secrets decryption block
    Re-work how sent_time is shared across packets iterators
    support new LINUX_SLL2 packet type (new tcpdump versions)
    pipes: performances issues fixed
    tools: fixes to hexdiff, lhex...
    [breaking] FlagsField in dict mode now uses values instead of offsets

Layers

    new layers related to Windows: DCERPC/NTLM/KERBEROS/GSSAPI/SPNEGO/(C)LDAP.
    new contrib layers: ESMC/RTPS/RTPC/metawatch
    rework Netbios/SMB1/SMB2, basic SMB clients & server, ntlm relay
    several fixes to the TLS implementation
    major zigbee/6lowpan improvements
    bug fixes in TLS: properly support FFDH, fix the TLS 1.3 notebooks... among \ 
other things
    p0f module update
    IPsec: fixes, x25519 support...
    various updates to the ASN.1 engine
    IKEv2: fixes, UDP encapsulation
    STUN support
    Postgres line protocol 3.0 support
    EDNS0 client subnet support
    ESMC protocol added
    support TCP-MD5 and TCP-AO options
    ERF Ethernet Support
    many fixes: modbus, 802.11, BTLE, SCTP, DNS, LLDP, Kerberos, RTPS, DHCP, \ 
MQTT, BGP, L2TP...

Automotive

    ISOTPSoftSocket: Bug fixes and performance improvements
    Documentation and API-Doc improvements
    Unit-Test speedups for Scanners
    IPv6 support for DoIP
    Bugfixes for DoIP
    Unit-Test cleanups
    UDS-, GMLAN- and OBD-Scanner refactoring
    CANFD support

Misc

    new sanity rules prevent fields from having the same name in all packets
        Currently displays a warning but will become a SyntaxError in the future!
    archives of the Scapy repo should now have more consistent hashes

Files:
RevisionActionfile
1.41modifypkgsrc/net/scapy/Makefile
1.12modifypkgsrc/net/scapy/PLIST
1.19modifypkgsrc/net/scapy/distinfo
1.6modifypkgsrc/net/scapy/patches/patch-ab
1.5modifypkgsrc/net/scapy/patches/patch-ad
1.6modifypkgsrc/net/scapy/patches/patch-scapy_arch_bpf_supersocket.py
1.1removepkgsrc/net/scapy/patches/patch-test_bpf.uts
1.2removepkgsrc/net/scapy/patches/patch-test_run__tests