-
Notifications
You must be signed in to change notification settings - Fork 917
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
dnsdist: properly set protocol when logging #13716
Conversation
…ist-protobuf.hh pdns/dnstap.cc pdns/dnstap.hh
Pull Request Test Coverage Report for Build 7568813501Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
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.
Nice!
If you can find the motivation to fix the clang-tidy warnings resulting from the reformat then yes, please :) |
8595da5
to
1baa9a8
Compare
0609e65
to
655fe34
Compare
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.
Thanks a lot for dealing with the massive pain of delinting these files! I think we need to discuss one clang-tidy rule with the team, so I'll bring it up on the internal chat.
I reverted the const member related changes and the Sorry I've gone a bit wild with clang-tidy. |
There is still one clang-tidy warning left:
This should be fixed with the modification made in: The above fix might have some collateral damages, so I purpose to ignore that warning for the scope of this PR. |
Short description
This PR properly sets protocol when logging via dnstap or protobuf when using DNS over QUIC and DNS over HTTP/3.
For protobuf, we add a
httpVersion
field so we can distinguish between DoH and DoHTTP/3 (PowerDNS/dnsmessage#8).We should eventually do something similar for dnstap if there is a possibility to do so (dnstap/dnstap.pb#20).
Fix #13672 and #13673
Todo:
Checklist
I have: