pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/scapy



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Fri Jan  9 01:49:39 UTC 2026

Modified Files:
        pkgsrc/net/scapy: Makefile PLIST distinfo

Log Message:
scapy: update to 2.7.0

Deprecation notice

    This version will be the last to support Python 3.7 and 3.8. (PEP639 will require a new license format starting in 2026, which isn't supported in the latest version of setuptools available on 
those older versions of Python.)

Changelog

    [new] ForwardMachine: a new Scapy feature allowing to create a scriptable multi-clients, multi-destination TCP forwarder. It can edit packets on the fly, redirect them to another server, perform 
TLS interception and more. More details here

    Windows protocols:
        Implementation details in this paper
        SMB:
            client improvements (doc)
            server improvements (doc)
            add support for encryption
            add support for requiring signature
        Kerberos:
            FAST support
            PKINIT support
            DMSA support
            many improvements to Ticketer++ (see demo below)
            many bug fixes & improvements
        SSPs:
            SPNEGOSSP was re-written for clarity & now enforces proper mechListMIC rules
            NTLMSSP and KerberosSSP were improved. Support for KB5068222 changes. Better error handling.
            NeglogonSSP now supports Kerberos secure channel (Windows 2025+)
        [new] .NET Remoting layer ([MS-NRTP])
        LDAP: many improvements to the client
        [new] graphical LDAP client "ldaphero"
        DCE/RPC
            better handling of contexts
            better handling of fragmentation
            See https://github.com/gpotter2/scapy-rpc for the MIDL -> Scapy compiler
        [new] DCOM is now supported
    [removal] scapy -s has been removed.
    TLS:
        Parsing of CSR structures is now implemented (PKCS#10 and CMC variants)
        Big refactor of the TLS utils to parse certificates, CSRs, keys and manipulate them. See examples in the documentation
        New CertTree class to act as a certificate store one can check a certificate against.
        better handling of NSS KeyLog for TLS 1.3 decryption
        doc improvements
        more structures are implemented
    bluetooth:
        MANY new payloads (EIR, BTLE, HCI_MON ...)
        display of vendor IDs
        many other bug fixes & improvements !
    [new] radiusd(): a small RADIUS server (CHAP / MS-CHAPv2)
    [new] nbns_request: perform a Netbios discovery
    [fixed] Scapy was not loading properly on 32bits *BSD plateforms
    ISAKMP / IKEv2: more supported payloads
    [major doc changes] the "Advanced" section of the documentation was split
    [darwin/osx] support TUN interfaces in TunTapInterface
    automaton:
        [new] spawn(), allowing to serve automatons on a port
        support for sessions (e.g. TCPSession)
        many more fixes and performance improvements (unclosed file descriptors could lead to memory leaks)
    HTTP:
        server/client improvements
        support custom headers
        support for GSSAPI authentication with channel binding
        session improvements
        Added EOF condition to the HTTP_Server state SERVE.
        and more
    DNS:
        improve dnsd() relay mode
        fix a bug with (de)compression that could occur in certain cases
        [fixed] dns_resolve now properly fallbacks on TCP when packets are too big
    TFTP: improvements of the interface selection in the client/server automatons
    pcapng: support of multiple comments, fixes to bound checks
    [fixed] defragment6 was not working in some cases
    improve handling of newer IPython versions, fix some deprecation warnings
    improve handling of newer cryptography versions, fix some deprecation warnings
    BGP: support reassembly with TCPSession
    NTP: various fixes, big refactor of the layer
    [fixed] AsyncSniffer stop() failed in some cases
    l2: improvements to arping() on interfaces with no IP addresses
    Defaulted sr1 to threaded=False
    Improved error handling in L2Socket.close() by adding ValueError.
    new protocols:
        PSP
    many other bug fixes to: STUN, 6Lowpan, DHCPv6

Automotive Layers

    DoIP:
        [new] Added version field for DoIP and DoIP sockets.
        Adjusted hashret handling in DoIP.
        *UDS:
        [new] Added additional argument for UDS_DSCEnumerator.
        [new] Added software reset function for the UDS scanner.
        Fixed answer function for UDS_HSFZSocket.
    ISOTP / Automotive Scanning:
        [new] Added FD support for isotpscan.
        [new] Added CAN-FD support for ISOTPScan.
        *HSFZ:
        Improved incorrect tester field naming.
        Added addressing information to incorrect_tester_address packets.
        Improved alive-check dissection.
        Corrected acknowledgment transfer packet structure.
        Ensured vehicle identification string is only parsed when non-zero length.
        Updated HSFZ with more detailed dissection logic.
        *UDS / GMLAN / AutomotiveScanner:
        Various updates and improvements across UDS, GMLAN, and AutomotiveScanner modules.
        *ISO-TP:
        Enhanced ISO-TP soft socket implementation.
        Improved SOMEIP.fragment() behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/net/scapy/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/scapy/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/scapy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/scapy/Makefile
diff -u pkgsrc/net/scapy/Makefile:1.56 pkgsrc/net/scapy/Makefile:1.57
--- pkgsrc/net/scapy/Makefile:1.56      Thu Oct  9 07:57:53 2025
+++ pkgsrc/net/scapy/Makefile   Fri Jan  9 01:49:39 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2025/10/09 07:57:53 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2026/01/09 01:49:39 gutteridge Exp $
 
-DISTNAME=      scapy-2.6.1
-PKGREVISION=   1
+DISTNAME=      scapy-2.7.0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=secdev/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -13,7 +12,6 @@ LICENSE=      gnu-gpl-v2
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= tcpreplay-[0-9]*:../../net/tcpreplay
 
 PYTHON_VERSIONS_INCOMPATIBLE=  310 # py-ipython

Index: pkgsrc/net/scapy/PLIST
diff -u pkgsrc/net/scapy/PLIST:1.17 pkgsrc/net/scapy/PLIST:1.18
--- pkgsrc/net/scapy/PLIST:1.17 Mon Apr 21 09:24:51 2025
+++ pkgsrc/net/scapy/PLIST      Fri Jan  9 01:49:39 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2025/04/21 09:24:51 leot Exp $
+@comment $NetBSD: PLIST,v 1.18 2026/01/09 01:49:39 gutteridge Exp $
 bin/scapy
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -523,6 +523,9 @@ ${PYSITELIB}/scapy/contrib/ppi_cace.pyo
 ${PYSITELIB}/scapy/contrib/ppi_geotag.py
 ${PYSITELIB}/scapy/contrib/ppi_geotag.pyc
 ${PYSITELIB}/scapy/contrib/ppi_geotag.pyo
+${PYSITELIB}/scapy/contrib/psp.py
+${PYSITELIB}/scapy/contrib/psp.pyc
+${PYSITELIB}/scapy/contrib/psp.pyo
 ${PYSITELIB}/scapy/contrib/ripng.py
 ${PYSITELIB}/scapy/contrib/ripng.pyc
 ${PYSITELIB}/scapy/contrib/ripng.pyo
@@ -634,6 +637,9 @@ ${PYSITELIB}/scapy/error.pyo
 ${PYSITELIB}/scapy/fields.py
 ${PYSITELIB}/scapy/fields.pyc
 ${PYSITELIB}/scapy/fields.pyo
+${PYSITELIB}/scapy/fwdmachine.py
+${PYSITELIB}/scapy/fwdmachine.pyc
+${PYSITELIB}/scapy/fwdmachine.pyo
 ${PYSITELIB}/scapy/interfaces.py
 ${PYSITELIB}/scapy/interfaces.pyc
 ${PYSITELIB}/scapy/interfaces.pyo
@@ -727,6 +733,9 @@ ${PYSITELIB}/scapy/layers/mgcp.pyo
 ${PYSITELIB}/scapy/layers/mobileip.py
 ${PYSITELIB}/scapy/layers/mobileip.pyc
 ${PYSITELIB}/scapy/layers/mobileip.pyo
+${PYSITELIB}/scapy/layers/ms_nrtp.py
+${PYSITELIB}/scapy/layers/ms_nrtp.pyc
+${PYSITELIB}/scapy/layers/ms_nrtp.pyo
 ${PYSITELIB}/scapy/layers/msrpce/__init__.py
 ${PYSITELIB}/scapy/layers/msrpce/__init__.pyc
 ${PYSITELIB}/scapy/layers/msrpce/__init__.pyo
@@ -742,6 +751,9 @@ ${PYSITELIB}/scapy/layers/msrpce/msdcom.
 ${PYSITELIB}/scapy/layers/msrpce/msdrsr.py
 ${PYSITELIB}/scapy/layers/msrpce/msdrsr.pyc
 ${PYSITELIB}/scapy/layers/msrpce/msdrsr.pyo
+${PYSITELIB}/scapy/layers/msrpce/mseerr.py
+${PYSITELIB}/scapy/layers/msrpce/mseerr.pyc
+${PYSITELIB}/scapy/layers/msrpce/mseerr.pyo
 ${PYSITELIB}/scapy/layers/msrpce/msnrpc.py
 ${PYSITELIB}/scapy/layers/msrpce/msnrpc.pyc
 ${PYSITELIB}/scapy/layers/msrpce/msnrpc.pyo
@@ -760,6 +772,9 @@ ${PYSITELIB}/scapy/layers/msrpce/raw/ms_
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_drsr.py
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_drsr.pyc
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_drsr.pyo
+${PYSITELIB}/scapy/layers/msrpce/raw/ms_eerr.py
+${PYSITELIB}/scapy/layers/msrpce/raw/ms_eerr.pyc
+${PYSITELIB}/scapy/layers/msrpce/raw/ms_eerr.pyo
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_nrpc.py
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_nrpc.pyc
 ${PYSITELIB}/scapy/layers/msrpce/raw/ms_nrpc.pyo
@@ -802,6 +817,9 @@ ${PYSITELIB}/scapy/layers/ppp.pyo
 ${PYSITELIB}/scapy/layers/pptp.py
 ${PYSITELIB}/scapy/layers/pptp.pyc
 ${PYSITELIB}/scapy/layers/pptp.pyo
+${PYSITELIB}/scapy/layers/quic.py
+${PYSITELIB}/scapy/layers/quic.pyc
+${PYSITELIB}/scapy/layers/quic.pyo
 ${PYSITELIB}/scapy/layers/radius.py
 ${PYSITELIB}/scapy/layers/radius.pyc
 ${PYSITELIB}/scapy/layers/radius.pyo
@@ -931,6 +949,9 @@ ${PYSITELIB}/scapy/layers/tls/keyexchang
 ${PYSITELIB}/scapy/layers/tls/keyexchange_tls13.py
 ${PYSITELIB}/scapy/layers/tls/keyexchange_tls13.pyc
 ${PYSITELIB}/scapy/layers/tls/keyexchange_tls13.pyo
+${PYSITELIB}/scapy/layers/tls/quic.py
+${PYSITELIB}/scapy/layers/tls/quic.pyc
+${PYSITELIB}/scapy/layers/tls/quic.pyo
 ${PYSITELIB}/scapy/layers/tls/record.py
 ${PYSITELIB}/scapy/layers/tls/record.pyc
 ${PYSITELIB}/scapy/layers/tls/record.pyo
@@ -946,6 +967,9 @@ ${PYSITELIB}/scapy/layers/tls/session.py
 ${PYSITELIB}/scapy/layers/tls/tools.py
 ${PYSITELIB}/scapy/layers/tls/tools.pyc
 ${PYSITELIB}/scapy/layers/tls/tools.pyo
+${PYSITELIB}/scapy/layers/tpm.py
+${PYSITELIB}/scapy/layers/tpm.pyc
+${PYSITELIB}/scapy/layers/tpm.pyo
 ${PYSITELIB}/scapy/layers/tuntap.py
 ${PYSITELIB}/scapy/layers/tuntap.pyc
 ${PYSITELIB}/scapy/layers/tuntap.pyo
@@ -967,6 +991,9 @@ ${PYSITELIB}/scapy/layers/zigbee.pyo
 ${PYSITELIB}/scapy/libs/__init__.py
 ${PYSITELIB}/scapy/libs/__init__.pyc
 ${PYSITELIB}/scapy/libs/__init__.pyo
+${PYSITELIB}/scapy/libs/bluetoothids.py
+${PYSITELIB}/scapy/libs/bluetoothids.pyc
+${PYSITELIB}/scapy/libs/bluetoothids.pyo
 ${PYSITELIB}/scapy/libs/ethertypes.py
 ${PYSITELIB}/scapy/libs/ethertypes.pyc
 ${PYSITELIB}/scapy/libs/ethertypes.pyo
@@ -1006,6 +1033,9 @@ ${PYSITELIB}/scapy/modules/krack/automat
 ${PYSITELIB}/scapy/modules/krack/crypto.py
 ${PYSITELIB}/scapy/modules/krack/crypto.pyc
 ${PYSITELIB}/scapy/modules/krack/crypto.pyo
+${PYSITELIB}/scapy/modules/ldaphero.py
+${PYSITELIB}/scapy/modules/ldaphero.pyc
+${PYSITELIB}/scapy/modules/ldaphero.pyo
 ${PYSITELIB}/scapy/modules/nmap.py
 ${PYSITELIB}/scapy/modules/nmap.pyc
 ${PYSITELIB}/scapy/modules/nmap.pyo
@@ -1076,6 +1106,9 @@ ${PYSITELIB}/scapy/tools/automotive/xcps
 ${PYSITELIB}/scapy/tools/check_asdis.py
 ${PYSITELIB}/scapy/tools/check_asdis.pyc
 ${PYSITELIB}/scapy/tools/check_asdis.pyo
+${PYSITELIB}/scapy/tools/generate_bluetooth.py
+${PYSITELIB}/scapy/tools/generate_bluetooth.pyc
+${PYSITELIB}/scapy/tools/generate_bluetooth.pyo
 ${PYSITELIB}/scapy/tools/generate_ethertypes.py
 ${PYSITELIB}/scapy/tools/generate_ethertypes.pyc
 ${PYSITELIB}/scapy/tools/generate_ethertypes.pyo

Index: pkgsrc/net/scapy/distinfo
diff -u pkgsrc/net/scapy/distinfo:1.24 pkgsrc/net/scapy/distinfo:1.25
--- pkgsrc/net/scapy/distinfo:1.24      Tue Nov  5 13:24:48 2024
+++ pkgsrc/net/scapy/distinfo   Fri Jan  9 01:49:39 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.24 2024/11/05 13:24:48 gutteridge Exp $
+$NetBSD: distinfo,v 1.25 2026/01/09 01:49:39 gutteridge Exp $
 
-BLAKE2s (scapy-2.6.1.tar.gz) = 82265188a3aca519610b860ba7ac914553f24afbe99954a6a6ccebc86e409467
-SHA512 (scapy-2.6.1.tar.gz) = 4ab02f5b9dfcf329ee4f4837655066227b1e162e695d6cbe84ada4e2ff44589462a9843b0f16699ec974dcf6e0a81af3c5b088ceac48a679e9591f4cec0eedc8
-Size (scapy-2.6.1.tar.gz) = 7048560 bytes
+BLAKE2s (scapy-2.7.0.tar.gz) = 7164e35729a248f0820bc861ce495d842fe0ecf0b5768398b68efb34a7f55013
+SHA512 (scapy-2.7.0.tar.gz) = fafdf9a1df8668603d72f902833ef1954e780b3da74a5447d20bf125a763129cfb78350ee1e7b9c284214d9e97a02d8fb0f1be1f6c05ed890eee50016ef3d2f1
+Size (scapy-2.7.0.tar.gz) = 7352287 bytes
 SHA1 (patch-ab) = c544db1e6d4cf8c42f7c2b0010d898bf61413e22
 SHA1 (patch-scapy_arch_bpf_supersocket.py) = 7f2ad841643c2e347871b54e476998de403d2a01
 SHA1 (patch-scapy_consts.py) = c897229e444d363e2aeea12cdd7264d3d275f4ab



Home | Main Index | Thread Index | Old Index