]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agorec: Fix a typo in the prometheus "edns-ping-mismatches" metric 10445/head
Remi Gacogne [Wed, 26 May 2021 08:59:50 +0000 (10:59 +0200)] 
rec: Fix a typo in the prometheus "edns-ping-mismatches" metric

4 years agoMerge pull request #10326 from omoerbeek/docs-year
Otto Moerbeek [Tue, 25 May 2021 13:42:10 +0000 (15:42 +0200)] 
Merge pull request #10326 from omoerbeek/docs-year

docs: Determine copyright upper bound year by code

4 years agoMerge pull request #10304 from Habbie/auth-faq-protectsystem
Pieter Lexis [Tue, 25 May 2021 13:40:52 +0000 (15:40 +0200)] 
Merge pull request #10304 from Habbie/auth-faq-protectsystem

auth faq: document a ProtectSystem=full implication

4 years agoMerge pull request #10432 from mind04/pdns-zonecache auth-4.5.0-alpha1
Peter van Dijk [Tue, 25 May 2021 10:05:31 +0000 (12:05 +0200)] 
Merge pull request #10432 from mind04/pdns-zonecache

auth: zone-cache improvements

4 years agoMerge pull request #10430 from mind04/pdns-wording
Peter van Dijk [Fri, 21 May 2021 17:00:46 +0000 (19:00 +0200)] 
Merge pull request #10430 from mind04/pdns-wording

auth: use primary and secondary for pdnsutil and pdns_control commands

4 years agoauth: replace or insert newly created zones in the zone cache 10432/head
Kees Monshouwer [Thu, 20 May 2021 14:17:13 +0000 (16:17 +0200)] 
auth: replace or insert newly created zones in the zone cache

4 years agoauth: add new autosecondary domains to the zone cache
Kees Monshouwer [Thu, 20 May 2021 13:17:40 +0000 (15:17 +0200)] 
auth: add new autosecondary domains to the zone cache

4 years agoauth: update pdnsutil help message 10430/head
Kees Monshouwer [Wed, 19 May 2021 19:04:52 +0000 (21:04 +0200)] 
auth: update pdnsutil help message

4 years agoauth: use primary/seconday in pddns_control and s/zone/domain
Kees Monshouwer [Tue, 18 May 2021 19:19:13 +0000 (21:19 +0200)] 
auth: use primary/seconday in pddns_control and s/zone/domain

4 years agoauth: use primary/seconday in pdnsutil
Kees Monshouwer [Tue, 18 May 2021 19:02:49 +0000 (21:02 +0200)] 
auth: use primary/seconday in pdnsutil

4 years agoMerge pull request #10399 from mind04/pdns-recheck
Peter van Dijk [Thu, 20 May 2021 12:35:09 +0000 (14:35 +0200)] 
Merge pull request #10399 from mind04/pdns-recheck

auth: make sure we recheck failed SOA lookups for notifies

4 years agoMerge pull request #10429 from rgacogne/loop-warnings
Remi Gacogne [Thu, 20 May 2021 05:15:56 +0000 (07:15 +0200)] 
Merge pull request #10429 from rgacogne/loop-warnings

Fix 'temporary used in loop' warnings reported by g++ 11.1.0

4 years agoauth: Fix a 'temporary used in loop' warning reported by g++ 11.1.0 10429/head
Remi Gacogne [Wed, 19 May 2021 17:44:12 +0000 (19:44 +0200)] 
auth: Fix a 'temporary used in loop' warning reported by g++ 11.1.0

```
common_startup.cc: In function ‘void mainthread()’:
common_startup.cc:617:24: warning: loop variable ‘algotype’ of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct]
  617 |     for (const string& algotype : {"ksk", "zsk"}) {
      |                        ^~~~~~~~
common_startup.cc:617:24: note: use non-reference type ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to make the copy explicit or ‘const char* const&’ to prevent copying
```

4 years agotest-dnsname_cc.cc: Fix a 'temporary used in loop' warning reported by g++ 11.1.0
Remi Gacogne [Wed, 19 May 2021 17:23:24 +0000 (19:23 +0200)] 
test-dnsname_cc.cc: Fix a 'temporary used in loop' warning reported by g++ 11.1.0

```
test-dnsname_cc.cc: In member function ‘void test_dnsname_cc::test_compare_canonical::test_method()’:
test-dnsname_cc.cc:684:26: warning: loop variable ‘b’ of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} binds to a temporary constructed from type ‘const char* const’ [-Wrange-loop-construct]
  684 |   for(const std::string& b : {"bert.com.", "alpha.nl.", "articles.xxx.",
      |                          ^
test-dnsname_cc.cc:684:26: note: use non-reference type ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to make the copy explicit or ‘const char* const&’ to prevent copying
```

4 years agoMerge pull request #10421 from mind04/pdns-list-zones
Peter van Dijk [Wed, 19 May 2021 16:38:35 +0000 (18:38 +0200)] 
Merge pull request #10421 from mind04/pdns-list-zones

auth: add an option to in/exclude disabled zones in the pdnsutil list-all-zone and list-keys output.

4 years agoMerge pull request #10260 from mind04/pdns-nsec3param
Peter van Dijk [Wed, 19 May 2021 15:59:51 +0000 (17:59 +0200)] 
Merge pull request #10260 from mind04/pdns-nsec3param

auth: lower max-nsec3-iterations to 100

4 years agoauth: pdnsutil, use cmds.at() 10421/head
Kees Monshouwer [Wed, 19 May 2021 15:02:25 +0000 (17:02 +0200)] 
auth: pdnsutil, use cmds.at()

4 years agoauth: optionally include disabled or empty zones in the pdnsutil list-all-zone and...
Kees Monshouwer [Thu, 4 Mar 2021 15:27:53 +0000 (16:27 +0100)] 
auth: optionally include disabled or empty zones in the pdnsutil list-all-zone and list-keys output

4 years agoauth: lower max-nsec3-iterations to 100 10260/head
Kees Monshouwer [Thu, 1 Apr 2021 18:03:28 +0000 (20:03 +0200)] 
auth: lower max-nsec3-iterations to 100

4 years agoMerge pull request #10424 from mind04/pdns-domain2zone
Peter van Dijk [Wed, 19 May 2021 14:06:29 +0000 (16:06 +0200)] 
Merge pull request #10424 from mind04/pdns-domain2zone

auth: replace domain-metadata-cache-ttl by zone-metadata-cache-ttl

4 years agoauth: change domain to zone round 1 10424/head
Kees Monshouwer [Tue, 18 May 2021 16:55:44 +0000 (18:55 +0200)] 
auth: change domain to zone round 1

4 years agoauth: replace domain-metadata-cache-ttl by zone-metadata-cache-ttl
Kees Monshouwer [Tue, 18 May 2021 16:44:20 +0000 (18:44 +0200)] 
auth: replace domain-metadata-cache-ttl by zone-metadata-cache-ttl

4 years agoMerge pull request #9464 from zeha/zonecache
Peter van Dijk [Wed, 19 May 2021 10:52:54 +0000 (12:52 +0200)] 
Merge pull request #9464 from zeha/zonecache

auth: cache list of all domains

4 years agotest zone-cache in gsqlite3 master and slave, with low TTL for more intensive testing 9464/head
Peter van Dijk [Wed, 19 May 2021 09:15:21 +0000 (11:15 +0200)] 
test zone-cache in gsqlite3 master and slave, with low TTL for more intensive testing

4 years agoMerge pull request #10349 from omoerbeek/rec-tcpiohandler
Otto Moerbeek [Wed, 19 May 2021 08:35:53 +0000 (10:35 +0200)] 
Merge pull request #10349 from omoerbeek/rec-tcpiohandler

rec: move to tcpiohandler for outgoing TCP

4 years agoMerge pull request #10420 from omoerbeek/rec-nod-no-qm
Otto Moerbeek [Wed, 19 May 2021 08:34:49 +0000 (10:34 +0200)] 
Merge pull request #10420 from omoerbeek/rec-nod-no-qm

rec: For the NOD lookup case, we don't want QName Minimization.

4 years agoMerge pull request #10381 from rgacogne/ddist-better-padding
Remi Gacogne [Wed, 19 May 2021 07:21:31 +0000 (09:21 +0200)] 
Merge pull request #10381 from rgacogne/ddist-better-padding

dnsdist: Reorganize the IDState and Rings fields

4 years agoRename domaincache to zonecache, also ttl to refreshinterval
Chris Hofstaedtler [Tue, 18 May 2021 19:18:56 +0000 (21:18 +0200)] 
Rename domaincache to zonecache, also ttl to refreshinterval

4 years agoMerge pull request #10282 from omoerbeek/qtype-tostring dnsdist-1.7.0-alpha0
Otto Moerbeek [Tue, 18 May 2021 16:57:15 +0000 (18:57 +0200)] 
Merge pull request #10282 from omoerbeek/qtype-tostring

Rename QType.getName() to QType.toString()

4 years agoRename QType.getName() to QType.toString() 10282/head
Otto [Fri, 9 Apr 2021 12:46:26 +0000 (14:46 +0200)] 
Rename QType.getName() to QType.toString()

4 years agoMerge pull request #10401 from mind04/consistent
Peter van Dijk [Tue, 18 May 2021 15:41:04 +0000 (17:41 +0200)] 
Merge pull request #10401 from mind04/consistent

auth: change the consistent-backends default to 'yes'

4 years agoFor the NOD lookup case, we don't want QName Minimization. 10420/head
Otto [Tue, 18 May 2021 13:40:44 +0000 (15:40 +0200)] 
For the NOD lookup case, we don't want QName Minimization.

4 years agoueberbackend: include disabled domains in cache
Chris Hofstaedtler [Tue, 18 May 2021 12:11:59 +0000 (14:11 +0200)] 
ueberbackend: include disabled domains in cache

4 years agoAdd (domain-)cache-ttl to gsqlite3-master CI
Chris Hofstaedtler [Tue, 18 May 2021 12:10:38 +0000 (14:10 +0200)] 
Add (domain-)cache-ttl to gsqlite3-master CI

4 years agoauth: change the consistent-backends default to 'yes' 10401/head
Kees Monshouwer [Wed, 12 May 2021 23:18:41 +0000 (01:18 +0200)] 
auth: change the consistent-backends default to 'yes'

4 years agoTreat vanished domains like they were never in the cache
Chris Hofstaedtler [Tue, 18 May 2021 07:56:21 +0000 (09:56 +0200)] 
Treat vanished domains like they were never in the cache

4 years agoMerge pull request #10400 from mind04/headers
Peter van Dijk [Mon, 17 May 2021 09:56:56 +0000 (11:56 +0200)] 
Merge pull request #10400 from mind04/headers

add missing includes (Fedora 34, gcc 11.1 / clang 12)

4 years agogetAuth: abort if backend returned wrong SOA for cached domain
Chris Hofstaedtler [Sat, 15 May 2021 22:10:59 +0000 (00:10 +0200)] 
getAuth: abort if backend returned wrong SOA for cached domain

4 years agogetAuth: avoid throwing when no SOA is returned for cached domain
Chris Hofstaedtler [Sat, 15 May 2021 22:10:42 +0000 (00:10 +0200)] 
getAuth: avoid throwing when no SOA is returned for cached domain

4 years agoauth-domaincache: use info-zone-query for inserted zone id
Chris Hofstaedtler [Mon, 10 May 2021 08:28:35 +0000 (10:28 +0200)] 
auth-domaincache: use info-zone-query for inserted zone id

Also apply "RETURNING id" optimization for postgresql.

4 years agolmdbbackend/createDomain: reuse RW transaction
Chris Hofstaedtler [Mon, 10 May 2021 15:29:42 +0000 (17:29 +0200)] 
lmdbbackend/createDomain: reuse RW transaction

4 years agoauth-domaincache: apply suggested comment improvement
Chris Hofstaedtler [Wed, 12 May 2021 09:37:28 +0000 (11:37 +0200)] 
auth-domaincache: apply suggested comment improvement

