]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
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 #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 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 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 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 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 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 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

6 months agorecursor: fix protobufServer(.. {taggedOnly=true}) logic for
Tomasz Pala [Fri, 3 Jan 2025 23:44:55 +0000 (00:44 +0100)] 
recursor: fix protobufServer(.. {taggedOnly=true}) logic for
cache-returned responses (problem existing since initial ac10822)
fixes #15007

7 months agodnsdist: Don't dereference a null pointer when accessing DoH{,3} headers via the... 15002/head
Remi Gacogne [Mon, 30 Dec 2024 16:13:49 +0000 (17:13 +0100)] 
dnsdist: Don't dereference a null pointer when accessing DoH{,3} headers via the FFI interface

7 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Mon, 30 Dec 2024 15:39:36 +0000 (16:39 +0100)] 
dnsdist: Fix clang-tidy warnings

7 months agodnsdist: Add DoH3 headers, query string, path and scheme bindings
Remi Gacogne [Mon, 30 Dec 2024 14:51:01 +0000 (15:51 +0100)] 
dnsdist: Add DoH3 headers, query string, path and scheme bindings

The DoH ones have been there for a long time, but the DoH3 ones were
missing. Note that we still don't have the ability to set a HTTP
response for DoH3 queries (including response maps) and SNI is still
missing (Quiche does not make that last one easy).

7 months agodnsdist: Fix regression tests with Python 3.13 15003/head
Remi Gacogne [Mon, 30 Dec 2024 14:55:33 +0000 (15:55 +0100)] 
dnsdist: Fix regression tests with Python 3.13

The CA certificates that we are generating as par of our regression tests
were lacking the X.509 `Key Usage` extension, causing TLS validation with
Python 3.13 to fail with:

> certificate verify failed: CA cert does not include key usage extension

It appears that Python 3.13 enables `VERIFY_X509_STRICT` by default, which makes OpenSSL stricter, and thus it chokes on our invalid CA.

7 months agoMerge pull request #14997 from rgacogne/ddist-fix-doc-action-typos
Remi Gacogne [Tue, 24 Dec 2024 09:40:22 +0000 (10:40 +0100)] 
Merge pull request #14997 from rgacogne/ddist-fix-doc-action-typos

dnsdist: Fix some small issues in the documentation for actions

7 months agodnsdist: Fix some small issues in the documentation for actions 14997/head
Remi Gacogne [Mon, 23 Dec 2024 16:03:28 +0000 (17:03 +0100)] 
dnsdist: Fix some small issues in the documentation for actions

7 months agoMerge pull request #14955 from miodvallat/my_docs_look_better_than_yours
Miod Vallat [Mon, 23 Dec 2024 11:59:30 +0000 (12:59 +0100)] 
Merge pull request #14955 from miodvallat/my_docs_look_better_than_yours

Documentation cleanup

7 months agoauth: createForward and createForward6 will use the zone_record as base
Bozhan Liang [Mon, 16 Dec 2024 07:41:37 +0000 (15:41 +0800)] 
auth: createForward and createForward6 will use the zone_record as base
Closes #7522

7 months agoMerge pull request #14991 from omoerbeek/rec-janitor-at-work
Otto Moerbeek [Fri, 20 Dec 2024 15:52:23 +0000 (16:52 +0100)] 
Merge pull request #14991 from omoerbeek/rec-janitor-at-work

rec: zap dangling symlink, leftover of #14926

7 months agorec: zap dangling symlink, leftover of #14926 14991/head
Otto Moerbeek [Fri, 20 Dec 2024 13:35:21 +0000 (14:35 +0100)] 
rec: zap dangling symlink, leftover of #14926

7 months agoMerge pull request #14987 from neheb/meson
Peter van Dijk [Fri, 20 Dec 2024 12:23:21 +0000 (13:23 +0100)] 
Merge pull request #14987 from neheb/meson

use some structured binding

7 months agouse some structured binding 14987/head
Rosen Penev [Tue, 5 Dec 2023 20:34:08 +0000 (12:34 -0800)] 
use some structured binding

clang-tidy complains here about pointless std::move of a trivially
copyable type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 months agoalso test sigs
Otto Moerbeek [Tue, 10 Dec 2024 08:20:04 +0000 (09:20 +0100)] 
also test sigs

7 months agoAlso handle sigs as a shared point to a vector
Otto Moerbeek [Mon, 2 Dec 2024 11:42:40 +0000 (12:42 +0100)] 
Also handle sigs as a shared point to a vector

7 months agoAdd a speedtest like test, not enabled by default
Otto Moerbeek [Tue, 19 Nov 2024 14:58:32 +0000 (15:58 +0100)] 
Add a speedtest like test, not enabled by default

This shows a modest increase in speed:

'null test' 0.11 seconds: 3222473473.3 runs/s, 0.00 us/run
'AuthRecordsTest' 0.10 seconds: 66.8 runs/s, 14977.88 us/run

to

'null test' 0.10 seconds: 3223627246.4 runs/s, 0.00 us/run
'AuthRecordsTest' 0.11 seconds: 72.1 runs/s, 13868.26 us/run

The test is: generate 100 records into the cache (each with an authRecord),
retrieve each record 100 times.

7 months agoclang-tidy
Otto Moerbeek [Fri, 15 Nov 2024 14:48:18 +0000 (15:48 +0100)] 
clang-tidy

7 months agoImprovement: use const vector plus names for the various types used
Otto Moerbeek [Fri, 15 Nov 2024 10:00:45 +0000 (11:00 +0100)] 
Improvement: use const vector plus names for the various types used

7 months agorec: experiment: authRecs a shared pointer of DNSRecs instead of a vec of shared...
Otto Moerbeek [Wed, 13 Nov 2024 15:05:04 +0000 (16:05 +0100)] 
rec: experiment: authRecs a shared pointer of DNSRecs instead of a vec of shared pointers to DNSRecs

7 months agoMerge pull request #14980 from rgacogne/ddist198-changelog
Remi Gacogne [Tue, 17 Dec 2024 13:12:56 +0000 (14:12 +0100)] 
Merge pull request #14980 from rgacogne/ddist198-changelog

dnsdist: Add ChangeLog and secpoll entry for DNSdist 1.9.8

7 months agoApply suggestions from Peter (update secpoll, proper quotes) 14980/head
Remi Gacogne [Tue, 17 Dec 2024 12:48:51 +0000 (13:48 +0100)] 
Apply suggestions from Peter (update secpoll, proper quotes)

7 months agodnsdist: Add a missing entry into the 1.9.8 ChangeLog
Remi Gacogne [Tue, 17 Dec 2024 10:46:42 +0000 (11:46 +0100)] 
dnsdist: Add a missing entry into the 1.9.8 ChangeLog

7 months agosecpoll: Update zone for DNSdist 1.9.8
Remi Gacogne [Tue, 17 Dec 2024 09:06:15 +0000 (10:06 +0100)] 
secpoll: Update zone for DNSdist 1.9.8

7 months agodnsdist: Add ChangeLog for DNSdist 1.9.8
Remi Gacogne [Tue, 17 Dec 2024 09:05:44 +0000 (10:05 +0100)] 
dnsdist: Add ChangeLog for DNSdist 1.9.8

7 months agoMerge pull request #14974 from Habbie/auth-4.9.3-secpoll-docs
Peter van Dijk [Tue, 17 Dec 2024 11:41:21 +0000 (12:41 +0100)] 
Merge pull request #14974 from Habbie/auth-4.9.3-secpoll-docs

auth-4.9.3: docs&secpoll

