./net/scapy, Interactive packet manipulation program

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


Branch: CURRENT, Version: 2.6.1, Package name: scapy-2.6.1, 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: 6883.359 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-11-05 14:24:48 by David H. Gutteridge | Files touched by this commit (5) | Package updated
Log message:
scapy: update to 2.6.1

This update contains fixes for various small bugs introduced in v2.6.0:

    On linux machines with IPv6 disabled, Scapy would crash on startup (#4541)
    The scapy.1 manpage was no longer installed (#4549)
    Upon the first startup, there could be a crash related to the creation of \ 
Scapy's XDG-* related folders. (#4558)
    other small bugs that could lead to issues during packaging. Thanks to the \ 
downstream package maintainers for their help.
   2024-10-17 02:51:49 by David H. Gutteridge | Files touched by this commit (3)
Log message:
scapy: follow upstream's method of man page installation

Now that it's been fixed upstream, align with how it'll appear (again)
from now on.
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-10-02 01:52:09 by David H. Gutteridge | Files touched by this commit (1)
Log message:
scapy: the installed content changed, so rev bump for surety
   2024-10-02 01:49:29 by David H. Gutteridge | Files touched by this commit (3)
Log message:
scapy: fix the versioning issue more cleanly

While here, also note the issue filed for scapy.1 not getting installed.
   2024-10-01 03:08:29 by David H. Gutteridge | Files touched by this commit (6) | Package updated
Log message:
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
   2024-07-20 15:05:14 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
scapy: not for Python 3.8/3.9