GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — codec-dns: Report and allow setting full 16-bit EDNS(0) flags field by hyperxpro · Pull Request #17325 · netty/netty Conversation
Contributor
Motivation: RFC 6891 section 6.1.3 puts the 16 bit EDNS(0) flags field in the lower half of the OPT record's TTL, with DO (RFC 3225 section 3) as its most significant bit.
Modification: Return the lower 16 bits of the TTL from flags(), add a constructor that takes the flags and let the existing ones delegate with 0. The field is passed through unmasked, as the bits below DO are allocated by IANA rather than reserved (CO, RFC 9824). Result: The EDNS(0) flags field can be set and is reported in full.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅🏷️ Commit: 59d53bb Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@hyperxpro thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Auto-port PR for 5.0: #17331 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Auto-port PR for 4.1: #17332 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…) flags field (#17331) Auto-port of #17325 to 5.0 Cherry-picked commit: b75f5fd --- Motivation: RFC 6891 section 6.1.3 puts the 16 bit EDNS(0) flags field in the lower half of the OPT record's TTL, with DO (RFC 3225 section 3) as its most significant bit. `flags()` masked the TTL with 0xff and so never reported DO. The flags could not be set either, as packIntoLong hardcoded them to 0. Modification: Return the lower 16 bits of the TTL from flags(), add a constructor that takes the flags and let the existing ones delegate with 0. The field is passed through unmasked, as the bits below DO are allocated by IANA rather than reserved (CO, RFC 9824). Result: The EDNS(0) flags field can be set and is reported in full. Co-authored-by: Aayush Atharva <[email protected]>
…) flags field (#17332) Auto-port of #17325 to 4.1 Cherry-picked commit: b75f5fd --- Motivation: RFC 6891 section 6.1.3 puts the 16 bit EDNS(0) flags field in the lower half of the OPT record's TTL, with DO (RFC 3225 section 3) as its most significant bit. `flags()` masked the TTL with 0xff and so never reported DO. The flags could not be set either, as packIntoLong hardcoded them to 0. Modification: Return the lower 16 bits of the TTL from flags(), add a constructor that takes the flags and let the existing ones delegate with 0. The field is passed through unmasked, as the bits below DO are allocated by IANA rather than reserved (CO, RFC 9824). Result: The EDNS(0) flags field can be set and is reported in full. Co-authored-by: Aayush Atharva <[email protected]>
…) flags field (netty#17332) Auto-port of netty#17325 to 4.1 Cherry-picked commit: b75f5fd --- Motivation: RFC 6891 section 6.1.3 puts the 16 bit EDNS(0) flags field in the lower half of the OPT record's TTL, with DO (RFC 3225 section 3) as its most significant bit. `flags()` masked the TTL with 0xff and so never reported DO. The flags could not be set either, as packIntoLong hardcoded them to 0. Modification: Return the lower 16 bits of the TTL from flags(), add a constructor that takes the flags and let the existing ones delegate with 0. The field is passed through unmasked, as the bits below DO are allocated by IANA rather than reserved (CO, RFC 9824). Result: The EDNS(0) flags field can be set and is reported in full. Co-authored-by: Aayush Atharva <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.