Repository navigation
Correlate ICMPv6 Parameter Problem replies - #160
Merged
Merged
Conversation
Parameter Problem (type 4) replies now correlate to their probe as ParameterProblem(code), so the hop shows the responder instead of a timeout. Their pointer field is never read as an RFC 4884 length and no extensions are parsed (RFC 4884 section 4.6). Drop the RFC 8883 Destination Unreachable code 8 handling, the icmp_error recording event, the diagnostics in the TUI and reports, and the quoted MTU-marker change.
A Parameter Problem, even from the destination, counts as a failed PMTUD probe and never confirms a size.
lance0
force-pushed
the
feat/ipv6-processing-errors
branch
from
October 16, 2026 15:50
8070f34 to
debf12d
Compare
lance0
marked this pull request as ready for review
October 16, 2026 15:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ICMPv6 Parameter Problem (type 4) replies had no arm in
parse_icmp_response_v6/parse_icmp_response_v6_dgram, so a node rejecting a probe showed up as a timeout (* * *) instead of a responder.Type 4 replies are now correlated to their probe like Time Exceeded and Destination Unreachable, as a new
IcmpResponseType::ParameterProblem(code). A separate variant keeps code 4 out of the IPv4 Frag Needed / PMTUD path thatDestUnreachable(4)takes. The 32-bit pointer field is never read as an RFC 4884 length and no extensions are parsed (RFC 4884 §4.6). The hop records the responder and RTT; the reply never marks the destination reached in live tracing and counts as a PMTUD failure, never a confirmed size. No serialized format changes.Scope was trimmed from the original draft: ttl never sends IPv6 extension headers, so the RFC 8883 processing-limit codes and the new recording event weren't worth their weight.
Tests:
ipv6_parameter_problem_correlates_without_extensions(dgram, raw and IPv6-header envelopes, wrong identifier rejected, a pointer that would otherwise parse as a valid MPLS extension) fails without the change; the PMTUD destination-echo test now also covers Parameter Problem from a router and from the target.