From a9e85e99a779eff5ac64b957bb51853404803a33 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 30 Apr 2013 14:53:34 +0200 Subject: man: trafgen: finish options section There are still 3 sections on todo, but for now we can already push out the option section that is ready. Signed-off-by: Daniel Borkmann --- man/trafgen.8 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/man/trafgen.8 b/man/trafgen.8 index 9c88290..80c1359 100644 --- a/man/trafgen.8 +++ b/man/trafgen.8 @@ -68,10 +68,12 @@ given scenario. .SH OPTIONS .SS -i , -c , --in , --conf -TODO +Defines the input configuration file that can either be passed as a normal plain +text file or via stdin (``-''). Note that currently in case a configuration is +passed through stdin, only 1 CPU will be used. .SS -o , -d , --out , --dev -TODO +Defines the outgoing networking device such as eth0, wlan0 and others. .SS -p, --cpp Pass the packet configuration to @@ -90,7 +92,17 @@ will be transmitting on instead of wlan, for instance. This enables trafgen to inject raw 802.11 frames. .SS -s , --smoke-test -TODO +In case this option is enabled, trafgen will perform a smoke test. In other +words, it will probe the remote end, specified by an address, that is +being ``attacked'' with trafgen network traffic, if it is still alive and +responsive. That means, after each transmitted packet that has been configured, +trafgen sends out ICMP echo requests and waits for an answer before it continues. +In case the remote end stays unresponsive, trafgen assumes that the machine +has crashed and will print out the content of the last packet as a trafgen +packet configuration and the random seed that has been used in order to +reproduce a possible bug. This might be useful when testing proprietary embedded +devices. It is recommended to have a direct link between the host running +trafgen and the host being attacked by trafgen. .SS -n <0|uint>, --num <0|uint> Process a number of packets and then exit. If the number of packets is 0, then -- cgit v1.2.3-54-g00ecf