Skip to content

fix: decode ECN codepoint 0b11 as CongestionExperienced - #35

Merged
FelixMcFelix merged 1 commit into
oxidecomputer:mainfrom
firezone:claude/ip-packet-ingot-refactor-3wzbin
Jul 25, 2026
Merged

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

Conversation

@thomaseizinger

Copy link
Copy Markdown
Contributor

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 2 times, most recently from cebbfb2 to be8cca2 Compare July 17, 2026 04:44
@thomaseizinger

Copy link
Copy Markdown
Contributor Author

@FelixMcFelix Could you take a look at this please?

@FelixMcFelix FelixMcFelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good; thanks for the catch here.

@FelixMcFelix

Copy link
Copy Markdown
Collaborator

@thomaseizinger I think CI will pass once you rebase on/merge main, if you could do so please?

`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 be8cca2 to e63b00f Compare July 24, 2026 22:36
@thomaseizinger

Copy link
Copy Markdown
Contributor Author

@thomaseizinger I think CI will pass once you rebase on/merge main, if you could do so please?

Done! Rebased onto latest main.

@thomaseizinger

Copy link
Copy Markdown
Contributor Author

At patch-release with these changes in it would be much appreciated 🙏

@FelixMcFelix
FelixMcFelix merged commit d346759 into oxidecomputer:main Jul 25, 2026
5 checks passed
thomaseizinger added a commit to firezone/firezone that referenced this pull request Jul 31, 2026
Related: #14108
Related: oxidecomputer/ingot#35

---------

Co-authored-by: Claude <noreply@anthropic.com>
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.

3 participants