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.9). It's intended to be
cross platform, and runs on many different platforms (Linux, OSX, *BSD,
and Windows).

Build dependencies

pkgtools/cwrappers

Runtime dependencies

devel/py-setuptools lang/python38 lang/python38

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfscapy-2.4.3nb2.tgz
NetBSD 8.0earmv7hfscapy-2.4.3nb1.tgz
NetBSD 8.0earmv7hfscapy-2.4.4nb1.tgz
NetBSD 8.0i386scapy-2.4.3nb1.tgz
NetBSD 8.0i386scapy-2.4.3nb2.tgz
NetBSD 8.0i386scapy-2.4.4nb1.tgz
NetBSD 8.0powerpcscapy-2.4.3nb1.tgz
NetBSD 8.0powerpcscapy-2.4.4nb1.tgz
NetBSD 8.0powerpcscapy-2.4.3nb2.tgz
NetBSD 8.0powerpcscapy-2.4.4nb1.tgz
NetBSD 8.0x86_64scapy-2.4.4nb1.tgz
NetBSD 8.0x86_64scapy-2.4.3nb1.tgz
NetBSD 8.0x86_64scapy-2.4.3nb2.tgz
NetBSD 9.0aarch64scapy-2.4.4nb1.tgz
NetBSD 9.0aarch64scapy-2.4.3nb1.tgz
NetBSD 9.0aarch64scapy-2.4.3nb2.tgz
NetBSD 9.0alphascapy-2.4.4nb1.tgz
NetBSD 9.0alphascapy-2.4.3nb1.tgz
NetBSD 9.0alphascapy-2.4.3nb2.tgz
NetBSD 9.0earmv6hfscapy-2.4.4nb1.tgz
NetBSD 9.0earmv6hfscapy-2.4.3nb1.tgz
NetBSD 9.0earmv6hfscapy-2.4.3nb2.tgz
NetBSD 9.0earmv6hfscapy-2.4.3nb2.tgz
NetBSD 9.0earmv7hfscapy-2.4.4nb1.tgz
NetBSD 9.0earmv7hfscapy-2.4.3nb1.tgz
NetBSD 9.0earmv7hfscapy-2.4.3nb2.tgz
NetBSD 9.0earmv7hfscapy-2.4.3nb2.tgz
NetBSD 9.0earmv7hfscapy-2.4.4nb1.tgz
NetBSD 9.0i386scapy-2.4.3nb1.tgz
NetBSD 9.0i386scapy-2.4.3nb2.tgz
NetBSD 9.0i386scapy-2.4.4nb1.tgz
NetBSD 9.0mips64ebscapy-2.4.4nb1.tgz
NetBSD 9.0mips64ebscapy-2.4.3nb1.tgz
NetBSD 9.0mips64ebscapy-2.4.3nb2.tgz
NetBSD 9.0powerpcscapy-2.4.3nb2.tgz
NetBSD 9.0powerpcscapy-2.4.3nb1.tgz
NetBSD 9.0powerpcscapy-2.4.4nb1.tgz
NetBSD 9.0powerpcscapy-2.4.4nb1.tgz
NetBSD 9.0sparc64scapy-2.4.4nb1.tgz
NetBSD 9.0sparc64scapy-2.4.3nb1.tgz
NetBSD 9.0sparc64scapy-2.4.3nb1.tgz
NetBSD 9.0sparc64scapy-2.4.3nb2.tgz
NetBSD 9.0sparcscapy-2.4.4nb1.tgz
NetBSD 9.0sparcscapy-2.4.3nb1.tgz
NetBSD 9.0x86_64scapy-2.4.3nb1.tgz
NetBSD 9.0x86_64scapy-2.4.3nb2.tgz
NetBSD 9.0x86_64scapy-2.4.3nb2.tgz
NetBSD 9.0x86_64scapy-2.4.4nb1.tgz
NetBSD 9.0x86_64scapy-2.4.3nb1.tgz
NetBSD 9.0x86_64scapy-2.4.3nb2.tgz
NetBSD 9.0x86_64scapy-2.4.4nb1.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

gnuplot
Enable gnuplot support.
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.