4 years agoApply clang-format
Chris Hofstaedtler [Mon, 10 May 2021 08:31:12 +0000 (10:31 +0200)] 
Apply clang-format

4 years agoauth-domaincache: add "new" headers
Chris Hofstaedtler [Mon, 10 May 2021 08:27:55 +0000 (10:27 +0200)] 
auth-domaincache: add "new" headers

4 years agosetReplacePending: avoid lock
Chris Hofstaedtler [Mon, 10 May 2021 08:16:10 +0000 (10:16 +0200)] 
setReplacePending: avoid lock

4 years agotest-auth-domaincache_cc: check zoneId value explicitly
Chris Hofstaedtler [Mon, 10 May 2021 08:15:33 +0000 (10:15 +0200)] 
test-auth-domaincache_cc: check zoneId value explicitly

4 years agoTidy up style nits
Chris Hofstaedtler [Mon, 10 May 2021 08:12:59 +0000 (10:12 +0200)] 
Tidy up style nits

4 years agodomaincache: preserve domains added while replace data collection was running
Chris Hofstaedtler [Mon, 29 Mar 2021 13:49:39 +0000 (15:49 +0200)] 
domaincache: preserve domains added while replace data collection was running

4 years agoReformat
Chris Hofstaedtler [Mon, 15 Mar 2021 09:05:27 +0000 (10:05 +0100)] 
Reformat

4 years agoRemove unused d_ops
Chris Hofstaedtler [Sun, 14 Mar 2021 21:57:23 +0000 (22:57 +0100)] 
Remove unused d_ops

4 years agoAdd separate auth domain cache test
Chris Hofstaedtler [Mon, 8 Feb 2021 12:51:04 +0000 (13:51 +0100)] 
Add separate auth domain cache test

4 years agoAuthDomainCache: init d_ttl
Chris Hofstaedtler [Mon, 8 Feb 2021 12:34:09 +0000 (13:34 +0100)] 
AuthDomainCache: init d_ttl

4 years agoAuthDomainCache: use std::move
Chris Hofstaedtler [Mon, 8 Feb 2021 12:33:58 +0000 (13:33 +0100)] 
AuthDomainCache: use std::move

4 years agoMove extern AuthDomainCache into auth-domaincache.hh
Chris Hofstaedtler [Mon, 8 Feb 2021 12:33:47 +0000 (13:33 +0100)] 
Move extern AuthDomainCache into auth-domaincache.hh

4 years agoEnable domain cache on gsql tests
Chris Hofstaedtler [Thu, 29 Oct 2020 11:59:02 +0000 (12:59 +0100)] 
Enable domain cache on gsql tests

4 years agoAvoid abort if database server goes away
Chris Hofstaedtler [Thu, 29 Oct 2020 11:54:43 +0000 (12:54 +0100)] 
Avoid abort if database server goes away

4 years agoauth: add a cache of existing domains
Chris Hofstaedtler [Mon, 19 Oct 2020 14:21:17 +0000 (16:21 +0200)] 
auth: add a cache of existing domains

4 years agoadd missing includes (Fedora 34, gcc 11.1 / clang 12) 10400/head
Kees Monshouwer [Tue, 11 May 2021 08:27:01 +0000 (10:27 +0200)] 
add missing includes (Fedora 34, gcc 11.1 / clang 12)

4 years agoMerge pull request #10397 from aj-gh/fixdoc-refreshonttlperc
Otto Moerbeek [Wed, 12 May 2021 14:24:01 +0000 (16:24 +0200)] 
Merge pull request #10397 from aj-gh/fixdoc-refreshonttlperc

Fix docs: refresh-on-ttl-perc was added in 4.5.0

4 years agoFix docs: refresh-on-ttl-perc was added in 4.5.0 10397/head
Andreas Jakum [Wed, 12 May 2021 13:52:07 +0000 (15:52 +0200)] 
Fix docs: refresh-on-ttl-perc was added in 4.5.0

4 years agoMerge pull request #10392 from Habbie/gpgsql-select-returning
Peter van Dijk [Wed, 12 May 2021 11:45:50 +0000 (13:45 +0200)] 
Merge pull request #10392 from Habbie/gpgsql-select-returning

