]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 weeks agoSwitch TestRuleMetricsDefault to pass 16480/head
Josh Soref [Wed, 12 Nov 2025 18:44:52 +0000 (13:44 -0500)] 
Switch TestRuleMetricsDefault to pass

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 weeks agoMerge pull request #16471 from PowerDNS/dependabot/pip/builder-support/requests-2...
Alexis Romero [Wed, 12 Nov 2025 14:02:05 +0000 (15:02 +0100)] 
Merge pull request #16471 from PowerDNS/dependabot/pip/builder-support/requests-2.32.4

chore(deps): bump requests from 2.32.3 to 2.32.4 in /builder-support

4 weeks agoMerge pull request #16476 from omoerbeek/contrib-followup
Otto Moerbeek [Wed, 12 Nov 2025 13:30:51 +0000 (14:30 +0100)] 
Merge pull request #16476 from omoerbeek/contrib-followup

contrib/ProtobufLogger.py: Fix syntax error that crept in with 16458

4 weeks agoMerge pull request #16077 from omoerbeek/c++20-for-real
Otto Moerbeek [Wed, 12 Nov 2025 13:16:46 +0000 (14:16 +0100)] 
Merge pull request #16077 from omoerbeek/c++20-for-real

Prep, but do not actually move to C++20

4 weeks agoMerge pull request #16283 from sndrsmnk/docupd2
Remi Gacogne [Wed, 12 Nov 2025 13:13:54 +0000 (14:13 +0100)] 
Merge pull request #16283 from sndrsmnk/docupd2

dnsdist downstream-timeouts documentation update

4 weeks agoMerge pull request #16473 from miodvallat/spanish_cow
Miod Vallat [Wed, 12 Nov 2025 12:47:06 +0000 (13:47 +0100)] 
Merge pull request #16473 from miodvallat/spanish_cow

auth, rec: typos

4 weeks agoFix syntax error that crept in with 16458 16476/head
Otto Moerbeek [Wed, 12 Nov 2025 12:23:16 +0000 (13:23 +0100)] 
Fix syntax error that crept in with 16458

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16362 from omoerbeek/rec-ottrace-conditions
Otto Moerbeek [Wed, 12 Nov 2025 11:10:05 +0000 (12:10 +0100)] 
Merge pull request #16362 from omoerbeek/rec-ottrace-conditions

rec: implement new feature to only generate OpenTelemetry Traces on certain conditions

4 weeks agoFix grammar in error messages. 16473/head
Miod Vallat [Wed, 12 Nov 2025 10:45:33 +0000 (11:45 +0100)] 
Fix grammar in error messages.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agochore(deps): bump requests from 2.32.3 to 2.32.4 in /builder-support 16471/head
dependabot[bot] [Wed, 12 Nov 2025 10:39:49 +0000 (10:39 +0000)] 
chore(deps): bump requests from 2.32.3 to 2.32.4 in /builder-support

Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoMerge pull request #16464 from romeroalx/fix-upload-pkgs-pattern
Remi Gacogne [Wed, 12 Nov 2025 10:38:38 +0000 (11:38 +0100)] 
Merge pull request #16464 from romeroalx/fix-upload-pkgs-pattern

build-packages.yml: update workflow after changes in the download-artifacts action

4 weeks agoMerge pull request #16425 from pieterlexis/dnsdist-cov-parentSpanID
Otto Moerbeek [Wed, 12 Nov 2025 09:53:28 +0000 (10:53 +0100)] 
Merge pull request #16425 from pieterlexis/dnsdist-cov-parentSpanID

fix(protozero): Always initialize SpanID and TraceID to zero

4 weeks agoRefactor common code in tests and add a few tests 16362/head
Otto Moerbeek [Wed, 12 Nov 2025 09:15:13 +0000 (10:15 +0100)] 
Refactor common code in tests and add a few tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16467 from miodvallat/tiptoeing
Miod Vallat [Wed, 12 Nov 2025 09:28:25 +0000 (10:28 +0100)] 
Merge pull request #16467 from miodvallat/tiptoeing

auth: bunch of boring idempotent commits

