]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
13 months agoMerge pull request #12669 from chbruyand/auth-ifurlup-ips
Peter van Dijk [Fri, 21 Apr 2023 07:44:18 +0000 (09:44 +0200)] 
Merge pull request #12669 from chbruyand/auth-ifurlup-ips

auth: luarecords, enhance ifportup() with lists of sets of addresses like ifurlup()

13 months agoMerge pull request #12758 from zeha/tcpreceiver-unused-var
Peter van Dijk [Tue, 18 Apr 2023 07:07:21 +0000 (09:07 +0200)] 
Merge pull request #12758 from zeha/tcpreceiver-unused-var

auth: remove unused var in tcpreceiver.cc

13 months agoMerge pull request #12759 from zeha/lmdb-unused-var
Peter van Dijk [Tue, 18 Apr 2023 07:06:38 +0000 (09:06 +0200)] 
Merge pull request #12759 from zeha/lmdb-unused-var

lmdb-safe: remove leftover debug variable

13 months agoMerge pull request #12757 from zeha/apitestpipelimit
Peter van Dijk [Tue, 18 Apr 2023 07:03:31 +0000 (09:03 +0200)] 
Merge pull request #12757 from zeha/apitestpipelimit

api tests: avoid default pipe size limit

13 months agolmdb-safe: remove leftover debug variable 12759/head
Chris Hofstaedtler [Tue, 18 Apr 2023 00:28:46 +0000 (02:28 +0200)] 
lmdb-safe: remove leftover debug variable

In file included from ../../ext/lmdb-safe/lmdb-typed.cc:1:
../../ext/lmdb-safe/lmdb-typed.hh:656:11: warning: variable 'scanned' set but not used [-Wunused-but-set-variable]
      int scanned = 0;
          ^

13 months agoauth: remove unused var in tcpreceiver.cc 12758/head
Chris Hofstaedtler [Tue, 18 Apr 2023 00:15:40 +0000 (02:15 +0200)] 
auth: remove unused var in tcpreceiver.cc

tcpreceiver.cc:1005:7: warning: variable 'records' set but not used [-Wunused-but-set-variable]
  int records=0;

13 months agoapi tests: avoid default pipe size limit 12757/head
Chris Hofstaedtler [Mon, 17 Apr 2023 20:06:08 +0000 (22:06 +0200)] 
api tests: avoid default pipe size limit

Causes tests to freeze at a more or less random point.

13 months agoMerge pull request #12747 from Habbie/auth-4.7.4-secpoll-docs
Peter van Dijk [Mon, 17 Apr 2023 11:38:14 +0000 (13:38 +0200)] 
Merge pull request #12747 from Habbie/auth-4.7.4-secpoll-docs

auth 4.7.4: secpoll and docs

13 months agoMerge pull request #12755 from cmouse/lmdb-rst
Peter van Dijk [Mon, 17 Apr 2023 08:15:48 +0000 (10:15 +0200)] 
Merge pull request #12755 from cmouse/lmdb-rst

docs: lmdb - Add blank line after explicit markup

13 months agoauth 4.7.4: secpoll and docs 12747/head
Peter van Dijk [Thu, 13 Apr 2023 14:22:20 +0000 (16:22 +0200)] 
auth 4.7.4: secpoll and docs

13 months agodocs: lmdb - Add blank line after explicit markup 12755/head
Aki Tuomi [Mon, 17 Apr 2023 06:35:46 +0000 (09:35 +0300)] 
docs: lmdb - Add blank line after explicit markup

13 months agoMerge pull request #12686 from aerique/feature/report-tested-repo-versions
aerique [Sat, 15 Apr 2023 21:59:27 +0000 (23:59 +0200)] 
Merge pull request #12686 from aerique/feature/report-tested-repo-versions

Report Version when Testing Repositories

13 months agoMerge pull request #12721 from mind04/pdns-loop
Peter van Dijk [Fri, 14 Apr 2023 14:15:52 +0000 (16:15 +0200)] 
Merge pull request #12721 from mind04/pdns-loop

auth: calm down the communicator loop

13 months agoMerge pull request #12749 from ossobv/wjd-document-bind-supermaster-destdir
Peter van Dijk [Fri, 14 Apr 2023 14:13:43 +0000 (16:13 +0200)] 
Merge pull request #12749 from ossobv/wjd-document-bind-supermaster-destdir

document bind-supermaster-destdir

13 months agodocument bind-supermaster-destdir 12749/head
Walter Doekes [Fri, 14 Apr 2023 09:18:01 +0000 (11:18 +0200)] 
document bind-supermaster-destdir

13 months agoMerge pull request #12693 from rgacogne/ddist174-changelog-secpoll
aerique [Fri, 14 Apr 2023 11:09:43 +0000 (13:09 +0200)] 
Merge pull request #12693 from rgacogne/ddist174-changelog-secpoll

dnsdist: Add ChangeLog and secpoll update for dnsdist 1.7.4

13 months agodnsdist: Add ChangeLog and secpoll update for dnsdist 1.7.4 12693/head
Remi Gacogne [Tue, 28 Mar 2023 08:20:04 +0000 (10:20 +0200)] 
dnsdist: Add ChangeLog and secpoll update for dnsdist 1.7.4

13 months agoauth: calm down the communicator loop 12721/head
Kees Monshouwer [Wed, 5 Apr 2023 07:52:09 +0000 (09:52 +0200)] 
auth: calm down the communicator loop

13 months agoPrint reported versions when testing repos. 12686/head
Erik Winkels [Fri, 24 Mar 2023 15:28:03 +0000 (16:28 +0100)] 
Print reported versions when testing repos.

Remove Ubuntu Bionic for auth-48 and dnsdist-18.
Remove rec-45 from repo test script since it is end-of-life.
Add rec-49 to repo test script.

13 months agoMerge pull request #12734 from omoerbeek/prep-4.9.0-alpha1
Otto Moerbeek [Wed, 12 Apr 2023 08:47:14 +0000 (10:47 +0200)] 
Merge pull request #12734 from omoerbeek/prep-4.9.0-alpha1

rec: Prep for rec-4.9.0-alpha1

13 months agoMerge pull request #12735 from zeha/rec-ubuntu-compression rec-4.9.0-alpha1
Peter van Dijk [Tue, 11 Apr 2023 14:15:51 +0000 (16:15 +0200)] 
Merge pull request #12735 from zeha/rec-ubuntu-compression

recursor: restore explicit gzip compression for Ubuntu

13 months agoPrep for rec-4.9.0-alpha1 12734/head
Otto Moerbeek [Mon, 3 Apr 2023 12:57:47 +0000 (14:57 +0200)] 
Prep for rec-4.9.0-alpha1

13 months agorecursor: restore explicit gzip compression for Ubuntu 12735/head
Chris H [Tue, 11 Apr 2023 12:05:00 +0000 (14:05 +0200)] 
recursor: restore explicit gzip compression for Ubuntu

reprepro for builder.powerdns.com cannot handle xz compression yet, but
newer Debian and Ubuntu dh_builddeb turn it on by default.

Was accidentally removed in #10072.

13 months agoMerge pull request #12733 from omoerbeek/dnsdist-ebpf-docs
Otto Moerbeek [Tue, 11 Apr 2023 09:52:16 +0000 (11:52 +0200)] 
Merge pull request #12733 from omoerbeek/dnsdist-ebpf-docs

dnsdist: fix formatting and `external` description

13 months agodnsdist: fix formatting and `external` description 12733/head
Otto Moerbeek [Tue, 11 Apr 2023 09:37:53 +0000 (11:37 +0200)] 
dnsdist: fix formatting and `external` description

13 months agoMerge pull request #12730 from dwfreed/fix-pcks
Peter van Dijk [Tue, 11 Apr 2023 07:35:44 +0000 (09:35 +0200)] 
Merge pull request #12730 from dwfreed/fix-pcks

Fix spelling of PKCS

13 months agoMerge pull request #12723 from omoerbeek/rec-bulk-no-powerdnssec.org
Otto Moerbeek [Tue, 11 Apr 2023 07:26:49 +0000 (09:26 +0200)] 
Merge pull request #12723 from omoerbeek/rec-bulk-no-powerdnssec.org

rec: Do not generate large not really useful test file containing names in powerdnssec.org in bulk test

13 months agorec: Do not generate large not really useful test files containing names in powerdnss... 12723/head
Otto Moerbeek [Wed, 5 Apr 2023 12:44:09 +0000 (14:44 +0200)] 
rec: Do not generate large not really useful test files containing names in powerdnssec.org in bulk test by default

13 months agoFix spelling of PKCS 12730/head
Doug Freed [Tue, 11 Apr 2023 05:59:39 +0000 (05:59 +0000)] 
Fix spelling of PKCS

13 months agoMerge pull request #12722 from omoerbeek/rec-bulk-pdq
Otto Moerbeek [Wed, 5 Apr 2023 12:13:02 +0000 (14:13 +0200)] 
Merge pull request #12722 from omoerbeek/rec-bulk-pdq

rec: Also set pdns-distributes-queries for bulk tests.

13 months agorec: Also set pdns-distributes-quqeries for bulk tests. 12722/head
Otto Moerbeek [Wed, 5 Apr 2023 11:04:24 +0000 (13:04 +0200)] 
rec: Also set pdns-distributes-quqeries for bulk tests.

Large imbalance seen without.

13 months agoMerge pull request #12571 from fredmorcos/rec-unused-args-cleanup
Otto Moerbeek [Wed, 5 Apr 2023 09:19:20 +0000 (11:19 +0200)] 
Merge pull request #12571 from fredmorcos/rec-unused-args-cleanup

Recursor: Unused parameters cleanup

13 months agoRemove unused `now` argument from addRecordToRRSet 12571/head
Otto Moerbeek [Wed, 5 Apr 2023 08:07:00 +0000 (10:07 +0200)] 
Remove unused `now` argument from addRecordToRRSet

13 months agoFix cases mentioned in review, plus a few spotted on macOS
Otto Moerbeek [Tue, 4 Apr 2023 14:23:20 +0000 (16:23 +0200)] 
Fix cases mentioned in review, plus a few spotted on macOS

13 months agorec: Remove -Wno-unused-parameter from default C(XX)FLAGS
Fred Morcos [Mon, 20 Feb 2023 10:59:53 +0000 (11:59 +0100)] 
rec: Remove -Wno-unused-parameter from default C(XX)FLAGS

13 months agorec: Fix unused parameter warnings
Fred Morcos [Fri, 17 Feb 2023 12:38:00 +0000 (13:38 +0100)] 
rec: Fix unused parameter warnings

13 months agoMerge pull request #12717 from omoerbeek/rec-regr-threads
Otto Moerbeek [Wed, 5 Apr 2023 05:58:37 +0000 (07:58 +0200)] 
Merge pull request #12717 from omoerbeek/rec-regr-threads

rec: bulk tests (with their one client driving the test) do not work well with reuseport=yes and many workers

13 months agoThe bulk tests (with it's one client) do not work well with reuseport=yes and many... 12717/head
Otto Moerbeek [Tue, 4 Apr 2023 10:01:30 +0000 (12:01 +0200)] 
The bulk tests (with it's one client) do not work well with reuseport=yes and many workers

Use (the now non-default) reuseport=no

13 months agoMerge pull request #12594 from omoerbeek/rec-packetcache-sharded
Otto Moerbeek [Tue, 4 Apr 2023 09:01:14 +0000 (11:01 +0200)] 
Merge pull request #12594 from omoerbeek/rec-packetcache-sharded

Rec: sharded and shared packet cache

13 months agoMerge pull request #12710 from omoerbeek/rcodesenum
Otto Moerbeek [Tue, 4 Apr 2023 08:29:36 +0000 (10:29 +0200)] 
Merge pull request #12710 from omoerbeek/rcodesenum

Cleanup rcode enums: base one is 8 bit unsigned, extended one 16 bit unsigned

13 months agoMerge pull request #12716 from omoerbeek/rec-debian-build
Otto Moerbeek [Tue, 4 Apr 2023 07:33:26 +0000 (09:33 +0200)] 
Merge pull request #12716 from omoerbeek/rec-debian-build

rec: followup to #10072: add missing boost-filesystem dependency

13 months agoMore consistent naming and some general clang-tidy cleanup 12594/head
Otto Moerbeek [Tue, 4 Apr 2023 07:23:59 +0000 (09:23 +0200)] 
More consistent naming and some general clang-tidy cleanup

13 months agoAlso enable NOD explictly in spec file 12716/head
Otto Moerbeek [Tue, 4 Apr 2023 06:52:02 +0000 (08:52 +0200)] 
Also enable NOD explictly in spec file

13 months agorec: followup to #10072: add missing boost-filesystem dependency
Otto Moerbeek [Tue, 4 Apr 2023 06:45:52 +0000 (08:45 +0200)] 
rec: followup to #10072: add missing boost-filesystem dependency

Fixes #12715: NOD functionality was lost due to a missing boost-filesystem dependency.
Add the dependency and explicitly enable NOD.

13 months agoChange defaults to pdns-distributes-queries = no and reuseport = yes
Otto Moerbeek [Mon, 3 Apr 2023 09:14:00 +0000 (11:14 +0200)] 
Change defaults to pdns-distributes-queries = no and reuseport = yes

13 months agoAnother case of a test calling the API before it is ready
Otto Moerbeek [Wed, 22 Mar 2023 09:53:00 +0000 (10:53 +0100)] 
Another case of a test calling the API before it is ready

13 months agoA separate setting for packet cache shards.
Otto Moerbeek [Fri, 17 Mar 2023 13:09:00 +0000 (14:09 +0100)] 
A separate setting for packet cache shards.

13 months agoTweaks
Otto Moerbeek [Mon, 27 Feb 2023 14:14:14 +0000 (15:14 +0100)] 
Tweaks

13 months agoStop disabling packet cache for bulk tests
Otto Moerbeek [Mon, 27 Feb 2023 14:11:08 +0000 (15:11 +0100)] 
Stop disabling packet cache for bulk tests

13 months agoAccount for size per shard
Otto Moerbeek [Mon, 27 Feb 2023 10:29:46 +0000 (11:29 +0100)] 
Account for size per shard

13 months agoAdd contention info about PC in stats report
Otto Moerbeek [Mon, 27 Feb 2023 09:37:11 +0000 (10:37 +0100)] 
Add contention info about PC in stats report

13 months agoAdd contention/acquired stats to sharded packet cache
Otto Moerbeek [Fri, 24 Feb 2023 10:32:22 +0000 (11:32 +0100)] 
Add contention/acquired stats to sharded packet cache

13 months agoInitial integration with recursor
Otto Moerbeek [Wed, 22 Feb 2023 15:30:48 +0000 (16:30 +0100)] 
Initial integration with recursor

13 months agoMake packet cache sharded
Otto Moerbeek [Wed, 22 Feb 2023 15:03:41 +0000 (16:03 +0100)] 
Make packet cache sharded

Unit test run fine, but recursor itself has not been adapted yet

13 months agoCleanup
Otto Moerbeek [Wed, 22 Feb 2023 13:53:08 +0000 (14:53 +0100)] 
Cleanup

13 months agoMerge pull request #12709 from omoerbeek/rec-pc-neg-vs-servfail
Otto Moerbeek [Mon, 3 Apr 2023 11:12:05 +0000 (13:12 +0200)] 
Merge pull request #12709 from omoerbeek/rec-pc-neg-vs-servfail

rec: More fine grained capping of packet cache TTL

13 months agoMerge pull request #12698 from omoerbeek/rec-synthesized
Otto Moerbeek [Mon, 3 Apr 2023 11:10:46 +0000 (13:10 +0200)] 
Merge pull request #12698 from omoerbeek/rec-synthesized

rec: Start using newly assigned "Synthesized" EDE

13 months agoMerge pull request #12655 from omoerbeek/rec-hints-names
Otto Moerbeek [Mon, 3 Apr 2023 11:10:24 +0000 (13:10 +0200)] 
Merge pull request #12655 from omoerbeek/rec-hints-names

Rec: rework root priming code to allow multiple addresses per NS

13 months agoMerge pull request #10072 from zeha/debian-update-rec
Otto Moerbeek [Mon, 3 Apr 2023 10:29:44 +0000 (12:29 +0200)] 
Merge pull request #10072 from zeha/debian-update-rec

Update Debian packaging for Recursor

13 months agoAdd test, with some reorganization as reczones is not linked into testrunner. 12655/head
Otto Moerbeek [Mon, 3 Apr 2023 10:18:02 +0000 (12:18 +0200)] 
Add test, with some reorganization as reczones is not linked into testrunner.

So move a few functions to reczones-helpers.cc

13 months agoRefactor of root priming code
Otto Moerbeek [Mon, 6 Feb 2023 07:57:31 +0000 (08:57 +0100)] 
Refactor of root priming code

13 months agorec: process hints with multiple addresses per name correctly.
Otto Moerbeek [Wed, 1 Feb 2023 12:44:47 +0000 (13:44 +0100)] 
rec: process hints with multiple addresses per name correctly.

Fixes #12486

13 months agoChange default packet TTL to 24 hours 12709/head
Otto Moerbeek [Mon, 3 Apr 2023 08:57:46 +0000 (10:57 +0200)] 
Change default packet TTL to 24 hours

13 months agoMerge pull request #12497 from jsoref/shorthands-for-seconds
Otto Moerbeek [Mon, 3 Apr 2023 08:24:36 +0000 (10:24 +0200)] 
Merge pull request #12497 from jsoref/shorthands-for-seconds

Shorthands for seconds

13 months agoRegression tests should use new EDE 12698/head
Otto Moerbeek [Mon, 3 Apr 2023 07:20:12 +0000 (09:20 +0200)] 
Regression tests should use new EDE

13 months agoMerge pull request #12708 from aerique/bugfix/dnsdist-18-eol
Otto Moerbeek [Mon, 3 Apr 2023 06:22:35 +0000 (08:22 +0200)] 
Merge pull request #12708 from aerique/bugfix/dnsdist-18-eol

Fix EOL table for DNSdist.

13 months agoMerge pull request #12707 from Habbie/ywh
Otto Moerbeek [Mon, 3 Apr 2023 06:22:07 +0000 (08:22 +0200)] 
Merge pull request #12707 from Habbie/ywh

change hackerone references to point to yeswehack

13 months agoMerge pull request #12705 from hlindqvist/pdnsrec-perf-notrack-tcp-reminder
Otto Moerbeek [Mon, 3 Apr 2023 06:20:14 +0000 (08:20 +0200)] 
Merge pull request #12705 from hlindqvist/pdnsrec-perf-notrack-tcp-reminder

Add reminders for 53/tcp rules in the NOTRACK example rules in pdns-rec docs

13 months agoCleanup rcodes enums: base one is 8 bit unisgned, extended one 16 bit unsigned 12710/head
Otto Moerbeek [Fri, 31 Mar 2023 11:36:04 +0000 (13:36 +0200)] 
Cleanup rcodes enums: base one is 8 bit unisgned, extended one 16 bit unsigned

13 months agoMore fine grained capping of packet cache TTL
Otto Moerbeek [Fri, 31 Mar 2023 08:02:31 +0000 (10:02 +0200)] 
More fine grained capping of packet cache TTL

Distinguish between negative answers (NxDomain and NoData), failure to resolve
(ServFail and completely empty answers) and ordinary answers when capping the
packet cache TTL. A new setting (packetcache-negative-ttl) is created for that.

NoData is: empty answer section but SOA record present in authority section.

13 months agoFix EOL table for DNSdist. 12708/head
Erik Winkels [Thu, 30 Mar 2023 14:23:04 +0000 (16:23 +0200)] 
Fix EOL table for DNSdist.

13 months agochange hackerone references to point to yeswehack 12707/head
Peter van Dijk [Thu, 30 Mar 2023 14:03:49 +0000 (16:03 +0200)] 
change hackerone references to point to yeswehack

13 months agoMerge pull request #12692 from rgacogne/ddist180-changelog-secpoll
aerique [Thu, 30 Mar 2023 13:12:18 +0000 (15:12 +0200)] 
Merge pull request #12692 from rgacogne/ddist180-changelog-secpoll

dnsdist: Prepare ChangeLog and secpoll update for 1.8.0

13 months agodnsdist: Prepare ChangeLog and secpoll update for 1.8.0 12692/head
Erik Winkels [Thu, 30 Mar 2023 11:17:16 +0000 (13:17 +0200)] 
dnsdist: Prepare ChangeLog and secpoll update for 1.8.0

13 months agoMerge pull request #12706 from san983/master
Peter van Dijk [Thu, 30 Mar 2023 07:52:55 +0000 (09:52 +0200)] 
Merge pull request #12706 from san983/master

Fixes a typo in pdnsutil clear-zone help output

13 months agoFixes a typo in pdnsutil clear-zone help output 12706/head
Santiago Traversa [Thu, 30 Mar 2023 03:39:02 +0000 (00:39 -0300)] 
Fixes a typo in pdnsutil clear-zone help output

from
# pdnsutil clear-zone foo bar
Syntax: pdnsutil edit-zone ZONE

to
# pdnsutil clear-zone foo bar
Syntax: pdnsutil clear-zone ZONE

13 months agoAdd reminders for 53/tcp in the NOTRACK rules in docs 12705/head
Håkan Lindqvist [Wed, 29 Mar 2023 20:25:29 +0000 (22:25 +0200)] 
Add reminders for 53/tcp in the NOTRACK rules in docs

13 months agoMerge pull request #12704 from omoerbeek/rec-spellcheck-memlock
Peter van Dijk [Wed, 29 Mar 2023 21:04:09 +0000 (23:04 +0200)] 
Merge pull request #12704 from omoerbeek/rec-spellcheck-memlock

spellcheck: Fix entry for memlock

13 months agoFix entry for memlock 12704/head
Otto Moerbeek [Wed, 29 Mar 2023 14:20:37 +0000 (16:20 +0200)] 
Fix entry for memlock

16:20 < Habbie> uppercase requires uppercase, lowercase matches both?
16:20 < Habbie> and putting both in triggers a bug?
16:20 < timeless> Right
16:20 < timeless> More or less

13 months agoMerge pull request #12703 from omoerbeek/rec-prep-2023-02
Otto Moerbeek [Wed, 29 Mar 2023 11:11:36 +0000 (13:11 +0200)] 
Merge pull request #12703 from omoerbeek/rec-prep-2023-02

Prep for PowerDNS Security Advisory 2023-02

13 months agoMerge pull request #12699 from omoerbeek/rec-spoof
Otto Moerbeek [Wed, 29 Mar 2023 10:33:07 +0000 (12:33 +0200)] 
Merge pull request #12699 from omoerbeek/rec-spoof

rec: Deterred spoofing attempts can lead to authoritative servers being marked unavailable

13 months agoSpellcheck 12703/head
Otto Moerbeek [Wed, 29 Mar 2023 10:08:50 +0000 (12:08 +0200)] 
Spellcheck

13 months agoPrep for PowerDNS Security Advisory 2023-02
Otto Moerbeek [Tue, 28 Mar 2023 07:51:38 +0000 (09:51 +0200)] 
Prep for PowerDNS Security Advisory 2023-02

13 months agoStart using newly assigned "Synthesized" EDE
Otto Moerbeek [Wed, 29 Mar 2023 09:18:54 +0000 (11:18 +0200)] 
Start using newly assigned "Synthesized" EDE

13 months agoPowerDNS Security Advisory 2023-02: Deterred spoofing attempts can lead to authoritat... 12699/head
Otto Moerbeek [Wed, 29 Mar 2023 07:44:10 +0000 (09:44 +0200)] 
PowerDNS Security Advisory 2023-02: Deterred spoofing attempts can lead to authoritative servers being marked unavailable (CVE-2023-26437)

13 months agoMerge pull request #12697 from rgacogne/ddist-wait-longer-before-killing
Remi Gacogne [Wed, 29 Mar 2023 03:38:16 +0000 (05:38 +0200)] 
Merge pull request #12697 from rgacogne/ddist-wait-longer-before-killing

dnsdist: Wait a bit longer for the process to exit before killing it

13 months agoMerge pull request #12696 from omoerbeek/rec-negcache-test-race
Otto Moerbeek [Tue, 28 Mar 2023 15:48:08 +0000 (17:48 +0200)] 
Merge pull request #12696 from omoerbeek/rec-negcache-test-race

rec: fix a race in the negcache unit tests

13 months agodnsdist: Wait a bit longer for the process to exit before killing it 12697/head
Remi Gacogne [Tue, 28 Mar 2023 15:22:27 +0000 (17:22 +0200)] 
dnsdist: Wait a bit longer for the process to exit before killing it

This prevents a long list of
```
kill... <Popen: returncode: None args: ['../pdns/dnsdistdist/dnsdist', '--supervised...>
```
when running with TSAN-enabled.
In my tests it did not seem to really slow the build: roughly 3%
slower but that might even be in the error margin for these tests.

13 months agorec: fix a race in the negcache unit tests 12696/head
Otto Moerbeek [Tue, 28 Mar 2023 14:32:41 +0000 (16:32 +0200)] 
rec: fix a race in the negcache unit tests

13 months agoMerge pull request #12694 from omoerbeek/rec-reset-ede
Otto Moerbeek [Tue, 28 Mar 2023 14:16:32 +0000 (16:16 +0200)] 
Merge pull request #12694 from omoerbeek/rec-reset-ede

rec: reset EDE in context when starting to resolve

13 months agoMerge pull request #12695 from omoerbeek/rec-map-stack-fbsd
Otto Moerbeek [Tue, 28 Mar 2023 12:52:54 +0000 (14:52 +0200)] 
Merge pull request #12695 from omoerbeek/rec-map-stack-fbsd

rec: Unbreak FreeBSD mthread stack allocation

13 months agoTest that an intermediate EDE does not get reported with the final answer 12694/head
Otto Moerbeek [Tue, 28 Mar 2023 12:48:26 +0000 (14:48 +0200)] 
Test that an intermediate EDE does not get reported with the final answer

13 months agoUnbreak FreeBSD mthread stack allocation 12695/head
Otto Moerbeek [Tue, 28 Mar 2023 12:00:03 +0000 (14:00 +0200)] 
Unbreak FreeBSD mthread stack allocation

On FreeBSD, MAP_STACK has a completely different meaning compared to
OpenBSD. So only use MAP_STACK on OpenBSD.

13 months agoMerge pull request #12674 from rgacogne/less-shared-ptr dnsdist-1.9.0-alpha0
Remi Gacogne [Tue, 28 Mar 2023 11:20:16 +0000 (13:20 +0200)] 
Merge pull request #12674 from rgacogne/less-shared-ptr

validate: Stop passing shared pointers all the way down

13 months agoMerge pull request #12689 from rgacogne/ddist-grepq-tofile
Remi Gacogne [Tue, 28 Mar 2023 11:19:18 +0000 (13:19 +0200)] 
Merge pull request #12689 from rgacogne/ddist-grepq-tofile

dnsdist: Add an option to write `grepq`'s output to a file

13 months agoMerge pull request #12682 from rgacogne/ddist-ci-wait-for dnsdist-1.8.0
Remi Gacogne [Tue, 28 Mar 2023 10:39:46 +0000 (12:39 +0200)] 
Merge pull request #12682 from rgacogne/ddist-ci-wait-for

dnsdist: Wait until dnsdist is listening on the requested port in the tests

13 months agorec: reset EDE in context when starting to resolve
Otto Moerbeek [Tue, 28 Mar 2023 09:09:40 +0000 (11:09 +0200)] 
rec: reset EDE in context when starting to resolve

Fixes #12691

There is a slight complication here: If QM found an error, a retry
without QM is done, and that clears the EDE but might not find an
EDE itself (since it does not walk all labels).  So remember the
original EDE and put it back in place if the last effort attempt
failed but did not set an EDE.

13 months agodnsdist: Apply suggestions from code review, apply formatting 12689/head
Remi Gacogne [Tue, 28 Mar 2023 07:12:25 +0000 (09:12 +0200)] 
dnsdist: Apply suggestions from code review, apply formatting

13 months agoMerge pull request #12688 from omoerbeek/rec-bound-invariant
Otto Moerbeek [Mon, 27 Mar 2023 15:04:41 +0000 (17:04 +0200)] 
Merge pull request #12688 from omoerbeek/rec-bound-invariant

rec: re-establish "recursion depth is always increasing" invariant

13 months agodnsdist: Add an option to write `grepq`'s output to a file
Remi Gacogne [Mon, 27 Mar 2023 15:03:43 +0000 (17:03 +0200)] 
dnsdist: Add an option to write `grepq`'s output to a file