7 months agoauth-4.9.3: docs&secpoll 14974/head
Peter van Dijk [Mon, 16 Dec 2024 11:50:02 +0000 (12:50 +0100)] 
auth-4.9.3: docs&secpoll

7 months agoMerge pull request #14973 from omoerbeek/rec-full-cname-chain-cached
Otto Moerbeek [Tue, 17 Dec 2024 11:07:59 +0000 (12:07 +0100)] 
Merge pull request #14973 from omoerbeek/rec-full-cname-chain-cached

rec: if the full CNAME chain leading to the answer is cached, indicate that

7 months agoAdd test 14973/head
Otto Moerbeek [Tue, 17 Dec 2024 09:24:04 +0000 (10:24 +0100)] 
Add test

The last step of the test shows that there is likely room for more improvement.

7 months agoMerge pull request #14956 from esensar/feat/metric-labels dnsdist-2.0.0-alpha0
Remi Gacogne [Tue, 17 Dec 2024 08:53:38 +0000 (09:53 +0100)] 
Merge pull request #14956 from esensar/feat/metric-labels

dnsdist: add support for labels on custom metrics

7 months agoif *fromCache is already true, no need to check CNAME chain
Otto Moerbeek [Mon, 16 Dec 2024 16:13:49 +0000 (17:13 +0100)] 
if *fromCache is already true, no need to check CNAME chain

Co-authored-by: Remi Gacogne <github@coredump.fr>
7 months agodnsdist: fix typos in custom metrics docs 14956/head
Ensar Sarajčić [Mon, 16 Dec 2024 16:11:35 +0000 (17:11 +0100)] 
dnsdist: fix typos in custom metrics docs

Co-authored-by: Remi Gacogne <github@coredump.fr>
7 months agodnsdist: set version changed for new custom metrics options in docs
Ensar Sarajčić [Mon, 16 Dec 2024 16:10:28 +0000 (17:10 +0100)] 
dnsdist: set version changed for new custom metrics options in docs

7 months agoMerge pull request #14935 from omoerbeek/rec-regr-test-markers
Otto Moerbeek [Mon, 16 Dec 2024 15:14:39 +0000 (16:14 +0100)] 
Merge pull request #14935 from omoerbeek/rec-regr-test-markers

rec: regression test markers

7 months agoMerge pull request #14967 from rgacogne/ddist-fix-ecs-zero-scope-incoming-doh
Remi Gacogne [Mon, 16 Dec 2024 14:59:01 +0000 (15:59 +0100)] 
Merge pull request #14967 from rgacogne/ddist-fix-ecs-zero-scope-incoming-doh

dnsdist: Fix ECS zero-scope with incoming DoH queries

7 months agodnsdist: fix empty labels check in json stats endpoint
Ensar Sarajčić [Mon, 16 Dec 2024 11:22:04 +0000 (12:22 +0100)] 
dnsdist: fix empty labels check in json stats endpoint

7 months agoDedup only in specific places
Otto Moerbeek [Tue, 19 Nov 2024 11:33:29 +0000 (12:33 +0100)] 
Dedup only in specific places

7 months agodnsdist: use `empty()` instead of "" check
Ensar Sarajčić [Mon, 16 Dec 2024 10:42:44 +0000 (11:42 +0100)] 
dnsdist: use `empty()` instead of "" check

7 months agodnsdist: add docs for new arguments for custom metric functions
Ensar Sarajčić [Mon, 16 Dec 2024 10:31:01 +0000 (11:31 +0100)] 
dnsdist: add docs for new arguments for custom metric functions

7 months agoRefactor serialize/wireFormatContent as suggested by @rgacogne
Otto Moerbeek [Fri, 25 Oct 2024 09:33:17 +0000 (11:33 +0200)] 
Refactor serialize/wireFormatContent as suggested by @rgacogne

7 months agorename pdns::shuffle to pdns::shufleRecords, as suggested by @rgacogne
Otto Moerbeek [Fri, 25 Oct 2024 09:17:28 +0000 (11:17 +0200)] 
rename pdns::shuffle to pdns::shufleRecords, as suggested by @rgacogne

