# Crab Net A CLI tool to generate TCP/TLS & UDP/DTLS traffic based on [Tokio framework](https://https://tokio.rs). # Cargo Install ``` cargo install crab-net ``` # Help ``` ./crab-net --help Simple stress test for servers Usage: crab-net [OPTIONS] --destination Options: -d, --destination Server address as IP:PORT -c, --connections Number of clients to simulate [default: 1] -l, --length Payload size as bytes [default: 16] -r, --rate Defined as packets/sec [default: 1] -p, --port Starting source port for clients [default: 8000] -w, --workers Number of worker threads for the Tokio runtime [default: #CPU core] -s, --timeout Timeout between consecutive connections spawn as ms [default: 50] --udp Send packets via UDP --tls Send data over TLS --ca PEM File to validate server credentials -h, --help Print help -V, --version Print version ```