]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Wed, 10 Aug 2022 14:56:55 +0000 (16:56 +0200)]
dnsdist: Better handling of the different types of metrics
This commit ensures that we don't crash if we forget to update a part of code
if we ever add a new type of metrics, as happened in
9f4fa5ae01efa878d2aa27e4398740d7ed6ef01f .
Peter van Dijk [Mon, 8 Aug 2022 10:40:48 +0000 (12:40 +0200)]
Merge pull request #11825 from mind04/pdns-catalog-next
Pdns catalog next
Remi Gacogne [Mon, 8 Aug 2022 08:25:21 +0000 (10:25 +0200)]
Merge pull request #11827 from nils-wisiol/clarify_hashing_docs
dnsdist: docs clarification on cookie hashing
Remi Gacogne [Mon, 8 Aug 2022 07:45:17 +0000 (09:45 +0200)]
Merge pull request #11807 from Habbie/dnsdist-addrule-typo
dnsdist docs: fix addRule typo
Kees Monshouwer [Fri, 5 Aug 2022 12:13:08 +0000 (14:13 +0200)]
auth: fix backend page layout
Kees Monshouwer [Fri, 5 Aug 2022 08:50:42 +0000 (10:50 +0200)]
auth: fix broken link in catalog doc
Kees Monshouwer [Wed, 3 Aug 2022 14:36:28 +0000 (16:36 +0200)]
auth: fix catalogDiff() coverity report
Kees Monshouwer [Wed, 3 Aug 2022 14:34:32 +0000 (16:34 +0200)]
auth: add missing catalog types in getAllDomains()
Peter van Dijk [Fri, 5 Aug 2022 16:39:53 +0000 (18:39 +0200)]
Merge pull request #11822 from Habbie/nits-
20220803
auth: sql/catalog nits
Nils Wisiol [Wed, 3 Aug 2022 23:03:57 +0000 (19:03 -0400)]
dnsdist: docs clarification on cookie hashing
Peter van Dijk [Wed, 3 Aug 2022 09:47:14 +0000 (11:47 +0200)]
auth sqlite3: abort schema transactions on error
Peter van Dijk [Wed, 3 Aug 2022 09:21:40 +0000 (11:21 +0200)]
sqlite3 catalog zones: fix query typos
Peter van Dijk [Wed, 3 Aug 2022 09:21:29 +0000 (11:21 +0200)]
sqlite3 schema migration: fix typo
Otto Moerbeek [Wed, 3 Aug 2022 07:44:50 +0000 (09:44 +0200)]
Merge pull request #11820 from omoerbeek/rec-load-lua-errhandling
rec: Handle file related errors initially loading Lua script.
Otto Moerbeek [Wed, 3 Aug 2022 06:56:48 +0000 (08:56 +0200)]
Handle error initially loading Lua script.
Fixes #11818 #10079
Otto Moerbeek [Wed, 3 Aug 2022 06:15:00 +0000 (08:15 +0200)]
Merge pull request #11811 from zeha/recrmoldjs
rec: remove unused jsrender.js
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
Chris Hofstaedtler [Tue, 2 Aug 2022 06:05:25 +0000 (08:05 +0200)]
rec: remove unused jsrender.js
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
Peter van Dijk [Fri, 29 Jul 2022 07:15:41 +0000 (09:15 +0200)]
dnsdist docs: fix addRule typo
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
Peter van Dijk [Tue, 5 Jul 2022 07:57:30 +0000 (09:57 +0200)]
auth py tests: only enable LUA records in the parts that need it
Peter van Dijk [Thu, 14 Apr 2022 12:18:36 +0000 (14:18 +0200)]
auth LUA: move LUA state up into the PacketHandler so we can reuse it in TCP as well
fixes #11522
Remi Gacogne [Tue, 5 Jul 2022 08:26:31 +0000 (10:26 +0200)]
Merge pull request #11734 from rgacogne/ddist-nodelay
dnsdist: Set TCP_NODELAY on the TCP connection to backends