Skip to content

padding-on-udp option to enable padding on udp - #502

Draft
wtoorop wants to merge 4 commits into
masterfrom
features/padding-on-udp
Draft

padding-on-udp option to enable padding on udp#502
wtoorop wants to merge 4 commits into
masterfrom
features/padding-on-udp

Conversation

@wtoorop

@wtoorop wtoorop commented Jul 19, 2026

Copy link
Copy Markdown
Member

This is convenient for setups where NSD is the backend behind a frontend handling the DoT

In the config file in the server section add:

server:
    padding-on-udp: yes

to enable the padding over UDP transport

wtoorop added 2 commits July 19, 2026 16:49
This is convenient for setups where NSD is the backend behind a frontend
handling the DoT
@wtoorop
wtoorop marked this pull request as draft July 20, 2026 06:48
@wtoorop

wtoorop commented Jul 20, 2026

Copy link
Copy Markdown
Member Author

Actual udp queries must not get the padding option, because of the potential for misuse in an amplification attack. By allowing padding over udp only on a certain port, this can be resolved. TODO: Let the option be padding-on-udp: <number> where <number> is the port on which to return the padding option.

Comment thread nsd-checkconf.c Outdated
wtoorop and others added 2 commits July 22, 2026 13:25
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