]>
git.ipfire.org Git - thirdparty/pdns.git/log
Kees Monshouwer [Tue, 25 Jan 2022 18:47:52 +0000 (19:47 +0100)]
auth: change sdig output to zonefile order
(cherry picked from commit
b8a6d4f7225021962030a34990f5739954a00c42 )
backport of #11858
Kees Monshouwer [Tue, 6 Sep 2022 13:52:51 +0000 (15:52 +0200)]
auth: initialize zone cache after dropping privileges
(cherry picked from commit
cfb35c2f78d342fc4fc10cb48f0d045e7e57c92a )
backport of #11908
Remi Gacogne [Wed, 17 Aug 2022 13:58:08 +0000 (15:58 +0200)]
libssl: Properly load ciphers and digests with OpenSSL 3.0
Since https://github.com/openssl/openssl/commit/
661595ca0933fe631faeadd14a189acd5d4185e0
we can no longer rely on the ciphers and digests required for TLS to
be loaded by `OPENSSL_init_ssl()`, so let's give up and load everything.
I hope you have a lot of RAM.
(cherry picked from commit
df46480c0ed11a7a76f62495fb9a2edeb3f90a64 )
backport of #11862
Chris Hofstaedtler [Tue, 2 Aug 2022 07:53:51 +0000 (09:53 +0200)]
auth/rec web: stop sending Server: header
dnsdist does not, either. Avoids leaking VERSION to not authorized users.
(cherry picked from commit
6f16c2e6e14b2f178a08b371207471c9003ea9ff )
backport of #11813
Peter van Dijk [Wed, 31 Aug 2022 10:47:25 +0000 (12:47 +0200)]
builder: add --no-install-recommends to apt-get install
This was triggered by Ubuntu Kinetic pulling in a version of
systemd-resolved that breaks inside Docker. systemd-resolved
is an indirect (via Recommends somewhere) dependency of devscripts,
which we need.
However, if we were relying on Recommends, that was a bug, so I'm
applying the flag to all distributions.
(cherry picked from commit
ecb70be6a176a6630858a3cddaae02446fbb9196 )
backport of #11891
Fred Morcos [Wed, 24 Aug 2022 21:13:49 +0000 (23:13 +0200)]
Log "NULL" for nullptr-bound properties instead of dereferencing
Fixes the issue where pdnsutil would segfault when query logging is enabled, and would
leave the db unmodified. Surprisingly, the segfault only happened on FreeBSD.
Fixes #11731
(cherry picked from commit
fd4fd2dae2f29f668b7ad0645c112b12854ab834 )
backport of #11882
Axel Viala [Tue, 2 Aug 2022 21:06:22 +0000 (23:06 +0200)]
[tsan] Data race suppression for avg_latency and send_latency globals.
See <https://github.com/PowerDNS/pdns/issues/11814>
(cherry picked from commit
af175d2148f5652f065d31a1fcb64e02f4f6dc38 )
backport of #11819
Peter van Dijk [Fri, 2 Sep 2022 07:12:58 +0000 (09:12 +0200)]
Merge pull request #11870 from Habbie/backport-11842-to-auth-4.7.x
auth-4.7.x: use getInnerRemote() for the remotes ring
Kees Monshouwer [Wed, 10 Aug 2022 10:17:01 +0000 (12:17 +0200)]
auth: use getInnerRemote() for the remotes ring
(cherry picked from commit
531fce7704eb74249656a8fb1f65578b58c9678c )
Peter van Dijk [Mon, 8 Aug 2022 11:42:41 +0000 (13:42 +0200)]
Merge pull request #11833 from Habbie/backport-11825-to-auth-4.7.x
auth-4.7.x: backport #11825
Peter van Dijk [Mon, 8 Aug 2022 11:42:31 +0000 (13:42 +0200)]
Merge pull request #11834 from Habbie/backport-11822-to-auth-4.7.x
auth-4.7.x: backport #11822
Kees Monshouwer [Fri, 5 Aug 2022 12:13:08 +0000 (14:13 +0200)]
auth: fix backend page layout
(cherry picked from commit
2e0eda75aff0245e893b2b15f5c5beba619fba79 )
Kees Monshouwer [Fri, 5 Aug 2022 08:50:42 +0000 (10:50 +0200)]
auth: fix broken link in catalog doc
(cherry picked from commit
4f4e1300c355f9e273196913103b10039c126b37 )
Kees Monshouwer [Wed, 3 Aug 2022 14:36:28 +0000 (16:36 +0200)]
auth: fix catalogDiff() coverity report
(cherry picked from commit
ba2642a7f2c85246764c263679470aeb04577175 )
Kees Monshouwer [Wed, 3 Aug 2022 14:34:32 +0000 (16:34 +0200)]
auth: add missing catalog types in getAllDomains()
(cherry picked from commit
d5540ff1b848d8fea1e41c0adc536edd4b5b189a )
Peter van Dijk [Wed, 3 Aug 2022 09:47:14 +0000 (11:47 +0200)]
auth sqlite3: abort schema transactions on error
(cherry picked from commit
da8ddb18d6f3996b900c47128a71e0800732e2e5 )
Peter van Dijk [Wed, 3 Aug 2022 09:21:40 +0000 (11:21 +0200)]
sqlite3 catalog zones: fix query typos
(cherry picked from commit
d4e25b7601736d7cda1a8d5b19cf38b731532ef3 )
Peter van Dijk [Wed, 3 Aug 2022 09:21:29 +0000 (11:21 +0200)]
sqlite3 schema migration: fix typo
(cherry picked from commit
40f6d57828b446ee9973c4d3d2e7a4f42ee7135c )
Peter van Dijk [Tue, 2 Aug 2022 19:18:40 +0000 (21:18 +0200)]
remove 3 more master-only github workflows
Peter van Dijk [Tue, 2 Aug 2022 18:45:11 +0000 (20:45 +0200)]
Merge pull request #11817 from Habbie/auth-4.7.x-strip-ci
auth-4.7.x: CI: only check auth
Peter van Dijk [Tue, 2 Aug 2022 14:45:30 +0000 (16:45 +0200)]
CI: only check auth
Peter van Dijk [Tue, 2 Aug 2022 14:31:20 +0000 (16:31 +0200)]
Merge pull request #11082 from zeha/auth-merge-main
auth: merge "main" code into new auth-main.(cc|hh)
Chris Hofstaedtler [Tue, 2 Aug 2022 13:49:13 +0000 (15:49 +0200)]
pdns/auth-main.*: format-code
Chris Hofstaedtler [Wed, 8 Dec 2021 19:46:39 +0000 (20:46 +0100)]
auth: merge "main" code into new auth-main.(cc|hh)
Merge common_startup.cc and receiver.cc into auth-main.cc, and
rename common_startup.hh into receiver.hh.
This is a very minimal merge with no cleanup. Its intention is to
make understanding the startup code path easier, by avoiding having
to look at two compilation units to determine the exact order.
Peter van Dijk [Tue, 2 Aug 2022 13:44:40 +0000 (15:44 +0200)]
Merge pull request #11760 from Habbie/lua-shared-tcp
auth LUA: make shared mode work for TCP queries
Peter van Dijk [Tue, 2 Aug 2022 13:44:12 +0000 (15:44 +0200)]
Merge pull request #11808 from Habbie/dnsbulktest-init-var
dnsbulktest: initialise struct member; use correct type when setting it
Peter van Dijk [Tue, 2 Aug 2022 13:33:10 +0000 (15:33 +0200)]
Merge pull request #11815 from mind04/auth-notify
auth: make sure a notified zone is in the zonecache
Peter van Dijk [Tue, 2 Aug 2022 13:31:30 +0000 (15:31 +0200)]
Merge pull request #11759 from mind04/auth-tsig-cleanup
auth: getTSIGKey(s) cleanup
Peter van Dijk [Tue, 2 Aug 2022 12:48:50 +0000 (14:48 +0200)]
rename s_LUA to LUA where it is not a static
Peter van Dijk [Tue, 2 Aug 2022 12:48:33 +0000 (14:48 +0200)]
LUA records: describe shared state UDP/TCP difference
Kees Monshouwer [Tue, 2 Aug 2022 11:54:53 +0000 (13:54 +0200)]
auth: make sure a notified zone is in the zonecache
Otto Moerbeek [Tue, 2 Aug 2022 10:53:44 +0000 (12:53 +0200)]
Merge pull request #11780 from omoerbeek/rec-save-last-nsspeed
rec: Save the last nsspeed recorded plus output it in rec_control dump-nsspeeds
Otto Moerbeek [Tue, 2 Aug 2022 08:19:58 +0000 (10:19 +0200)]
Some more `auto` instead of explicit types
Otto Moerbeek [Tue, 2 Aug 2022 08:17:18 +0000 (10:17 +0200)]
Merge pull request #11714 from omoerbeek/rec-sl-queries
rec: stuctured logging for incoming and outgoing subsystems
Peter van Dijk [Tue, 2 Aug 2022 07:04:32 +0000 (09:04 +0200)]
Merge pull request #11772 from mind04/auth-catalog-zone
Implement catalog zones in the authoritative server
Kees Monshouwer [Mon, 1 Aug 2022 18:53:37 +0000 (20:53 +0200)]
auth: member zones adopt their primaries from the consumer zone
Peter van Dijk [Fri, 29 Jul 2022 07:44:32 +0000 (09:44 +0200)]
dnsbulktest: initialise struct member; use correct type when setting it
Kees Monshouwer [Mon, 4 Jul 2022 20:16:05 +0000 (22:16 +0200)]
auth: getTSIGKey(s) cleanup
Kees Monshouwer [Mon, 18 Jul 2022 12:17:01 +0000 (14:17 +0200)]
auth: review sugestions
Peter van Dijk [Mon, 18 Jul 2022 11:53:59 +0000 (13:53 +0200)]
Merge pull request #11694 from Groverkss/patch-1
Update `also-notify` docs for non-standard ports
Kees Monshouwer [Sun, 17 Jul 2022 21:38:56 +0000 (23:38 +0200)]
auth: clear caches after the catalig transaction is comitted
Kees Monshouwer [Sun, 17 Jul 2022 21:37:54 +0000 (23:37 +0200)]
auth: also warn for producers notifies
Kees Monshouwer [Sun, 17 Jul 2022 19:18:30 +0000 (21:18 +0200)]
auth: do not use the metadata cache for AXFR
Kees Monshouwer [Sun, 17 Jul 2022 19:06:12 +0000 (21:06 +0200)]
auth: fix Duplicate RO transaction
Peter van Dijk [Sun, 17 Jul 2022 22:00:59 +0000 (00:00 +0200)]
Merge pull request #11791 from Habbie/bookworm
add debian bookworm target and run it daily in CI
Peter van Dijk [Sat, 16 Jul 2022 20:38:56 +0000 (22:38 +0200)]
add debian bookworm target and run it daily in CI
Peter van Dijk [Sun, 17 Jul 2022 21:59:00 +0000 (23:59 +0200)]
Merge pull request #11793 from Habbie/el9-no-epel-testing
el9: remove epel-testing, new re2 is in epel9 stable now
Peter van Dijk [Sun, 17 Jul 2022 21:51:50 +0000 (23:51 +0200)]
Merge pull request #11792 from Habbie/kinetic
add ubuntu kinetic target and run it daily in CI
Peter van Dijk [Sun, 17 Jul 2022 20:25:16 +0000 (22:25 +0200)]
el9: remove epel-testing, new re2 is in epel9 stable now
Peter van Dijk [Sun, 17 Jul 2022 20:14:34 +0000 (22:14 +0200)]
Merge pull request #11788 from Habbie/el9
EL9 builds
Peter van Dijk [Sat, 16 Jul 2022 20:38:56 +0000 (22:38 +0200)]
add ubuntu kinetic target and run it daily in CI
Peter van Dijk [Fri, 15 Jul 2022 14:27:22 +0000 (16:27 +0200)]
add 9-stream target and test it daily
Peter van Dijk [Wed, 13 Jul 2022 20:23:45 +0000 (22:23 +0200)]
add el-9 target
Kees Monshouwer [Fri, 15 Jul 2022 14:47:21 +0000 (16:47 +0200)]
auth: bump lmdb schema version to 4
Kees Monshouwer [Fri, 15 Jul 2022 07:20:00 +0000 (09:20 +0200)]
auth: remove REMOVE from log message
Kees Monshouwer [Thu, 14 Jul 2022 19:22:07 +0000 (21:22 +0200)]
auth: support catalog version "1" as consumer
Kees Monshouwer [Thu, 14 Jul 2022 16:12:24 +0000 (18:12 +0200)]
auth: catalog zone documentation
Kees Monshouwer [Thu, 14 Jul 2022 16:11:04 +0000 (18:11 +0200)]
auth: limit unique lable length to 1
Kees Monshouwer [Thu, 14 Jul 2022 10:01:44 +0000 (12:01 +0200)]
auth: add producer and consumer type in pdnsutil
Kees Monshouwer [Thu, 14 Jul 2022 09:41:18 +0000 (11:41 +0200)]
auth: add set-option in pdnsutil
Kees Monshouwer [Thu, 14 Jul 2022 07:46:09 +0000 (09:46 +0200)]
auth: g++ 4.8 is no longer an issue
Kees Monshouwer [Wed, 13 Jul 2022 19:55:08 +0000 (21:55 +0200)]
auth: api, add catalog in zone endpoint
Otto Moerbeek [Wed, 13 Jul 2022 11:28:40 +0000 (13:28 +0200)]
Merge pull request #11779 from omoerbeek/rec-edns-followup
rec: edns table simplification followup
aerique [Wed, 13 Jul 2022 09:52:40 +0000 (11:52 +0200)]
Merge pull request #11783 from aerique/feature/jammy-repo-script
Add auth-46 and rec-47 for Ubunty Jammy to repo test script.
Peter van Dijk [Wed, 13 Jul 2022 08:56:27 +0000 (10:56 +0200)]
Merge pull request #11782 from Habbie/auth-4.6.3-docs
auth-4.6.3: changelog and secpoll
Erik Winkels [Wed, 13 Jul 2022 08:46:31 +0000 (10:46 +0200)]
Add auth-46 and rec-47 for Jammy to repo script.
Kees Monshouwer [Wed, 13 Jul 2022 08:16:36 +0000 (10:16 +0200)]
auth: test catalog state reset
Kees Monshouwer [Tue, 12 Jul 2022 22:02:45 +0000 (00:02 +0200)]
auth: use the catalog for the backend transaction
Peter van Dijk [Wed, 13 Jul 2022 08:04:58 +0000 (10:04 +0200)]
auth-4.6.3: changelog and secpoll
Kees Monshouwer [Tue, 12 Jul 2022 13:53:26 +0000 (15:53 +0200)]
auth: stop wasting memory
Kees Monshouwer [Tue, 12 Jul 2022 10:24:58 +0000 (12:24 +0200)]
auth: speedup secondary tests and make pdns_control catalog type aware
Kees Monshouwer [Tue, 12 Jul 2022 07:07:44 +0000 (09:07 +0200)]
auth: improve logging and fix a copy-paste mistake
Kees Monshouwer [Wed, 6 Jul 2022 16:48:37 +0000 (18:48 +0200)]
auth: implement consumer support
Otto Moerbeek [Tue, 12 Jul 2022 10:41:51 +0000 (12:41 +0200)]
rec: Save the last nsspeed recorded plus output it in rec_control dump-nsspeeds
Fixes #11736 in the most basic way. There are some plans to unify
the various NS state tables into a single elaborate data structure,
that would be the moment to store a moving average or similar.
Also modify the output a bit: show times in ms instead of us and
without all the decimals.
Otto Moerbeek [Tue, 12 Jul 2022 07:41:08 +0000 (09:41 +0200)]
rec: edns followup
Simplify handling of edns table. Prompted by Coverity
1490173
Otto Moerbeek [Mon, 11 Jul 2022 09:39:15 +0000 (11:39 +0200)]
Merge pull request #11773 from omoerbeek/rec-udpQueryResponse-size
Rec: fix udp query response size in udpQueryResponse
Otto Moerbeek [Mon, 11 Jul 2022 08:22:43 +0000 (10:22 +0200)]
Add regression test for #11771 (lenght of annswer in udpQueryResponse)
Otto Moerbeek [Mon, 11 Jul 2022 08:21:48 +0000 (10:21 +0200)]
Rec: Resize answer length to actual received length in udpQueryResponse
Fixes #11771
Otto Moerbeek [Sat, 9 Jul 2022 06:57:04 +0000 (08:57 +0200)]
Merge pull request #11769 from omoerbeek/rec-uninited-vars-jammy
rec: Uninited vars, seen by compiling on jammy
Peter van Dijk [Fri, 8 Jul 2022 21:19:17 +0000 (23:19 +0200)]
Merge pull request #11552 from d-frey/patch-1
auth: Simplify code in `Bind2Backend::lookup()`
Kees Monshouwer [Fri, 8 Jul 2022 10:27:34 +0000 (12:27 +0200)]
auth/rec: use pytest for the api tests
Kees Monshouwer [Tue, 5 Jul 2022 14:53:47 +0000 (16:53 +0200)]
auth: implement group in the producer
Kees Monshouwer [Mon, 4 Jul 2022 22:57:41 +0000 (00:57 +0200)]
auth: implement producer regression tests
Kees Monshouwer [Sat, 2 Jul 2022 00:23:08 +0000 (02:23 +0200)]
auth: implement producer axfr
Kees Monshouwer [Mon, 27 Jun 2022 20:01:56 +0000 (22:01 +0200)]
auth: implement producer freshness check and a lot of cleanup/speedup
Kees Monshouwer [Mon, 27 Jun 2022 11:16:22 +0000 (13:16 +0200)]
auth: extend type length to 8 characters (PRODUCER / CONSUMER)
Kees Monshouwer [Mon, 27 Jun 2022 08:59:49 +0000 (10:59 +0200)]
auth: add catalog to DomainInfo
Kees Monshouwer [Sun, 26 Jun 2022 22:38:11 +0000 (00:38 +0200)]
auth: add options to DomainInfo
Otto Moerbeek [Fri, 8 Jul 2022 08:43:38 +0000 (10:43 +0200)]
Merge pull request #11762 from omoerbeek/rec-prep-4.7.1
rec: Prep for rec-4.7.1
Peter van Dijk [Fri, 8 Jul 2022 08:31:56 +0000 (10:31 +0200)]
Merge pull request #11764 from mind04/pdns-lmdb-deletedomain
auth: fix deleteDomain() in lmdb backend
Otto Moerbeek [Thu, 7 Jul 2022 10:42:33 +0000 (12:42 +0200)]
Uninited vars, seen by compiling on jammy
Remi Gacogne [Thu, 7 Jul 2022 07:26:40 +0000 (09:26 +0200)]
Merge pull request #11763 from hlindqvist/dnsdist-negativeandsoaaction-authority-section
Add option to NegativeAndSOAAction to place SOA in the authority section
Kees Monshouwer [Wed, 6 Jul 2022 15:23:38 +0000 (17:23 +0200)]
auth: fix deleteDomain() in lmdb backend
Håkan Lindqvist [Wed, 6 Jul 2022 14:44:37 +0000 (16:44 +0200)]
Add option to NegativeAndSOAAction to place SOA in the authority section
Ie, allow generating a full NODATA/NXDOMAIN cacheable negative response, rather than
an RPZ-style reponse with only an informational SOA record in the additional section
Otto Moerbeek [Tue, 5 Jul 2022 11:58:49 +0000 (13:58 +0200)]
Prep for rec-4.7.1
Remi Gacogne [Tue, 5 Jul 2022 17:22:10 +0000 (19:22 +0200)]
Merge pull request #11761 from rgacogne/ddist-keep-caps-on-user-switch
dnsdist: Keep retained capabilities even when switching user/group
Remi Gacogne [Tue, 5 Jul 2022 15:48:14 +0000 (17:48 +0200)]
dnsdist: Keep retained capabilities even when switching user/group
On Linux, we support retaining some capabilities if we are running
as root (eeew) or as an unprivileged user with ambiant capabilities,
but we did not yet support keeping these if we were started as root
but then switched to a different user ID and/or group ID.
This commit uses `PR_SET_KEEPCAPS`, when available, to do just that,
to be able to retain the capabilities we need without running as a
fully privileged users even when we cannot easily use ambiant
capabilities.
Peter van Dijk [Tue, 5 Jul 2022 10:21:22 +0000 (12:21 +0200)]
auth py tests: also test TCP LUA shared/non-shared mode
Peter van Dijk [Tue, 5 Jul 2022 09:54:44 +0000 (11:54 +0200)]
auth py tests: add UDP LUA shared/non-shared counter tests
Peter van Dijk [Tue, 5 Jul 2022 08:45:09 +0000 (10:45 +0200)]
auth py tests: also test LUA shared mode