Examples
Read a reserved-address UDP packet 1
Read a reserved-address UDP packet 1. Run the example, then compare the stated answer and settings.
Input
4500001c0064400040114e2ec0000201c633640aExpected checks
Case-insensitiveContains "192.0.2.1"
Contains "198.51.100.10"
Contains "64"- Input format
Hex- Output format
Table
Read a reserved-address UDP packet 2
Read a reserved-address UDP packet 2. Run the example, then compare the stated answer and settings.
Input
4500001c0065400040114e2bc0000202c633640bExpected checks
Case-insensitiveContains "192.0.2.2"
Contains "198.51.100.11"
Contains "64"- Input format
Hex- Output format
Table
Read a reserved-address UDP packet 3
Read a reserved-address UDP packet 3. Run the example, then compare the stated answer and settings.
Input
4500001c0066400040114e28c0000203c633640cExpected checks
Case-insensitiveContains "192.0.2.3"
Contains "198.51.100.12"
Contains "64"- Input format
Hex- Output format
Table
Read a reserved-address UDP packet 4
Read a reserved-address UDP packet 4. Run the example, then compare the stated answer and settings.
Input
4500001c0067400040114e25c0000204c633640dExpected checks
Case-insensitiveContains "192.0.2.4"
Contains "198.51.100.13"
Contains "64"- Input format
Hex- Output format
Table
Read a reserved-address UDP packet 5
Read a reserved-address UDP packet 5. Run the example, then compare the stated answer and settings.
Input
4500001c0068400040114e22c0000205c633640eExpected checks
Case-insensitiveContains "192.0.2.5"
Contains "198.51.100.14"
Contains "64"- Input format
Hex- Output format
Table
Correctly formatted HTML output
Input
45 00 00 3c 1c 46 40 00 40 06 b1 e6 c0 a8 00 01 c0 a8 00 02 3c 73 63 72 69 70 74 3e 61 6c 65 72 74 28 31 33 33 37 29 3c 2f 73 63 72 69 70 74 3eExpected answer
<script>alert(1337)</script><script>alert(1337)</script>
- Input format
Hex- Output format
Data (raw)
regression for Uint8Array.concat crash on truncated raw input
Input
E @ Expected answer
Empty result- Input format
Raw- Output format
Data (raw)
Format reference: Parse IPv4 header background and specification