]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoFrom review feedback: only inc s_almost_expired_tasks_run after task has ended withou... 10598/head
Otto [Tue, 17 Aug 2021 10:23:40 +0000 (12:23 +0200)] 
From review feedback: only inc s_almost_expired_tasks_run after task has ended without exceptions
and check for nullptr function in task record.

3 years agoExpose almost-expired metrics
Otto [Tue, 20 Jul 2021 08:47:51 +0000 (10:47 +0200)] 
Expose almost-expired metrics

3 years agoRefactor stats queue, introducing a pointor to a function that does the work
Otto [Tue, 20 Jul 2021 07:33:17 +0000 (09:33 +0200)] 
Refactor stats queue, introducing a pointor to a function that does the work
(pointing to a resolve function) and almost-expired specific stats.

3 years agoMerge pull request #10546 from omoerbeek/rec-dns64-metrics
Otto Moerbeek [Tue, 17 Aug 2021 09:43:14 +0000 (11:43 +0200)] 
Merge pull request #10546 from omoerbeek/rec-dns64-metrics

rec: Add dns64 metrics

3 years agoMerge pull request #10602 from omoerbeek/rec-drop-after-preresolve
Otto Moerbeek [Tue, 17 Aug 2021 07:42:10 +0000 (09:42 +0200)] 
Merge pull request #10602 from omoerbeek/rec-drop-after-preresolve

rec: Process policy and potential Drop action after Lua hooks

3 years agoMerge pull request #10647 from rgacogne/decaf-polymorphic-exception
Remi Gacogne [Tue, 17 Aug 2021 07:37:34 +0000 (09:37 +0200)] 
Merge pull request #10647 from rgacogne/decaf-polymorphic-exception

Fix a warning about catching a polymorphic exception type by value

3 years agoFix a warning about catching a polymorphic exception type by value 10647/head
Remi Gacogne [Mon, 16 Aug 2021 08:01:04 +0000 (10:01 +0200)] 
Fix a warning about catching a polymorphic exception type by value

```
decafsigners.cc: In member function ‘virtual bool DecafED25519DNSCryptoKeyEngine::verify(const string&, const string&) const’:
decafsigners.cc:140:11: warning: catching polymorphic type ‘class decaf::CryptoException’ by value [-Wcatch-value=]
  140 |   } catch(CryptoException) {
      |           ^~~~~~~~~~~~~~~
decafsigners.cc: In member function ‘virtual bool DecafED448DNSCryptoKeyEngine::verify(const string&, const string&) const’:
decafsigners.cc:276:11: warning: catching polymorphic type ‘class decaf::CryptoException’ by value [-Wcatch-value=]
  276 |   } catch(CryptoException) {
      |           ^~~~~~~~~~~~~~~
```

3 years agoMerge pull request #10640 from Habbie/dnsdist-docs-grepq
Remi Gacogne [Mon, 16 Aug 2021 07:03:36 +0000 (09:03 +0200)] 
Merge pull request #10640 from Habbie/dnsdist-docs-grepq

dnsdist docs: clarify grepq num parameter

3 years agoMerge pull request #10642 from Habbie/checkkey-null-error
Peter van Dijk [Tue, 10 Aug 2021 13:18:45 +0000 (15:18 +0200)] 
Merge pull request #10642 from Habbie/checkkey-null-error

checkKey: handle NULL error string from OpenSSL more gracefully

3 years agocheckKey: handle NULL error string from OpenSSL more gracefully 10642/head
Peter van Dijk [Tue, 10 Aug 2021 11:56:25 +0000 (13:56 +0200)] 
checkKey: handle NULL error string from OpenSSL more gracefully

fixes #10641

3 years agoMerge pull request #10639 from omoerbeek/rec-tfo-update
Otto Moerbeek [Tue, 10 Aug 2021 09:49:06 +0000 (11:49 +0200)] 
Merge pull request #10639 from omoerbeek/rec-tfo-update

rec: Google is working to fix their TFO issues on their DNS servers

