head 1.6; access; symbols pkgsrc-2022Q4:1.4.0.26 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.24 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.22 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.20 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.18 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.16 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.14 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.12 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.10 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.54 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.52 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.50 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.48 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.46 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.44 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.42 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.40 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.38 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.34 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.32 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.30 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.28 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.26 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.24 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.22 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.20 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.18 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.16 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.14 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.12 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.10 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.8 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.6 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.4 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.18 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.16 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.14 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.12 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.10 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.6 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2 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.6 date 2023.01.19.00.35.26; author gutteridge; state dead; branches; next 1.5; commitid hoYhHliJ0rckn5aE; 1.5 date 2023.01.17.01.33.17; author gutteridge; state Exp; branches; next 1.4; commitid gJYdNdbhT41oLP9E; 1.4 date 2019.11.04.05.48.26; author gutteridge; state Exp; branches; next 1.3; commitid JY6GuKX7WaS4MuJB; 1.3 date 2013.06.15.20.24.19; author adam; state Exp; branches; next 1.2; commitid T6tGLuXO8jwECKTw; 1.2 date 2011.02.25.15.43.51; author drochner; state Exp; branches; next 1.1; 1.1 date 2009.06.09.12.30.02; author hasso; state Exp; branches; next ; desc @@ 1.6 log @scapy: switch to use the project's own ethertypes definitions There's no point shipping our own version of an ethertypes file which is pretty incomplete compared to what scapy itself provides as its internal definition should it not find one in the environment. @ text @$NetBSD: patch-ad,v 1.5 2023/01/17 01:33:17 gutteridge Exp $ Apply pkgsrc-specific config path. --- scapy/data.py.orig 2022-12-24 14:06:26.000000000 +0000 +++ scapy/data.py @@@@ -529,7 +529,7 @@@@ if WINDOWS: MANUFDB = ManufDA() else: IP_PROTOS = load_protocols("/etc/protocols") - ETHER_TYPES = load_ethertypes("/etc/ethertypes") + ETHER_TYPES = load_ethertypes("@@PKG_SYSCONFDIR@@/ethertypes") TCP_SERVICES, UDP_SERVICES, SCTP_SERVICES = load_services("/etc/services") MANUFDB = ManufDA() manuf_path = select_path( @ 1.5 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-ad,v 1.4 2019/11/04 05:48:26 gutteridge Exp $ @ 1.4 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-ad,v 1.3 2013/06/15 20:24:19 adam Exp $ d5 1 a5 1 --- scapy/data.py.orig 2019-08-04 16:12:30.000000000 +0000 d7 1 a7 1 @@@@ -314,7 +314,7 @@@@ if WINDOWS: d13 1 a13 1 TCP_SERVICES, UDP_SERVICES = load_services("/etc/services") @ 1.3 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-ad,v 1.2 2011/02/25 15:43:51 drochner Exp $ d3 3 a5 1 --- scapy/data.py.orig 2009-09-23 14:27:36.000000000 +0000 d7 2 a8 2 @@@@ -180,7 +180,7 @@@@ if WINDOWS: MANUFDB = load_manuf(os.environ["ProgramFiles"] + "\\wireshark\\manuf") d10 6 a15 6 IP_PROTOS=load_protocols("/etc/protocols") - ETHER_TYPES=load_ethertypes("/etc/ethertypes") + ETHER_TYPES=load_ethertypes("@@PKG_SYSCONFDIR@@/ethertypes") TCP_SERVICES,UDP_SERVICES=load_services("/etc/services") MANUFDB = load_manuf("/usr/share/wireshark/wireshark/manuf") @ 1.2 log @update to 2.1.1 This release include many bugfixes, most of them for Windows platforms, thanks mainly to Dirk Loss. There is also VRRP and SCTP protocols suppor thanks to zer0, IPython support. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -176,7 +176,7 @@@@ if WINDOWS: @ 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 @d3 10 a12 5 --- scapy/data.py.orig 2009-06-09 13:13:15 +0300 +++ scapy/data.py 2009-06-09 13:13:57 +0300 @@@@ -97,7 +97,7 @@@@ def load_ethertypes(filename): pass return dct a13 5 -ETHER_TYPES=load_ethertypes("/etc/ethertypes") +ETHER_TYPES=load_ethertypes("@@PKG_SYSCONFDIR@@/ethertypes") def load_services(filename): spaces = re.compile("[ \t]+|\n") @