net/scapy - The NetBSD Packages Collection

Interactive packet manipulation program

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).

Build dependencies

devel/py-setuptools pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/py-setuptools lang/python311 lang/python311

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64scapy-2.5.0nb2.tgz
NetBSD 10.0aarch64scapy-2.5.0nb1.tgz
NetBSD 10.0aarch64scapy-2.5.0nb2.tgz
NetBSD 10.0aarch64ebscapy-2.5.0nb2.tgz
NetBSD 10.0aarch64ebscapy-2.5.0nb2.tgz
NetBSD 10.0alphascapy-2.5.0nb2.tgz
NetBSD 10.0earmv6hfscapy-2.5.0nb2.tgz
NetBSD 10.0earmv6hfscapy-2.5.0nb1.tgz
NetBSD 10.0earmv6hfscapy-2.5.0nb2.tgz
NetBSD 10.0earmv7hfscapy-2.5.0nb2.tgz
NetBSD 10.0earmv7hfscapy-2.5.0nb1.tgz
NetBSD 10.0earmv7hfscapy-2.5.0nb2.tgz
NetBSD 10.0i386scapy-2.5.0nb2.tgz
NetBSD 10.0i386scapy-2.5.0nb2.tgz
NetBSD 10.0powerpcscapy-2.5.0nb2.tgz
NetBSD 10.0x86_64scapy-2.5.0nb2.tgz
NetBSD 10.0_BETAx86_64scapy-2.5.0nb2.tgz
NetBSD 8.0i386scapy-2.5.0nb2.tgz
NetBSD 8.0i386scapy-2.5.0nb1.tgz
NetBSD 8.0powerpcscapy-2.5.0nb1.tgz
NetBSD 8.0powerpcscapy-2.5.0nb2.tgz
NetBSD 8.0powerpcscapy-2.5.0nb2.tgz
NetBSD 8.0x86_64scapy-2.5.0nb2.tgz
NetBSD 8.0x86_64scapy-2.5.0nb1.tgz
NetBSD 8.0x86_64scapy-2.5.0nb2.tgz
NetBSD 9.0aarch64scapy-2.5.0nb2.tgz
NetBSD 9.0aarch64scapy-2.5.0nb1.tgz
NetBSD 9.0aarch64scapy-2.5.0nb2.tgz
NetBSD 9.0alphascapy-2.5.0nb1.tgz
NetBSD 9.0alphascapy-2.5.0nb2.tgz
NetBSD 9.0earmscapy-2.5.0nb1.tgz
NetBSD 9.0earmv6hfscapy-2.5.0nb2.tgz
NetBSD 9.0earmv6hfscapy-2.5.0nb1.tgz
NetBSD 9.0earmv6hfscapy-2.5.0nb2.tgz
NetBSD 9.0earmv7hfscapy-2.5.0nb2.tgz
NetBSD 9.0earmv7hfscapy-2.5.0nb1.tgz
NetBSD 9.0earmv7hfscapy-2.5.0nb2.tgz
NetBSD 9.0i386scapy-2.5.0nb2.tgz
NetBSD 9.0i386scapy-2.5.0nb2.tgz
NetBSD 9.0m68kscapy-2.5.0nb1.tgz
NetBSD 9.0powerpcscapy-2.5.0nb2.tgz
NetBSD 9.0powerpcscapy-2.5.0nb1.tgz
NetBSD 9.0powerpcscapy-2.5.0nb2.tgz
NetBSD 9.0sh3elscapy-2.5.0nb1.tgz
NetBSD 9.0sparc64scapy-2.5.0nb1.tgz
NetBSD 9.0sparcscapy-2.5.0nb1.tgz
NetBSD 9.0x86_64scapy-2.5.0nb2.tgz
NetBSD 9.0x86_64scapy-2.5.0nb2.tgz
NetBSD 9.3x86_64scapy-2.5.0nb1.tgz
NetBSD 9.3x86_64scapy-2.5.0nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

libpcap
Enable libpcap support.
scapy-crypto
Add in crypto support.
scapy-pyx
Add in py-X support.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.