2 # trafgen --dev eth0 --conf <conf-file> --bind 0
4 # This file is an example of a packet configuration file! Packet skeletons
5 # can be fetched with netsniff-ng -C (C-like printout).
7 # Payload content can be hexadecimal, decimal, $PRB or $II<n> and is always
8 # separated with commas:
10 # $PRB means random byte
11 # $II<n> means counter, there can be several counter specified with <n>, e.g.:
16 # thus counter0 increments from 0 to 255 (and then turns around),
17 # counter1 from 0x4 to 0xFF in 0x2 steps.
19 # Packets are defined with:
24 # If more than 1 packet is defined, packets will be tx'ed in a round robin
25 # fashion, but you can also push the packets randomly via command line param.
27 # The receiver side can have ifpps running (in promisc mode).
34 $PRB, 0xff, $II0, $II1, $II0, 0xff, 0x00, 0xd0, 0x00, 0x54, 0x9c, 0x00, 0x08,
35 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0x00, 0xd0, 0x00, 0x54,
36 0x9c, 0x00, 0x52, 0x82, 0x66, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52,
37 0x82, 0x66, 0x6f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
42 $PRB, 0xff, 0x00, $II1, $II1, 0xff, 0x00, 0xd0, 0x00, 0x54, 0x9c, 0x00, 0x08,
43 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0x00, 0xd0, 0x00, 0x54,
44 0x9c, 0x00, 0x52, 0x82, 0x66, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52,
45 0x82, 0x66, 0x6f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00