An high-performance, cross-platform Python binding for capturing, modifying, and dropping network packets. It supports Windows via WinDivert and Linux via eBPFDivert, an eBPF implementation of the WinDivert API. Both backends use the same filter language, layers, flags and packet metadata.
Zero-copy L2/L3/L4 packet toolkit for building virtual network topologies: frames, packets, VLAN learning switch, NAT, virtual TCP/IP, WireGuard, OpenVPN, QEMU, TUN/TAP, AF_PACKET and AF_XDP — each behind its own Cargo feature. Zero dependencies by default; all crypto from purecrypto, no C.