netsniff-ng, trafgen: drop privileges if wished
[netsniff-ng.git] / src / examples / trafgen / nst_udp_pkt_18.txf
blobe5fdf1c4e1b9e9250e59ec8e03263c7649b485e2
2 # NST - 2011, http://networksecuritytoolkit.org/
4 #  nst_udp_pkt_18.txf
6 #  A UDP test packet for the 'trafgen' utility...
8 #  Description: This UDP packet contains the smallest possible payload
9 #               content for the standard 1500 MTU Ethernet frame size.
10 #               The payload size is 18 octets consisting of the
11 #               character: "A". The 'PackETH' application was used as
12 #               an aid in building this UDP packet.
14 #  Ethernet Unicast - MAC Dst: 00:1B:21:9A:1C:21 => 0x00, 0x1b, 0x21, 0x9a, 0x1c, 0x21
15 #  Ethernet Unicast - MAC Src: 00:1B:21:9A:1F:40 => 0x00, 0x1b, 0x21, 0x9a, 0x1f, 0x40
17 #  -- Or --
19 #  Ethernet Broadcast - MAC Dst: ff:ff:ff:ff:ff:ff => 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
20 #  Ethernet Address   - MAC Src: fe:00:00:00:00:00 => 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00
21 #  Ethertype: IPv4 (0800) => 0x08, 0x00
23 #  IPv4 Header: => 0x45, 0x00, 0x00, 0x2e, 0x12, 0x34, 0x40
24 #                  0x00, 0xff, 0x11(UDP), 0xdf, 0x70
25 #  IPv4 Src: 192.168.4.100 => 0xc0, 0xa8, 0x04, 0x64
26 #  IPv4 Dst: 192.168.4.101 => 0xc0, 0xa8, 0x04, 0x65
28 #  UDP Src Port: 2000   => 0x07, 0xd0
29 #  UDP Dst Port: 2001   => 0x07, 0xd1
30 #    UDP Length: 26     => 0xd1, 0x00
31 #  UDP Checksum: 0xd262 => 0xd2, 0x62
33 #  Payload: A - R => 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
34 #   (18 Bytes)       0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52
37 # Ethernet Unicast:
38 #{ 
39 # 0x00, 0x1b, 0x21, 0x9a, 0x1c, 0x21, 0x00, 0x1b, 0x21, 0x9a, 0x1f, 0x40, 0x08, 0x00, 0x45, 0x00, 0x00, 0x2e, 0x12, 0x34, 0x40
40 # 0x00, 0xff, 0x11, 0xdf, 0x70, 0xc0, 0xa8, 0x04, 0x64, 0xc0, 0xa8, 0x04, 0x65, 0x07, 0xd0, 0x07, 0xd1, 0x00, 0x1a, 0xd2, 0x62
41 # 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52
42 # }
45 # Ethernet Broadcast:
46 { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x45, 0x00, 0x00, 0x2e, 0x12, 0x34, 0x40
47  0x00, 0xff, 0x11, 0xdf, 0x70, 0xc0, 0xa8, 0x04, 0x64, 0xc0, 0xa8, 0x04, 0x65, 0x07, 0xd0, 0x07, 0xd1, 0x00, 0x1a, 0xd2, 0x62
48  0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, }