mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-14 12:24:25 +08:00
f253e11009
The packet length must be <= MAXIMUM_SNAPLEN. Currently, there is no D-Bus printer, thus no need for a bigger length. Now a pachet is valid if: capture length != 0, packet length != 0, capture length <= MAXIMUM_SNAPLEN, packet length <= MAXIMUM_SNAPLEN, packet length >= capture length. Moreover: Fix the packet header lengths of some fuzzed pcap files: If the lengths are > MAXIMUM_SNAPLEN, set them to MAXIMUM_SNAPLEN. Thus they will be always usable with this new sanity check.
24 lines
1.6 KiB
Plaintext
24 lines
1.6 KiB
Plaintext
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
CLNP, 30.0000.0000.0000 > 30.3030, unknown (16), length 262129
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
|
|
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
|
|
0x0010: 3030 3030 3030 000000
|
|
CLNP, 30.0000.0000.0000 > 30.3030, unknown (16), length 262129
|