]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 months agorec: New Coverity Variable copied when it could be moved cases 15050/head
Otto Moerbeek [Fri, 17 Jan 2025 13:29:13 +0000 (14:29 +0100)] 
rec: New Coverity Variable copied when it could be moved cases
Coverity:
1587816
1587811,12,13,14,17,19
1587810
1587809
1587808
1587807
1587806
1587805
1587804
1587801
1587798
1587796
1587795
1587792
1587791
1587790
1587789
1587788
1587786
1544953

6 months agoMerge pull request #15040 from omoerbeek/rec-ecs
Otto Moerbeek [Fri, 17 Jan 2025 09:09:10 +0000 (10:09 +0100)] 
Merge pull request #15040 from omoerbeek/rec-ecs

EDNSSubnetOpts refactoring

6 months agoAdd a method to get the scoped subnet (aka Netmask) as suggested by @rgacogne 15040/head
Otto Moerbeek [Fri, 17 Jan 2025 08:23:49 +0000 (09:23 +0100)] 
Add a method to get the scoped subnet (aka Netmask) as suggested by @rgacogne

6 months agoMerge pull request #15038 from omoerbeek/rec-record-sizes
Otto Moerbeek [Fri, 17 Jan 2025 08:13:54 +0000 (09:13 +0100)] 
Merge pull request #15038 from omoerbeek/rec-record-sizes

rec: Compute size *estimate* for record cache allocated size

6 months agoMerge pull request #15046 from rgacogne/ddist-better-error-msg-source
Remi Gacogne [Thu, 16 Jan 2025 16:06:49 +0000 (17:06 +0100)] 
Merge pull request #15046 from rgacogne/ddist-better-error-msg-source

dnsdist: Better error when we cannot connect a backend socket

6 months agodnsdist: Better error when we cannot connect a backend socket 15046/head
Remi Gacogne [Thu, 16 Jan 2025 15:30:50 +0000 (16:30 +0100)] 
dnsdist: Better error when we cannot connect a backend socket

Let the user know if we are using a specific interface or source
address to contact the backend, as it is quite helpful to pinpoint
the issue.

6 months agoMerge pull request #15043 from nixargh/docs_autoprimary_setup_add_warning
Peter van Dijk [Thu, 16 Jan 2025 15:26:11 +0000 (16:26 +0100)] 
Merge pull request #15043 from nixargh/docs_autoprimary_setup_add_warning

Docs: Add a warning about non-recursive queries during domain bootstrap on autosecondary

6 months agoMerge pull request #15041 from miodvallat/guillotine
Miod Vallat [Thu, 16 Jan 2025 14:03:05 +0000 (15:03 +0100)] 
Merge pull request #15041 from miodvallat/guillotine

Exit gracefully on ^D on control-console

6 months agoMerge pull request #15039 from miodvallat/augias_stables_take_1
Miod Vallat [Thu, 16 Jan 2025 13:42:20 +0000 (14:42 +0100)] 
Merge pull request #15039 from miodvallat/augias_stables_take_1

Hair trimming in pdnsutil #1

6 months agoUpdate docs/modes-of-operation.rst 15043/head
nixargh [Thu, 16 Jan 2025 13:09:14 +0000 (16:09 +0300)] 
Update docs/modes-of-operation.rst

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
6 months agoMerge pull request #15032 from metajiji/patch-1
Remi Gacogne [Thu, 16 Jan 2025 10:53:48 +0000 (11:53 +0100)] 
Merge pull request #15032 from metajiji/patch-1

dnsdist: Use getAddressInfo() instead python daemonized subprocess

6 months agoUpdate docs/modes-of-operation.rst
nixargh [Thu, 16 Jan 2025 09:43:14 +0000 (12:43 +0300)] 
Update docs/modes-of-operation.rst

Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
6 months agoUpdate docs/modes-of-operation.rst
nixargh [Thu, 16 Jan 2025 09:42:49 +0000 (12:42 +0300)] 
Update docs/modes-of-operation.rst

Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
6 months agoreturn builder dir
nixargh [Thu, 16 Jan 2025 09:41:32 +0000 (12:41 +0300)] 
return builder dir

6 months agoMerge remote-tracking branch 'origin/master' into docs_autoprimary_setup_add_warning
nixargh [Thu, 16 Jan 2025 09:22:14 +0000 (12:22 +0300)] 
Merge remote-tracking branch 'origin/master' into docs_autoprimary_setup_add_warning

6 months agoDocs: Add warning about non-recursive queries during automatic domain bootstrap
nixargh [Thu, 16 Jan 2025 09:20:57 +0000 (12:20 +0300)] 
Docs: Add warning about non-recursive queries during automatic domain bootstrap

6 months agoMerge pull request #15030 from rgacogne/ddist-remove-tlscontext
Remi Gacogne [Thu, 16 Jan 2025 08:41:48 +0000 (09:41 +0100)] 
Merge pull request #15030 from rgacogne/ddist-remove-tlscontext

dnsdist: Remove `TLSContext`

6 months agoMerge pull request #15037 from rgacogne/ddist-document-stat-node-ffi-children
Remi Gacogne [Thu, 16 Jan 2025 08:31:18 +0000 (09:31 +0100)] 
Merge pull request #15037 from rgacogne/ddist-document-stat-node-ffi-children

dnsdist: Document `dnsdist_ffi_stat_node_get_children_*` return children+node stats

6 months agoIf the control console fd is closed, handle this as a "quit" command. 15041/head
Miod Vallat [Wed, 15 Jan 2025 14:43:13 +0000 (15:43 +0100)] 
If the control console fd is closed, handle this as a "quit" command.

Fixes #1694

6 months agoConst me if you can. 15039/head
Miod Vallat [Wed, 15 Jan 2025 13:03:13 +0000 (14:03 +0100)] 
Const me if you can.

6 months agoAppease clang-tidy
Otto Moerbeek [Wed, 15 Jan 2025 12:06:31 +0000 (13:06 +0100)] 
Appease clang-tidy

6 months agoRepresent scope as a prefix length and not a full Netmask (ip + prefix) object
Otto Moerbeek [Tue, 14 Jan 2025 16:03:39 +0000 (17:03 +0100)] 
Represent scope as a prefix length and not a full Netmask (ip + prefix) object

6 months agoThrow a few bones to clang-tidy.
Miod Vallat [Wed, 15 Jan 2025 09:24:17 +0000 (10:24 +0100)] 
Throw a few bones to clang-tidy.

6 months agoUse a container to simplify command dispatch.
Miod Vallat [Wed, 15 Jan 2025 08:40:46 +0000 (09:40 +0100)] 
Use a container to simplify command dispatch.

6 months agoSplit main() into one routine per command.
Miod Vallat [Wed, 15 Jan 2025 07:48:17 +0000 (08:48 +0100)] 
Split main() into one routine per command.

This unfortunately removes the "hash-password" easter egg.

6 months agoTidy
Otto Moerbeek [Tue, 14 Jan 2025 15:20:36 +0000 (16:20 +0100)] 
Tidy

6 months agoFix estimate of bitmask type 15038/head
Otto Moerbeek [Tue, 14 Jan 2025 13:13:42 +0000 (14:13 +0100)] 
Fix estimate of bitmask type

6 months agoMerge pull request #15036 from rgacogne/ddist-improve-secpoll-msgs
Remi Gacogne [Tue, 14 Jan 2025 11:18:56 +0000 (12:18 +0100)] 
Merge pull request #15036 from rgacogne/ddist-improve-secpoll-msgs

dnsdist: Improve error messages on security polling failures

6 months agoIntroduce size *estimate* for record cache allocated size
Otto Moerbeek [Wed, 18 Dec 2024 11:33:58 +0000 (12:33 +0100)] 
Introduce size *estimate* for record cache allocated size

