Skip to content

fix: decode ECN codepoint 0b11 as CongestionExperienced#35

Open
thomaseizinger wants to merge 1 commit into
oxidecomputer:mainfrom
firezone:claude/ip-packet-ingot-refactor-3wzbin
Open

fix: decode ECN codepoint 0b11 as CongestionExperienced#35
thomaseizinger wants to merge 1 commit into
oxidecomputer:mainfrom
firezone:claude/ip-packet-ingot-refactor-3wzbin

Conversation

@thomaseizinger

Copy link
Copy Markdown

Ecn::from_network and Ecn::try_from both mapped the wire value 3 (CE, "Congestion Experienced") to Ecn::Capable0, silently collapsing the CE marking into ECT(1) on the next serialisation and dropping the congestion signal. Decode it to the existing Ecn::CongestionExperienced variant instead so all four RFC 3168 codepoints round-trip.

@thomaseizinger
thomaseizinger force-pushed the claude/ip-packet-ingot-refactor-3wzbin branch from 4177712 to cebbfb2 Compare July 17, 2026 04:43
`Ecn::from_network` and `Ecn::try_from` both mapped the wire value 3
(CE, "Congestion Experienced") to `Ecn::Capable0`, silently collapsing
the CE marking into ECT(1) on the next serialisation and dropping the
congestion signal. Decode it to the existing `Ecn::CongestionExperienced`
variant instead so all four RFC 3168 codepoints round-trip.
@thomaseizinger
thomaseizinger force-pushed the claude/ip-packet-ingot-refactor-3wzbin branch from cebbfb2 to be8cca2 Compare July 17, 2026 04:44
@thomaseizinger

Copy link
Copy Markdown
Author

@FelixMcFelix Could you take a look at this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants