head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.12 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.10 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.8 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.6 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.4 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.6.0.14 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.12 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.10 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.8 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.6 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.4 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.2 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.5.0.14 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.12 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.10 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.8 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.6 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.4 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.2 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.4.0.2 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.3.0.10 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.8 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.6 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.4 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.2.0.54 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.52 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.50 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.48 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.46 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.44 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.42 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.40 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.38 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.34 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.32 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.30 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.28 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.26 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.24 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.22 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.20 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.18 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.16 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.14 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.12 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.10 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.8 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.6 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.1.0.32 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.30 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.28 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.26 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.24 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.22 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.20 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.18 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.16 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.14 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.12 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.10 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.8 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.6 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.4 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.2 pkgsrc-2009Q2-base:1.1; locks; strict; comment @# @; 1.7 date 2024.10.01.01.08.29; author gutteridge; state Exp; branches; next 1.6; commitid KWJKiBhoUONdBTrF; 1.6 date 2023.01.17.01.33.17; author gutteridge; state Exp; branches; next 1.5; commitid gJYdNdbhT41oLP9E; 1.5 date 2021.04.27.21.53.11; author gutteridge; state Exp; branches; next 1.4; commitid 3Nn5KibzYVCFKYQC; 1.4 date 2021.03.21.19.50.54; author gutteridge; state Exp; branches; next 1.3; commitid 3mDCCNwgRoa4hdMC; 1.3 date 2019.11.04.05.48.26; author gutteridge; state Exp; branches; next 1.2; commitid JY6GuKX7WaS4MuJB; 1.2 date 2013.06.15.20.24.19; author adam; state Exp; branches; next 1.1; commitid T6tGLuXO8jwECKTw; 1.1 date 2009.06.09.12.30.02; author hasso; state Exp; branches; next ; desc @@ 1.7 log @scapy: update to 2.6.0 General [removal] DROP SUPPORT OF PYTHON 2.7 Python 3.11-3.13 support. The full range of supported Python versions is therefore 3.7-3.13 Improve packaging (pyproject.toml) and version handling. Scapy will now include wheels on pypi. We welcome Nils Weiss (polybassa) as a new maintainer ! Main changes [major] support for RFC6874-like scope identifiers. This is very useful for multicast IPs as one can now do the following on L3: sr(IP(dst="224.0.0.1%eth0")/..., multi=True) [major] using the iface= argument is deprecated on level3 functions (send, sr, sr1), as its behavior was undefined. It remains in use for level2 functions (sendp, srp, srp1). RFC6874-like scope identifiers (see just above) should be used. [major] the internals that read the routes and interfaces configuration have been rewritten on Linux and BSD: on linux, to use RTNETLINK. (this should help on machines that have huge BPG tables) on *BSDs, to use PF_ROUTE. on Linux, NetBSD and FreeBSD, link-local and multicast routes should now properly be loaded [new] Windows protocols: DCE/RPC: DCERPC_Client and DCERPC_Server with support for NCACN_IP_TCP and NCACN_NP SMB2/3: Protocol refactor, many more SMB2/3 structures supported Server (class + 'simple' util smbserver()) (2.0.2 to 3.1.1) Client (class + interactive CLI smbclient()) (2.0.2 to 3.1.1) SMB socket, RPC over SMB socket, etc. Kerberos: KerberosSSP to use in SMB/RPC clients/servers, [MS-KILE] variants, SFU and more ! Crypto: use cryptography, latest RFC8009, GSS_WrapEx support, typing, etc. Util functions krb_as_req, krb_tgt_req, kpasswd (both modes), etc. Ticketer++: ccache support, ask/renew/resign/edit tickets, etc NTLM: refactor, clean SSP Extensive GSSAPI / SPNEGO support ! LDAP Fixes, ASN.1 Windows variation support dclocator, answering machine for "LDAP PING", etc. add a (very) basic LDAP_client (support for various binding mechanisms, encryption, etc.) [dep] Support for recent cryptography (42/43.0) versions [new] CLI improvements [breaking] Scapy CLI configuration now available in ~/.config/scapy/startup.py. This follows XDG variables. (Older ~/.scapy_startup.py is now non functional) Support for bpython, ptpython and ptipython [new] Wireshark extcap interfaces support (load_extcap()) Automaton: fixes memory usage on Windows support for EOF events spawn() mode, better socket.socket support [breaking] StreamSocket changes, support for TCP reassembly, etc. TCPSession(app=True) must no longer be used with StreamSocket. Custom sessions are marked as unstable. Use L3RawSocket(6) automatically on the loopback interface on linux L3pcapSocket (the default L3 on Windows or when libpcap is used) now follows the same behavior as other L3 sockets when routing the sr* class of functions now properly supports sending on multiple interfaces (Windows & Linux) performance issues with the sr* class of functions have also been fixed manufdb (from wireshark) is now bundled and cached in ~/.cache/scapy, as it is no longer shipped as a standalone file in Wireshark. Improve builtin answering machines (dnsd, llmnrd, nbnsd, dhcpd...). Add mdnsd for mDNS support Fix performance issues with nested *ListFields [new] conf.nameservers contains the DNS servers. Also adds dns_resolve() [new] SSHv2 layer [breaking] Rework Session objects Fix L2 address computation when ARP is used over Ether (intrusive ARPs, bad guessing..) [breaking] change sendpfast loop argument to be consistent with sendp automaton: improve graph() to include implicit links HTTP: [new] add HTTP_Client and HTTP_Server which support the same SSPs as Windows rework http_client various fixes to reassembly when using TCPSession TLS: support for TLS 1.3 post handshake support for EdDSA signatures / keys (ed25519/ed448) various fixes (ffdhe generation, middlebox compat) support choosing of curve, signature algorithms, etc. More options supported in DHCP(v6), IPv6, DNS/LLMNR (special thanks to evverx) Bluetooth, 802.11: new payloads supported IPSEC: AES-NULL-GMAC support [breaking] Merge EAPOL contrib into EAP fix latex theme IKEv2, ISAKMP: NAT traversal support, and other fixes (notify, ...) Minor fixes in Netflow, NTP, SCTP, TACACS [deprecation] Deprecate Winpcap support on Windows (please use Npcap instead if you are not already using it). [removal] Remove ubberlogger. cache get_if_hwaddr for performance fix arping without IP [new] tcpros layer (ROS 1.1) many more fixes @ text @$NetBSD: patch-ab,v 1.6 2023/01/17 01:33:17 gutteridge Exp $ Add DragonFly support. --- scapy/arch/unix.py.orig 2024-09-28 13:11:32.000000000 +0000 +++ scapy/arch/unix.py @@@@ -15,7 +15,7 @@@@ from fcntl import ioctl import scapy.config import scapy.utils from scapy.config import conf -from scapy.consts import FREEBSD, NETBSD, OPENBSD, SOLARIS +from scapy.consts import FREEBSD, NETBSD, OPENBSD, SOLARIS, DRAGONFLY from scapy.error import log_runtime, warning from scapy.pton_ntop import inet_pton from scapy.utils6 import in6_getscope, construct_source_candidate_set @@@@ -96,7 +96,7 @@@@ def read_routes(): """ if SOLARIS: f = os.popen("netstat -rvn -f inet") - elif FREEBSD: + elif FREEBSD or DRAGONFLY: f = os.popen("netstat -rnW -f inet") # -W to show long interface names else: f = os.popen("netstat -rn -f inet") @@@@ -330,7 +330,7 @@@@ def read_routes6(): destination, next_hop, flags = splitted_line[:3] dev = splitted_line[index] else: - # FREEBSD or DARWIN + # FREEBSD or DARWIN or DRAGONFLY if len(splitted_line) < 4: warning("Not enough columns in route entry !") continue @ 1.6 log @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 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2021/04/27 21:53:11 gutteridge Exp $ d5 1 a5 1 --- scapy/arch/unix.py.orig 2022-12-24 14:06:26.000000000 +0000 a13 1 from scapy.interfaces import network_name, NetworkInterface d15 2 a16 1 @@@@ -98,7 +98,7 @@@@ def read_routes(): d25 1 a25 1 @@@@ -332,7 +332,7 @@@@ def read_routes6(): @ 1.5 log @scapy: update to 2.4.5 Changelog Core 354 commits to master since v2.4.4, from 73 contributors Python 3.9 support New interfaces system. conf.iface is now an object (retro-compatible as a string) which contains additional information about the interface and allows for an automatic selection of the socket type. conf.ifaces now lists all available interfaces. Fix *BSD support. Improve filters handling on Linux and libpcap Automaton: support for STOP event - allows to cleanly end an Automata. Implemented in all Scapy's automatons [Deprecated] Naming different fields with the same name will now raise a deprecation warning. This behavior has never properly worked and should never be necessary Enhance Net and Net6 Improvements to scapy's logging, colored output and to UTscapy Fix edge-cases with ConditionalField and MultipleTypeField to make them more resilient [Doc] Enhancements: improved MultipleTypeField handling, add view source. [Internal] Move the test suite to GitHub Actions [Internal] Unit test housekeeping [Internal] Begin type hinting Layers 6LoWPAN refactor TLS improvements (TLS 1.3 server downgrade, TLS 1.2 EXT MS...) HTTP improvements (http_request, support for zstd...) Refactor TunTap support Cleanup MACsec Many small bug fixes or improvements to layers (SMB2, BFD, DNS, Zigbee, EAP, HomeplugGP, DHCPv6, 802.11...) Automotive Renaming of ENET to HSFZ Added XCP layer Added DoIP layer [Internal] Cleanup of interface preparation code in unit tests Renaming of ECU to Ecu Refactoring of EcuState class to be more versatile [Internal] Started with typing [Internal] Multiple minor cleanups Minor updates to the documentation @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2021/03/21 19:50:54 gutteridge Exp $ d5 1 a5 1 --- scapy/arch/unix.py.orig 2021-04-18 18:36:15.000000000 +0000 d7 1 a7 1 @@@@ -13,7 +13,7 @@@@ import socket d14 1 d16 1 a16 2 from scapy.utils6 import in6_getscope, construct_source_candidate_set @@@@ -57,7 +57,7 @@@@ def read_routes(): d25 1 a25 1 @@@@ -291,7 +291,7 @@@@ def read_routes6(): @ 1.4 log @scapy: update to 2.4.4 Main Changes Core 784 commits to master since this v2.4.3 fix how timestamps are measured on layer 3 (broken since 2.4.1) drop DNET support (deprecated since 2.4.0) Scapy will now use libpcap instead of tcpdump to compile the filters (tcpdump is still used to filter pcaps) major changes to the online doc: add an automatically generated API reference with visual representation of each layer, move to Sphinx 3.0.0, new layer-specific doc... *BSD fixes more doc to many functions Layers New layers (homeplug sg, smb2, NSH, RPL, ERSPAN, BFD, ROCE...) TLS: TLS 1.3 support & many fixes 802.11 improvements / WPA3 detection Netflow 9 fixes Major refactor & changes of the Automotive layers HTTP changes DHCPv6 fixes according to revision of the RFC Bluetooth improvements (+BLE) minor fixes to Radius, PPP, GTP, IPsec, CDP, VTP, HTTP/2, ... @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2019/11/04 05:48:26 gutteridge Exp $ d5 1 a5 1 --- scapy/arch/unix.py.orig 2020-09-02 11:26:21.000000000 +0000 d7 2 a8 1 @@@@ -14,7 +14,7 @@@@ import scapy.config a9 1 from scapy.arch import get_if_addr d13 1 a13 1 from scapy.error import warning, log_interactive d16 1 a16 1 @@@@ -48,7 +48,7 @@@@ def read_routes(): d25 1 a25 1 @@@@ -276,7 +276,7 @@@@ def read_routes6(): @ 1.3 log @scapy: update to 2.4.3 This latest version of scapy has improved BSD and SunOS support, among other changes. I've continued our DragonFly support, since we were already carrying patches for it. (These should be submitted upstream.) (This also addresses PR pkg/54550, submitted by Gabriel Potter of scapy. Thanks for the reminder, and for all your work on your project!) I have tested a pkgsrc build and scapy regression suite in the following environments: NetBSD 8.1_STABLE with Python 3.6.9 NetBSD 9.99.17 with Python 3.7.5 DragonFly BSD 5.6.2 with Python 3.6.9 OpenIndiana Hipster 2019.04 with Python 3.7.5 Fedora Linux 30 with Python 3.7.5 Significant details from the upstream change summaries: 2.4.3 Main Changes Core 364 commits since v2.4.2 better native support for FreeBSD, NetBSD, OpenBSD Windows: native RAW sockets support, load interfaces/routes using C calls, ... Solaris: fixed support latency improvements sniff() can be used to test BPF fiters on pcap files more unit tests and Python3 compatibility asynchronous sniffing UTScapy vim syntax highlighting drop distutils for setuptools Console / IPython integration improvements Layers Major changes New HTTP (from the deprecated scapy-http module), TLS 1.3, ATA over Ethernet, OVD, IEC 60870-5-104, enip, ... Improved NetflowV9, ISOTP, Zigbee, RTR, BLE, PPI, DNS, LLDP, ... Bluetooth/BTLE rework PPI / 802.11 improvements 2.4.2 Main changes Gabriel Potter is officially part of the Scapy maintainers team PEP08 compliance (see #1277) Speed improvements (see #642) Core 253 merged pull requests since v2.4.0 Python 3.7 support Enhanced Windows support unit testing is now 100% tox based Layers Major changes Many automotive related layers added (ISO-TP...) New EtherCat OPCDA SOCKS USBpcap RPKI Improved MACsec, MQTT, MPLS, DNS, ARP, Dot15d4, Zigbee, Bluetooth4LE, RadioTap ... Enhanced monitor mode support Other addresses a v2.4.0 vulnerability 2.4.0 Main changes Python3 support 85% code coverage Core Pcap/PcapNg improvements enhanced Windows support OpenBSD improvements OSX 802.11 monitor mode Krack AP module iPython support automatically tested on Linux, OSX & Windows ... Layers Major changes TLS (including TLS1.3), X.509 ... New HTTP/2, EAP-TTLS, TACACS, MQTT ... Improved IPv6, SCTP, NTP, PPTP, CDP, BGP, ISIS ... @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2013/06/15 20:24:19 adam Exp $ d5 1 a5 1 --- scapy/arch/unix.py.orig 2019-08-04 16:12:30.000000000 +0000 d11 2 a12 2 -from scapy.consts import FREEBSD, NETBSD, OPENBSD, SOLARIS, LOOPBACK_NAME +from scapy.consts import FREEBSD, NETBSD, OPENBSD, SOLARIS, LOOPBACK_NAME, DRAGONFLY d22 1 a22 1 f = os.popen("netstat -rnW") # -W to handle long interface names @ 1.2 log @Changes 2.2.0: This release adds a contrib section filled with old contributions that were not distributed with Scapy yet: CDP, IGMP, MPLS, CHDLC, SLARP, WPA EAPOL, DTP, EIGRP, VQP, BGP, OSPF, VTP RSVP, EtherIP, RIPng, and IKEv2. It fixes some bugs. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2009/06/09 12:30:02 hasso Exp $ d3 31 a33 11 --- scapy/arch/unix.py.orig 2009-02-01 22:30:20 +0200 +++ scapy/arch/unix.py 2009-06-09 14:33:21 +0300 @@@@ -163,7 +163,7 @@@@ def read_routes6(): lspl = l.split() d,nh,fl = lspl[:3] dev = lspl[5+mtu_present+prio_present] - else: # FREEBSD or DARWIN + else: # FREEBSD or DARWIN or DRAGONFLY d,nh,fl,dev = l.split()[:4] if filter(lambda x: x[2] == dev, lifaddr) == []: continue @ 1.1 log @Update to 2.0.1. Changes are too numerous since 1.0.5 and there is no normal changelog except log in upstream repository. Most notably (at least for me) it adds an IPv6 support. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -160,7 +160,7 @@@@ def read_routes6(): @