qmetrics.net

Scapy

Python interactive packet crafting and analysis toolkit

Scapy screenshot

Scapy forges, decodes, sends, and captures network packets across many protocols. It works as an interactive shell or an imported Python library on Linux, macOS, BSD, and Windows.

Overview

Scapy is a Python-based interactive packet manipulation program and library. It can build or parse packets for a wide range of protocols, transmit them on the wire, capture traffic, read and write pcap files, and match requests with replies.

Default field values speed up packet prototyping. Documented use spans scanning, tracerouting, probing, unit tests, attacks, and network discovery, and the authors note overlap with tools such as hping, nmap, arpspoof, tcpdump, and wireshark for many classical tasks. It also supports specialized scenarios like invalid frames, custom 802.11 injection, and combined techniques such as VLAN hopping with ARP cache poisoning.

Scapy runs as a REPL shell or embedded library, requires Python 3.9+, and is intended to be cross-platform on Linux, macOS, most Unix systems, and Windows (with Npcap on Windows). Optional Python dependencies unlock plotting and cryptography features.

Installation is commonly via pip after platform prerequisites; Windows setups require mandatory dependencies described in the documentation. The project is GPLv2-licensed and maintained with extensive tutorials, notebooks, and community references.

Key features

  • Multi-protocol packet forge and decode
  • Live send, capture, and pcap I/O
  • Interactive REPL shell
  • Embeddable Python library API
  • Request and reply matching
  • 802.11 and VLAN techniques
  • Cross-platform with Windows Npcap
  • Extensible custom network layers

Use cases

  • Network discovery and scanning
  • Protocol prototyping and testing
  • Traffic capture and analysis
  • Security research and education
  • VoIP and wireless lab experiments

Tags

Similar software

Pi-hole

Network-wide DNS sinkhole for ads and unwanted content

Pi-hole is a DNS sinkhole that blocks ads and unwanted content for every device on your network without client-side software on each device.

★ 62.3k⟳ 16 days agoEUPL-1.2

V2Ray Core

Core proxy platform for Project V networking tools

V2Ray implements Project V’s core networking protocols. It helps build proxies that secure connections and route traffic through configurable inbounds and outbounds.

★ 46.9k⟳ 3 years agoMIT
Networking & ConnectivityNo commits in 18+ monthsDesktop/CLI app

Headscale

Self-hosted Tailscale-compatible control server

Headscale implements an open-source, self-hosted control plane compatible with Tailscale clients, built on WireGuard overlay networking.

★ 46.2k⟳ todayBSD-3-Clause

Xray-core

Network platform built around Xray-core and REALITY

Project X centers on Xray-core, a configurable network core from the XTLS effort, alongside protocols such as REALITY and related tunneling and proxy features.

★ 43.2k⟳ todayMPL-2.0

V2Fly V2Ray Core

Configurable multi-protocol proxy platform for custom networks

Project V core implements V2Ray, a toolset for building proxy networks with many inbound and outbound protocols. It supports routing, load balancing, and obfuscation options.

★ 34.8k⟳ 2 days agoMIT

NetBird

WireGuard-based zero trust private networking platform

NetBird combines a peer-to-peer WireGuard overlay with centralized access control so teams connect machines and users without manual firewall and VPN gateway setup.

★ 31.3k⟳ todayBSD-3-Clause · open core
Open Source Alternative to:Twingate