auth gpgsql: use SELECT .. RETURNING to get inserted row ID

4 years agoMerge pull request #10394 from mnordhoff/rec-upgrade
Otto Moerbeek [Wed, 12 May 2021 10:48:29 +0000 (12:48 +0200)] 
Merge pull request #10394 from mnordhoff/rec-upgrade

Combine duplicate sections in Recursor upgrade guide

4 years agopdnsutil add-zone-key: better error formatting 10392/head
Peter van Dijk [Wed, 12 May 2021 10:26:55 +0000 (12:26 +0200)] 
pdnsutil add-zone-key: better error formatting

4 years agoauth gpgsql: use SELECT .. RETURNING to get inserted row ID, fixes #7175
Peter van Dijk [Wed, 12 May 2021 10:26:36 +0000 (12:26 +0200)] 
auth gpgsql: use SELECT .. RETURNING to get inserted row ID, fixes #7175

4 years agoCombine duplicate sections in Recursor upgrade guide. 10394/head
Matt Nordhoff [Wed, 12 May 2021 08:07:01 +0000 (08:07 +0000)] 
Combine duplicate sections in Recursor upgrade guide.

Also use more consistent capitalization and wording.

4 years agoMerge pull request #10389 from Habbie/dockerignore-git
Pieter Lexis [Tue, 11 May 2021 16:11:53 +0000 (18:11 +0200)] 
Merge pull request #10389 from Habbie/dockerignore-git

.dockerignore: do not ignore .git

4 years agoMerge pull request #10391 from omoerbeek/rec-fastopen-docs
Otto Moerbeek [Tue, 11 May 2021 13:25:08 +0000 (15:25 +0200)] 
Merge pull request #10391 from omoerbeek/rec-fastopen-docs

rec: Better wording for fastopen docs.

4 years agoMerge pull request #10350 from rgacogne/rec-duplicate-nsec-wc-proof
Remi Gacogne [Tue, 11 May 2021 12:54:48 +0000 (14:54 +0200)] 
Merge pull request #10350 from rgacogne/rec-duplicate-nsec-wc-proof

rec: Only add the NSEC and RRSIG records once in wildcard NODATA answers

4 years agoBetter wording for fastopen docs. 10391/head
Otto [Tue, 11 May 2021 12:18:58 +0000 (14:18 +0200)] 
Better wording for fastopen docs.

4 years agoMerge pull request #10388 from rgacogne/ddist-document-default-cache-cleaning-delay
Remi Gacogne [Tue, 11 May 2021 12:00:25 +0000 (14:00 +0200)] 
Merge pull request #10388 from rgacogne/ddist-document-default-cache-cleaning-delay

dnsdist: Document the default value of setCacheCleaningDelay()

4 years ago.dockerignore: do not ignore .git 10389/head
Peter van Dijk [Tue, 11 May 2021 10:27:33 +0000 (12:27 +0200)] 
.dockerignore: do not ignore .git

