bash
$ cargo install anevicon
``` anevicon 1.0.0 Temirkhan Myrzamadi gymmasssorla@gmail.com An UDP-based server stress-testing tool, written in Rust.
USAGE: anevicon [FLAGS] [OPTIONS] --receiver
FLAGS: --debug Enable the debugging mode -h, --help Prints help information -V, --version Prints version information
OPTIONS:
--display-periodicity --length
option makes no sense when a file is specified.
-l, --length
For more information see https://github.com/Gymmasssorla/anevicon. ```
All you need is to provide the testing server address, which consists of an IP address and a port number, separated by the colon character. By default, all sending sockets will have your local address:
```bash
$ anevicon --receiver 93.184.216.34:80 ```
Using the IP spoofing technique, hackers can protect their bandwidth from server response messages and hide their real IP address. You can imitate it via the --sender
command-line option, as described below:
```bash
$ anevicon --receiver 93.184.216.34:80 --sender 93.184.216.34:80 ```
Note that the command above might not work on your system due to the security reasons. To make your test deterministic, there are two end conditions called --duration
and --packets
(a test duration and a packets count, respectively):
```bash
$ anevicon --receiver 93.184.216.34:80 --duration 3min --packets 7000 ```
Note that the test below will end when, and only when one of two specified end conditions become true. And what is more, you can specify a global packet length in bytes:
```bash
$ anevicon --receiver 93.184.216.34:80 --length 4092 ```
By default, Anevicon will generate a random set of bytes which will be used as a sending packet. In some kinds of UDP-based tests, packet content makes sense, and this is how you can specify it using the --file
option:
```bash
$ anevicon --receiver 93.184.216.34:80 --file message.txt ```
To specify a custom output file for all notifications, warnings, and errors, there is one more option called --output
. Note that all debugging information will still be written to a terminal.
```bash
$ anevicon --receiver 93.184.216.34:80 --output out.txt ```
Wait 7 seconds, and then start to test, displaying summaries after every 400 packets, wait 270 macroseconds between sending two packets, and exit with an error if time to send a packet is longer than 200 milliseconds:
```bash
$ anevicon --receiver 93.184.216.34:80 --wait 7s --display-periodicity 400 --send-periodicity 270us --send-timeout 200ms ```
The goal of Anevicon is to produce the maximum possible (for the attacking system) load on the specified target address. Thereby, this DOES NOT MEAN that Anevicon will break ABSOLUTELY ANY SERVER while running on your computer.
Despite the fact that Anevicon is heavily tested both automatically and manually, does not mean that the author is responsible for any bug in his work. The program comes with ABSOLUTELY NO WARRANTY, see the license disclaimer.
Temirkhan Myrzamadi <gymmasssorla@gmail.com> (the author)