7 months agoAdd speedtest for shuffle, plus a speedup in shuffle itself
Otto Moerbeek [Fri, 25 Oct 2024 08:04:36 +0000 (10:04 +0200)] 
Add speedtest for shuffle, plus a speedup in shuffle itself

7 months agoFaster dedup, not using zoneRepresentation but wire format, which allows for
Otto Moerbeek [Tue, 20 Aug 2024 11:50:15 +0000 (13:50 +0200)] 
Faster dedup, not using zoneRepresentation but wire format, which allows for
an unordered_set as well.

7 months agoRework dedup code and add a test for pdsn::dedup
Otto Moerbeek [Wed, 24 Jul 2024 08:00:01 +0000 (10:00 +0200)] 
Rework dedup code and add a test for pdsn::dedup

7 months agoAdapt test to not use repeating records
Otto Moerbeek [Tue, 23 Jul 2024 14:26:08 +0000 (16:26 +0200)] 
Adapt test to not use repeating records

7 months agoNo need to dedup the dns64 case seperately anymore
Otto Moerbeek [Tue, 23 Jul 2024 13:49:33 +0000 (15:49 +0200)] 
No need to dedup the dns64 case seperately anymore

7 months agorec: dedup results from auths and results constructed ourselves
Otto Moerbeek [Tue, 23 Jul 2024 12:20:30 +0000 (14:20 +0200)] 
rec: dedup results from auths and results constructed ourselves

7 months agorec: if the full CNAME chain leading to the answer is cached, indicate that
Otto Moerbeek [Mon, 16 Dec 2024 10:19:17 +0000 (11:19 +0100)] 
rec: if the full CNAME chain leading to the answer is cached, indicate that

Alternative approach to #14918

7 months agodnsdist: update metrics related regression tests
Ensar Sarajčić [Mon, 16 Dec 2024 10:10:32 +0000 (11:10 +0100)] 
dnsdist: update metrics related regression tests

7 months agoMerge pull request #14931 from miodvallat/bugfix/12653
Miod Vallat [Mon, 16 Dec 2024 10:05:04 +0000 (11:05 +0100)] 
Merge pull request #14931 from miodvallat/bugfix/12653

Fix ipv*hint=auto on lmdb backend

7 months agoNeeds C++17 nowadays. 14955/head
Miod Vallat [Mon, 16 Dec 2024 08:10:31 +0000 (09:10 +0100)] 
Needs C++17 nowadays.

7 months agoUpdate backend writer's guide.
Miod Vallat [Fri, 13 Dec 2024 15:20:51 +0000 (16:20 +0100)] 
Update backend writer's guide.

7 months agoTweaks to get manpages to render better.
Miod Vallat [Fri, 13 Dec 2024 09:38:10 +0000 (10:38 +0100)] 
Tweaks to get manpages to render better.

7 months agoMake the Prometheus scrape example visible.
Miod Vallat [Fri, 13 Dec 2024 08:14:56 +0000 (09:14 +0100)] 
Make the Prometheus scrape example visible.

7 months agoApeaze spayl tcheker
Miod Vallat [Thu, 12 Dec 2024 16:17:46 +0000 (17:17 +0100)] 
Apeaze spayl tcheker

7 months agoUpdate external urls
Miod Vallat [Thu, 12 Dec 2024 16:13:23 +0000 (17:13 +0100)] 
Update external urls

7 months agoUpdate last TAI change date.
Miod Vallat [Thu, 12 Dec 2024 15:59:17 +0000 (16:59 +0100)] 
Update last TAI change date.

7 months agoDNSSEC: Change to primary/secondary wording and mention RFC9077.
Miod Vallat [Thu, 12 Dec 2024 09:34:57 +0000 (10:34 +0100)] 
DNSSEC: Change to primary/secondary wording and mention RFC9077.