because we ignore **/*.1 to not drag built manpages into the docker
context - but this also prevents any tags ending in .1 (like rec-4.5.1)
from being built

4 years agodnsdist: Document the default value of setCacheCleaningDelay() 10388/head
Remi Gacogne [Tue, 11 May 2021 10:01:52 +0000 (12:01 +0200)] 
dnsdist: Document the default value of setCacheCleaningDelay()

4 years agoMerge pull request #10368 from omoerbeek/rec-prep-4.5.0
Otto Moerbeek [Tue, 11 May 2021 09:30:54 +0000 (11:30 +0200)] 
Merge pull request #10368 from omoerbeek/rec-prep-4.5.0

rec: Prep rec-4.5.1

4 years agoRebase after secpoll update 10368/head
Otto [Tue, 11 May 2021 08:07:00 +0000 (10:07 +0200)] 
Rebase after secpoll update

4 years agoIt's going to be 4.5.1
Otto [Mon, 10 May 2021 10:38:46 +0000 (12:38 +0200)] 
It's going to be 4.5.1

4 years agoUpdate pdns/recursordist/docs/appendices/EOL.rst
Otto Moerbeek [Fri, 7 May 2021 14:52:46 +0000 (16:52 +0200)] 
Update pdns/recursordist/docs/appendices/EOL.rst

Co-authored-by: Pieter Lexis <pieter@plexis.eu>
4 years agoPrep rec-4.5.0
Otto [Fri, 7 May 2021 07:32:04 +0000 (09:32 +0200)] 
Prep rec-4.5.0

4 years agoMerge pull request #10374 from rgacogne/ddist160-changelog
Remi Gacogne [Tue, 11 May 2021 08:00:36 +0000 (10:00 +0200)] 
Merge pull request #10374 from rgacogne/ddist160-changelog

dnsdist: Changelog and secpoll update for 1.6.0

4 years agodnsdist: Changelog and secpoll update for 1.6.0 10374/head
Remi Gacogne [Mon, 10 May 2021 08:18:53 +0000 (10:18 +0200)] 
dnsdist: Changelog and secpoll update for 1.6.0

4 years agodnsdist: Add a few words about memory consumption in the documentation 10381/head
Remi Gacogne [Mon, 10 May 2021 14:03:52 +0000 (16:03 +0200)] 
dnsdist: Add a few words about memory consumption in the documentation

4 years agodnsdist: Reorganize the IDState and Rings fields
Remi Gacogne [Mon, 10 May 2021 13:53:56 +0000 (15:53 +0200)] 
dnsdist: Reorganize the IDState and Rings fields

Reducing the space lost to padding and thus the memory usage. This
change saves 1 MB of memory per downstream server in the default
configuration, and around 8 bytes per entry in the ring buffer.

4 years agoMerge pull request #10379 from rgacogne/ddist-fix-changelog
Remi Gacogne [Mon, 10 May 2021 12:12:08 +0000 (14:12 +0200)] 
Merge pull request #10379 from rgacogne/ddist-fix-changelog

dnsdist: Fix a typo in the ChangeLog header for 1.5.2

4 years agodnsdist: Fix a typo in the ChangeLog header for 1.5.2 10379/head
Remi Gacogne [Mon, 10 May 2021 12:08:20 +0000 (14:08 +0200)] 
dnsdist: Fix a typo in the ChangeLog header for 1.5.2

4 years agoMerge pull request #10163 from rgacogne/ddist152-changelog
Remi Gacogne [Mon, 10 May 2021 11:53:34 +0000 (13:53 +0200)] 
Merge pull request #10163 from rgacogne/ddist152-changelog

dnsdist: Update ChangeLog and secpoll zone for 1.5.2

4 years agoMerge pull request #10375 from rgacogne/rec-aggressive-nsec-salt-race
Otto Moerbeek [Mon, 10 May 2021 10:24:53 +0000 (12:24 +0200)] 
Merge pull request #10375 from rgacogne/rec-aggressive-nsec-salt-race

rec: Prevent a race in the aggressive NSEC cache

4 years agoMerge pull request #10364 from rgacogne/auth-fromiscmap-b64
Peter van Dijk [Mon, 10 May 2021 07:44:35 +0000 (09:44 +0200)] 
Merge pull request #10364 from rgacogne/auth-fromiscmap-b64

auth: Don't choke on non-base64 values when importing zone keys

4 years agorec: Prevent a race in the aggressive NSEC cache 10375/head
Remi Gacogne [Fri, 7 May 2021 15:25:01 +0000 (17:25 +0200)] 
rec: Prevent a race in the aggressive NSEC cache

When a new NSEC3 record has a different salt than the one we know, we
update the zone entry with the new salt. Unfortunately, that salt was
read without holding the lock in `AggressiveNSECCache::getNSEC3Denial`,
leading to a possible data race.

4 years agoMerge pull request #10370 from yantarou/ixfrdist_typo dnsdist-1.6.0
Peter van Dijk [Sat, 8 May 2021 20:01:58 +0000 (22:01 +0200)] 
Merge pull request #10370 from yantarou/ixfrdist_typo

docs: fix typo in ixfrdist docs

4 years agoMerge pull request #10371 from mnordhoff/dnsdist-docs-tcaction
Pieter Lexis [Fri, 7 May 2021 12:34:02 +0000 (14:34 +0200)] 
Merge pull request #10371 from mnordhoff/dnsdist-docs-tcaction

dnsdist docs: switch RA and RD

4 years agodnsdist docs: switch RA and RD 10371/head
Matt Nordhoff [Fri, 7 May 2021 10:55:31 +0000 (10:55 +0000)] 
dnsdist docs: switch RA and RD

4 years agodocs: fix typo in ixfrdist docs 10370/head
Jan Hilberath [Fri, 7 May 2021 10:07:46 +0000 (19:07 +0900)] 
docs: fix typo in ixfrdist docs

4 years agodnsdist: May the 10th seems more realistic for the 1.5.2 release 10163/head
Remi Gacogne [Fri, 7 May 2021 07:55:03 +0000 (09:55 +0200)] 
dnsdist: May the 10th seems more realistic for the 1.5.2 release

4 years agoMerge pull request #10353 from rgacogne/rec-dns64-on-rpz-hit-after-gettag-ffi-hit
Otto Moerbeek [Thu, 6 May 2021 18:18:22 +0000 (20:18 +0200)] 
Merge pull request #10353 from rgacogne/rec-dns64-on-rpz-hit-after-gettag-ffi-hit

rec: Apply dns64 on RPZ hits generated after a gettag_ffi hit

4 years agoMerge pull request #10292 from omoerbeek/rec-more-tsan
Otto Moerbeek [Thu, 6 May 2021 18:17:24 +0000 (20:17 +0200)] 
Merge pull request #10292 from omoerbeek/rec-more-tsan

rec: Fix TSAN complaints: max stacksize and response stats size counters

4 years agoMerge pull request #10361 from dmachard/auth-timeout-luarecords
Peter van Dijk [Thu, 6 May 2021 13:51:23 +0000 (15:51 +0200)] 
Merge pull request #10361 from dmachard/auth-timeout-luarecords

auth: change default timeout to 2s for lua records

4 years agoFix typo in DNSCryptoKeyEngine::makeFromISCString 10364/head
Remi Gacogne [Thu, 6 May 2021 13:00:18 +0000 (15:00 +0200)] 
Fix typo in DNSCryptoKeyEngine::makeFromISCString

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agoauth: Don't choke on non-base64 values when importing zone keys
Remi Gacogne [Thu, 6 May 2021 10:12:43 +0000 (12:12 +0200)] 
auth: Don't choke on non-base64 values when importing zone keys

DNSCryptoKeyEngine::makeFromISCFile(), called by `pdnsutil import-zone-key`
or the API, for example, would try to parse almost all values as a
base64 string. Depending on the version of OpenSSL, it could have lead
to a weird `Error: BIO_read failed to read all data from memory buffer`
error when the file contains a non-base64 value, like for example:
```
Flags: 257
```
Recent versions of OpenSSL seems to simply return that the value could
not be parsed, but older ones (OpenSSL 1.0.2k from CentOS 7 for example)
would report an incomplete read (BIO_should_retry() returning 1),
triggering an exception that prevents the key from being loaded.
This commits keeps a longer list of known non-base64 values, but
more importantly catch the base64 decoding exception and then store the
initial value instead of aborting. Only failure to decode known base64
values prevents the key from being loaded.

4 years agoMerge pull request #10362 from Habbie/dnsdist-docs-tcaction
Remi Gacogne [Thu, 6 May 2021 08:10:12 +0000 (10:10 +0200)] 
Merge pull request #10362 from Habbie/dnsdist-docs-tcaction

dnsdist docs: correct bits for TCAction

4 years agodnsdist docs: correct bits for TCAction 10362/head
Peter van Dijk [Thu, 6 May 2021 04:13:22 +0000 (06:13 +0200)] 
dnsdist docs: correct bits for TCAction

4 years agochange default timeout to 2s for lua records 10361/head
dmachard [Wed, 5 May 2021 16:51:50 +0000 (18:51 +0200)] 
change default timeout to 2s for lua records