3 years agodnsdist docs: clarify grepq num parameter 10640/head
Peter van Dijk [Tue, 10 Aug 2021 07:52:47 +0000 (09:52 +0200)] 
dnsdist docs: clarify grepq num parameter

3 years agoGoogle is working to fix their TFO issues on their DNS servers 10639/head
Otto [Tue, 10 Aug 2021 07:22:52 +0000 (09:22 +0200)] 
Google is working to fix their TFO issues on their DNS servers

3 years agoMerge pull request #10627 from omoerbeek/rec-policy-rm-race
Otto Moerbeek [Mon, 9 Aug 2021 06:19:43 +0000 (08:19 +0200)] 
Merge pull request #10627 from omoerbeek/rec-policy-rm-race

rec: Check in more places if the policy has been updated before using or modifying it.

3 years agoHandle policy hit after nodata nxdomain Lua hooks and add 10602/head
Otto [Fri, 6 Aug 2021 10:08:24 +0000 (12:08 +0200)] 
Handle policy hit after nodata nxdomain Lua hooks and add
regression test for those two and the preresolve case.

3 years agoMerge pull request #10634 from omoerbeek/rec-macos-kqueue-and-fixes
Otto Moerbeek [Fri, 6 Aug 2021 09:42:57 +0000 (11:42 +0200)] 
Merge pull request #10634 from omoerbeek/rec-macos-kqueue-and-fixes

Move MacOS to kqueue and assorted compile fixes

3 years agoMove MacOS to kqueue and assorted compile fixes 10634/head
Otto [Fri, 6 Aug 2021 08:26:41 +0000 (10:26 +0200)] 
Move MacOS to kqueue and assorted compile fixes

4 years agoMerge pull request #10626 from aj-gh/doc-dnsdist-setecsoverride
Remi Gacogne [Thu, 5 Aug 2021 06:47:54 +0000 (08:47 +0200)] 
Merge pull request #10626 from aj-gh/doc-dnsdist-setecsoverride

dnsdist: Document that setECSOverride has its drawbacks

4 years agoMerge pull request #10623 from omoerbeek/rec-tcp-states
Otto Moerbeek [Tue, 3 Aug 2021 11:48:49 +0000 (13:48 +0200)] 
Merge pull request #10623 from omoerbeek/rec-tcp-states

Rec: make all PacketIDs shared_ptr

4 years agoAdd test case and comments 10623/head
Otto [Tue, 3 Aug 2021 08:32:57 +0000 (10:32 +0200)] 
Add test case and comments

4 years agodnsdist: Document that setECSOverride has drawbacks under certain conditions. 10626/head
Andreas Jakum [Tue, 3 Aug 2021 07:56:50 +0000 (09:56 +0200)] 
dnsdist: Document that setECSOverride has drawbacks under certain conditions.

4 years agoMerge pull request #10601 from steffann/master
Remi Gacogne [Tue, 3 Aug 2021 07:42:42 +0000 (09:42 +0200)] 
Merge pull request #10601 from steffann/master

Document setTag(Response)Action behaviour

4 years agoCheck in more places if the config policy has been updated before 10627/head
Otto [Tue, 3 Aug 2021 07:08:09 +0000 (09:08 +0200)] 
Check in more places if the config policy has been updated before
using or modifying it.

4 years agoUse explicit PacketIDCompare
Otto [Mon, 2 Aug 2021 12:15:53 +0000 (14:15 +0200)] 
Use explicit PacketIDCompare

4 years agoWhen using equal_range with a different compare function than the one used by the...
Otto [Mon, 2 Aug 2021 07:50:10 +0000 (09:50 +0200)] 
When using equal_range with a different compare function than the one used by the index, it
should be consistent with the way the index is ordered.

In particular PacketIDBirthdayCompare did not agree with operator< for PacketIDs

4 years agoMove to a shared PacketID
Otto [Tue, 27 Jul 2021 12:29:23 +0000 (14:29 +0200)] 
Move to a shared PacketID

