NAME
randpkt - Random packet generatorSYNOPSIS
randpkt [ -b <maxbytes> ] [ -c <count> ] [ -t <type> ] <filename>DESCRIPTION
randpkt is a small utility that creates a pcap trace file full of random packets.OPTIONS
-b <maxbytes>arp Address Resolution Protocol bgp Border Gateway Protocol bvlc BACnet Virtual Link Control dns Domain Name Service eth Ethernet fddi Fiber Distributed Data Interface giop General Inter-ORB Protocol icmp Internet Control Message Protocol ip Internet Protocol ipv6 Internet Protocol Version 6 llc Logical Link Control m2m WiMAX M2M Encapsulation Protocol megaco MEGACO nbns NetBIOS-over-TCP Name Service ncp2222 NetWare Core Protocol sctp Stream Control Transmission Protocol syslog Syslog message tds TDS NetLib tcp Transmission Control Protocol tr Token-Ring udp User Datagram Protocol usb Universal Serial Bus usb-linux Universal Serial Bus with Linux specific header
DIAGNOSTIC OPTIONS
--log-level <level>Set the active log level. Supported levels in
lowest to highest order are "noisy", "debug",
"info", "message", "warning",
"critical", and "error". Messages at each level and higher
will be printed, for example "warning" prints "warning",
"critical", and "error" messages and "noisy"
prints all messages. Levels are case insensitive.
Abort the program if any messages are logged
at the specified level or higher. For example, "warning" aborts on
any "warning", "critical", or "error"
messages.
Only print messages for the specified log
domains, e.g. "GUI,Epan,sshdump". List of domains must be
comma-separated.
Force the specified domains to log at the
"debug" level. List of domains must be comma-separated.
Force the specified domains to log at the
"noisy" level. List of domains must be comma-separated.
Write log messages and stderr output to the
specified file.
EXAMPLES
To see a description of the randpkt options use:randpkt
randpkt -b 500 -t dns rand_dns.pcap
randpkt -b 100 -c 1 -t llc single_llc.pcap
SEE ALSO
pcap(3), editcap(1)2023-11-17 |