-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sock_dodtls: Initial import of a DNS over DTLS client #16861
Conversation
Arghs, that was supposed to be a draft PR... Oh well, I did set the WIP label :-) |
6815cde
to
a2d4a24
Compare
Arghs, that was supposed to be a draft PR... Oh well, I _did_ set the WIP label :-)
That button *is* incredibly easy to overlook; took me serious time until
I realized how to submit things as a draft in the first place rather
than switching over later.
Anyway, happy to be subscribed to the issue, although I probably won't
get around to a serious look in the next few days.
…--
To use raw power is to make yourself infinitely vulnerable to greater powers.
-- Bene Gesserit axiom
|
a7d7d90
to
0aec304
Compare
0aec304
to
d8b5dd5
Compare
Rebased and adopted for current master. No longer WIP, this was well tested for the experimental evaluation in https://arxiv.org/abs/2207.07486 and I adapted the testing procedures to provide the setup steps for aiodnsprox. |
d8b5dd5
to
ec7bfd5
Compare
May I squash? Are all comments sufficiently addressed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
b252df5
to
89d1122
Compare
Squashed |
To be able to implement the DNS message exchange outside the module.
89d1122
to
1b6c9a8
Compare
Contribution description
This introduces DNS over DTLS for RIOT, utilizing the
sock
API. It is still in an experimental stage, as some fallback features are not supported yet (and might never be):Testing procedure
There is a test application, but there is no automation yet (given that
scapy
does not support DTLS yet, it is also not as easy as with the DNS counter-part). I tested it with my own DNS over DTLS proxy, but there are also other proxies and servers (e.g. https://github.com/folbricht/routedns) that should work with this client. For my proxy, installaiodnsprox
and run it with a DTLS frontend:Just establish a session with the server and try to resolve a name e.g. on
native
withIssues/PRs references
Companion to #16705 but can be merged independently.