7 months agoUse current settings names rather than the ones deprecated in 4.5.
Miod Vallat [Wed, 11 Dec 2024 09:21:17 +0000 (10:21 +0100)] 
Use current settings names rather than the ones deprecated in 4.5.

7 months agoImprove layout/rendering, appease the grammar gods, various tweaks.
Miod Vallat [Wed, 11 Dec 2024 08:48:21 +0000 (09:48 +0100)] 
Improve layout/rendering, appease the grammar gods, various tweaks.

7 months agostatnode: boost > std optional 14970/head
Rosen Penev [Fri, 13 Dec 2024 18:35:12 +0000 (10:35 -0800)] 
statnode: boost > std optional

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 months agogeoipbackend: boost > std optional
Rosen Penev [Fri, 13 Dec 2024 18:46:22 +0000 (10:46 -0800)] 
geoipbackend: boost > std optional

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 months agosdig: boost > std optional
Rosen Penev [Fri, 13 Dec 2024 18:36:12 +0000 (10:36 -0800)] 
sdig: boost > std optional

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 months agows-auth: boost > std optional
Rosen Penev [Fri, 13 Dec 2024 18:33:38 +0000 (10:33 -0800)] 
ws-auth: boost > std optional

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 months agodnsdist: ignore clangd-tidy warnings
Ensar Sarajčić [Fri, 13 Dec 2024 15:02:24 +0000 (16:02 +0100)] 
dnsdist: ignore clangd-tidy warnings

Co-authored-by: Remi Gacogne <github@coredump.fr>
7 months agodnsdist: Fix ECS zero-scope with incoming DoH queries 14967/head
Remi Gacogne [Fri, 13 Dec 2024 14:45:31 +0000 (15:45 +0100)] 
dnsdist: Fix ECS zero-scope with incoming DoH queries

The zero-scope feature involves a first cache lookup before the ECS
information has been added to the query, then on a miss a second,
regular lookup is done. When we get a response from the backend that
contains an ECS scope set to 0, we can insert it into the cache in a
way that allows using it for all clients, but we must be careful to
use the key that was computed during the first lookup, and not the
second one.
Incoming DoH queries make that even more interesting because while
they are received over TCP, they are initially forwarded to the
backend over UDP but can be retried over TCP if a TC=1 answer is
received. In that case we must be very careful not to insert the
answer into the cache using the wrong protocol, as we don't want to
serve a TC=1 answer to a client contacting us over TCP, for example.
The computation of the cache key and protocol was unfortunately broken
for the incoming query received over DoH, forwarded over UDP and
response has a zero scope case. This commit fixes it.

7 months agoMerge pull request #14964 from omoerbeek/rec-prep-5.2.0-rc1
Otto Moerbeek [Fri, 13 Dec 2024 13:20:35 +0000 (14:20 +0100)] 
Merge pull request #14964 from omoerbeek/rec-prep-5.2.0-rc1

rec: prep for rec-5.2.0-rc1

7 months agodnsdist: remove todo comments from `dnsdist-lua-ffi`
Ensar Sarajčić [Fri, 13 Dec 2024 11:16:13 +0000 (12:16 +0100)] 
dnsdist: remove todo comments from `dnsdist-lua-ffi`

7 months agorec: prep for rec-5.2.0-rc1 14964/head
Otto Moerbeek [Fri, 13 Dec 2024 09:07:53 +0000 (10:07 +0100)] 
rec: prep for rec-5.2.0-rc1

7 months agoMerge pull request #14957 from zjs604381586/avoid-local-port rec-5.3.0-alpha0
Otto Moerbeek [Fri, 13 Dec 2024 08:52:50 +0000 (09:52 +0100)] 
Merge pull request #14957 from zjs604381586/avoid-local-port

recursor udp-source-port-avoid default setting add 4791 port