8.2. The command line options of fpg

   fpg [-hve] [-c config ] [-D count] [-n count] [-M maxpackets] 
       [-R msec] [-T msec] -s source -d destination 

The fpg options in detail

-c config

Specifies which configuration file of snort should be used to generate the network packets. The default is snort.conf in the current directory.

-d destination

This option is mandatory and specifies the destination address used in the network packets. So any destination addresses in the configuration file are ignored.

-D count

Insert every count packets a time delay, see option -T. This feature is disabled by default.

-e

Run fpg in an endless loop, after the configuration file is worked through the program starts again at the beginning. The option -M is still valid. See also option -n.

-h

Print some help information and exit.

-M maxpackets

Specifies the maximum number of network packets to be generated and sent. See also -e and -n.

-n count

Send each build network packet count times. See also -M which is still valid and option -e.

-R msec

Specifies a random delay between two network packets of maximal msec milliseconds. This is useful to get a more random like traffic and to limit the rate.

-s source

This option is mandatory and specifies the source address used in the network packets. So any source addresses in the configuration file are ignored.

-T msec

Specifies the time delay between the number of network packets specified by the -D option. This is useful to avoid an overrun of the sending queue.

-v

Print version information and exit.