Skip to content

resolved: support for dnssec requests in the stub & a lot of other stuff - #17535

Closed
poettering wants to merge 69 commits into
systemd:mainfrom
poettering:resolved-bypass
Closed

poettering wants to merge 69 commits into
systemd:mainfrom
poettering:resolved-bypass

Conversation

@poettering

@poettering poettering commented Nov 6, 2020 •

Copy link
Copy Markdown
Member

@poettering

Copy link
Copy Markdown
Member Author

This is material for v248. I split some commits out of it, with smaller less risky stuff, as #17534 which should be good for v247

@lgtm-com

lgtm-com Bot commented Nov 6, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 6de96aa9585e9d95753dd73076042a5952823345 into ea394d4 - view on LGTM.com

new alerts:

  • 1 for Use of potentially dangerous function

@lgtm-com

lgtm-com Bot commented Nov 6, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging c8022f3bf6f8df01a465e22402842682347f5c16 into 2386d1c - view on LGTM.com

new alerts:

  • 1 for Use of potentially dangerous function

@lgtm-com

lgtm-com Bot commented Nov 9, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging ae10b79bad038033b7201bf2ed0f58d9975e7dd6 into a1b24ee - view on LGTM.com

new alerts:

  • 1 for Use of potentially dangerous function

@keszybz keszybz 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.

I didn't do a full review of the bigger commits, but the shorter ones all look nice.

Comment thread src/resolve/resolved-dns-answer.c Resolved
Comment thread src/resolve/resolved-dns-transaction.c Resolved
Comment thread src/resolve/resolved-dns-transaction.c Outdated

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.

This seems to be quite a late point to figure this out. I'd instead expect that our own servers are dropped when parsing /etc/resolv.conf (and also maybe when parsing configuration and/or data received over dns). Why would we ever want to keep such servers on our list?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

so i pondered about that, and i figured it's better to keep them around but not use them than to not even keep them around. And that's because resolved is multiple things: it's both a DNS client and a manager for /etc/resolv.conf. And the additional listeners are probably something that should show up in /etc/resolv.conf if we are told so (if you don't want them to be used, why have them?), and given that we likely write them out it hence made sense to allow pushing them into resolved, even if we don't want to use them ourselves.

Hope that makes sense?

Comment thread man/resolvectl.xml Resolved
Comment thread man/resolvectl.xml Resolved
@lgtm-com

lgtm-com Bot commented Nov 11, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging ac499b9aacefdf16a51252e2dfef6503843d7525 into 23dce98 - view on LGTM.com

new alerts:

  • 1 for Use of potentially dangerous function

@mrc0mmand

mrc0mmand commented Nov 11, 2020 •

Copy link
Copy Markdown
Member

The CentOS CI results won't appear here properly until the next force-push as I made a slight mistake during OCP debugging, apologies.

@lgtm-com

lgtm-com Bot commented Nov 11, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert when merging cc8f745bfcd35169e7eaec079268119068fa2886 into 23dce98 - view on LGTM.com

new alerts:

  • 1 for Use of potentially dangerous function

Comment thread src/basic/hashmap.c Resolved
@poettering

Copy link
Copy Markdown
Member Author

I guess we can close this now. Everything got split out and merged now, except for two final PRs: #18686 + #17800. I guess we don't need to keep this PR open anymore, since there's nothing here that wasn't in either of those branches.

Thanks everyone for the reviews, much appreciated, in particular @keszybz and @bluca!

@poettering poettering closed this Feb 18, 2021
@bluca

bluca commented Feb 18, 2021

Copy link
Copy Markdown
Member

thanks for splitting it up in logical pieces - it made reviewing much much easier

keszybz added a commit to keszybz/systemd that referenced this pull request Mar 26, 2021
As noted in systemd#17535 (comment),
"raw" is misleading in this context. Let's use a more descriptive term.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment