]>
git.ipfire.org Git - thirdparty/pdns.git/log
Fred Morcos [Tue, 28 Feb 2023 14:49:26 +0000 (15:49 +0100)]
Cleanup the ci_docs_upload_master pyinvoke task
Fred Morcos [Fri, 10 Mar 2023 08:56:41 +0000 (09:56 +0100)]
Gitignore verify-dnssec-zone/allow-missing
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
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
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
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;
^
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;
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.
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
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
Peter van Dijk [Thu, 13 Apr 2023 14:22:20 +0000 (16:22 +0200)]
auth 4.7.4: secpoll and docs
Aki Tuomi [Mon, 17 Apr 2023 06:35:46 +0000 (09:35 +0300)]
docs: lmdb - Add blank line after explicit markup
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
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
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
Walter Doekes [Fri, 14 Apr 2023 09:18:01 +0000 (11:18 +0200)]
document bind-supermaster-destdir
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
Remi Gacogne [Tue, 28 Mar 2023 08:20:04 +0000 (10:20 +0200)]
dnsdist: Add ChangeLog and secpoll update for dnsdist 1.7.4
Kees Monshouwer [Wed, 5 Apr 2023 07:52:09 +0000 (09:52 +0200)]
auth: calm down the communicator loop
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.
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
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
Otto Moerbeek [Mon, 3 Apr 2023 12:57:47 +0000 (14:57 +0200)]
Prep for rec-4.9.0-alpha1
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.
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
Otto Moerbeek [Tue, 11 Apr 2023 09:37:53 +0000 (11:37 +0200)]
dnsdist: fix formatting and `external` description
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
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
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
Doug Freed [Tue, 11 Apr 2023 05:59:39 +0000 (05:59 +0000)]
Fix spelling of PKCS
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.
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.
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
Otto Moerbeek [Wed, 5 Apr 2023 08:07:00 +0000 (10:07 +0200)]
Remove unused `now` argument from addRecordToRRSet
Otto Moerbeek [Tue, 4 Apr 2023 14:23:20 +0000 (16:23 +0200)]
Fix cases mentioned in review, plus a few spotted on macOS
Fred Morcos [Mon, 20 Feb 2023 10:59:53 +0000 (11:59 +0100)]
rec: Remove -Wno-unused-parameter from default C(XX)FLAGS
Fred Morcos [Fri, 17 Feb 2023 12:38:00 +0000 (13:38 +0100)]
rec: Fix unused parameter warnings
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
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
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
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
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
Otto Moerbeek [Tue, 4 Apr 2023 07:23:59 +0000 (09:23 +0200)]
More consistent naming and some general clang-tidy cleanup
Otto Moerbeek [Tue, 4 Apr 2023 06:52:02 +0000 (08:52 +0200)]
Also enable NOD explictly in spec file
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.
Otto Moerbeek [Mon, 3 Apr 2023 09:14:00 +0000 (11:14 +0200)]
Change defaults to pdns-distributes-queries = no and reuseport = yes
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
Otto Moerbeek [Fri, 17 Mar 2023 13:09:00 +0000 (14:09 +0100)]
A separate setting for packet cache shards.
Otto Moerbeek [Mon, 27 Feb 2023 14:14:14 +0000 (15:14 +0100)]
Tweaks
Otto Moerbeek [Mon, 27 Feb 2023 14:11:08 +0000 (15:11 +0100)]
Stop disabling packet cache for bulk tests
Otto Moerbeek [Mon, 27 Feb 2023 10:29:46 +0000 (11:29 +0100)]
Account for size per shard
Otto Moerbeek [Mon, 27 Feb 2023 09:37:11 +0000 (10:37 +0100)]
Add contention info about PC in stats report
Otto Moerbeek [Fri, 24 Feb 2023 10:32:22 +0000 (11:32 +0100)]
Add contention/acquired stats to sharded packet cache
Otto Moerbeek [Wed, 22 Feb 2023 15:30:48 +0000 (16:30 +0100)]
Initial integration with recursor
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
Otto Moerbeek [Wed, 22 Feb 2023 13:53:08 +0000 (14:53 +0100)]
Cleanup
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
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
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
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
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
Otto Moerbeek [Mon, 6 Feb 2023 07:57:31 +0000 (08:57 +0100)]
Refactor of root priming code
Otto Moerbeek [Wed, 1 Feb 2023 12:44:47 +0000 (13:44 +0100)]
rec: process hints with multiple addresses per name correctly.
Fixes #12486
Otto Moerbeek [Mon, 3 Apr 2023 08:57:46 +0000 (10:57 +0200)]
Change default packet TTL to 24 hours
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
Otto Moerbeek [Mon, 3 Apr 2023 07:20:12 +0000 (09:20 +0200)]
Regression tests should use new EDE
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.
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
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
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
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.
Erik Winkels [Thu, 30 Mar 2023 14:23:04 +0000 (16:23 +0200)]
Fix EOL table for DNSdist.
Peter van Dijk [Thu, 30 Mar 2023 14:03:49 +0000 (16:03 +0200)]
change hackerone references to point to yeswehack
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
Erik Winkels [Thu, 30 Mar 2023 11:17:16 +0000 (13:17 +0200)]
dnsdist: Prepare ChangeLog and secpoll update for 1.8.0
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
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
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
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
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
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
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
Otto Moerbeek [Wed, 29 Mar 2023 10:08:50 +0000 (12:08 +0200)]
Spellcheck
Otto Moerbeek [Tue, 28 Mar 2023 07:51:38 +0000 (09:51 +0200)]
Prep for PowerDNS Security Advisory 2023-02
Otto Moerbeek [Wed, 29 Mar 2023 09:18:54 +0000 (11:18 +0200)]
Start using newly assigned "Synthesized" EDE
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)
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
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
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.
Otto Moerbeek [Tue, 28 Mar 2023 14:32:41 +0000 (16:32 +0200)]
rec: fix a race in the negcache unit tests
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
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
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
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.
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
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
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
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.
Remi Gacogne [Tue, 28 Mar 2023 07:12:25 +0000 (09:12 +0200)]
dnsdist: Apply suggestions from code review, apply formatting
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