Skip to content

EDNS0 padding option support with DoT#494

Open
wtoorop wants to merge 2 commits into
masterfrom
features/edns0-padding
Open

EDNS0 padding option support with DoT#494
wtoorop wants to merge 2 commits into
masterfrom
features/edns0-padding

Conversation

@wtoorop

@wtoorop wtoorop commented Jul 2, 2026

Copy link
Copy Markdown
Member

Implementation + test package for RFC 7830,
with the recommendations from RFC 8467 (i.e. pad responses with block size 468)

Implementation + test package for RFC 7830,
with the recommendations from RFC 8467 (i.e. pad responses with block size 468)

@wcawijngaards wcawijngaards left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The code looks okay to me. I wanted to add a length and buffer capacity check when deciding on how much to pad. But the edns options section is already length checked, but then it can drop the pad but not other edns options.

Comment thread query.c
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.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.

2 participants