Repository navigation
resolved: strict mode for DNS-over-TLS - #12815
Merged
Merged
Conversation
yuwata
requested changes
Jun 18, 2019
poettering
reviewed
Jun 18, 2019
poettering
left a comment
Member
There was a problem hiding this comment.
looks excellent, just some minor nitpick
Instead of having a context and/or trusted CA list per server this is now moved to the server. Ensures future TLS configuration options are global instead of per server.
Contributor
Author
|
I've made some small changes. Now only the LGTM analysis fails because it's unable to fetch the new commits for some unclear reason. |
Contributor
|
@irtimmer it looks like it was a glitch. As far as I can tell, it had something to do with authentication via GitHub. Everything should be fine now. |
yuwata
approved these changes
Jun 19, 2019
yuwata
requested changes
Jun 19, 2019
Member
|
looks dope, besides the include ordering thing. |
Add strict mode for DNS-over-TLS, which will require TLS support from the server. Closes systemd#10755
This was referenced Jun 20, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Better late than never. I've finally finished the main parts to support certificate checking for DNS-over-TLS. This fixes #10755 and partially #9397. This is the minimum amount of changes to support this feature and some other small changes, like support for TLS 1.3 with GnuTLS and moving some fields from DnsServer to Manager. Therefore it will only work with server certificates signed for the server IP-address and the list of trusted root certificates can't be configured.
p.s. I hope to send soon a separate PR to support certificate checking with domain name or SPKI hash.