There is an issue with equal_range() in asendto() that I fixed with an extra
test for the moment.

4 years agoAdd FD to TCPLOG lines
Otto [Tue, 27 Jul 2021 07:57:16 +0000 (09:57 +0200)] 
Add FD to TCPLOG lines

4 years agoMerge pull request #10525 from rgacogne/ddist-lmdb-range
Remi Gacogne [Sun, 1 Aug 2021 15:19:14 +0000 (17:19 +0200)] 
Merge pull request #10525 from rgacogne/ddist-lmdb-range

dnsdist: Add support for range-based lookups into a Key-Value store

4 years agoMerge pull request #10616 from omoerbeek/rec-prep-4.4.5-and-4.5.5
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

4 years agoMerge pull request #10572 from pieterlexis/dockerignore
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

4 years agoMerge pull request #10607 from peterthomassen/patch-3
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

4 years agoMerge pull request #10610 from Habbie/auth-4.5-eol-update
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

4 years agoMerge pull request #10613 from Habbie/responsestats-type65535
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

4 years agoMerge pull request #10595 from Habbie/auth45-upgradenotes-zonecache
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

4 years agoPrep for rec-4.4.5 and rec-4.5.5 10616/head
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

4 years agoMerge pull request #10587 from rgacogne/rec-aggressive-nsec3-ancestor
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

4 years agoMerge pull request #10570 from rgacogne/rec-hunt-cuts-on-bogus
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

4 years agoMerge pull request #10565 from Habbie/rec-non-apex-dnskey
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

4 years agoauth 4.5.1 changelog: fix PR number 10613/head
Peter van Dijk [Mon, 26 Jul 2021 12:58:42 +0000 (14:58 +0200)] 
auth 4.5.1 changelog: fix PR number

4 years agocorrect upper bounds on d_qtypecounters
Peter van Dijk [Thu, 15 Jul 2021 13:47:18 +0000 (15:47 +0200)] 
correct upper bounds on d_qtypecounters

4 years agoMerge pull request #10612 from Habbie/auth-sec-2021-01
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

4 years agoauth-4.5.1: advisory, changelog, secpoll 10612/head
Peter van Dijk [Fri, 23 Jul 2021 10:35:25 +0000 (12:35 +0200)] 
auth-4.5.1: advisory, changelog, secpoll

4 years agoauth: EOL update after 4.5 release 10610/head
Peter van Dijk [Thu, 22 Jul 2021 08:03:10 +0000 (10:03 +0200)] 
auth: EOL update after 4.5 release

4 years agoauth 4.5 upgrade notes and settings: more words on the zone cache 10595/head
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

4 years agoDocument RFC 6742 types 10607/head
Peter Thomassen [Wed, 21 Jul 2021 19:17:14 +0000 (21:17 +0200)] 
Document RFC 6742 types

4 years agoProcess potential Drop action after preresolve Lua hook.
Otto [Tue, 20 Jul 2021 12:10:18 +0000 (14:10 +0200)] 
Process potential Drop action after preresolve Lua hook.

4 years ago Document setTag(Array) behaviour 10601/head
Sander Steffann [Tue, 20 Jul 2021 11:02:41 +0000 (13:02 +0200)] 
 Document setTag(Array) behaviour

Explicitly document that setTag and setTagArray do not overwrite existing tag values.

4 years agoDocument setTag(Response)Action behaviour
Sander Steffann [Tue, 20 Jul 2021 10:50:19 +0000 (12:50 +0200)] 
Document setTag(Response)Action behaviour

Explicitly document that setTagAction and setTagResponseAction do not overwrite existing tag values.

4 years agodnsdist: Document that range-based lookups expect addresses in network byte order 10525/head
Remi Gacogne [Fri, 9 Jul 2021 12:21:04 +0000 (14:21 +0200)] 
dnsdist: Document that range-based lookups expect addresses in network byte order

Also document that tags are always created on a lookup, even when the
key does not exist. It's a bit weird but we should probably not change
that right now.

