Wireshark mailing list archives

BUG: ICMPv6 DNS Search List Option zero padding flagged as an error.


From: Simon Kelley <simon () thekelleys org uk>
Date: Sat, 31 Mar 2012 21:04:34 +0100

Dear Wireshark people,


Thanks for an excellent package: it's really invaluable.

A small bug I've found.

Display of ICMPv6 DNS search list option (option 31)

Zero octets following the terminating zero of the last name are flagged
as Error/Malformed, but this is wrong. The length field for ICMPv6
packets gives units of 8 bytes, and RFC 6106 para 5.2 says:

"Because the size of this field MUST be a multiple of 8 octets,
for the minimum multiple including the domain name
representations, the remaining octets other than the
encoding parts of the domain name representations
MUST be padded with zeros."


Cheers,

Simon.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: