]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Mon, 7 Dec 2020 12:26:02 +0000 (13:26 +0100)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Otto Moerbeek [Wed, 2 Dec 2020 14:53:59 +0000 (15:53 +0100)]
rpzMaster -> rpzPrimary
Otto Moerbeek [Wed, 4 Nov 2020 13:37:18 +0000 (14:37 +0100)]
Deprecate more black- or whitelists
Otto Moerbeek [Wed, 4 Nov 2020 09:35:18 +0000 (10:35 +0100)]
snmp-master-socket -> snmp-daemon-socket
Peter van Dijk [Mon, 7 Dec 2020 21:40:31 +0000 (22:40 +0100)]
Merge pull request #9787 from Habbie/circleci-extend
extend CircleCI coverage
Otto Moerbeek [Mon, 7 Dec 2020 14:10:37 +0000 (15:10 +0100)]
Merge pull request #9807 from rgacogne/rec-untangle-resolving-validating-names-types
rec: Untangle the validation/resolving qnames and qtypes
Peter van Dijk [Thu, 26 Nov 2020 12:50:20 +0000 (13:50 +0100)]
circleci auth: build and test more backends
Otto Moerbeek [Mon, 7 Dec 2020 12:27:28 +0000 (13:27 +0100)]
Merge pull request #9817 from rgacogne/rec-keep-valid-cached-over-bogus
rec: Keep a cached, valid entry over a fresher Bogus one
Peter van Dijk [Mon, 7 Dec 2020 10:11:10 +0000 (11:11 +0100)]
Merge pull request #9820 from Habbie/auth-4.4.0-rc1-docs
auth-4.4.0-rc1: docs and secpoll
Your Name [Mon, 7 Dec 2020 08:16:09 +0000 (09:16 +0100)]
auth-4.4.0-rc1: docs and secpoll
Remi Gacogne [Fri, 4 Dec 2020 16:17:24 +0000 (17:17 +0100)]
rec: Fix a comment, as suggested by Otto
Remi Gacogne [Fri, 4 Dec 2020 16:16:34 +0000 (17:16 +0100)]
rec: Fix unit test formatting
Remi Gacogne [Thu, 3 Dec 2020 14:21:48 +0000 (15:21 +0100)]
rec: Keep a cached, valid entry over a fresher Bogus one
It turns out to be quite difficult to make us accept a record that
we already have in cache, thanks to sanitization, but let's make
sure that we will not replace a valid entry with a Bogus one if that
happens.
It might happen for SOA records, and for DS records when the TTL of
the corresponding NS records is shorter than the TTL of the DS.
Peter van Dijk [Fri, 4 Dec 2020 10:45:08 +0000 (11:45 +0100)]
Merge pull request #9815 from Habbie/el6-eol-vault
el6 builds: use vault.centos.org
Otto Moerbeek [Fri, 4 Dec 2020 10:30:07 +0000 (11:30 +0100)]
Merge pull request #9812 from rgacogne/rec-webserver-error
rec: Handle failure to start the web server more gracefully
Otto Moerbeek [Fri, 4 Dec 2020 10:22:26 +0000 (11:22 +0100)]
Merge pull request #9720 from omoerbeek/rec-min-ttl-override-default
Switch default TTL override to 1.
Otto Moerbeek [Fri, 4 Dec 2020 10:22:15 +0000 (11:22 +0100)]
each -> every
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
Your Name [Thu, 3 Dec 2020 11:30:15 +0000 (12:30 +0100)]
el6 builds: use vault.centos.org
Peter van Dijk [Thu, 3 Dec 2020 18:46:35 +0000 (19:46 +0100)]
Merge pull request #9813 from Habbie/geoip-scope-latlonloc
auth geoip: set netmask on all string formatting types
Peter van Dijk [Thu, 3 Dec 2020 13:50:40 +0000 (14:50 +0100)]
Merge pull request #9779 from Habbie/gh-action-builder
gh actions: build centos6 packages
Peter van Dijk [Thu, 3 Dec 2020 12:42:59 +0000 (13:42 +0100)]
Merge pull request #9803 from Habbie/docker-pdns-version
dockerfiles: do not claim equivs-dummy is sourced from pdns
Peter van Dijk [Thu, 3 Dec 2020 08:57:20 +0000 (09:57 +0100)]
auth geoip: set netmask on all string formatting types
(via Kees Monshouwer)
Remi Gacogne [Thu, 3 Dec 2020 08:41:53 +0000 (09:41 +0100)]
Merge pull request #9801 from rgacogne/ddist-noqueue-for-trailing-data-queries
dnsdist: Clean up the internal queues use for self-answered and trailing test responses
Remi Gacogne [Thu, 3 Dec 2020 08:41:20 +0000 (09:41 +0100)]
Merge pull request #9756 from rgacogne/ddist-dynblocks-metrics
dnsdist: Add prometheus metrics for top Dynamic Blocks entries
Remi Gacogne [Thu, 3 Dec 2020 08:41:03 +0000 (09:41 +0100)]
Merge pull request #9806 from rgacogne/rec-report-exact-bogus-state
rec: Log the exact Bogus state when 'dnssec-log-bogus' is enabled
Remi Gacogne [Thu, 3 Dec 2020 08:34:08 +0000 (09:34 +0100)]
rec: Handle failure to start the web server more gracefully
At this point we already have several threads so calling exit()
will cause problem by trying to destruct objects that are in use
by other threads, so call _exit() instead.
Also mention the web server in the error message so that the root
cause is easier to identify.
Peter van Dijk [Wed, 2 Dec 2020 18:30:03 +0000 (19:30 +0100)]
Merge pull request #9768 from mind04/pdns-latency
auth: fix rounding inaccuracy in latency statistics
Remi Gacogne [Wed, 2 Dec 2020 16:23:21 +0000 (17:23 +0100)]
Merge pull request #9793 from rgacogne/rec-gather-denial-for-wildcard
rec: Fix the gathering of denial proof for wildcard-expanded answers
Otto Moerbeek [Fri, 20 Nov 2020 10:39:13 +0000 (11:39 +0100)]
Say something about the consequences of using minimum-ttl-override of zero.
Otto Moerbeek [Mon, 16 Nov 2020 15:09:50 +0000 (16:09 +0100)]
Add versionchanged tag
Otto Moerbeek [Fri, 13 Nov 2020 10:07:00 +0000 (11:07 +0100)]
Switch default TTL override to 1.
Remi Gacogne [Wed, 2 Dec 2020 15:47:53 +0000 (16:47 +0100)]
rec: Log the exact Bogus state when 'dnssec-log-bogus' is enabled
Peter van Dijk [Wed, 2 Dec 2020 14:33:02 +0000 (15:33 +0100)]
dockerfiles: do not claim equivs-dummy is sourced from pdns
.. because otherwise at least two security scanners will dig up every CVE since PowerDNS 1.0 and claim the image is vulnerable to it
Remi Gacogne [Wed, 2 Dec 2020 13:46:19 +0000 (14:46 +0100)]
rec: Untangle the validation/resolving qnames and qtypes
Peter van Dijk [Wed, 2 Dec 2020 12:53:41 +0000 (13:53 +0100)]
Merge pull request #9796 from Habbie/geoip-static-function
auth geoipbackend: make local function static
Peter van Dijk [Wed, 2 Dec 2020 11:20:58 +0000 (12:20 +0100)]
Merge pull request #9794 from Habbie/dist-venv
auth api-swagger.json: do not depend on .venv target. Fixes #9792
Peter van Dijk [Wed, 2 Dec 2020 10:05:22 +0000 (11:05 +0100)]
add upgrade note
Peter van Dijk [Wed, 2 Dec 2020 10:22:57 +0000 (11:22 +0100)]
Merge pull request #9574 from pieterlexis/socket-dir-older-systemd
Ensure socket-dir matches runtimedir on old systemd
Remi Gacogne [Wed, 2 Dec 2020 09:57:06 +0000 (10:57 +0100)]
dnsdist: Clean up the internal queues use for self-answered and trailing test responses
Peter van Dijk [Wed, 2 Dec 2020 08:39:57 +0000 (09:39 +0100)]
auth geoipbackend: make local function static. Fixes #9791
Peter van Dijk [Tue, 1 Dec 2020 18:00:59 +0000 (19:00 +0100)]
auth api-swagger.json: do not depend on .venv target. Fixes #9792
Remi Gacogne [Tue, 1 Dec 2020 16:23:03 +0000 (17:23 +0100)]
Merge pull request #9784 from pieterlexis/dnsdist-spoofaction-one-arg
dnsdist: Remove useless second argument for `SpoofAction`
Remi Gacogne [Tue, 1 Dec 2020 16:20:22 +0000 (17:20 +0100)]
rec: Fix the gathering of denial proof for wildcard-expanded answers
If somehow the RRSIG indicating that the answer is expanded from a
wildcard (label count smaller than the number of labels in the name)
went _after_ the NSEC we need, we forgot to gather that NSEC.
It might have been an issue for downstream validation (we do gather
them a second time later for our own validation) since the client
would not have received them.
Pieter Lexis [Thu, 1 Oct 2020 18:36:51 +0000 (20:36 +0200)]
Ensure socket-dir matches runtimedir on old systemd
This is mostly a hack for systemd version <240 so using virtual hosting
on Ubuntu Bionic and EL7 does not lead to surprises.
This Commit explicitly adds the `--socket-dir` to the invocation of the
unit. Any users who want to use their own runtimedirs should use a
drop-in unit overriding ExecStart. I believe this does not validate the
principle of least surprise for those using the PowerDNS provided
packages and virtual hosting.
Fixes #9485
Remi Gacogne [Tue, 1 Dec 2020 14:10:17 +0000 (15:10 +0100)]
Merge pull request #9790 from rgacogne/rec-skip-cname-qname-min-step4
rec: Do not chase CNAME during qname minization step 4
Remi Gacogne [Tue, 1 Dec 2020 14:08:52 +0000 (15:08 +0100)]
dnsdist: Clarify what DynBlockMaintenance::s_topsMutex protects
Remi Gacogne [Tue, 1 Dec 2020 09:52:37 +0000 (10:52 +0100)]
rec: Do not chase CNAME during qname minization step 4
Remi Gacogne [Tue, 1 Dec 2020 08:44:41 +0000 (09:44 +0100)]
Merge pull request #9789 from rgacogne/rec-discard-invalid-sig
rec: Actually discard invalid RRSIGs with too high labels count
Remi Gacogne [Mon, 30 Nov 2020 16:06:02 +0000 (17:06 +0100)]
rec: Actually discard invalid RRSIGs with too high labels count
Peter van Dijk [Thu, 26 Nov 2020 10:57:40 +0000 (11:57 +0100)]
gh actions: build centos6 packages
Peter van Dijk [Sun, 29 Nov 2020 11:55:31 +0000 (12:55 +0100)]
Merge pull request #9764 from mind04/pdns-log
auth: add remote to default axfr logging
Kees Monshouwer [Fri, 27 Nov 2020 22:27:11 +0000 (23:27 +0100)]
auth: fix compiler errors with --enable-verbose-logging
Kees Monshouwer [Mon, 23 Nov 2020 13:03:59 +0000 (14:03 +0100)]
auth: add zone and primary to all axfr logging
Pieter Lexis [Fri, 27 Nov 2020 12:27:45 +0000 (13:27 +0100)]
dnsdist: Add TTL test for `SpoofAction`
Pieter Lexis [Fri, 27 Nov 2020 12:23:05 +0000 (13:23 +0100)]
dnsdist: Drop second argument in `SpoofAction`
Fixes #9783
Remi Gacogne [Fri, 27 Nov 2020 11:27:19 +0000 (12:27 +0100)]
dnsdist: Fix the Dynamic Block ratio regression test
We now properly skip the too old entries when scanning responses,
so we need to set a long enough period so that the responses are
still valids when we compute the ratio.
Remi Gacogne [Fri, 27 Nov 2020 09:51:13 +0000 (10:51 +0100)]
dnsdist: Implement DynBlock oversampling, fix refresh issues with SMT entries
Remi Gacogne [Thu, 26 Nov 2020 13:54:48 +0000 (14:54 +0100)]
dnsdist: Make the interval of Dynamic Blocks cleaning configurable
Remi Gacogne [Thu, 26 Nov 2020 10:56:19 +0000 (11:56 +0100)]
dnsdist: Skip the Dynamic Block benchmarks in our unit tests
Remi Gacogne [Wed, 25 Nov 2020 16:19:09 +0000 (17:19 +0100)]
dnsdist: Fix dynamic block metrics collection
Remi Gacogne [Fri, 20 Nov 2020 15:29:56 +0000 (16:29 +0100)]
dnsdist: Add metrics for Dynamic Blocks entries
Kees Monshouwer [Tue, 24 Nov 2020 19:50:34 +0000 (20:50 +0100)]
auth: fix rounding inaccuracy in latency statistics
Remi Gacogne [Thu, 26 Nov 2020 14:13:13 +0000 (15:13 +0100)]
Merge pull request #9746 from rgacogne/ddist-named-rules
dnsdist: Add an optional name to rules
Pieter Lexis [Thu, 26 Nov 2020 10:26:30 +0000 (11:26 +0100)]
Merge pull request #9753 from pieterlexis/test-rcpgenerator-v4-mapped-v6
Test IPv4-mapped-IPv6 in the RecordTextReader
Peter van Dijk [Thu, 26 Nov 2020 10:07:06 +0000 (11:07 +0100)]
Merge pull request #9775 from Habbie/bindbackend-add-record-error
pdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730
Erik Winkels [Wed, 25 Nov 2020 20:15:12 +0000 (21:15 +0100)]
Add hint for testing Raspbian repos.
Remi Gacogne [Wed, 25 Nov 2020 15:07:14 +0000 (16:07 +0100)]
Merge pull request #9770 from rgacogne/ddist-coverity-cleartext-dh
dnsdist: Initialize d_cleartextDH to make Coverity happy
Remi Gacogne [Wed, 25 Nov 2020 15:07:05 +0000 (16:07 +0100)]
Merge pull request #9771 from rgacogne/ddist-clean-up-tcp-fields
dnsdist: Clean up unused fields in IncomingTCPConnectionState
Otto Moerbeek [Wed, 25 Nov 2020 14:37:02 +0000 (15:37 +0100)]
Merge pull request #9755 from omoerbeek/prep-rec-4.3.6-and-4.4.1
rec: Prep for rec 4.3.6 and 4.4.1
Peter van Dijk [Wed, 25 Nov 2020 13:09:30 +0000 (14:09 +0100)]
Merge pull request #9762 from Habbie/auth-4.4-upgrade-unknown-types-doc
auth: document upgrade-unknown-types API interaction
Peter van Dijk [Wed, 25 Nov 2020 12:07:12 +0000 (13:07 +0100)]
pdnsutil add-record: notice when backend does not support replaceRRSet. Fixes #9730
Otto Moerbeek [Fri, 20 Nov 2020 10:02:12 +0000 (11:02 +0100)]
Prep for rec 4.3.6 and 4.4.1
Peter van Dijk [Wed, 25 Nov 2020 11:05:28 +0000 (12:05 +0100)]
Merge pull request #9766 from Habbie/apl-endian
APL records: fix endianness problem. Closes #9763
Remi Gacogne [Wed, 25 Nov 2020 09:56:19 +0000 (10:56 +0100)]
dnsdist: Clean up unused fields in IncomingTCPConnectionState
Remi Gacogne [Wed, 25 Nov 2020 09:54:22 +0000 (10:54 +0100)]
dnsdist: Initialize d_cleartextDH to make Coverity happy
Peter van Dijk [Tue, 24 Nov 2020 14:13:49 +0000 (15:13 +0100)]
APL records: fix endianness problem. Closes #9763
Peter van Dijk [Tue, 24 Nov 2020 14:38:43 +0000 (15:38 +0100)]
Merge pull request #9760 from rgacogne/ddist-out-of-order-doc-typo
dnsdist: Fix a typo (missing backquote) in the out-of-order docs
Peter van Dijk [Tue, 24 Nov 2020 10:44:43 +0000 (11:44 +0100)]
auth: document upgrade-unknown-types API interaction
Remi Gacogne [Tue, 24 Nov 2020 09:11:59 +0000 (10:11 +0100)]
dnsdist: Fix a typo (missing backquote) in the out-of-order docs
aerique [Tue, 24 Nov 2020 08:23:15 +0000 (09:23 +0100)]
Merge pull request #9759 from Habbie/repo-script-raspbian
generate-repo-files: add raspbian support
Peter van Dijk [Mon, 23 Nov 2020 14:43:57 +0000 (15:43 +0100)]
Merge pull request #9747 from Habbie/github-actions-ubuntu-20.04
github actions: pin ubuntu 20.04 instead of -latest
Peter van Dijk [Mon, 23 Nov 2020 10:16:55 +0000 (11:16 +0100)]
Merge pull request #9758 from Habbie/auth-4.4.0-beta1-docs
auth: changelog&secpoll for auth-4.4.0-beta1
Peter van Dijk [Mon, 23 Nov 2020 10:00:55 +0000 (11:00 +0100)]
generate-repo-files: add raspbian support
Remi Gacogne [Mon, 23 Nov 2020 08:41:05 +0000 (09:41 +0100)]
Merge pull request #9582 from rgacogne/ddist-tcp-refactor-split
dnsdist: Implement TCP out-of-order
Peter van Dijk [Mon, 23 Nov 2020 08:07:01 +0000 (09:07 +0100)]
auth: changelog&secpoll for auth-4.4.0-beta1
Remi Gacogne [Fri, 20 Nov 2020 16:00:20 +0000 (17:00 +0100)]
dnsdist: Better documentation for out-of-order support
Remi Gacogne [Fri, 20 Nov 2020 12:43:08 +0000 (13:43 +0100)]
Merge pull request #9744 from rgacogne/rec-near-miss-to-tcp
rec: Switch to TCP in case of spoofing (near-miss) attempts
Otto Moerbeek [Fri, 20 Nov 2020 11:00:15 +0000 (12:00 +0100)]
Merge pull request #9754 from omoerbeek/auth-openbsd-warnings
auth: Kill warnings in test code on OpenBSD/clang
Pieter Lexis [Fri, 20 Nov 2020 10:50:33 +0000 (11:50 +0100)]
Test IPv4-mapped-IPv6 in the RecordTextReader
Otto Moerbeek [Fri, 20 Nov 2020 10:09:28 +0000 (11:09 +0100)]
Kill warnings in test code on OpenBSD/clang
Remi Gacogne [Thu, 19 Nov 2020 15:05:42 +0000 (16:05 +0100)]
Merge pull request #9751 from rgacogne/rec-ede-centos6
rec: Fix getEDNSExtendedErrorOptFromString() on CentOS 6
Pieter Lexis [Thu, 19 Nov 2020 14:58:23 +0000 (15:58 +0100)]
Merge pull request #9752 from pieterlexis/docker-improvements2
Two new docker improvements
Pieter Lexis [Thu, 19 Nov 2020 11:44:16 +0000 (12:44 +0100)]
docker: also strip backend modules
Pieter Lexis [Thu, 19 Nov 2020 11:41:45 +0000 (12:41 +0100)]
Dump generated configs from templates to stdout
Remi Gacogne [Thu, 19 Nov 2020 14:31:14 +0000 (15:31 +0100)]
Merge pull request #9749 from rgacogne/dnsname-move-assignment-operator
Fix the DNSName move assignment operator
Remi Gacogne [Thu, 19 Nov 2020 13:24:01 +0000 (14:24 +0100)]
rec: Fix getEDNSExtendedErrorOptFromString() on CentOS 6
pdns_string_view falls back to a regular string there, so there
was an ambiguity on which overloaded function to call.
Remi Gacogne [Thu, 19 Nov 2020 11:27:53 +0000 (12:27 +0100)]
auth: Don't steal resources from additional records
Remi Gacogne [Thu, 19 Nov 2020 09:53:06 +0000 (10:53 +0100)]
Fix the DNSName move assignement operator
A misplaced 'const' prevented it from being called, making every
move of a DNSName into a full copy.
Introduced in
d720eb8add5ebda11867e8b404125e0b68ed2911 .
Peter van Dijk [Thu, 19 Nov 2020 09:47:49 +0000 (10:47 +0100)]
Merge pull request #9735 from Habbie/pdnsutil-dname
auth: pdnsutil check-zone: DNAME fixes
Peter van Dijk [Thu, 19 Nov 2020 09:46:20 +0000 (10:46 +0100)]
Merge pull request #9523 from kpfleming/builder-improvements
Package builder improvements