4 years agodnsdist: Add support for range-based lookups into a Key-Value store
Remi Gacogne [Thu, 24 Jun 2021 16:07:00 +0000 (18:07 +0200)] 
dnsdist: Add support for range-based lookups into a Key-Value store

This feature allows doing a range-based lookup (mostly useful for IP addresses), assuming that:
- there is a key for the last element of the range (2001:0db8:ffff:ffff:ffff:ffff:ffff:ffff for 2001:db8::/32)
which contains the first element of the range (2001:0db8:0000:0000:0000:0000:0000:0000) followed by any data in the value
- AND there is no overlapping ranges in the database !!

This requires that the underlying store supports ordered keys, which is true for LMDB but not for CDB, for example.

4 years agoMerge pull request #10520 from rgacogne/ddist-kvs-lmdb-dbi
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

4 years agoMerge pull request #10501 from rgacogne/ddist-per-thread-lua-ffi
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

4 years agorec: Fix wrong comments in the Aggressive NSEC cache unit tests 10587/head
Remi Gacogne [Mon, 19 Jul 2021 14:41:27 +0000 (16:41 +0200)] 
rec: Fix wrong comments in the Aggressive NSEC cache unit tests

4 years agoMerge pull request #10571 from Habbie/rec-warnings
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

4 years agoMerge branch 'master' into rec-warnings 10571/head
Otto Moerbeek [Mon, 19 Jul 2021 09:07:47 +0000 (11:07 +0200)] 
Merge branch 'master' into rec-warnings

4 years agorec: Fix formatting in test-aggressive_nsec_cc.cc
Remi Gacogne [Fri, 16 Jul 2021 08:09:03 +0000 (10:09 +0200)] 
rec: Fix formatting in test-aggressive_nsec_cc.cc

4 years agoMerge pull request #10588 from jsoref/master-spelling-0.0.19
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

4 years agorec: The root denies its own DS with a NSEC(3)s from the child zone
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

4 years agorec: Check that NSEC(3)s from the child zone are not used to deny the DS
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

4 years agorec: Fix the NSEC3 ancestor check for DS in the aggressive cache
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

4 years agorec: Ancestor NSEC3s can only deny the existence of a DS
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.

4 years agoMerge pull request #10581 from Habbie/auth-4.5.0-secpoll-docs
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

4 years agoUpgrade check-spelling to v0.0.19 10588/head
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>
4 years agoMerge pull request #10583 from Habbie/mibs-local-range
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

4 years agoSNMP: allocate local-use ranges for traps and trapObjects 10583/head
Peter van Dijk [Mon, 12 Jul 2021 12:18:15 +0000 (14:18 +0200)] 
SNMP: allocate local-use ranges for traps and trapObjects

4 years agoauth-4.5.0: secpoll and docs 10581/head
Peter van Dijk [Mon, 12 Jul 2021 10:43:35 +0000 (12:43 +0200)] 
auth-4.5.0: secpoll and docs

4 years agoMerge pull request #10487 from Habbie/docs-texlive
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

4 years agoMerge pull request #10568 from Habbie/auth-bind-no-sqlite3
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

4 years agoMerge pull request #10578 from natesales/natesales/fix-dnsdist-docs
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

4 years agofix: dnsdist docs quickstart typo 10578/head
Nate Sales [Mon, 12 Jul 2021 01:47:09 +0000 (18:47 -0700)] 
fix: dnsdist docs quickstart typo

4 years agoMerge pull request #10576 from omoerbeek/log-qtype-tostring
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

4 years agoZap a few redundant toString() method call for logging qtype names 10576/head
Otto [Fri, 9 Jul 2021 13:14:47 +0000 (15:14 +0200)] 
Zap a few redundant toString() method call for logging qtype names

4 years agoMerge pull request #10496 from tacerus/master
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"

4 years agoMerge pull request #10557 from rgacogne/ddist-doc-ebpf
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)

