| Port details on branch 2026Q4 |
- scapy Powerful interactive packet manipulation program in python
- 2.8.0 net
=0 2.8.0Version of this port present on the latest quarterly branch. - Maintainer: bofh@FreeBSD.org
 - Port Added: 2026-10-09 02:37:53
- Last Update: 2026-10-09 02:28:43
- Commit Hash: 4fdec7c
- Also Listed In: python
- License: GPLv2
- WWW:
- https://scapy.net/
- Description:
- Scapy is a powerful interactive packet manipulation program. It is able to forge
or decode packets of a wide number of protocols, send them on the wire, capture
them, match requests and replies, and much more.
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, tethereal, 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 technics (VLAN hopping+ARP cache poisoning, VOIP decoding on
WEP encrypted channel, ...), etc.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}scapy>0:net/scapy@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net/scapy/ && make install clean
- To add the package, run one of these commands:
- pkg install net/scapy
- pkg install py312-scapy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-scapy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-scapy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1791509163
SHA256 (scapy-2.8.0.tar.gz) = 0eacd1f940d115611c1b8a4696f315b4b80caf2951e546893a3d0cd7f6bfd6fd
SIZE (scapy-2.8.0.tar.gz) = 2578223
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-setuptools>0 : devel/py-setuptools@py312
- py312-wheel>0 : devel/py-wheel@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- py312-pypcap>0 : net/py-pypcap@py312
- py312-cryptography>=49.0.0,1<51,1 : security/py-cryptography@py312
- python3.12 : lang/python312
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py312-scapy-2.8.0:
GRAPH=off: graph generation and visualization
IPYTHON=off: Use IPython (enhanced interactive shell)
MANUF=off: wireshark's MANUF MAC database
MATPLOT=off: Install python matplotlibs
NMAP=off: nmap OS signatures database
P0F_BASE=off: p0f OS signatures database
PYCRYPTO=off: Use py-crypto for WEP decoding
PYX=off: PostScript and PDF graphs drawing
SOX=off: Support for VoIP
===> Use 'make config' to modify these settings
- Options name:
- net_scapy
- USES:
- cpe python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|