TheFox / synflood

Start a SYN flood attack to an ip address.

Home Page:https://blog.fox21.at/2010/12/21/synflood-2-0-0.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SynFlood

Start a SYN flood attack to an ip address.

Requirements

  • libnet1. libnet1-dev under Debian.

  • 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

Build

  1. Clone:

    git clone https://github.com/TheFox/synflood.git
  2. In synflood directory, make:

    mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make && make test
  3. Done.

Usage

./synflood SRC DST DPT [CONNECTIONS]
  • SRC: Source IP address.
  • DST: Destination IP address.
  • DPT: Destination port.
  • CONNECTIONS: Number of connections.

Examples:

./synflood 192.168.241.31 192.168.1.3 80
./synflood 192.168.241.31 192.168.1.3 80 1000

About

Start a SYN flood attack to an ip address.

https://blog.fox21.at/2010/12/21/synflood-2-0-0.html

License:MIT License


Languages

Language:C 62.1%Language:CMake 37.9%