]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 months agoMerge pull request #13753 from chbruyand/ixfrdist-notify-out auth-4.9.0-beta1
Peter van Dijk [Wed, 14 Feb 2024 19:10:27 +0000 (20:10 +0100)] 
Merge pull request #13753 from chbruyand/ixfrdist-notify-out

ixfrdist: add support for outgoing notify

2 months agoMerge pull request #13752 from chbruyand/auth-lua-pickchashed
Peter van Dijk [Wed, 14 Feb 2024 19:07:46 +0000 (20:07 +0100)] 
Merge pull request #13752 from chbruyand/auth-lua-pickchashed

auth: lua records, pickchashed function

2 months agoMerge pull request #13788 from omoerbeek/rec-ztc-regression
Otto Moerbeek [Wed, 14 Feb 2024 12:11:27 +0000 (13:11 +0100)] 
Merge pull request #13788 from omoerbeek/rec-ztc-regression

rec: fix the zoneToCache regression introduced by SA 2024-01

2 months agoTest ZTC with root zone 13788/head
Otto Moerbeek [Wed, 14 Feb 2024 11:39:57 +0000 (12:39 +0100)] 
Test ZTC with root zone

1. If code changes make the validation fail we want to know.
2. If root zone changes break something we want to know as well, this might even be more important than 1.

So I think we just have to accept the occasional network issues on GH.

2 months agorec: fix the zoneToCache regression introduced by SA 2024-01
Otto Moerbeek [Tue, 13 Feb 2024 15:55:10 +0000 (16:55 +0100)] 
rec: fix the zoneToCache regression introduced by SA 2024-01

Test will follow

2 months agoMerge pull request #13787 from omoerbeek/rec-regr-test-skip
Remi Gacogne [Tue, 13 Feb 2024 16:35:46 +0000 (17:35 +0100)] 
Merge pull request #13787 from omoerbeek/rec-regr-test-skip

rec: skip a few tests that depend on sidnlab's public test setup that no longer works

2 months agorec: skip a few test that depend on sidnlab's public test setup that no longer works 13787/head
Otto Moerbeek [Tue, 13 Feb 2024 15:31:35 +0000 (16:31 +0100)] 
rec: skip a few test that depend on sidnlab's public test setup that no longer works

2 months agoMerge pull request #13785 from omoerbeek/rec-prep-2024-01
Otto Moerbeek [Tue, 13 Feb 2024 13:41:19 +0000 (14:41 +0100)] 
Merge pull request #13785 from omoerbeek/rec-prep-2024-01

rec: Prep for 2024-01 release

2 months agoMerge pull request #13781 from omoerbeek/rec-keytrap-public
Otto Moerbeek [Tue, 13 Feb 2024 12:49:02 +0000 (13:49 +0100)] 
Merge pull request #13781 from omoerbeek/rec-keytrap-public

rec: CVE-2023-50387 and CVE-2023-50868

2 months agoPrep for 2024-01 13785/head
Otto Moerbeek [Mon, 12 Feb 2024 10:19:09 +0000 (11:19 +0100)] 
Prep for 2024-01

2 months agoMerge pull request #13760 from rgacogne/ddist-doc-rules-mgmt dnsdist-1.9.0
Remi Gacogne [Tue, 13 Feb 2024 10:44:35 +0000 (11:44 +0100)] 
Merge pull request #13760 from rgacogne/ddist-doc-rules-mgmt

dnsdist: Refactor the rules (selectors and actions) documentation

2 months agoMerge pull request #13780 from rgacogne/ddist-better-wording-setSuffixMatchRule
Remi Gacogne [Tue, 13 Feb 2024 10:44:27 +0000 (11:44 +0100)] 
Merge pull request #13780 from rgacogne/ddist-better-wording-setSuffixMatchRule

dnsdist: Clarify that setSuffixMatchRule blocks per suffix, not labels

2 months agodnsdist: Clarify that setSuffixMatchRule blocks per suffix, not labels 13780/head
Remi Gacogne [Tue, 13 Feb 2024 09:04:08 +0000 (10:04 +0100)] 
dnsdist: Clarify that setSuffixMatchRule blocks per suffix, not labels

