-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Update embedded dnsmasq to v2.87test8 #1281
Conversation
…tate of the -y/--localise-queries option. Signed-off-by: DL6ER <dl6er@dl6er.de>
Previously, hash_questions() would return a random hash if the packet was malformed, and probably the hash of a previous query. Now handle this as an error. Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
There are two functional changes in this commit. 1) When searching for an in-flight DNSSEC query to use (rather than starting a new one), compare the already sent query (stored in the frec "stash" field, rather than using the hash of the query. This is probably faster (no hash calculation) and eliminates having to worry about the consequences of a hash collision. 2) Check for dependency loops in DNSSEC validation, say validating A requires DS B and validating DS B requires DNSKEY C and validating DNSKEY C requires DS B. This should never happen in correctly signed records, but it's likely the case that sufficiently broken ones can cause our validation code requests to exhibit cycles. The result is that the ->blocking_query list can form a cycle, and under certain circumstances that can lock us in an infinite loop. Instead we transform the situation into an ABANDONED state. Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
…e 30 and 40 characters, respectively. Signed-off-by: DL6ER <dl6er@dl6er.de> Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
…nfig-provided and log source when applicable. Signed-off-by: DL6ER <dl6er@dl6er.de> Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
Thanks to Dominik Derigs for the initial patch. Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
Some systems strips even root process capability of writing to different users file. That include systemd under Fedora. When log-facility=/var/log/dnsmasq.log is used, log file with mode 0640 is created. But restart then fails, because such log file can be used only when created new. Existing file cannot be opened by root when starting, causing fatal error. Avoid that by adding root group writeable flag. Ensure group is always root when granting write access. If it is anything else, administrator has to configure correct rights. Signed-off-by: Your Name <you@example.com> Signed-off-by: DL6ER <dl6er@dl6er.de>
…se-engineering it ourselves from the sockaddr Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
…e the real query type from the arg string Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
A reply with an empty answer section would not always be checked for either suitable NSEC records or proof of non-existence of the relevant DS record. Signed-off-by: DL6ER <dl6er@dl6er.de>
…et/2020/ Signed-off-by: DL6ER <dl6er@dl6er.de>
…strip-mac is set. If both the add and strip options are set, incoming EDNS0 options are replaced. This ensures we do not unintentionally forward client information somewhere upstream when ECS is used in lower DNS layers in our local network. Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
…ations. RFC 4861 para 4.1 is a MUST. Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
On machines with many interfaces, enumerating them via netlink on each packet reciept is slow, and unneccesary. All we need is the local address->interface mapping, which can be cached in the relay structures. Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Bug introduced in fc664d114d6e11ced4912b746f18d543f662066b Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
The circumstances under which actions occur depending on configuration is now controlled only by newaddress() in network.c Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
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.
Needs documentation change in https://docs.pi-hole.net/ftldns/dnsmasq_warn/
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-14-web-v5-11-and-core-v5-9-released/53529/1 |
By submitting this pull request, I confirm the following:
How familiar are you with the codebase?:
10
Highlights:
--conf-script
to generate dnsmasq config using a script rather than static filesThe warning
Ignoring query from non-local network
has been changed to
ignoring query from non-local network <ADDRESS>