]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agorec: Add a test for 'denial of the DS comes from the child zone' loop 10622/head
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

4 years agorec: Detect a loop when the denial of the DS comes from the child zone
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

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 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

4 years agodnsdist: Fix a typo in the out-of-order documentation
Remi Gacogne [Fri, 2 Jul 2021 13:15:46 +0000 (15:15 +0200)] 
dnsdist: Fix a typo in the out-of-order documentation

4 years agodnsdist: Fix the documentation for setDropEmptyQueries()
Remi Gacogne [Fri, 2 Jul 2021 13:15:14 +0000 (15:15 +0200)] 
dnsdist: Fix the documentation for setDropEmptyQueries()

4 years agodnsdist: Document that some capabilities are needed for eBPF
Remi Gacogne [Fri, 2 Jul 2021 13:14:55 +0000 (15:14 +0200)] 
dnsdist: Document that some capabilities are needed for eBPF

4 years agodnsdist: Add a UDP vs TCP packet cache unit test 10537/head
Remi Gacogne [Fri, 2 Jul 2021 13:12:53 +0000 (15:12 +0200)] 
dnsdist: Add a UDP vs TCP packet cache unit test

4 years agodnsdist: Make the protocol const, simplify the TCP/UDP check
Remi Gacogne [Fri, 2 Jul 2021 13:11:40 +0000 (15:11 +0200)] 
dnsdist: Make the protocol const, simplify the TCP/UDP check

4 years agoFix versionadded in documentation 10491/head
Charles-Henri Bruyand [Fri, 2 Jul 2021 12:39:02 +0000 (14:39 +0200)] 
Fix versionadded in documentation

4 years agoMerge pull request #10553 from Habbie/rec-dot-nits
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

4 years agorec: Add a unit test checking that DNSSEC validation is done for AA=0 answers 10555/head
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

4 years agorec: Work around clueless servers sending 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

4 years agoMerge pull request #10539 from omoerbeek/rec-prep-4.5.3
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

4 years agorec docs: fix warnings 10553/head
Peter van Dijk [Thu, 1 Jul 2021 21:05:56 +0000 (23:05 +0200)] 
rec docs: fix warnings

4 years agoremove DNS_OVER_TLS guard around applying the dot-to-port-853 setting
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`

4 years agoemit error when dot-to-auth-names is set without DoT support
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

4 years agotoTimestampStringMilli is only called from inside this file, make it static
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

4 years agoMerge pull request #10549 from Habbie/bind-cache-nsec3param
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

4 years agobindbackend: purge caches on zone reload 10549/head
Peter van Dijk [Thu, 1 Jul 2021 10:45:10 +0000 (12:45 +0200)] 
bindbackend: purge caches on zone reload

4 years agopdnsutil: add reload notes for bindbackend
Peter van Dijk [Thu, 1 Jul 2021 10:15:25 +0000 (12:15 +0200)] 
pdnsutil: add reload notes for bindbackend

4 years agoauth bindbackend: store nsec3 settings at zone load
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

4 years agoMerge pull request #10535 from RobinGeuze/fixUeberBackendAddCacheBug
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

4 years agoMerge pull request #10530 from ZaphodB/ZaphodB-patch-1
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

4 years agodnsdist: Add the missing DOHFronted::loadNewCertificatesAndKeys() 10550/head
Remi Gacogne [Thu, 1 Jul 2021 11:54:29 +0000 (13:54 +0200)] 
dnsdist: Add the missing DOHFronted::loadNewCertificatesAndKeys()

4 years agodnsdist: Warn if we could not re-open the LogResponseAction file 10527/head
Remi Gacogne [Thu, 1 Jul 2021 10:03:01 +0000 (12:03 +0200)] 
dnsdist: Warn if we could not re-open the LogResponseAction file

4 years agodnsdist: Warn if we could not re-open the LogAction 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

4 years agoMerge pull request #10544 from rgacogne/ddist-carbon-tests-slow
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

4 years agoMerge pull request #10547 from rgacogne/ddist-test-nostale-ttl
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

4 years agoRec: Enable DoT in packages 10556/head
Pieter Lexis [Thu, 1 Jul 2021 07:45:30 +0000 (09:45 +0200)] 
Rec: Enable DoT in packages

Closes #10548

4 years agodnsdist: Use a 2s TTL in testCacheNoStale to prevent failures 10547/head
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.

4 years agodnsdist: Make the Lua FFI per-thread counters atomic
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.

4 years agodnsdist: Only try to execute a faulty Lua FFI per-thread code once
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

4 years agodocument the two new ffi functions
Charles-Henri Bruyand [Wed, 30 Jun 2021 10:03:30 +0000 (12:03 +0200)] 
document the two new ffi functions

4 years agoremove redundant condition
Charles-Henri Bruyand [Tue, 29 Jun 2021 14:52:29 +0000 (16:52 +0200)] 
remove redundant condition