./net/scapy, Interactive packet manipulation program

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.5.0nb2, Package name: scapy-2.5.0nb2, Maintainer: pkgsrc-users

Scapy is a powerful Python-based interactive packet manipulation program
and library. It is able to forge or decode packets of a wide number of
protocols, send them on the wire, capture them, store or read them using
pcap files, match requests and replies, and much more. It is designed to
allow fast packet prototyping by using default values that work.

It can easily handle most classical tasks like scanning, tracerouting,
probing, unit tests, attacks or network discovery (it can replace hping,
85% of nmap, arpspoof, arp-sk, arping, tcpdump, wireshark, p0f, etc.).
It also performs very well at a lot of other specific tasks that most
other tools can't handle, like sending invalid frames, injecting your
own 802.11 frames, combining techniques (VLAN hopping+ARP cache
poisoning, VoIP decoding on WEP protected channel, ...), etc.

Scapy supports Python 2.7 and Python 3 (3.4 to 3.10). It's intended to be
cross platform, and runs on many different platforms (Linux, OSX, *BSD,
and Windows).


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Package options: libpcap

Master sites:

Filesize: 5940.327 KB

Version history: (Expand)


CVS history: (Expand)


   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2023-01-19 01:35:26 by David H. Gutteridge | Files touched by this commit (6)
Log message:
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.
   2023-01-17 02:52:11 by David H. Gutteridge | Files touched by this commit (1) | Package updated
Log message:
scapy: update DESCR to reflect current Python support

(It doesn't officially support Python 3.11 yet, but they have commits
to add support for it.)
   2023-01-17 02:33:17 by David H. Gutteridge | Files touched by this commit (8) | Package updated
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
   2022-06-30 13:19:02 by Nia Alarie | Files touched by this commit (524)
Log message:
*: Revbump packages that use Python at runtime without a PKGNAME prefix
   2022-06-16 02:27:44 by David H. Gutteridge | Files touched by this commit (1)
Log message:
scapy: add a comment about the state of the test target
   2022-04-21 13:00:02 by Thomas Klausner | Files touched by this commit (18)
Log message:
*: convert to versioned_dependencies for py-cryptography
   2022-01-25 02:44:22 by Thomas Klausner | Files touched by this commit (1)
Log message:
scapy: remove default-off gnuplot option

py-gnuplot does not build and will be removed next