notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2026Q4
scapy Powerful interactive packet manipulation program in python
2.8.0 net on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.8.0Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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>)
  • py312: py312-scapy
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: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-pypcap>0 : net/py-pypcap@py312
  2. py312-cryptography>=49.0.0,1<51,1 : security/py-cryptography@py312
  3. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/scapy/
  2. https://pypi.org/packages/source/s/scapy/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.8.0
09 Oct 2026 02:28:43
commit hash: 4fdec7ca84eceb422f19ea5a16bee6770888b9bccommit hash: 4fdec7ca84eceb422f19ea5a16bee6770888b9bccommit hash: 4fdec7ca84eceb422f19ea5a16bee6770888b9bccommit hash: 4fdec7ca84eceb422f19ea5a16bee6770888b9bc files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
net/scapy: Update version 2.7.0=>2.8.0

Changelog: https://github.com/secdev/scapy/releases/tag/v2.8.0
(cherry picked from commit 168d47ea64c951a16136a45fc86065e85bbb0550)

Number of commits found: 1