=head1 NAME flood - perform a DoS attack =head1 SYNOPSIS Flood the target computer with packets. B [ B<-d> I ] [ B<-s> I ] [ B<-t> I ] I
=head1 DESCRIPTION B is a program designed to perform a DoS (denial-of-service) attack against a target computer. The target can either be a host on a local network, a host on the Internet or any other reachable IPv4 destination. =head2 Types of Attack B can currently execute two different types of DoS attacks; a UDP flood and a SYN flood. =head3 UDP Flood A UDP flood involves sending UDP packets of a fixed length carrying arbitrary data. The packets are given random source addresses as well as random source and destination ports. This attack primarily relies on the volume of packets being transmitted to overwhelm a target. A UDP flood can also strain a target of other resources such as memory and processor time. When an most operating systems receive a UDP packet on a closed port, they respond with an ICMP packet to indicate the failure. Transmitting these ICMP packets also costs the target valueable resources. =head3 SYN Flood A SYN flood involves sending TCP SYN (synchronize) packets to the target. The goal of this attack is to starve the targets possible clients by creating dozens of 'half-open' connections. =head1 OPTIONS The following options are accepted: =over 8 =item B<-d> I Specify the duration of the attack in seconds. =item B<-s> I Overrides the default packet size. =item B<-t> I Set the number of threads to attack with. =item I
Target host to attack. I
can either be an IPv4 address or a DNS hostname. DNS names will automatically be resolved. =back =head1 RETURN VALUE Exit status is 0 if B is able to begin the attack without any errors. If errors occur (such as the result of a bad address), the exit status is -1. =head1 EXAMPLES B -d 60 example.com Floods I for 1 minute. =head1 AUTHOR Jake Mannens =head1 SEE ALSO B(7), B(7).