mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 10:04:05 +08:00
803b7028e0
1) Hop-by-Hop Options Header $ ./tcpdump --skip 1 -c1 -tnv -r tests/icmpv6.pcap Before: IP6 (hlim 1, next-header Options (0), payload length 36) fe80::215:17ff:fecc:e546 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, [...] There is "next-header Options" but the next header is printed "HBH". After: IP6 (hlim 1, next-header HBH (0), payload length 36) fe80::215:17ff:fecc:e546 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, [...] 2) Destination Options Header $ ./tcpdump -tnv -r tests/erspan-type-iii-pb-1.pcap Before: IP6 (class 0x30, flowlabel 0x00001, hlim 1, next-header unknown (60), payload length 288) 4120:7467:1700:4200:143💯7f01:400e > 4591:bfd7:cd87:d7:68:38:101:e800: DSTOPT (padn) [...] There is "next-header unknown" but next header is printed "DSTOPT". After: IP6 (class 0x30, flowlabel 0x00001, hlim 1, next-header DSTOPT (60), payload length 288) 4120:7467:1700:4200:143💯7f01:400e > 4591:bfd7:cd87:d7:68:38:101:e800: DSTOPT (padn) [...] Moreover: Update a ndo_protocol (s/hbhopt/hbh/). Use nd_print_protocol_caps(). Update some test outputs accordingly.
2 lines
287 B
Plaintext
2 lines
287 B
Plaintext
1 2022-08-01 09:09:55.627421 00:12:3f:ae:22:f7 > 00:13:c4:c7:84:f0, ethertype IPv6 (0x86dd), length 65590: (hlim 227, next-header HBH (0), payload length 0) 2200::244:212:3fff:feae:22f7 > 2200::240:2:0:0:4: HBH (jumbo: 65536) [icmp6 sum ok] ICMP6, echo request, id 4576, seq 51486
|