2 months agoMerge pull request #13779 from rgacogne/ddist-coverity-20240212
Remi Gacogne [Mon, 12 Feb 2024 09:54:21 +0000 (10:54 +0100)] 
Merge pull request #13779 from rgacogne/ddist-coverity-20240212

dnsdist: Fix performance inefficiencies reported by Coverity

2 months agodnsdist: Fix performance inefficiencies reported by Coverity 13779/head
Remi Gacogne [Mon, 12 Feb 2024 09:08:56 +0000 (10:08 +0100)] 
dnsdist: Fix performance inefficiencies reported by Coverity

Reported by Coverity as 414759 and 414760:
> Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)

2 months agoMerge pull request #13778 from M0NsTeRRR/master
Otto Moerbeek [Sun, 11 Feb 2024 18:40:36 +0000 (19:40 +0100)] 
Merge pull request #13778 from M0NsTeRRR/master

fix(doc): incorrect setting `query_local_address`

2 months agofix: replace missing query_local_address 13778/head
Ludovic Ortega [Sun, 11 Feb 2024 18:38:48 +0000 (19:38 +0100)] 
fix: replace missing query_local_address

2 months agofix(doc): incorrect setting `query_local_address`
Ludovic Ortega [Sun, 11 Feb 2024 18:29:57 +0000 (19:29 +0100)] 
fix(doc): incorrect setting `query_local_address`

2 months agoMerge pull request #13774 from rgacogne/ddist-quiche-config-atomic-load
Remi Gacogne [Fri, 9 Feb 2024 15:09:29 +0000 (16:09 +0100)] 
Merge pull request #13774 from rgacogne/ddist-quiche-config-atomic-load

dnsdist: Fix a missing explicit atomic load of the Quiche configuration

2 months agoMerge pull request #13771 from omoerbeek/dnsdist-lua-align
Remi Gacogne [Fri, 9 Feb 2024 15:00:56 +0000 (16:00 +0100)] 
Merge pull request #13771 from omoerbeek/dnsdist-lua-align

dnsdist: do not allocate 16-byte aligned objects through lua(jit)

2 months agodnsdist: Fix a missing explicit atomic load of the Quiche configuration 13774/head
Remi Gacogne [Fri, 9 Feb 2024 14:28:57 +0000 (15:28 +0100)] 
dnsdist: Fix a missing explicit atomic load of the Quiche configuration

Reported by TSAN.

2 months agoauth: lua-records, support cleaning old hashed entries 13752/head
Charles-Henri Bruyand [Thu, 8 Feb 2024 13:20:45 +0000 (14:20 +0100)] 
auth: lua-records, support cleaning old hashed entries

2 months agoixfrdist: clang-tidy cleanup 13753/head
Charles-Henri Bruyand [Fri, 9 Feb 2024 12:27:38 +0000 (13:27 +0100)] 
ixfrdist: clang-tidy cleanup

2 months agoixfrdist: add a simple test for outgoing notify
Charles-Henri Bruyand [Fri, 9 Feb 2024 10:27:22 +0000 (11:27 +0100)] 
ixfrdist: add a simple test for outgoing notify

2 months agoixfrdist: add examples of notify out configuration
Charles-Henri Bruyand [Thu, 8 Feb 2024 15:11:14 +0000 (16:11 +0100)] 
ixfrdist: add examples of notify out configuration

2 months agoixfrdist: clang-tidy cleanup
Charles-Henri Bruyand [Thu, 8 Feb 2024 14:46:16 +0000 (15:46 +0100)] 
ixfrdist: clang-tidy cleanup

2 months agoixfrdist: send out notify
Charles-Henri Bruyand [Wed, 31 Jan 2024 17:22:50 +0000 (18:22 +0100)] 
ixfrdist: send out notify

2 months agorec: CVE-2023-50387 and CVE-2023-50868 13781/head
Otto Moerbeek [Fri, 9 Feb 2024 12:28:00 +0000 (13:28 +0100)] 
rec: CVE-2023-50387 and CVE-2023-50868

2 months agoMerge pull request #13759 from rgacogne/ddist-doc-tls-certificates
Remi Gacogne [Fri, 9 Feb 2024 10:59:07 +0000 (11:59 +0100)] 
Merge pull request #13759 from rgacogne/ddist-doc-tls-certificates

dnsdist: Improve the documentation around TLS certificates and keys

2 months agoauth: fix typo in tests
Charles-Henri Bruyand [Wed, 31 Jan 2024 13:25:34 +0000 (14:25 +0100)] 
auth: fix typo in tests

2 months agoauth: clang-tidy fixes
Charles-Henri Bruyand [Wed, 31 Jan 2024 12:19:08 +0000 (13:19 +0100)] 
auth: clang-tidy fixes

2 months agoauth: tell spell check about pickchashed
Charles-Henri Bruyand [Tue, 30 Jan 2024 15:30:18 +0000 (16:30 +0100)] 
auth: tell spell check about pickchashed

2 months agoauth: lua-records, add support for pickchashed function
Charles-Henri Bruyand [Tue, 30 Jan 2024 15:15:20 +0000 (16:15 +0100)] 
auth: lua-records, add support for pickchashed function

2 months agodnsdist: Prevent useless allocation+copy in `setPoolServerPolicy` 13771/head
Remi Gacogne [Fri, 9 Feb 2024 10:28:12 +0000 (11:28 +0100)] 
dnsdist: Prevent useless allocation+copy in `setPoolServerPolicy`

2 months agodnsdist: Fix newServerPolicy, add regression tests for custom policies
Remi Gacogne [Fri, 9 Feb 2024 10:16:12 +0000 (11:16 +0100)] 
dnsdist: Fix newServerPolicy, add regression tests for custom policies

2 months agoMerge pull request #13391 from devicenull/master
Peter van Dijk [Fri, 9 Feb 2024 10:15:33 +0000 (11:15 +0100)] 
Merge pull request #13391 from devicenull/master

Add Lua function to pick records via name hash

2 months agoExperiment
Otto Moerbeek [Thu, 8 Feb 2024 15:36:09 +0000 (16:36 +0100)] 
Experiment

2 months agodnsdist: Fix an issue spotted by TSAN: we need to use atomic_load_explicit along... 13759/head
Remi Gacogne [Thu, 8 Feb 2024 14:58:38 +0000 (15:58 +0100)] 
dnsdist: Fix an issue spotted by TSAN: we need to use atomic_load_explicit along with atomic_store_explicit

2 months agoMerge pull request #13756 from rgacogne/ddist-xsk-doc-typos
Remi Gacogne [Thu, 8 Feb 2024 14:36:55 +0000 (15:36 +0100)] 
Merge pull request #13756 from rgacogne/ddist-xsk-doc-typos

dnsdist: Fix typos in the AF_XDP documentation

2 months agoMerge pull request #13768 from rgacogne/ddist-maintenance-hook
Remi Gacogne [Thu, 8 Feb 2024 14:31:55 +0000 (15:31 +0100)] 
Merge pull request #13768 from rgacogne/ddist-maintenance-hook

dnsdist: Add a Lua maintenance hook

2 months agoMerge pull request #13757 from rgacogne/ddist-coverty-warning-20240201
Remi Gacogne [Thu, 8 Feb 2024 14:31:09 +0000 (15:31 +0100)] 
Merge pull request #13757 from rgacogne/ddist-coverty-warning-20240201

dnsdist: Fix a warning reported by Coverity

2 months agodnsdist: make sure we do not allocate 16-byte aligned objects through lua(jit)
Otto Moerbeek [Thu, 8 Feb 2024 14:28:24 +0000 (15:28 +0100)] 
dnsdist: make sure we do not allocate 16-byte aligned objects through lua(jit)

luajit aligns only to 8 bytes by default, and some objects require
16 byte alignment.

Fixes #13766

Note that the static assert in LuaContext.hpp is commented out in
one case.  This trips on some platforms, but does not seem to be
harmful right now.

The fundamental solution remains the have luajit agree with C++ on
minimal alignment of its allocators.

2 months agodnsdist: Delint the 'reloadCertificates' methods
Remi Gacogne [Thu, 8 Feb 2024 14:23:25 +0000 (15:23 +0100)] 
dnsdist: Delint the 'reloadCertificates' methods

