|
49 | 49 | { |
50 | 50 | "_description": "Ethernet/IPv4/UDP to closed port", |
51 | 51 | "_frames_rx": [ |
| 52 | + # Ethernet II |
| 53 | + # Destination MAC : 02:00:00:00:00:07 |
| 54 | + # Source MAC : 02:00:00:00:00:91 |
| 55 | + # Ethertype : 0x0800 (IPv4) |
| 56 | + # Frame length : 77 bytes |
| 57 | + # |
| 58 | + # IPv4 |
| 59 | + # Version / IHL : 4 / 5 |
| 60 | + # DSCP / ECN : 0x00 |
| 61 | + # Total Length : 0x003f (63 bytes) |
| 62 | + # Identification : 0x0001 |
| 63 | + # Flags / Offset : 0x0000 |
| 64 | + # TTL : 64 |
| 65 | + # Protocol : 17 (UDP) |
| 66 | + # Header Checksum : 0x644c |
| 67 | + # Source IP : 10.0.1.91 |
| 68 | + # Destination IP : 10.0.1.7 |
| 69 | + # |
| 70 | + # UDP |
| 71 | + # Source Port : 1000 |
| 72 | + # Destination Port: 2000 |
| 73 | + # Length : 0x002b (43 bytes) |
| 74 | + # Checksum : 0xa210 |
| 75 | + # Payload : "Test UDP packet sent to closed port" |
| 76 | + # |
| 77 | + # Summary: UDP datagram from host A to an unopened port on the stack. |
52 | 78 | b"\x02\x00\x00\x00\x00\x07\x02\x00\x00\x00\x00\x91\x08\x00\x45\x00" |
53 | 79 | b"\x00\x3f\x00\x01\x00\x00\x40\x11\x64\x4c\x0a\x00\x01\x5b\x0a\x00" |
54 | 80 | b"\x01\x07\x03\xe8\x07\xd0\x00\x2b\xa2\x10\x54\x65\x73\x74\x20\x55" |
55 | 81 | b"\x44\x50\x20\x70\x61\x63\x6b\x65\x74\x20\x73\x65\x6e\x74\x20\x74" |
56 | 82 | b"\x6f\x20\x63\x6c\x6f\x73\x65\x64\x20\x70\x6f\x72\x74", |
57 | 83 | ], |
58 | 84 | "_expected__frames_tx": [ |
| 85 | + # Ethernet II |
| 86 | + # Destination MAC : 02:00:00:00:00:91 |
| 87 | + # Source MAC : 02:00:00:00:00:07 |
| 88 | + # Ethertype : 0x0800 (IPv4) |
| 89 | + # Frame length : 105 bytes |
| 90 | + # |
| 91 | + # IPv4 |
| 92 | + # Version / IHL : 4 / 5 |
| 93 | + # DSCP / ECN : 0x00 |
| 94 | + # Total Length : 0x005b (91 bytes) |
| 95 | + # Identification : 0x0000 |
| 96 | + # Flags / Offset : 0x0000 |
| 97 | + # TTL : 64 |
| 98 | + # Protocol : 1 (ICMP) |
| 99 | + # Header Checksum : 0x6441 |
| 100 | + # Source IP : 10.0.1.7 |
| 101 | + # Destination IP : 10.0.1.91 |
| 102 | + # |
| 103 | + # ICMPv4 |
| 104 | + # Type / Code : 3 / 3 (Destination Unreachable - Port Unreachable) |
| 105 | + # Checksum : 0x139b |
| 106 | + # Unused : 0x00000000 |
| 107 | + # Quoted IP Header: Original IPv4 header + first 8 bytes of UDP payload |
| 108 | + # |
| 109 | + # Summary: ICMPv4 Port Unreachable generated in response to the closed-port |
| 110 | + # UDP probe. |
59 | 111 | b"\x02\x00\x00\x00\x00\x91\x02\x00\x00\x00\x00\x07\x08\x00\x45\x00" |
60 | 112 | b"\x00\x5b\x00\x00\x00\x00\x40\x01\x64\x41\x0a\x00\x01\x07\x0a\x00" |
61 | 113 | b"\x01\x5b\x03\x03\x13\x9b\x00\x00\x00\x00\x45\x00\x00\x3f\x00\x01" |
|
86 | 138 | { |
87 | 139 | "_description": "Ethernet/IPv6/UDP to closed port", |
88 | 140 | "_frames_rx": [ |
| 141 | + # Ethernet II |
| 142 | + # Destination MAC : 02:00:00:00:00:07 |
| 143 | + # Source MAC : 02:00:00:00:00:91 |
| 144 | + # Ethertype : 0x86dd (IPv6) |
| 145 | + # Frame length : 97 bytes |
| 146 | + # |
| 147 | + # IPv6 |
| 148 | + # Version / Traffic Class / Flow Label : 6 / 0x00 / 0x00000 |
| 149 | + # Payload Length : 0x002b (43 bytes) |
| 150 | + # Next Header : 17 (UDP) |
| 151 | + # Hop Limit : 64 |
| 152 | + # Source IP : 2001:db8:0:1::91 |
| 153 | + # Destination IP : 2001:db8:0:1::7 |
| 154 | + # |
| 155 | + # UDP |
| 156 | + # Source Port : 1000 |
| 157 | + # Destination Port: 2000 |
| 158 | + # Length : 0x002b (43 bytes) |
| 159 | + # Checksum : 0x5c66 |
| 160 | + # Payload : "Test UDP packet sent to closed port" |
| 161 | + # |
| 162 | + # Summary: IPv6 UDP probe targeting an unopened port. |
89 | 163 | b"\x02\x00\x00\x00\x00\x07\x02\x00\x00\x00\x00\x91\x86\xdd\x60\x00" |
90 | 164 | b"\x00\x00\x00\x2b\x11\x40\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
91 | 165 | b"\x00\x00\x00\x00\x00\x91\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
|
95 | 169 | b"\x74", |
96 | 170 | ], |
97 | 171 | "_expected__frames_tx": [ |
| 172 | + # Ethernet II |
| 173 | + # Destination MAC : 02:00:00:00:00:91 |
| 174 | + # Source MAC : 02:00:00:00:00:07 |
| 175 | + # Ethertype : 0x86dd (IPv6) |
| 176 | + # Frame length : 145 bytes |
| 177 | + # |
| 178 | + # IPv6 |
| 179 | + # Version / Traffic Class / Flow Label : 6 / 0x00 / 0x00000 |
| 180 | + # Payload Length : 0x005b (91 bytes) |
| 181 | + # Next Header : 58 (ICMPv6) |
| 182 | + # Hop Limit : 64 |
| 183 | + # Source IP : 2001:db8:0:1::7 |
| 184 | + # Destination IP : 2001:db8:0:1::91 |
| 185 | + # |
| 186 | + # ICMPv6 |
| 187 | + # Type / Code : 1 / 4 (Destination Unreachable - Port Unreachable) |
| 188 | + # Checksum : 0x312b |
| 189 | + # Assembled Data : Original IPv6 header + first 8 bytes of UDP payload |
| 190 | + # |
| 191 | + # Summary: ICMPv6 Port Unreachable response quoting the triggering UDP |
| 192 | + # packet. |
98 | 193 | b"\x02\x00\x00\x00\x00\x91\x02\x00\x00\x00\x00\x07\x86\xdd\x60\x00" |
99 | 194 | b"\x00\x00\x00\x5b\x3a\x40\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
100 | 195 | b"\x00\x00\x00\x00\x00\x07\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
|
128 | 223 | { |
129 | 224 | "_description": "Ethernet/IPv4/UDP Echo", |
130 | 225 | "_frames_rx": [ |
| 226 | + # Ethernet II |
| 227 | + # Destination MAC : 02:00:00:00:00:07 |
| 228 | + # Source MAC : 02:00:00:00:00:91 |
| 229 | + # Ethertype : 0x0800 (IPv4) |
| 230 | + # Frame length : 53 bytes |
| 231 | + # |
| 232 | + # IPv4 |
| 233 | + # Version / IHL : 4 / 5 |
| 234 | + # DSCP / ECN : 0x00 |
| 235 | + # Total Length : 0x0027 (39 bytes) |
| 236 | + # Identification : 0x0001 |
| 237 | + # Flags / Offset : 0x0000 |
| 238 | + # TTL : 64 |
| 239 | + # Protocol : 17 (UDP) |
| 240 | + # Header Checksum : 0x6464 |
| 241 | + # Source IP : 10.0.1.91 |
| 242 | + # Destination IP : 10.0.1.7 |
| 243 | + # |
| 244 | + # UDP |
| 245 | + # Source Port : 5527 |
| 246 | + # Destination Port: 7 (Echo) |
| 247 | + # Length : 0x0013 (19 bytes) |
| 248 | + # Checksum : 0x813f |
| 249 | + # Payload : "Tom Tit Tot" |
| 250 | + # |
| 251 | + # Summary: UDP echo request arriving from host A. |
131 | 252 | b"\x02\x00\x00\x00\x00\x07\x02\x00\x00\x00\x00\x91\x08\x00\x45\x00" |
132 | 253 | b"\x00\x27\x00\x01\x00\x00\x40\x11\x64\x64\x0a\x00\x01\x5b\x0a\x00" |
133 | 254 | b"\x01\x07\x15\x97\x00\x07\x00\x13\x81\x3f\x54\x6f\x6d\x20\x54\x69" |
134 | 255 | b"\x74\x20\x54\x6f\x74", |
135 | 256 | ], |
136 | 257 | "_expected__frames_tx": [ |
| 258 | + # Ethernet II |
| 259 | + # Destination MAC : 02:00:00:00:00:91 |
| 260 | + # Source MAC : 02:00:00:00:00:07 |
| 261 | + # Ethertype : 0x0800 (IPv4) |
| 262 | + # Frame length : 53 bytes |
| 263 | + # |
| 264 | + # IPv4 |
| 265 | + # Version / IHL : 4 / 5 |
| 266 | + # DSCP / ECN : 0x00 |
| 267 | + # Total Length : 0x0027 (39 bytes) |
| 268 | + # Identification : 0x0000 |
| 269 | + # Flags / Offset : 0x0000 |
| 270 | + # TTL : 64 |
| 271 | + # Protocol : 17 (UDP) |
| 272 | + # Header Checksum : 0x6465 |
| 273 | + # Source IP : 10.0.1.7 |
| 274 | + # Destination IP : 10.0.1.91 |
| 275 | + # |
| 276 | + # UDP |
| 277 | + # Source Port : 7 |
| 278 | + # Destination Port: 5527 |
| 279 | + # Length : 0x0013 (19 bytes) |
| 280 | + # Checksum : 0x813f |
| 281 | + # Payload : "Tom Tit Tot" |
| 282 | + # |
| 283 | + # Summary: UDP echo reply mirroring the original payload back to host A. |
137 | 284 | b"\x02\x00\x00\x00\x00\x91\x02\x00\x00\x00\x00\x07\x08\x00\x45\x00" |
138 | 285 | b"\x00\x27\x00\x00\x00\x00\x40\x11\x64\x65\x0a\x00\x01\x07\x0a\x00" |
139 | 286 | b"\x01\x5b\x00\x07\x15\x97\x00\x13\x81\x3f\x54\x6f\x6d\x20\x54\x69" |
|
161 | 308 | { |
162 | 309 | "_description": "Ethernet/IPv6/UDP Echo", |
163 | 310 | "_frames_rx": [ |
| 311 | + # Ethernet II |
| 312 | + # Destination MAC : 02:00:00:00:00:07 |
| 313 | + # Source MAC : 02:00:00:00:00:91 |
| 314 | + # Ethertype : 0x86dd (IPv6) |
| 315 | + # Frame length : 73 bytes |
| 316 | + # |
| 317 | + # IPv6 |
| 318 | + # Version / Traffic Class / Flow Label : 6 / 0x00 / 0x00000 |
| 319 | + # Payload Length : 0x0013 (19 bytes) |
| 320 | + # Next Header : 17 (UDP) |
| 321 | + # Hop Limit : 64 |
| 322 | + # Source IP : 2001:db8:0:1::91 |
| 323 | + # Destination IP : 2001:db8:0:1::7 |
| 324 | + # |
| 325 | + # UDP |
| 326 | + # Source Port : 5527 |
| 327 | + # Destination Port: 7 |
| 328 | + # Length : 0x0013 (19 bytes) |
| 329 | + # Checksum : 0x3b95 |
| 330 | + # Payload : "Tom Tit Tot" |
| 331 | + # |
| 332 | + # Summary: IPv6 UDP echo request from host A. |
164 | 333 | b"\x02\x00\x00\x00\x00\x07\x02\x00\x00\x00\x00\x91\x86\xdd\x60\x00" |
165 | 334 | b"\x00\x00\x00\x13\x11\x40\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
166 | 335 | b"\x00\x00\x00\x00\x00\x91\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
167 | 336 | b"\x00\x00\x00\x00\x00\x07\x15\x97\x00\x07\x00\x13\x3b\x95\x54\x6f" |
168 | 337 | b"\x6d\x20\x54\x69\x74\x20\x54\x6f\x74", |
169 | 338 | ], |
170 | 339 | "_expected__frames_tx": [ |
| 340 | + # Ethernet II |
| 341 | + # Destination MAC : 02:00:00:00:00:91 |
| 342 | + # Source MAC : 02:00:00:00:00:07 |
| 343 | + # Ethertype : 0x86dd (IPv6) |
| 344 | + # Frame length : 73 bytes |
| 345 | + # |
| 346 | + # IPv6 |
| 347 | + # Version / Traffic Class / Flow Label : 6 / 0x00 / 0x00000 |
| 348 | + # Payload Length : 0x0013 (19 bytes) |
| 349 | + # Next Header : 17 (UDP) |
| 350 | + # Hop Limit : 64 |
| 351 | + # Source IP : 2001:db8:0:1::7 |
| 352 | + # Destination IP : 2001:db8:0:1::91 |
| 353 | + # |
| 354 | + # UDP |
| 355 | + # Source Port : 7 |
| 356 | + # Destination Port: 5527 |
| 357 | + # Length : 0x0013 (19 bytes) |
| 358 | + # Checksum : 0x3b95 |
| 359 | + # Payload : "Tom Tit Tot" |
| 360 | + # |
| 361 | + # Summary: IPv6 UDP echo reply returning the payload to host A. |
171 | 362 | b"\x02\x00\x00\x00\x00\x91\x02\x00\x00\x00\x00\x07\x86\xdd\x60\x00" |
172 | 363 | b"\x00\x00\x00\x13\x11\x40\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
173 | 364 | b"\x00\x00\x00\x00\x00\x07\x20\x01\x0d\xb8\x00\x00\x00\x01\x00\x00" |
|
0 commit comments