4 weeks agofix(protozero): Keep the SpanID and TraceID ctors `constexpr` 16425/head
Remi Gacogne [Wed, 12 Nov 2025 09:21:05 +0000 (10:21 +0100)] 
fix(protozero): Keep the SpanID and TraceID ctors `constexpr`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoAppease clang-tidy 16467/head
Miod Vallat [Wed, 12 Nov 2025 07:50:15 +0000 (08:50 +0100)] 
Appease clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoBetter commments in spec files 16077/head
Otto Moerbeek [Wed, 12 Nov 2025 08:12:32 +0000 (09:12 +0100)] 
Better commments in spec files

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoRevert the actual move to C++, but keep all the other changes
Otto Moerbeek [Mon, 27 Oct 2025 10:05:54 +0000 (11:05 +0100)] 
Revert the actual move to C++, but keep all the other changes

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoUSe C++ style includes for C header files
Otto Moerbeek [Mon, 27 Oct 2025 10:05:38 +0000 (11:05 +0100)] 
USe C++ style includes for C header files

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoVarious fixes to make dnsdist and auth work on el-8
Otto Moerbeek [Mon, 8 Sep 2025 11:55:15 +0000 (13:55 +0200)] 
Various fixes to make dnsdist and auth work on el-8

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoUse gnu++20 instead of c++20, according to Habbie it makes porting to e.g. Suse and...
Otto Moerbeek [Mon, 8 Sep 2025 10:13:29 +0000 (12:13 +0200)] 
Use gnu++20 instead of c++20, according to Habbie it makes porting to e.g. Suse and Haiku easier.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoFix two more cases of ambiguous operator calls
Otto Moerbeek [Mon, 8 Sep 2025 07:41:58 +0000 (09:41 +0200)] 
Fix two more cases of ambiguous operator calls

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoTidy
Otto Moerbeek [Thu, 4 Sep 2025 12:33:37 +0000 (14:33 +0200)] 
Tidy

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMissing include
Otto Moerbeek [Thu, 4 Sep 2025 08:41:21 +0000 (10:41 +0200)] 
Missing include

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoBump minimal c++ version to c++20
Otto Moerbeek [Thu, 4 Sep 2025 07:33:11 +0000 (09:33 +0200)] 
Bump minimal c++ version to c++20

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoAvoid two cases of too early instantation of a member of a vector of an incomplete...
Otto Moerbeek [Thu, 4 Sep 2025 07:46:58 +0000 (09:46 +0200)] 
Avoid two cases of too early instantation of a member of a vector of an incomplete class

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoc++20 does not allow implicit capture of this
Otto Moerbeek [Thu, 4 Sep 2025 07:46:27 +0000 (09:46 +0200)] 
c++20 does not allow implicit capture of this

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoAvoid a few cases of warning: C++20 says that these are ambiguous, even though the...
Otto Moerbeek [Thu, 4 Sep 2025 07:45:38 +0000 (09:45 +0200)] 
Avoid a few cases of warning: C++20 says that these are ambiguous, even though the second is reversed

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoRemove commented out crude debug/log code.
Miod Vallat [Wed, 12 Nov 2025 07:04:41 +0000 (08:04 +0100)] 
Remove commented out crude debug/log code.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoReplace commented out logging code with #if 0 sections. NFCI
Miod Vallat [Wed, 12 Nov 2025 07:02:08 +0000 (08:02 +0100)] 
Replace commented out logging code with #if 0 sections. NFCI

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoRemove undocumented {new,dup}DNSPacket from Lua.
Miod Vallat [Wed, 12 Nov 2025 06:53:31 +0000 (07:53 +0100)] 
Remove undocumented {new,dup}DNSPacket from Lua.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoPrepare qthread() for its catch block to be able to access its locals. NFC
Miod Vallat [Wed, 12 Nov 2025 06:52:30 +0000 (07:52 +0100)] 
Prepare qthread() for its catch block to be able to access its locals. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoSimplify Bind2Backend::handle. NFC
Miod Vallat [Wed, 12 Nov 2025 06:52:16 +0000 (07:52 +0100)] 
Simplify Bind2Backend::handle. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #16343 from miodvallat/bacf'
Miod Vallat [Tue, 11 Nov 2025 20:40:39 +0000 (21:40 +0100)] 
Merge pull request #16343 from miodvallat/bacf'

auth rfc2136: more churning

4 weeks agoMerge pull request #16427 from omoerbeek/rec-print-settings
Otto Moerbeek [Tue, 11 Nov 2025 15:42:18 +0000 (16:42 +0100)] 
Merge pull request #16427 from omoerbeek/rec-print-settings

rec: rec_control get-parameter: print runtime settings in YAML format if YAML config is active

5 weeks agoProcess review comments 16427/head
Otto Moerbeek [Tue, 11 Nov 2025 15:08:43 +0000 (16:08 +0100)] 
Process review comments

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMerge pull request #16300 from FalkoFlessner/falko-NOISSUE-fix-docs-realremote
Pieter Lexis [Tue, 11 Nov 2025 14:26:14 +0000 (15:26 +0100)] 
Merge pull request #16300 from FalkoFlessner/falko-NOISSUE-fix-docs-realremote

Fix[docs]: "real-remote" is always a CIDR-netmask

5 weeks agoMerge pull request #16398 from Habbie/sdist-files
Peter van Dijk [Tue, 11 Nov 2025 12:12:45 +0000 (13:12 +0100)] 
Merge pull request #16398 from Habbie/sdist-files

auth sdist: copy files as files, not as new dirs

5 weeks agoMerge pull request #16456 from jsoref/codeql-quality-unreachable-dnsdist
Peter van Dijk [Tue, 11 Nov 2025 12:11:56 +0000 (13:11 +0100)] 
Merge pull request #16456 from jsoref/codeql-quality-unreachable-dnsdist

Clean up unreachable code for dnsdist

5 weeks agoMerge pull request #16361 from miodvallat/chording
Peter van Dijk [Tue, 11 Nov 2025 11:07:07 +0000 (12:07 +0100)] 
Merge pull request #16361 from miodvallat/chording

lmdb: allow different mapsize values for main and shards

5 weeks agoMerge pull request #16370 from miodvallat/secondary_considerations
Peter van Dijk [Tue, 11 Nov 2025 10:56:44 +0000 (11:56 +0100)] 
Merge pull request #16370 from miodvallat/secondary_considerations

auth: xfr churning

5 weeks agoMerge pull request #16399 from Habbie/auth-upgrade-master
Peter van Dijk [Tue, 11 Nov 2025 10:42:39 +0000 (11:42 +0100)] 
Merge pull request #16399 from Habbie/auth-upgrade-master

auth upgrade notes: stop confusing people with future version numbers

5 weeks agoMerge pull request #16454 from jsoref/codeql-quality-unused-local-variable
Peter van Dijk [Tue, 11 Nov 2025 10:41:40 +0000 (11:41 +0100)] 
Merge pull request #16454 from jsoref/codeql-quality-unused-local-variable

chore: Clean up unused variables

5 weeks agobuild-packages.yml: update for changes in download-packages action 16464/head
romeroalx [Mon, 10 Nov 2025 19:34:13 +0000 (20:34 +0100)] 
build-packages.yml: update for changes in download-packages action

5 weeks agoMerge pull request #16457 from jsoref/codeql-quality-unreachable
Otto Moerbeek [Mon, 10 Nov 2025 18:57:23 +0000 (19:57 +0100)] 
Merge pull request #16457 from jsoref/codeql-quality-unreachable

Clean up unreachable code

5 weeks agoMerge pull request #16459 from jsoref/fix-checkDump-try-except
Otto Moerbeek [Mon, 10 Nov 2025 18:29:12 +0000 (19:29 +0100)] 
Merge pull request #16459 from jsoref/fix-checkDump-try-except

Fix try/except/as notation

5 weeks agoProcess docs review comments from Pieter
Otto Moerbeek [Mon, 27 Oct 2025 12:22:03 +0000 (13:22 +0100)] 
Process docs review comments from Pieter

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoTidy
Otto Moerbeek [Thu, 23 Oct 2025 14:13:23 +0000 (16:13 +0200)] 
Tidy

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoSpell-check found typos
Otto Moerbeek [Thu, 23 Oct 2025 13:26:43 +0000 (15:26 +0200)] 
Spell-check found typos

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoTypo's from miod's review
Otto Moerbeek [Thu, 23 Oct 2025 13:20:57 +0000 (15:20 +0200)] 
Typo's from miod's review

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoDocs and bit of a dirty hack: flush protobuf queue immediately in test mode
Otto Moerbeek [Thu, 23 Oct 2025 09:30:22 +0000 (11:30 +0200)] 
Docs and bit of a dirty hack: flush protobuf queue immediately in test mode

Saves 50s on a Protobuf test run (180s before)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoRewrite tests using reloading of config in place of several test classes with differe...
Otto Moerbeek [Thu, 23 Oct 2025 08:34:01 +0000 (10:34 +0200)] 
Rewrite tests using reloading of config in place of several test classes with different configs

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoFix test with new semantics of TraceIDOnly
Otto Moerbeek [Wed, 22 Oct 2025 14:39:39 +0000 (16:39 +0200)] 
Fix test with new semantics of TraceIDOnly

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoGenerate TraceID and SpanID later (and only if needed)
Otto Moerbeek [Wed, 22 Oct 2025 13:33:14 +0000 (15:33 +0200)] 
Generate TraceID and SpanID later (and only if needed)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoFix qtype test (and fix an existing class/type confusion while there)
Otto Moerbeek [Tue, 21 Oct 2025 14:54:38 +0000 (16:54 +0200)] 
Fix qtype test (and fix an existing class/type confusion while there)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoAdd a few OT Conditional trace tests
Otto Moerbeek [Tue, 21 Oct 2025 14:11:50 +0000 (16:11 +0200)] 
Add a few OT Conditional trace tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoextend test to cover both incoming UDP and TCP
Otto Moerbeek [Tue, 21 Oct 2025 13:35:12 +0000 (15:35 +0200)] 
extend test to cover both incoming UDP and TCP

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoregression test: adapt to new OT conditionals regime
Otto Moerbeek [Tue, 21 Oct 2025 13:22:32 +0000 (15:22 +0200)] 
regression test: adapt to new OT conditionals regime

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoHandle traceid_only and other conditions correctly
Otto Moerbeek [Tue, 21 Oct 2025 11:33:30 +0000 (13:33 +0200)] 
Handle traceid_only and other conditions correctly

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoAdd TCP case, do early match when we know the source
Otto Moerbeek [Tue, 21 Oct 2025 10:14:55 +0000 (12:14 +0200)] 
Add TCP case, do early match when we know the source

One case goes wrong: old-style tracing enabled and OT tracing enabled, but traceid_only is set

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMatching logic
Otto Moerbeek [Mon, 20 Oct 2025 15:02:33 +0000 (17:02 +0200)] 
Matching logic

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoHousekeeping of global and thread-local data of OT conditions
Otto Moerbeek [Mon, 20 Oct 2025 13:49:03 +0000 (15:49 +0200)] 
Housekeeping of global and thread-local data of OT conditions

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoAdd struct for specifying conditions for OpenTelemetry Tracing
Otto Moerbeek [Mon, 20 Oct 2025 13:08:36 +0000 (15:08 +0200)] 
Add struct for specifying conditions for OpenTelemetry Tracing

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMerge pull request #16451 from Habbie/luajit-thread-aargh64itizer
Remi Gacogne [Mon, 10 Nov 2025 13:48:40 +0000 (14:48 +0100)] 
Merge pull request #16451 from Habbie/luajit-thread-aargh64itizer

luawrapper: on luajit+arm64+tsan, retry allocs harder

5 weeks agoMerge pull request #16460 from jsoref/use-map-for-getHTTPCounter
Remi Gacogne [Mon, 10 Nov 2025 13:47:13 +0000 (14:47 +0100)] 
Merge pull request #16460 from jsoref/use-map-for-getHTTPCounter

Avoid warning about mixed explicit/implicit returns

5 weeks agoFix reference to class variable 16460/head
Josh Soref [Mon, 10 Nov 2025 12:07:50 +0000 (07:07 -0500)] 
Fix reference to class variable

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agoMerge pull request #16395 from pieterlexis/dnsdist-ot-settraceid
Pieter Lexis [Mon, 10 Nov 2025 12:06:45 +0000 (13:06 +0100)] 
Merge pull request #16395 from pieterlexis/dnsdist-ot-settraceid

dnsdist: Add option to use incoming OpenTelemetry Trace ID

5 weeks agoTake @rgacogne's suggestion and provide ct for initializer list
Otto Moerbeek [Mon, 10 Nov 2025 09:46:46 +0000 (10:46 +0100)] 
Take @rgacogne's suggestion and provide ct for initializer list

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMerge pull request #16440 from omoerbeek/endian-janitor
Otto Moerbeek [Mon, 10 Nov 2025 10:59:47 +0000 (11:59 +0100)] 
Merge pull request #16440 from omoerbeek/endian-janitor

Cleanup endianness determining code

5 weeks agoMerge pull request #16458 from jsoref/use-map-for-getAppliedPolicyTypeAsString
Otto Moerbeek [Mon, 10 Nov 2025 10:54:19 +0000 (11:54 +0100)] 
Merge pull request #16458 from jsoref/use-map-for-getAppliedPolicyTypeAsString

Use map for getAppliedPolicyTypeAsString

5 weeks agoluawrapper: on luajit+arm64+tsan, retry allocs harder 16451/head
Peter van Dijk [Fri, 7 Nov 2025 16:01:03 +0000 (17:01 +0100)] 
luawrapper: on luajit+arm64+tsan, retry allocs harder

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
5 weeks agoMerge pull request #16461 from omoerbeek/rec-ws-loglevel
Otto Moerbeek [Mon, 10 Nov 2025 09:56:43 +0000 (10:56 +0100)] 
Merge pull request #16461 from omoerbeek/rec-ws-loglevel

rec: fix parsing of webserver loglevel "none"

5 weeks agoMerge pull request #16452 from miodvallat/distraction
Remi Gacogne [Mon, 10 Nov 2025 08:57:52 +0000 (09:57 +0100)] 
Merge pull request #16452 from miodvallat/distraction

dnsdist: evil code which will hurt your eyesight

5 weeks agoMerge pull request #16453 from jsoref/codeql-quality-unused-local-variable-dnsdist
Remi Gacogne [Mon, 10 Nov 2025 08:35:14 +0000 (09:35 +0100)] 
Merge pull request #16453 from jsoref/codeql-quality-unused-local-variable-dnsdist

chore: Clean up unused variables (dnsdist)

5 weeks agoMerge pull request #16450 from rgacogne/ddist-fix-format-type-in-regression-tests
Remi Gacogne [Mon, 10 Nov 2025 08:33:11 +0000 (09:33 +0100)] 
Merge pull request #16450 from rgacogne/ddist-fix-format-type-in-regression-tests

chores(dnsdist): Replace '%s' with '%d' when formatting integers in our tests

5 weeks agoAdd two missing dependencies 16461/head
Otto Moerbeek [Mon, 10 Nov 2025 08:08:13 +0000 (09:08 +0100)] 
Add two missing dependencies

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agorec: fix webserver loglevel from config
Otto Moerbeek [Mon, 10 Nov 2025 08:07:58 +0000 (09:07 +0100)] 
rec: fix webserver loglevel from config

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoUse map (and KeyError) to avoid warning about mixed explicit/implicit returns
Josh Soref [Sun, 9 Nov 2025 16:54:35 +0000 (11:54 -0500)] 
Use map (and KeyError) to avoid warning about mixed explicit/implicit returns

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agoFix try/except/as notation 16459/head
Josh Soref [Sun, 9 Nov 2025 03:17:17 +0000 (22:17 -0500)] 
Fix try/except/as notation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agoUse map for getAppliedPolicyTypeAsString 16458/head
Josh Soref [Sun, 9 Nov 2025 00:50:18 +0000 (19:50 -0500)] 
Use map for getAppliedPolicyTypeAsString

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Use finally for cleanup 16457/head
Josh Soref [Sun, 9 Nov 2025 00:23:43 +0000 (19:23 -0500)] 
chore: Use finally for cleanup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unreachable cleanup
Josh Soref [Sun, 9 Nov 2025 00:13:20 +0000 (19:13 -0500)] 
chore: Remove unreachable cleanup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Reach logging before raising
Josh Soref [Sun, 9 Nov 2025 00:15:20 +0000 (19:15 -0500)] 
chore: Reach logging before raising

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agoClean up unreachable code for dnsdist 16456/head
Josh Soref [Sun, 9 Nov 2025 00:25:17 +0000 (19:25 -0500)] 
Clean up unreachable code for dnsdist

- Remove unreachable cleanup
- Use finally for cleanup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Clean up unused variables 16453/head
Josh Soref [Fri, 7 Nov 2025 11:14:55 +0000 (06:14 -0500)] 
chore: Clean up unused variables

- Change get_rust_struct_fields_from_definition to use `indent`

  All callers were maintaining it, get_rust_struct_from_definition had updated it but left it unused...

- Fix type annotations
- Remove dead code for `response`
- Remove dead code for `url`
- Remove dead code for `wire`
- Remove unused timing
- Remove unused variable `data`
- Remove unused variable `dropped`
- Remove unused variable `fileContent`
- Remove unused variable `message`
- Remove unused variable `method`
- Remove unused variable `name`
- Remove unused variable `numberOfQueries`
- Remove unused variable `output`
- Remove unused variable `pbMessageType`
- Remove unused variable `rcode`
- Remove unused variable `secondSerial`
- Remove unused variable `total`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agoAlter the qname bpf filter to make it const. 16452/head
Miod Vallat [Fri, 7 Nov 2025 16:56:25 +0000 (17:56 +0100)] 
Alter the qname bpf filter to make it const.

This program needs to use a runtime value (a file descriptor), so in its
current form it is a non-const HUGE initializer, and causes the compiler
to emit a lot of code to initialize the local variable with the program
data, eating a lot of memory while there.

By changing the program to use a value of zero for the file descriptor,
the initializer becomes const; we need however to search for that
instruction and pach it before using the program, and this is not the
code I am most proud of... but when life gives you lemons, etc.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agochore: Use variable `rets` 16454/head
Josh Soref [Fri, 7 Nov 2025 16:04:49 +0000 (11:04 -0500)] 
chore: Use variable `rets`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Unshadow domain and store domainObject
Josh Soref [Fri, 7 Nov 2025 14:02:54 +0000 (09:02 -0500)] 
chore: Unshadow domain and store domainObject

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Test `wire_message`
Josh Soref [Fri, 7 Nov 2025 16:54:29 +0000 (11:54 -0500)] 
chore: Test `wire_message`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `search`
Josh Soref [Fri, 7 Nov 2025 17:00:19 +0000 (12:00 -0500)] 
chore: Remove unused variable `search`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `res`
Josh Soref [Fri, 7 Nov 2025 16:02:51 +0000 (11:02 -0500)] 
chore: Remove unused variable `res`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `rdataset`
Josh Soref [Fri, 7 Nov 2025 16:40:57 +0000 (11:40 -0500)] 
chore: Remove unused variable `rdataset`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `r`
Josh Soref [Fri, 7 Nov 2025 14:07:12 +0000 (09:07 -0500)] 
chore: Remove unused variable `r`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `payload`
Josh Soref [Fri, 7 Nov 2025 16:35:30 +0000 (11:35 -0500)] 
chore: Remove unused variable `payload`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `name`
Josh Soref [Fri, 7 Nov 2025 16:59:47 +0000 (11:59 -0500)] 
chore: Remove unused variable `name`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `ixfr`
Josh Soref [Fri, 7 Nov 2025 16:03:58 +0000 (11:03 -0500)] 
chore: Remove unused variable `ixfr`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `h`
Josh Soref [Fri, 7 Nov 2025 13:40:40 +0000 (08:40 -0500)] 
chore: Remove unused variable `h`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `expectedCNAME`
Josh Soref [Fri, 7 Nov 2025 16:58:10 +0000 (11:58 -0500)] 
chore: Remove unused variable `expectedCNAME`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `expected`
Josh Soref [Fri, 7 Nov 2025 16:03:34 +0000 (11:03 -0500)] 
chore: Remove unused variable `expected`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
5 weeks agochore: Remove unused variable `data`
Josh Soref [Fri, 7 Nov 2025 16:20:10 +0000 (11:20 -0500)] 
chore: Remove unused variable `data`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>