6 months agodnsdist: Document `dnsdist_ffi_stat_node_get_children_*` return children+node stats 15037/head
Remi Gacogne [Tue, 14 Jan 2025 10:17:38 +0000 (11:17 +0100)] 
dnsdist: Document `dnsdist_ffi_stat_node_get_children_*` return children+node stats

The `dnsdist_ffi_stat_node_get_children_*` methods return the sum of
the queries or responses received for the children of a node AND the node
itself. It's quite unexpected but breaking the existing behaviour now would be painful.

6 months agoMerge pull request #15029 from rgacogne/ddist-doh3-set-http-response
Remi Gacogne [Tue, 14 Jan 2025 10:13:26 +0000 (11:13 +0100)] 
Merge pull request #15029 from rgacogne/ddist-doh3-set-http-response

dnsdist: Add the ability to set custom HTTP responses over DoH3

6 months agodnsdist: Delint dnsdist-secpoll.cc 15036/head
Remi Gacogne [Tue, 14 Jan 2025 10:10:46 +0000 (11:10 +0100)] 
dnsdist: Delint dnsdist-secpoll.cc

6 months agodnsdist: Reformat dnsdist-secpoll.cc
Remi Gacogne [Tue, 14 Jan 2025 09:43:26 +0000 (10:43 +0100)] 
dnsdist: Reformat dnsdist-secpoll.cc

6 months agodnsdist: Improve error messages on security polling failures
Remi Gacogne [Tue, 14 Jan 2025 09:42:37 +0000 (10:42 +0100)] 
dnsdist: Improve error messages on security polling failures

6 months agoMerge pull request #15031 from omoerbeek/rec-prep-5.2.0
Otto Moerbeek [Tue, 14 Jan 2025 09:02:32 +0000 (10:02 +0100)] 
Merge pull request #15031 from omoerbeek/rec-prep-5.2.0

rec: prep for rec-5.2.0

6 months agoMerge pull request #15033 from omoerbeek/rec-rpz-tmp-file-deleter
Otto Moerbeek [Mon, 13 Jan 2025 16:03:54 +0000 (17:03 +0100)] 
Merge pull request #15033 from omoerbeek/rec-rpz-tmp-file-deleter

rec: delete temp file on failure to dump RPZ file

6 months agoDon't forget to delete the pointer itself 15033/head
Otto Moerbeek [Mon, 13 Jan 2025 14:45:00 +0000 (15:45 +0100)] 
Don't forget to delete the pointer itself

6 months agorec: delete temp file on failure to dump RPZ file
Otto Moerbeek [Mon, 13 Jan 2025 13:21:35 +0000 (14:21 +0100)] 
rec: delete temp file on failure to dump RPZ file

6 months agoUpdate dnsdist-resolver.lua 15032/head
Denis Kadyshev [Mon, 13 Jan 2025 11:54:35 +0000 (18:54 +0700)] 
Update dnsdist-resolver.lua

6 months agoDelete dockerdata/dnsdist-resolver.py
Denis Kadyshev [Mon, 13 Jan 2025 11:48:41 +0000 (18:48 +0700)] 
Delete dockerdata/dnsdist-resolver.py

6 months agoUpdate Dockerfile-dnsdist
Denis Kadyshev [Mon, 13 Jan 2025 11:46:59 +0000 (18:46 +0700)] 
Update Dockerfile-dnsdist

6 months agoMerge pull request #15025 from miodvallat/dare-to-fail
Miod Vallat [Mon, 13 Jan 2025 10:49:41 +0000 (11:49 +0100)] 
Merge pull request #15025 from miodvallat/dare-to-fail

pdnsutil add-zone-key: more checks

6 months agorec: prep for rec-5.2.0 15031/head
Otto Moerbeek [Mon, 13 Jan 2025 08:48:44 +0000 (09:48 +0100)] 
rec: prep for rec-5.2.0

6 months agoMerge pull request #14996 from miodvallat/lua_finer_intervals
Miod Vallat [Mon, 13 Jan 2025 10:12:18 +0000 (11:12 +0100)] 
Merge pull request #14996 from miodvallat/lua_finer_intervals

Lua up checks: finer control

6 months agoMerge pull request #15004 from miodvallat/old_lmdb_schema_leftovers
Miod Vallat [Mon, 13 Jan 2025 10:08:58 +0000 (11:08 +0100)] 
Merge pull request #15004 from miodvallat/old_lmdb_schema_leftovers

[lmdb] Ignore unreachable TSIG keys in getTSIGKeys

6 months agoImplement optional interval and minimumFailure options in if*up. 14996/head
Miod Vallat [Wed, 18 Dec 2024 14:11:23 +0000 (15:11 +0100)] 
Implement optional interval and minimumFailure options in if*up.

6 months agoMerge pull request #10692 from n0tlu5/sulton/self-weighted
Miod Vallat [Mon, 13 Jan 2025 08:15:28 +0000 (09:15 +0100)] 
Merge pull request #10692 from n0tlu5/sulton/self-weighted

auth: added self weighted lua function

6 months agoMore clang-tidy conformance. 10692/head
Miod Vallat [Mon, 13 Jan 2025 06:41:16 +0000 (07:41 +0100)] 
More clang-tidy conformance.

6 months agodnsdist: clang-tidy 15029/head
Remi Gacogne [Fri, 10 Jan 2025 11:51:15 +0000 (12:51 +0100)] 
dnsdist: clang-tidy

6 months agodnsdist: Fix indentation
Remi Gacogne [Fri, 10 Jan 2025 10:53:38 +0000 (11:53 +0100)] 
dnsdist: Fix indentation

6 months agodnsdist: Apply Miod's suggestion
Remi Gacogne [Fri, 10 Jan 2025 10:50:08 +0000 (11:50 +0100)] 
dnsdist: Apply Miod's suggestion

Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
6 months agodnsdist: Add the ability to set custom HTTP responses over DoH3
Remi Gacogne [Fri, 10 Jan 2025 10:29:15 +0000 (11:29 +0100)] 
dnsdist: Add the ability to set custom HTTP responses over DoH3

6 months agodnsdist: Remove `TLSContext` 15030/head
Remi Gacogne [Fri, 10 Jan 2025 14:13:33 +0000 (15:13 +0100)] 
dnsdist: Remove `TLSContext`

This PR removes the `TLSContext` class which is a duplicate of the
more powerful `TLSFrontend` one, and rename `showTLSContexts` to
`showTLSFrontends` to be consistent.

6 months agoMerge pull request #15021 from omoerbeek/rec-daily-bulk
Otto Moerbeek [Fri, 10 Jan 2025 13:42:20 +0000 (14:42 +0100)] 
Merge pull request #15021 from omoerbeek/rec-daily-bulk

rec: run daily bulk test on ubicloud

6 months agoRename var to UBICLOUD_DAILY_REC_BULKTEST 15021/head
Otto Moerbeek [Fri, 10 Jan 2025 12:49:05 +0000 (13:49 +0100)] 
Rename var to UBICLOUD_DAILY_REC_BULKTEST

6 months agoMerge pull request #15028 from omoerbeek/dnsdist-fix-build-no-doh3
Otto Moerbeek [Fri, 10 Jan 2025 11:40:50 +0000 (12:40 +0100)] 
Merge pull request #15028 from omoerbeek/dnsdist-fix-build-no-doh3

dnsdist: fix doh3-less compile

6 months agodnsdist: fix doh3-less compile 15028/head
Otto Moerbeek [Fri, 10 Jan 2025 10:11:56 +0000 (11:11 +0100)] 
dnsdist: fix doh3-less compile

6 months agoMerge pull request #15018 from omoerbeek/rec-bulktest-ubicloud
Otto Moerbeek [Fri, 10 Jan 2025 10:16:04 +0000 (11:16 +0100)] 
Merge pull request #15018 from omoerbeek/rec-bulktest-ubicloud

rec: add bigger (and v6 enabled) bulk test on ubicloud

6 months agoMerge pull request #14617 from omoerbeek/rec-dedup-recs
Otto Moerbeek [Fri, 10 Jan 2025 09:13:28 +0000 (10:13 +0100)] 
Merge pull request #14617 from omoerbeek/rec-dedup-recs

rec: dedup records

6 months agoMerge pull request #15026 from omoerbeek/dnsdist-testrunner-libssl
Remi Gacogne [Fri, 10 Jan 2025 09:12:17 +0000 (10:12 +0100)] 
Merge pull request #15026 from omoerbeek/dnsdist-testrunner-libssl

dnsdist:: add -lssl to testrunner link, needed on OpenBSD at least

6 months agoWe also want to run this new regression test on PRs, but those do not get the vars... 15018/head
Otto Moerbeek [Fri, 10 Jan 2025 08:55:24 +0000 (09:55 +0100)] 
We also want to run this new regression test on PRs, but those do not get the vars from the pdns repo

6 months agoMerge pull request #14948 from neheb/ll
Remi Gacogne [Fri, 10 Jan 2025 08:50:11 +0000 (09:50 +0100)] 
Merge pull request #14948 from neheb/ll

clang-tidy: simplify some algorithms

6 months agoMerge pull request #14970 from neheb/jj
Peter van Dijk [Fri, 10 Jan 2025 08:43:50 +0000 (09:43 +0100)] 
Merge pull request #14970 from neheb/jj

boost > std optional

6 months agoMove workflow to misc-dailies and rename
Otto Moerbeek [Fri, 10 Jan 2025 08:41:32 +0000 (09:41 +0100)] 
Move workflow to misc-dailies and rename

6 months agodnsdist:: add -lssl to testrunner link, needed on OpenBSD at least 15026/head
Otto Moerbeek [Fri, 10 Jan 2025 08:36:22 +0000 (09:36 +0100)] 
dnsdist:: add -lssl to testrunner link, needed on OpenBSD at least

6 months agoSeparate speedtest setup, process review comments 14617/head
Otto Moerbeek [Tue, 7 Jan 2025 08:56:35 +0000 (09:56 +0100)] 
Separate speedtest setup, process review comments

6 months agoMake add-zone-key try to retrieve it back to confirm operation. 15025/head
Miod Vallat [Thu, 9 Jan 2025 14:55:16 +0000 (15:55 +0100)] 
Make add-zone-key try to retrieve it back to confirm operation.

6 months agoSilence clang-tidy
Miod Vallat [Thu, 9 Jan 2025 14:14:29 +0000 (15:14 +0100)] 
Silence clang-tidy

6 months agoMove add-zone-key logic to its own routine. NFC
Miod Vallat [Thu, 9 Jan 2025 14:05:55 +0000 (15:05 +0100)] 
Move add-zone-key logic to its own routine. NFC

6 months agoMerge pull request #14946 from rgacogne/ddist-add-test-for-rewriting-response-code...
Remi Gacogne [Thu, 9 Jan 2025 13:16:36 +0000 (14:16 +0100)] 
Merge pull request #14946 from rgacogne/ddist-add-test-for-rewriting-response-code-via-lua

dnsdist: Add a regression test rewriting the response code via Lua

6 months agoMerge pull request #15002 from rgacogne/ddist-doh3-bindings
Remi Gacogne [Thu, 9 Jan 2025 13:10:58 +0000 (14:10 +0100)] 
Merge pull request #15002 from rgacogne/ddist-doh3-bindings

dnsdist: Add DoH3 headers, query string, path and scheme bindings

6 months agoMerge pull request #15023 from miodvallat/autoconf-ate-my-brackets
Miod Vallat [Thu, 9 Jan 2025 11:23:58 +0000 (12:23 +0100)] 
Merge pull request #15023 from miodvallat/autoconf-ate-my-brackets

autohell regression fix

6 months agoMerge pull request #15003 from rgacogne/ddist-regression-test-python3.13
Remi Gacogne [Thu, 9 Jan 2025 10:46:00 +0000 (11:46 +0100)] 
Merge pull request #15003 from rgacogne/ddist-regression-test-python3.13

dnsdist: Fix regression tests with Python 3.13

6 months agoRemove spurious ] causing shell complaints during configure. 15023/head
Miod Vallat [Thu, 9 Jan 2025 09:56:59 +0000 (10:56 +0100)] 
Remove spurious ] causing shell complaints during configure.

6 months agoMake bigger and run on ubicloud
Otto Moerbeek [Wed, 8 Jan 2025 15:13:27 +0000 (16:13 +0100)] 
Make bigger and run on ubicloud

6 months agoUse matrix
Otto Moerbeek [Wed, 8 Jan 2025 14:57:37 +0000 (15:57 +0100)] 
Use matrix

6 months agoRun daily recursor bulk test using download from our repo
Otto Moerbeek [Wed, 8 Jan 2025 13:17:30 +0000 (14:17 +0100)] 
Run daily recursor bulk test using download from our repo

6 months agoConditionalize on if: ${{ vars.REC_BULKTEST_USE_UBICLOUD == '1' }}
Otto Moerbeek [Wed, 8 Jan 2025 13:56:10 +0000 (14:56 +0100)] 
Conditionalize on if: ${{ vars.REC_BULKTEST_USE_UBICLOUD == '1' }}

6 months agorec: start bulk test on ubicloud (experiment)
Otto Moerbeek [Tue, 7 Jan 2025 10:21:59 +0000 (11:21 +0100)] 
rec: start bulk test on ubicloud (experiment)

6 months agoMerge pull request #15019 from omoerbeek/rec-log-sockets
Otto Moerbeek [Wed, 8 Jan 2025 09:31:06 +0000 (10:31 +0100)] 
Merge pull request #15019 from omoerbeek/rec-log-sockets

rec: explictly log port of listening addresses

6 months agorec: explictly log port of listening addresses 15019/head
Otto Moerbeek [Wed, 8 Jan 2025 08:50:57 +0000 (09:50 +0100)] 
rec: explictly log port of listening addresses

6 months agoMerge pull request #14993 from BozhanL/fix7522
Peter van Dijk [Tue, 7 Jan 2025 13:48:04 +0000 (14:48 +0100)] 
Merge pull request #14993 from BozhanL/fix7522

auth: createForward and createForward6 will use the zone_record as base

6 months agoMerge pull request #15016 from Habbie/no-bool-explicit-cmp
Peter van Dijk [Tue, 7 Jan 2025 13:33:27 +0000 (14:33 +0100)] 
Merge pull request #15016 from Habbie/no-bool-explicit-cmp

coding guidelines: remove bool advice that conflicts with clang-tidy

6 months agoMerge pull request #15017 from omoerbeek/rec-shared-ptr-followup
Otto Moerbeek [Tue, 7 Jan 2025 10:46:29 +0000 (11:46 +0100)] 
Merge pull request #15017 from omoerbeek/rec-shared-ptr-followup

rec: followup to #14985: init shared pointers as get() might be passed a nullptr

6 months agorec: followup to #14985: init shared pointers as get() might be passed a nullptr 15017/head
Otto Moerbeek [Tue, 7 Jan 2025 10:05:54 +0000 (11:05 +0100)] 
rec: followup to #14985: init shared pointers as get() might be passed a nullptr

6 months agoskip readability-identifier-length lint
n0tlu5 [Mon, 6 Jan 2025 16:55:49 +0000 (23:55 +0700)] 
skip readability-identifier-length lint

6 months agoMerge pull request #14937 from omoerbeek/rec-meson-ci
Otto Moerbeek [Mon, 6 Jan 2025 15:03:43 +0000 (16:03 +0100)] 
Merge pull request #14937 from omoerbeek/rec-meson-ci

rec: start building rec also using meson in ci

6 months agobetter text 15016/head
Peter van Dijk [Mon, 6 Jan 2025 13:53:29 +0000 (14:53 +0100)] 
better text

Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
6 months agocoding guidelines: remove bool advice that conflicts with clang-tidy
Peter van Dijk [Mon, 6 Jan 2025 13:48:54 +0000 (14:48 +0100)] 
coding guidelines: remove bool advice that conflicts with clang-tidy

6 months agoTypo in comment 14937/head
Otto Moerbeek [Mon, 6 Jan 2025 13:29:11 +0000 (14:29 +0100)] 
Typo in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
6 months agoauth: remove zoneid from luaSynth parameters 14993/head
Bozhan Liang [Mon, 6 Jan 2025 13:11:55 +0000 (21:11 +0800)] 
auth: remove zoneid from luaSynth parameters

6 months agoMerge pull request #14985 from omoerbeek/rec-cache-shared-authrecs
Otto Moerbeek [Mon, 6 Jan 2025 13:02:12 +0000 (14:02 +0100)] 
Merge pull request #14985 from omoerbeek/rec-cache-shared-authrecs

rec: store authority recs and signatures as shared pointers to const data

6 months agotypo
Bozhan Liang [Mon, 6 Jan 2025 12:41:54 +0000 (20:41 +0800)] 
typo

6 months agoMerge pull request #15010 from g0tar/taggedOnly
Otto Moerbeek [Mon, 6 Jan 2025 12:02:29 +0000 (13:02 +0100)] 
Merge pull request #15010 from g0tar/taggedOnly

recursor: fixed behaviour of protobufServer(.. {taggedOnly=true})

6 months agoIgnore unreachable TSIG keys in getTSIGKeys. 15004/head
Miod Vallat [Thu, 2 Jan 2025 09:17:16 +0000 (10:17 +0100)] 
Ignore unreachable TSIG keys in getTSIGKeys.

Pre-v5 database schema would (incorrectly) allow for multiple TSIG
keys to be created with the same name and algorithm. Once the database
gets converted to v5 schema, those redundant keys can no longer be used,
yet would appear in pdnsutil list-tsig-key output.

Change the list logic to only report reachable keys.

Fixes 14779

6 months agoProcess review comments from @rgacogne 14985/head
Otto Moerbeek [Mon, 6 Jan 2025 11:05:13 +0000 (12:05 +0100)] 
Process review comments from @rgacogne

6 months agoTest the non-tagged packet cache hit case and test both UDP and TCP clients while... 15010/head
Otto Moerbeek [Mon, 6 Jan 2025 08:57:29 +0000 (09:57 +0100)] 
Test the non-tagged packet cache hit case and test both UDP and TCP clients while there

6 months agorecursor: outgoingProtobufServer() ignores taggedOnly protobuf option,
Tomasz Pala [Sat, 4 Jan 2025 12:55:27 +0000 (13:55 +0100)] 
recursor: outgoingProtobufServer() ignores taggedOnly protobuf option,
therefore do not annouce it; outgoing server is used as outgoingLoggers
in LWResult::Result asyncresolve(); after being introduced in
4898a34 filtering of outgoingP..S..() was not implemented since b790ef3

6 months agotypo
Tomasz Pala [Sat, 4 Jan 2025 04:36:48 +0000 (05:36 +0100)] 
typo

6 months agorec: TCP counterpart to protobufServer(.. {taggedOnly=true}) fix
Tomasz Pala [Sat, 4 Jan 2025 02:55:20 +0000 (03:55 +0100)] 
rec: TCP counterpart to protobufServer(.. {taggedOnly=true}) fix