]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 17 Aug 2021 09:33:16 +0000 (11:33 +0200)]
rec: Add a test for 'denial of the DS comes from the child zone' loop
Remi Gacogne [Sun, 1 Aug 2021 21:58:42 +0000 (23:58 +0200)]
rec: Detect a loop when the denial of the DS comes from the child zone
Otto Moerbeek [Fri, 30 Jul 2021 09:46:59 +0000 (11:46 +0200)]
Merge pull request #10616 from omoerbeek/rec-prep-4.4.5-and-4.5.5
rec: Prep for rec-4.4.5 and rec-4.5.5
Peter van Dijk [Thu, 29 Jul 2021 22:08:07 +0000 (00:08 +0200)]
Merge pull request #10572 from pieterlexis/dockerignore
docker: ignore compiled files
Peter van Dijk [Thu, 29 Jul 2021 22:07:36 +0000 (00:07 +0200)]
Merge pull request #10607 from peterthomassen/patch-3
Document RFC 6742 types
Peter van Dijk [Thu, 29 Jul 2021 22:07:21 +0000 (00:07 +0200)]
Merge pull request #10610 from Habbie/auth-4.5-eol-update
auth: EOL update after 4.5 release
Peter van Dijk [Thu, 29 Jul 2021 21:56:32 +0000 (23:56 +0200)]
Merge pull request #10613 from Habbie/responsestats-type65535
auth: correct upper bounds on d_qtypecounters
Peter van Dijk [Wed, 28 Jul 2021 17:57:43 +0000 (19:57 +0200)]
Merge pull request #10595 from Habbie/auth45-upgradenotes-zonecache
auth 4.5 upgrade notes and settings: more words on the zone cache
Otto [Wed, 28 Jul 2021 11:16:23 +0000 (13:16 +0200)]
Prep for rec-4.4.5 and rec-4.5.5
Including a few 2->3 upgrades for known vulnerability status for auth
Otto Moerbeek [Wed, 28 Jul 2021 06:03:02 +0000 (08:03 +0200)]
Merge pull request #10587 from rgacogne/rec-aggressive-nsec3-ancestor
rec: Ancestor NSEC3s can only deny the existence of a DS
Otto Moerbeek [Wed, 28 Jul 2021 06:00:07 +0000 (08:00 +0200)]
Merge pull request #10570 from rgacogne/rec-hunt-cuts-on-bogus
rec: Make really sure we did not miss a cut on validation failure
Otto Moerbeek [Tue, 27 Jul 2021 14:10:11 +0000 (16:10 +0200)]
Merge pull request #10565 from Habbie/rec-non-apex-dnskey
rec: do not use DNSKEYs found below an apex for validation
Peter van Dijk [Mon, 26 Jul 2021 12:58:42 +0000 (14:58 +0200)]
auth 4.5.1 changelog: fix PR number
Peter van Dijk [Thu, 15 Jul 2021 13:47:18 +0000 (15:47 +0200)]
correct upper bounds on d_qtypecounters
Peter van Dijk [Mon, 26 Jul 2021 12:28:18 +0000 (14:28 +0200)]
Merge pull request #10612 from Habbie/auth-sec-2021-01
auth-4.5.1: advisory, changelog, secpoll
Peter van Dijk [Fri, 23 Jul 2021 10:35:25 +0000 (12:35 +0200)]
auth-4.5.1: advisory, changelog, secpoll
Peter van Dijk [Thu, 22 Jul 2021 08:03:10 +0000 (10:03 +0200)]
auth: EOL update after 4.5 release
Peter van Dijk [Fri, 16 Jul 2021 17:54:00 +0000 (19:54 +0200)]
auth 4.5 upgrade notes and settings: more words on the zone cache
Peter Thomassen [Wed, 21 Jul 2021 19:17:14 +0000 (21:17 +0200)]
Document RFC 6742 types
Remi Gacogne [Tue, 20 Jul 2021 08:57:23 +0000 (10:57 +0200)]
Merge pull request #10520 from rgacogne/ddist-kvs-lmdb-dbi
dnsdist: Don't look up the LMDB dbi by name for every query
Remi Gacogne [Tue, 20 Jul 2021 08:55:50 +0000 (10:55 +0200)]
Merge pull request #10501 from rgacogne/ddist-per-thread-lua-ffi
dnsdist: Add support for Lua per-thread FFI rules and actions
Remi Gacogne [Mon, 19 Jul 2021 14:41:27 +0000 (16:41 +0200)]
rec: Fix wrong comments in the Aggressive NSEC cache unit tests
Otto Moerbeek [Mon, 19 Jul 2021 10:10:30 +0000 (12:10 +0200)]
Merge pull request #10571 from Habbie/rec-warnings
rec: fix some compiler warnings
Otto Moerbeek [Mon, 19 Jul 2021 09:07:47 +0000 (11:07 +0200)]
Merge branch 'master' into rec-warnings
Remi Gacogne [Fri, 16 Jul 2021 08:09:03 +0000 (10:09 +0200)]
rec: Fix formatting in test-aggressive_nsec_cc.cc
Peter van Dijk [Tue, 13 Jul 2021 17:32:25 +0000 (19:32 +0200)]
Merge pull request #10588 from jsoref/master-spelling-0.0.19
Upgrade check-spelling to v0.0.19
Remi Gacogne [Tue, 13 Jul 2021 16:29:50 +0000 (18:29 +0200)]
rec: The root denies its own DS with a NSEC(3)s from the child zone
Remi Gacogne [Tue, 13 Jul 2021 14:57:40 +0000 (16:57 +0200)]
rec: Check that NSEC(3)s from the child zone are not used to deny the DS
Remi Gacogne [Tue, 13 Jul 2021 12:55:47 +0000 (14:55 +0200)]
rec: Fix the NSEC3 ancestor check for DS in the aggressive cache
Remi Gacogne [Tue, 13 Jul 2021 09:56:00 +0000 (11:56 +0200)]
rec: Ancestor NSEC3s can only deny the existence of a DS
Before that commit, the aggressive NSEC(3) cache could have
mistakenly used NSEC3s from the parent zone to prove that a given
name in the child zone did not exist, which is incorrect.
It happened because we did not properly detect that the NSEC3 for
the closest encloser was an ancestor NSEC3 indicating a delegation,
and then in the unlikely but possible case that we found a NSEC3
from the parent zone whose hashes covered the next closer we wrongly
concluded that the name did not exist, returning a NXDomain with an
invalid proof of denial.
Peter van Dijk [Tue, 13 Jul 2021 11:05:28 +0000 (13:05 +0200)]
Merge pull request #10581 from Habbie/auth-4.5.0-secpoll-docs
auth-4.5.0: secpoll and docs
Josh Soref [Tue, 13 Jul 2021 07:30:54 +0000 (03:30 -0400)]
Upgrade check-spelling to v0.0.19
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Peter van Dijk [Mon, 12 Jul 2021 13:02:42 +0000 (15:02 +0200)]
Merge pull request #10583 from Habbie/mibs-local-range
SNMP: allocate local-use ranges for traps and trapObjects
Peter van Dijk [Mon, 12 Jul 2021 12:18:15 +0000 (14:18 +0200)]
SNMP: allocate local-use ranges for traps and trapObjects
Peter van Dijk [Mon, 12 Jul 2021 10:43:35 +0000 (12:43 +0200)]
auth-4.5.0: secpoll and docs
Peter van Dijk [Mon, 12 Jul 2021 11:12:58 +0000 (13:12 +0200)]
Merge pull request #10487 from Habbie/docs-texlive
build docs using the texlive image
Peter van Dijk [Mon, 12 Jul 2021 10:00:45 +0000 (12:00 +0200)]
Merge pull request #10568 from Habbie/auth-bind-no-sqlite3
auth: allow building bindbackend without sqlite3
Remi Gacogne [Mon, 12 Jul 2021 08:10:18 +0000 (10:10 +0200)]
Merge pull request #10578 from natesales/natesales/fix-dnsdist-docs
fix: dnsdist docs quickstart typo
Nate Sales [Mon, 12 Jul 2021 01:47:09 +0000 (18:47 -0700)]
fix: dnsdist docs quickstart typo
Otto Moerbeek [Fri, 9 Jul 2021 14:42:39 +0000 (16:42 +0200)]
Merge pull request #10576 from omoerbeek/log-qtype-tostring
Zap a few redundant toString() method call for logging qtype names
Otto [Fri, 9 Jul 2021 13:14:47 +0000 (15:14 +0200)]
Zap a few redundant toString() method call for logging qtype names
Pieter Lexis [Fri, 9 Jul 2021 07:54:38 +0000 (09:54 +0200)]
Merge pull request #10496 from tacerus/master
Reference pdnsutil in "Running and Operating"
Remi Gacogne [Fri, 9 Jul 2021 07:54:03 +0000 (09:54 +0200)]
Merge pull request #10557 from rgacogne/ddist-doc-ebpf
dnsdist: Documentation fixes (typo, eBPF capabilities)
Remi Gacogne [Fri, 9 Jul 2021 07:51:28 +0000 (09:51 +0200)]
dnsdist: Document what is available from per-thread Lua FFI contexts
Remi Gacogne [Fri, 9 Jul 2021 07:40:17 +0000 (09:40 +0200)]
dnsdist: Constify some members for Lua FFI rule
Remi Gacogne [Fri, 9 Jul 2021 07:38:33 +0000 (09:38 +0200)]
dnsdist: Constify some members for Lua FFI action and rule
Remi Gacogne [Wed, 7 Jul 2021 10:09:09 +0000 (12:09 +0200)]
Merge pull request #10527 from rgacogne/ddist-log-reload
dnsdist: Implement 'reload()' to rotate Log(Response)Action's log file
Remi Gacogne [Wed, 7 Jul 2021 10:08:50 +0000 (12:08 +0200)]
Merge pull request #10537 from rgacogne/ddist-exact-protocol-in-dq
dnsdist: Carry the exact incoming protocol (Do53, DNSCrypt, DoT, DoH) in DQ
Remi Gacogne [Wed, 7 Jul 2021 10:07:55 +0000 (12:07 +0200)]
Merge pull request #10550 from rgacogne/ddist-doh-load-new-certs-keys
dnsdist: Add the missing DOHFronted::loadNewCertificatesAndKeys()
Remi Gacogne [Wed, 7 Jul 2021 10:07:33 +0000 (12:07 +0200)]
Merge pull request #10560 from rgacogne/ddist-pool-metrics
dnsdist: Implement a web endpoint to get metrics for only one pool
Remi Gacogne [Wed, 7 Jul 2021 10:04:24 +0000 (12:04 +0200)]
dnsdist: Document how raising LimitMEMLOCK might be needed for eBPF
Remi Gacogne [Wed, 7 Jul 2021 09:56:13 +0000 (11:56 +0200)]
rec: Add a 'checking for missed cuts' loop unit test
Remi Gacogne [Tue, 4 May 2021 13:16:20 +0000 (15:16 +0200)]
rec: Avoid a loop when checking if we missed a cut
We just went Bogus because of the signer, not because of
the name currently being checked, so we only need to check
the status of zones above the signer. Moreover, if we went
Bogus because of the DS of the signer, we should even skip
the zone of the signer but check for a missed cut above that.
Peter van Dijk [Tue, 6 Jul 2021 14:47:43 +0000 (16:47 +0200)]
rec: do not use DNSKEYs found below an apex for validation, also from cache
Pieter Lexis [Tue, 6 Jul 2021 13:35:19 +0000 (15:35 +0200)]
docker: ignore compiled files
Peter van Dijk [Tue, 6 Jul 2021 13:23:13 +0000 (15:23 +0200)]
rec: move ifdef-dependent vars to inside the ifdef
Remi Gacogne [Tue, 6 Jul 2021 10:18:15 +0000 (12:18 +0200)]
rec: Add unit tests for signed, broken but insecure zones
Remi Gacogne [Mon, 5 Jul 2021 16:01:37 +0000 (18:01 +0200)]
rec: Make really sure we did not miss a cut on validation failure
Peter van Dijk [Tue, 6 Jul 2021 12:46:45 +0000 (14:46 +0200)]
rec: silence spurious compiler warning about possibly uninited var
Peter van Dijk [Tue, 6 Jul 2021 11:16:19 +0000 (13:16 +0200)]
auth: allow building bindbackend without sqlite3
I broke this in #10549
reported by Ralf van der Enden
Peter van Dijk [Tue, 6 Jul 2021 08:11:44 +0000 (10:11 +0200)]
Merge pull request #10563 from Habbie/auth-4.5.0-rc2-secpoll-docs
auth-4.5.0-rc2: docs and secpoll
Remi Gacogne [Mon, 5 Jul 2021 16:00:37 +0000 (18:00 +0200)]
rec: Fix NSEC3 next owner in SyncRes unit tests
Peter van Dijk [Mon, 5 Jul 2021 15:04:04 +0000 (17:04 +0200)]
rec: do not use DNSKEYs found below an apex for validation
Otto Moerbeek [Mon, 5 Jul 2021 13:49:09 +0000 (15:49 +0200)]
Merge pull request #10555 from rgacogne/rec-unscrew-missing-aa
rec: Work around clueless servers sending AA=0 answers
Otto Moerbeek [Mon, 5 Jul 2021 10:04:20 +0000 (12:04 +0200)]
Merge pull request #10556 from pieterlexis/10548-tls-in-rec-pkgs
Rec: Enable DoT in packages
Peter van Dijk [Mon, 5 Jul 2021 09:43:04 +0000 (11:43 +0200)]
auth-4.5.0-rc2: docs and secpoll
Otto Moerbeek [Mon, 5 Jul 2021 08:10:40 +0000 (10:10 +0200)]
Merge pull request #10491 from chbruyand/key-values-metadata
rec: Add bindings to set arbitrary key-value metadata in logged messages
Peter van Dijk [Mon, 5 Jul 2021 07:37:02 +0000 (09:37 +0200)]
Merge pull request #10545 from Habbie/nsec3-debugging
rec, nsec3dig: NSEC(3) debugging improvements
Remi Gacogne [Fri, 2 Jul 2021 14:48:19 +0000 (16:48 +0200)]
dnsdist: Implement a web endpoint to get metrics for only one pool
Remi Gacogne [Fri, 2 Jul 2021 13:15:46 +0000 (15:15 +0200)]
dnsdist: Fix a typo in the out-of-order documentation
Remi Gacogne [Fri, 2 Jul 2021 13:15:14 +0000 (15:15 +0200)]
dnsdist: Fix the documentation for setDropEmptyQueries()
Remi Gacogne [Fri, 2 Jul 2021 13:14:55 +0000 (15:14 +0200)]
dnsdist: Document that some capabilities are needed for eBPF
Remi Gacogne [Fri, 2 Jul 2021 13:12:53 +0000 (15:12 +0200)]
dnsdist: Add a UDP vs TCP packet cache unit test
Remi Gacogne [Fri, 2 Jul 2021 13:11:40 +0000 (15:11 +0200)]
dnsdist: Make the protocol const, simplify the TCP/UDP check
Charles-Henri Bruyand [Fri, 2 Jul 2021 12:39:02 +0000 (14:39 +0200)]
Fix versionadded in documentation
Peter van Dijk [Fri, 2 Jul 2021 11:32:25 +0000 (13:32 +0200)]
Merge pull request #10553 from Habbie/rec-dot-nits
rec: assorted improvements
Remi Gacogne [Fri, 2 Jul 2021 09:48:14 +0000 (11:48 +0200)]
rec: Add a unit test checking that DNSSEC validation is done for AA=0 answers
Remi Gacogne [Fri, 2 Jul 2021 08:30:43 +0000 (10:30 +0200)]
rec: Work around clueless servers sending AA=0 answers
Otto Moerbeek [Fri, 2 Jul 2021 08:29:44 +0000 (10:29 +0200)]
Merge pull request #10539 from omoerbeek/rec-prep-4.5.3
rec: Prep rec-4.5.4
Peter van Dijk [Thu, 1 Jul 2021 21:05:56 +0000 (23:05 +0200)]
rec docs: fix warnings
Peter van Dijk [Thu, 1 Jul 2021 20:36:50 +0000 (22:36 +0200)]
remove DNS_OVER_TLS guard around applying the dot-to-port-853 setting
before this commit: pointing a forward at port 853, without DoT support, causes Recursor to attempt to do UDP over port 853 to the upstream. This rarely works.
after this commit: much swifter failure with an error log message saying `45.55.10.200:853 requested but not available`
Peter van Dijk [Thu, 1 Jul 2021 20:33:48 +0000 (22:33 +0200)]
emit error when dot-to-auth-names is set without DoT support
Peter van Dijk [Thu, 1 Jul 2021 20:30:43 +0000 (22:30 +0200)]
toTimestampStringMilli is only called from inside this file, make it static
Peter van Dijk [Thu, 1 Jul 2021 17:30:53 +0000 (19:30 +0200)]
Merge pull request #10549 from Habbie/bind-cache-nsec3param
auth bindbackend: NSEC(3) setting consistency, reload improvements
Peter van Dijk [Thu, 1 Jul 2021 10:45:10 +0000 (12:45 +0200)]
bindbackend: purge caches on zone reload
Peter van Dijk [Thu, 1 Jul 2021 10:15:25 +0000 (12:15 +0200)]
pdnsutil: add reload notes for bindbackend
Peter van Dijk [Sat, 8 May 2021 19:18:20 +0000 (21:18 +0200)]
auth bindbackend: store nsec3 settings at zone load
This keeps, inside the bindbackend, the nsec(3) settings consistent
with the 'rectification' applied on zone load. This avoids crashes
when nsec3 is enabled or disabled without reloading the zone in the
bindbackend.
reported by Matt Nordhoff
Peter van Dijk [Thu, 1 Jul 2021 12:14:18 +0000 (14:14 +0200)]
Merge pull request #10535 from RobinGeuze/fixUeberBackendAddCacheBug
auth: make UeberBackend::addCache pick the correct ttl
Peter van Dijk [Thu, 1 Jul 2021 12:11:23 +0000 (14:11 +0200)]
Merge pull request #10530 from ZaphodB/ZaphodB-patch-1
docs: query-local-address6 has been removed in #10251 as well
Remi Gacogne [Thu, 1 Jul 2021 11:54:29 +0000 (13:54 +0200)]
dnsdist: Add the missing DOHFronted::loadNewCertificatesAndKeys()
Remi Gacogne [Thu, 1 Jul 2021 10:03:01 +0000 (12:03 +0200)]
dnsdist: Warn if we could not re-open the LogResponseAction file
Remi Gacogne [Thu, 1 Jul 2021 09:43:05 +0000 (11:43 +0200)]
dnsdist: Warn if we could not re-open the LogAction file
Remi Gacogne [Thu, 1 Jul 2021 07:51:44 +0000 (09:51 +0200)]
Merge pull request #10544 from rgacogne/ddist-carbon-tests-slow
dnsdist: Add some leeway for the carbon data to reach the test receiver
Remi Gacogne [Thu, 1 Jul 2021 07:50:55 +0000 (09:50 +0200)]
Merge pull request #10547 from rgacogne/ddist-test-nostale-ttl
dnsdist: Use a 2s TTL in testCacheNoStale to prevent failures
Pieter Lexis [Thu, 1 Jul 2021 07:45:30 +0000 (09:45 +0200)]
Rec: Enable DoT in packages
Closes #10548
Remi Gacogne [Wed, 30 Jun 2021 16:41:01 +0000 (18:41 +0200)]
dnsdist: Use a 2s TTL in testCacheNoStale to prevent failures
With the previous 1s TTL, the entry was only valid for the current
second, but we might have been very near the end of that second
already when inserting. With a 2s TTL (which was apparently intended
anyway) we have a full second before the entry expires.
Remi Gacogne [Wed, 30 Jun 2021 16:26:02 +0000 (18:26 +0200)]
dnsdist: Make the Lua FFI per-thread counters atomic
We should not actually need that since the rules and actions are
either created sequentially at configuration time or via the console
at runtime, which requires holding the global Lua lock.
Still we don't care about performance when creating these objects
so let's just use an atomic counter instead.
Remi Gacogne [Wed, 30 Jun 2021 16:16:36 +0000 (18:16 +0200)]
dnsdist: Only try to execute a faulty Lua FFI per-thread code once
Charles-Henri Bruyand [Wed, 30 Jun 2021 10:03:30 +0000 (12:03 +0200)]
document the two new ffi functions
Charles-Henri Bruyand [Tue, 29 Jun 2021 14:52:29 +0000 (16:52 +0200)]
remove redundant condition