2 months agodnsdist: Add a regression test for DoQ certs/keys reloading
Remi Gacogne [Thu, 8 Feb 2024 13:43:18 +0000 (14:43 +0100)] 
dnsdist: Add a regression test for DoQ certs/keys reloading

2 months agodnsdist: Document certs/keys reloading for DoQ and DoH3
Remi Gacogne [Thu, 8 Feb 2024 13:42:47 +0000 (14:42 +0100)] 
dnsdist: Document certs/keys reloading for DoQ and DoH3

2 months agodnsdist: Implementation reloading of TLS certs/keys for DoQ and DoH3
Remi Gacogne [Thu, 8 Feb 2024 13:42:04 +0000 (14:42 +0100)] 
dnsdist: Implementation reloading of TLS certs/keys for DoQ and DoH3

2 months agodnsdist: Apply suggestions from code review, delint 13768/head
Remi Gacogne [Thu, 8 Feb 2024 09:43:56 +0000 (10:43 +0100)] 
dnsdist: Apply suggestions from code review, delint

2 months agoMerge pull request #13755 from rgacogne/ddist-quic-unsupported-version
Remi Gacogne [Thu, 8 Feb 2024 08:01:06 +0000 (09:01 +0100)] 
Merge pull request #13755 from rgacogne/ddist-quic-unsupported-version

dnsdist: Better handling of short, non-initial QUIC headers

2 months agodnsdist: Clear the Lua maintenance callbacks before exiting
Remi Gacogne [Tue, 6 Feb 2024 15:22:49 +0000 (16:22 +0100)] 
dnsdist: Clear the Lua maintenance callbacks before exiting

2 months agoMerge pull request #13761 from rgacogne/ddist-test-ebpf
Remi Gacogne [Tue, 6 Feb 2024 15:20:17 +0000 (16:20 +0100)] 
Merge pull request #13761 from rgacogne/ddist-test-ebpf

dnsdist: Add regression tests for eBPF blocks (static / dynamic)

2 months agoMerge pull request #12359 from Habbie/auth-lua-dblookup
Peter van Dijk [Tue, 6 Feb 2024 15:15:40 +0000 (16:15 +0100)] 
Merge pull request #12359 from Habbie/auth-lua-dblookup

auth LUA: add dblookup function

2 months agodnsdist: Add a Lua maintenance hook
Remi Gacogne [Tue, 6 Feb 2024 14:44:35 +0000 (15:44 +0100)] 
dnsdist: Add a Lua maintenance hook

Having a hook that can accept multiple callbacks makes it a lot easier
to manage the execution of several, independant tasks that needs to be
called regularly.

2 months agofix formatting 13391/head
Peter van Dijk [Fri, 1 Dec 2023 15:29:22 +0000 (16:29 +0100)] 
fix formatting

2 months agoUpdate minor code/doc nits
Brian Rak [Thu, 30 Nov 2023 16:30:26 +0000 (16:30 +0000)] 
Update minor code/doc nits

2 months agoAppease lint
Brian Rak [Thu, 19 Oct 2023 13:36:15 +0000 (13:36 +0000)] 
Appease lint

2 months agoFix typo
Brian Rak [Wed, 18 Oct 2023 20:09:30 +0000 (20:09 +0000)] 
Fix typo

2 months agoAdd Lua function to pick records via name hash
Brian Rak [Wed, 18 Oct 2023 01:24:08 +0000 (01:24 +0000)] 
Add Lua function to pick records via name hash

This adds a Lua function to return a record based on a weighted hash
of the DNS record name.  One use case here is to consistently return
the same IP address for a particular cache server based on what
subdomain is requesting the data.

2 months agocode review from otto, thanks 12359/head
Peter van Dijk [Tue, 6 Feb 2024 11:08:30 +0000 (12:08 +0100)] 
code review from otto, thanks

2 months agoMerge pull request #13743 from Habbie/auth-api-priority-error
Peter van Dijk [Tue, 6 Feb 2024 10:24:43 +0000 (11:24 +0100)] 
Merge pull request #13743 from Habbie/auth-api-priority-error

auth API: reject priority element in record, closes #12657

2 months agodnsdist: Preserve 'LLVM_PROFILE_FILE' in sudo-enabled regression tests 13761/head
Remi Gacogne [Mon, 5 Feb 2024 08:41:18 +0000 (09:41 +0100)] 
dnsdist: Preserve 'LLVM_PROFILE_FILE' in sudo-enabled regression tests

2 months agodnsdist: Reduce the timeout on Dynamic Block tests expected to fail
Remi Gacogne [Thu, 1 Feb 2024 13:46:11 +0000 (14:46 +0100)] 
dnsdist: Reduce the timeout on Dynamic Block tests expected to fail

2 months agodnsdist: Enable eBPF regression tests in our CI
Remi Gacogne [Thu, 1 Feb 2024 13:45:40 +0000 (14:45 +0100)] 
dnsdist: Enable eBPF regression tests in our CI

2 months agodnsdist: Add regression tests for eBPF blocks (static / dynamic)
Remi Gacogne [Thu, 1 Feb 2024 13:44:45 +0000 (14:44 +0100)] 
dnsdist: Add regression tests for eBPF blocks (static / dynamic)

3 months agoMerge pull request #13764 from romeroalx/fix-build-ubuntu-noble
romeroalx [Fri, 2 Feb 2024 10:43:18 +0000 (11:43 +0100)] 
Merge pull request #13764 from romeroalx/fix-build-ubuntu-noble

GH Actions: fix builds for ubuntu noble. Remove pkg usrmerge

3 months agofix builds ubuntu noble. remove pkg usrmerge 13764/head
romeroalx [Thu, 1 Feb 2024 23:35:28 +0000 (00:35 +0100)] 
fix builds ubuntu noble. remove pkg usrmerge

3 months agodnsdist: Refactor the rules (selectors and actions) documentation 13760/head
Remi Gacogne [Thu, 1 Feb 2024 14:33:37 +0000 (15:33 +0100)] 
dnsdist: Refactor the rules (selectors and actions) documentation

3 months agodnsdist: Improve the documentation around TLS certificates and keys
Remi Gacogne [Thu, 1 Feb 2024 11:16:56 +0000 (12:16 +0100)] 
dnsdist: Improve the documentation around TLS certificates and keys

3 months agodnsdist: Fix a warning reported by Coverity 13757/head
Remi Gacogne [Thu, 1 Feb 2024 09:00:19 +0000 (10:00 +0100)] 
dnsdist: Fix a warning reported by Coverity

CID 414570 and CID 414569 (Uninitialized variables) are false
positives as far as I can tell, the variables are properly set
by the call to `bpf_get_next_key`, but let's zero-initialize them
anyway, while delinting the code.

3 months agodnsdist: Better handling of short, non-initial QUIC headers 13755/head
Remi Gacogne [Thu, 1 Feb 2024 08:32:16 +0000 (09:32 +0100)] 
dnsdist: Better handling of short, non-initial QUIC headers

After a QUIC connection has been negotiated, we mostly get short QUIC
headers that do not contain the QUIC version. This is fine as long as
we still know about the connection, which might not be the case if it
has been idle for longer that our timer and thus we forgot about its
connection ID. What happens then is that we will mistakenly think that
the remote peer is trying to establish a new QUIC connection with a
version set to 0, which we don't support, and therefore start the
version negotiation process. What we should instead do is notice that
the packet is not a 'Initial' one and discard it, as we cannot open
a new connection from a short header anyway. Note that the peer knows
about our idle timer so in theory it should not try to reuse such a
connection, but it does happen from time to time.

3 months agodnsdist: Document AF_XDP's limitations 13756/head
Remi Gacogne [Thu, 1 Feb 2024 08:23:26 +0000 (09:23 +0100)] 
dnsdist: Document AF_XDP's limitations

3 months agodnsdist: Fix typos in the AF_XDP documentation
Remi Gacogne [Thu, 1 Feb 2024 08:15:50 +0000 (09:15 +0100)] 
dnsdist: Fix typos in the AF_XDP documentation

Reported by Chris Hofstaedtler (thanks!).

3 months agoMerge pull request #13746 from omoerbeek/rec-resolve-context-tidy
Otto Moerbeek [Wed, 31 Jan 2024 08:33:25 +0000 (09:33 +0100)] 
Merge pull request #13746 from omoerbeek/rec-resolve-context-tidy

rec: tidy ResolveContext class

3 months agoone last lint 13746/head
Otto Moerbeek [Tue, 30 Jan 2024 17:17:22 +0000 (18:17 +0100)] 
one last lint

3 months agoAvoid a cases of `an exception may be thrown in function '' which should not throw...
Otto Moerbeek [Tue, 30 Jan 2024 10:12:34 +0000 (11:12 +0100)] 
Avoid a cases of `an exception may be thrown in function '' which should not throw exceptions (bugprone-exception-escape)`
The use of a DNSName capture by value is the culprit. Avoid those by using
[&]', telling the compiler to figure out the captures by itself but use refs.
This *could* lead to issues if we modify the value in the lambda, so this conversion should be checked!

3 months agoMerge pull request #13740 from rgacogne/ddist-190rc1-changelog-secpoll
Remi Gacogne [Tue, 30 Jan 2024 14:02:45 +0000 (15:02 +0100)] 
Merge pull request #13740 from rgacogne/ddist-190rc1-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.9.0-rc1

3 months agoMerge pull request #11652 from Y7n05h/xsk dnsdist-1.9.0-rc1
Remi Gacogne [Tue, 30 Jan 2024 10:56:58 +0000 (11:56 +0100)] 
Merge pull request #11652 from Y7n05h/xsk

dnsdist: add AF_XDP support for UDP

3 months agodnsdist: Apply Charles-Henri's suggestions (thanks!) 11652/head
Remi Gacogne [Tue, 30 Jan 2024 09:58:21 +0000 (10:58 +0100)] 
dnsdist: Apply Charles-Henri's suggestions (thanks!)

3 months agoMerge pull request #13749 from rgacogne/ci-binary-check-exclude-fuzzing-corpus
Remi Gacogne [Tue, 30 Jan 2024 09:38:10 +0000 (10:38 +0100)] 
Merge pull request #13749 from rgacogne/ci-binary-check-exclude-fuzzing-corpus

ci: Exclude the fuzzing/corpus dir from the 'no binary files' check

3 months agodnsdist: The 1.9.0-rc1 release has been moved to the 30th 13740/head
Remi Gacogne [Mon, 29 Jan 2024 13:18:14 +0000 (14:18 +0100)] 
dnsdist: The 1.9.0-rc1 release has been moved to the 30th

3 months agoci: Exclude the fuzzing/corpus dir from the 'no binary files' check 13749/head
Remi Gacogne [Mon, 29 Jan 2024 10:28:08 +0000 (11:28 +0100)] 
ci: Exclude the fuzzing/corpus dir from the 'no binary files' check

3 months agodnsdist: Fix formatting of fuzz_xsk.cc
Remi Gacogne [Mon, 29 Jan 2024 10:15:16 +0000 (11:15 +0100)] 
dnsdist: Fix formatting of fuzz_xsk.cc

3 months agodnsdist: Add a fuzzing target for the XSK code
Remi Gacogne [Mon, 29 Jan 2024 10:12:27 +0000 (11:12 +0100)] 
dnsdist: Add a fuzzing target for the XSK code

3 months agoMerge pull request #13724 from rgacogne/dnsname-parse-packet-optim
Remi Gacogne [Mon, 29 Jan 2024 08:38:40 +0000 (09:38 +0100)] 
Merge pull request #13724 from rgacogne/dnsname-parse-packet-optim

dnsname: Optimize parsing of uncompressed labels

3 months agoMerge pull request #13742 from omoerbeek/rec-update-rust-and-crates
Otto Moerbeek [Fri, 26 Jan 2024 16:42:44 +0000 (17:42 +0100)] 
Merge pull request #13742 from omoerbeek/rec-update-rust-and-crates

rec: update to cargo 1.75 and updated Cargo dependencies

3 months agoMerge pull request #13741 from omoerbeek/rec-coverity-20240124
Otto Moerbeek [Fri, 26 Jan 2024 16:42:11 +0000 (17:42 +0100)] 
Merge pull request #13741 from omoerbeek/rec-coverity-20240124

rec: fix Coverity issues in new RPZ code

3 months agoMerge pull request #13747 from jacobbunk/document-dnsnameset
Remi Gacogne [Fri, 26 Jan 2024 15:43:26 +0000 (16:43 +0100)] 
Merge pull request #13747 from jacobbunk/document-dnsnameset

Link to existing documentation for DNSNameSet.

3 months agoLink to existing documentation for DNSNameSet. 13747/head
Jacob Bunk Nielsen [Fri, 26 Jan 2024 15:03:16 +0000 (16:03 +0100)] 
Link to existing documentation for DNSNameSet.

3 months agoFix async callbacks in unit tests now that ResolverContext is no longer an optional
Otto Moerbeek [Fri, 26 Jan 2024 11:27:35 +0000 (12:27 +0100)] 
Fix async callbacks in unit tests now that ResolverContext is no longer an optional

Note that C++ does not really care, as the implicit conversion rules cover
this already.

3 months agoauth API: reject priority element in record, closes #12657 13743/head
Peter van Dijk [Thu, 25 Jan 2024 12:54:22 +0000 (13:54 +0100)] 
auth API: reject priority element in record, closes #12657

3 months agoActually, ResolveContext is not optional
Otto Moerbeek [Fri, 26 Jan 2024 11:07:53 +0000 (12:07 +0100)] 
Actually, ResolveContext is not optional

3 months agoMerge pull request #13745 from omoerbeek/auth-fix-gss-test
Peter van Dijk [Fri, 26 Jan 2024 10:59:03 +0000 (11:59 +0100)] 
Merge pull request #13745 from omoerbeek/auth-fix-gss-test

auth: fix gss regression test

3 months agorec: tidy ResolveContext
Otto Moerbeek [Fri, 26 Jan 2024 10:46:05 +0000 (11:46 +0100)] 
rec: tidy ResolveContext

Plus some changes to const& for ResolveContext arguments

3 months agodnsname: Use `static_cast` instead of C-style casts 13724/head
Remi Gacogne [Fri, 26 Jan 2024 10:25:48 +0000 (11:25 +0100)] 
dnsname: Use `static_cast` instead of C-style casts

3 months agodnsname: Remove useless resize, we always resize again right after it
Remi Gacogne [Fri, 26 Jan 2024 10:25:08 +0000 (11:25 +0100)] 
dnsname: Remove useless resize, we always resize again right after it

3 months agoMerge pull request #13744 from omoerbeek/rec-tidy-filterpo
Otto Moerbeek [Fri, 26 Jan 2024 09:46:54 +0000 (10:46 +0100)] 
Merge pull request #13744 from omoerbeek/rec-tidy-filterpo

rec: Tidy filterpo.?? (reaching into iputils.hh as well)

3 months agoauth: fix gss regression test 13745/head
Otto Moerbeek [Fri, 26 Jan 2024 09:04:20 +0000 (10:04 +0100)] 
auth: fix gss regression test

Wrong records were tested for non-presence, as noted by @Assumeru

3 months agoTidy filterpo.?? (reaching into iputils.hh as well). 13744/head
Otto Moerbeek [Wed, 24 Jan 2024 16:24:45 +0000 (17:24 +0100)] 
Tidy filterpo.?? (reaching into iputils.hh as well).

3 months agodnsdist: Properly detect whether `bpf_xdp_query` is available
Remi Gacogne [Thu, 25 Jan 2024 11:32:09 +0000 (12:32 +0100)] 
dnsdist: Properly detect whether `bpf_xdp_query` is available

It was added in libbpf 0.7 and EL8 only has 0.5, sadly.

3 months agoMerge pull request #13738 from Habbie/auth-49-debian-configs
Peter van Dijk [Thu, 25 Jan 2024 11:02:14 +0000 (12:02 +0100)] 
Merge pull request #13738 from Habbie/auth-49-debian-configs

auth debian: adjust option names in shipped configs

3 months agoMerge pull request #13736 from rgacogne/ddist-quiche-0.20
Remi Gacogne [Wed, 24 Jan 2024 15:09:07 +0000 (16:09 +0100)] 
Merge pull request #13736 from rgacogne/ddist-quiche-0.20

dnsdist: Update Quiche to 0.20.0