4 years agodnsdist: Document what is available from per-thread Lua FFI contexts 10501/head
Remi Gacogne [Fri, 9 Jul 2021 07:51:28 +0000 (09:51 +0200)] 
dnsdist: Document what is available from per-thread Lua FFI contexts

4 years agodnsdist: Constify some members for Lua FFI rule
Remi Gacogne [Fri, 9 Jul 2021 07:40:17 +0000 (09:40 +0200)] 
dnsdist: Constify some members for Lua FFI rule

4 years agodnsdist: Constify some members for Lua FFI action and rule
Remi Gacogne [Fri, 9 Jul 2021 07:38:33 +0000 (09:38 +0200)] 
dnsdist: Constify some members for Lua FFI action and rule

4 years agoMerge pull request #10527 from rgacogne/ddist-log-reload
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

4 years agoMerge pull request #10537 from rgacogne/ddist-exact-protocol-in-dq
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

4 years agoMerge pull request #10550 from rgacogne/ddist-doh-load-new-certs-keys
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()

4 years agoMerge pull request #10560 from rgacogne/ddist-pool-metrics
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

4 years agodnsdist: Document how raising LimitMEMLOCK might be needed for eBPF 10557/head
Remi Gacogne [Wed, 7 Jul 2021 10:04:24 +0000 (12:04 +0200)] 
dnsdist: Document how raising LimitMEMLOCK might be needed for eBPF

4 years agorec: Add a 'checking for missed cuts' loop unit test 10570/head
Remi Gacogne [Wed, 7 Jul 2021 09:56:13 +0000 (11:56 +0200)] 
rec: Add a 'checking for missed cuts' loop unit test

4 years agorec: Avoid a loop when checking if we missed a cut
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.

4 years agorec: do not use DNSKEYs found below an apex for validation, also from cache 10565/head
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

4 years agodocker: ignore compiled files 10572/head
Pieter Lexis [Tue, 6 Jul 2021 13:35:19 +0000 (15:35 +0200)] 
docker: ignore compiled files

4 years agorec: move ifdef-dependent vars to inside the ifdef
Peter van Dijk [Tue, 6 Jul 2021 13:23:13 +0000 (15:23 +0200)] 
rec: move  ifdef-dependent vars to inside the ifdef

4 years agorec: Add unit tests for signed, broken but insecure zones
Remi Gacogne [Tue, 6 Jul 2021 10:18:15 +0000 (12:18 +0200)] 
rec: Add unit tests for signed, broken but insecure zones

4 years agorec: Make really sure we did not miss a cut on validation failure
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

4 years agorec: silence spurious compiler warning about possibly uninited var
Peter van Dijk [Tue, 6 Jul 2021 12:46:45 +0000 (14:46 +0200)] 
rec: silence spurious compiler warning about possibly uninited var

4 years agoauth: allow building bindbackend without sqlite3 10568/head
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

4 years agoMerge pull request #10563 from Habbie/auth-4.5.0-rc2-secpoll-docs
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

4 years agorec: Fix NSEC3 next owner in SyncRes unit tests
Remi Gacogne [Mon, 5 Jul 2021 16:00:37 +0000 (18:00 +0200)] 
rec: Fix NSEC3 next owner in SyncRes unit tests

4 years agorec: do not use DNSKEYs found below an apex for validation
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

4 years agoMerge pull request #10555 from rgacogne/rec-unscrew-missing-aa
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

4 years agoMerge pull request #10556 from pieterlexis/10548-tls-in-rec-pkgs
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

4 years agoauth-4.5.0-rc2: docs and secpoll 10563/head
Peter van Dijk [Mon, 5 Jul 2021 09:43:04 +0000 (11:43 +0200)] 
auth-4.5.0-rc2: docs and secpoll

4 years agoMerge pull request #10491 from chbruyand/key-values-metadata
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

4 years agoMerge pull request #10545 from Habbie/nsec3-debugging
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

4 years agodnsdist: Implement a web endpoint to get metrics for only one pool 10560/head
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