]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
14 months agom4: Add option for 64-bit time_t on 32-bit systems with glibc-2.34 14191/head
Sven Wegener [Sun, 31 Oct 2021 19:21:29 +0000 (20:21 +0100)] 
m4: Add option for 64-bit time_t on 32-bit systems with glibc-2.34

glibc-2.34 includes the user-facing part of the 64-bit time_t support
for 32-bit systems. We treat this feature as experimental, as it causes
ABI issues, if 64-bit time_t values are passed to libraries that are
build with 32-bit time_t. It is safe for local use of 64-bit time_t.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit f7d48d8211db8d111a326f0c4f9aac1811103b03)

14 months agoMerge pull request #14058 from mind04/auth-4.9.x-bp-14057
Peter van Dijk [Tue, 14 May 2024 13:53:31 +0000 (15:53 +0200)] 
Merge pull request #14058 from mind04/auth-4.9.x-bp-14057

Auth-4.9.x: Partial backport of #14057

14 months agoMerge pull request #14126 from Habbie/backport-14021-to-auth-4.9.x
Peter van Dijk [Mon, 13 May 2024 14:24:49 +0000 (16:24 +0200)] 
Merge pull request #14126 from Habbie/backport-14021-to-auth-4.9.x

auth-4.9 LUA: (optionally) drop whitespace on join

14 months agoauth: don't crash when a catalog SOA is invalid 14058/head
Kees Monshouwer [Tue, 9 Apr 2024 23:09:57 +0000 (01:09 +0200)] 
auth: don't crash when a catalog SOA is invalid

14 months agodefault to no for 4.9.x 14126/head
Peter van Dijk [Thu, 2 May 2024 14:54:21 +0000 (16:54 +0200)] 
default to no for 4.9.x

14 months agoauth LUA: (optionally) drop whitespace on join
Peter van Dijk [Tue, 2 Apr 2024 14:00:07 +0000 (16:00 +0200)] 
auth LUA: (optionally) drop whitespace on join

fixes #14002

(cherry picked from commit 26dbeed81cf5091d779f56ace7d3a0095570c9d4)

15 months agoMerge pull request #14129 from romeroalx/backport-14044-to-auth-4.9.x
Peter van Dijk [Fri, 3 May 2024 15:36:51 +0000 (17:36 +0200)] 
Merge pull request #14129 from romeroalx/backport-14044-to-auth-4.9.x

auth: Backport 14044 to auth-4.9.x: gh actions - replace yq snap in collect job build-and-test-all

15 months agogh actions - replace yq snap in collect job build-and-test-all 14129/head
romeroalx [Fri, 5 Apr 2024 10:02:55 +0000 (12:02 +0200)] 
gh actions - replace yq snap in collect job build-and-test-all

15 months agoMerge pull request #14127 from Habbie/backport-14061-to-auth-4.9.x
Peter van Dijk [Fri, 3 May 2024 14:04:14 +0000 (16:04 +0200)] 
Merge pull request #14127 from Habbie/backport-14061-to-auth-4.9.x

auth-4.9.x: GH actions - build-and-test-all: parameterize workflow to run different docker runner versions

15 months agoundo merge damage to unbreak collect 14127/head
Peter van Dijk [Fri, 3 May 2024 13:32:48 +0000 (15:32 +0200)] 
undo merge damage to unbreak collect

15 months agoadjust tag to auth-4.9.x
Peter van Dijk [Thu, 2 May 2024 16:14:13 +0000 (18:14 +0200)] 
adjust tag to auth-4.9.x

15 months agorun build-and-test-all weekly on debian 11 containers
romeroalx [Thu, 11 Apr 2024 09:18:45 +0000 (11:18 +0200)] 
run build-and-test-all weekly on debian 11 containers

(cherry picked from commit b816d8bb970a5cf5b600e28e017914e7d84be5d0)

15 months agobuild-and-test-all: container image parameterized for jobs
romeroalx [Thu, 11 Apr 2024 08:03:53 +0000 (10:03 +0200)] 
build-and-test-all: container image parameterized for jobs

(cherry picked from commit 8c2bc355150fe435bdcda626d065c94efc67e530)

16 months agoMerge pull request #13929 from Habbie/backport-13873-to-auth-4.9.x
Peter van Dijk [Mon, 18 Mar 2024 11:56:19 +0000 (12:56 +0100)] 
Merge pull request #13929 from Habbie/backport-13873-to-auth-4.9.x

auth 4.9 debian: adjust option name in shipped postinst

16 months agoauth debian: adjust option name in shipped postinst 13929/head
Peter van Dijk [Thu, 7 Mar 2024 12:15:37 +0000 (13:15 +0100)] 
auth debian: adjust option name in shipped postinst

(cherry picked from commit ae75ce6cbb7ec3652bc60800748dcc1908f568e9)

16 months agoMerge pull request #13918 from Habbie/backport-13916-to-auth-4.9.x auth-4.9.0
Peter van Dijk [Thu, 14 Mar 2024 17:53:41 +0000 (18:53 +0100)] 
Merge pull request #13918 from Habbie/backport-13916-to-auth-4.9.x

auth-4.9 .dockerignore: adjust for https://github.com/docker/buildx/issues/850

16 months ago.dockerignore: adjust for https://github.com/docker/buildx/issues/850 13918/head
Peter van Dijk [Thu, 14 Mar 2024 14:01:44 +0000 (15:01 +0100)] 
.dockerignore: adjust for https://github.com/docker/buildx/issues/850

(cherry picked from commit d710d00c6928ae550a377abbb3a9e7a27fb30f39)

16 months agoMerge pull request #13901 from Habbie/backport-13867-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 14:23:21 +0000 (15:23 +0100)] 
Merge pull request #13901 from Habbie/backport-13867-to-auth-4.9.x

auth 4.9: on OpenBSD, try harder to send on a non-blocking socket

16 months agoMerge pull request #13900 from Habbie/backport-13860-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 14:22:17 +0000 (15:22 +0100)] 
Merge pull request #13900 from Habbie/backport-13860-to-auth-4.9.x

auth 4.9 LUA dblookup: switch qtype argument to int

16 months agoMerge pull request #13899 from Habbie/backport-13855-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 14:22:08 +0000 (15:22 +0100)] 
Merge pull request #13899 from Habbie/backport-13855-to-auth-4.9.x

auth 4.9: revive remotebackend tests and fix failures

16 months agoMerge pull request #13898 from Habbie/backport-13849-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 14:21:16 +0000 (15:21 +0100)] 
Merge pull request #13898 from Habbie/backport-13849-to-auth-4.9.x

auth 4.9 Docker: Only print config if debug flag is set

16 months agoMerge pull request #13897 from Habbie/backport-13841-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 13:09:26 +0000 (14:09 +0100)] 
Merge pull request #13897 from Habbie/backport-13841-to-auth-4.9.x

auth 4.9: do not disable ns records at apex in consumer zones

16 months agoMerge pull request #13896 from Habbie/backport-13205-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 13:09:16 +0000 (14:09 +0100)] 
Merge pull request #13896 from Habbie/backport-13205-to-auth-4.9.x

auth 4.9: catalog, include groups in hash calculation

16 months agoMerge pull request #13895 from Habbie/backport-13879-to-auth-4.9.x
Peter van Dijk [Thu, 14 Mar 2024 13:09:04 +0000 (14:09 +0100)] 
Merge pull request #13895 from Habbie/backport-13879-to-auth-4.9.x

auth 4.9 LUA: support returning empty set in filterForward #13879

16 months agoMerge pull request #13839 from Habbie/auth-4.9.x-ci-specialise
Peter van Dijk [Thu, 14 Mar 2024 10:03:00 +0000 (11:03 +0100)] 
Merge pull request #13839 from Habbie/auth-4.9.x-ci-specialise

remove unneeded jobs for rel/auth-4.9.x branch

16 months agoauth-4.9.x: specialise workflows 13839/head
Peter van Dijk [Mon, 11 Mar 2024 10:25:06 +0000 (11:25 +0100)] 
auth-4.9.x: specialise workflows

16 months agoMerge pull request #13908 from Habbie/backport-13907-to-auth-4.9.x
Peter van Dijk [Wed, 13 Mar 2024 09:34:41 +0000 (10:34 +0100)] 
Merge pull request #13908 from Habbie/backport-13907-to-auth-4.9.x

auth 4.9: gh actions: wo issue 9491 - actions/runner-images

16 months agogh actions: wo issue 9491 - actions/runner-images 13908/head
romeroalx [Tue, 12 Mar 2024 16:24:31 +0000 (17:24 +0100)] 
gh actions: wo issue 9491 - actions/runner-images

(cherry picked from commit e0bf314e472d0c1d4bc1ff82d97cabf87be1e929)

16 months agoauth: on OpenBSD, try harder to send on a non-blocking socket 13901/head
Otto Moerbeek [Wed, 6 Mar 2024 14:19:22 +0000 (15:19 +0100)] 
auth: on OpenBSD, try harder to send on a non-blocking socket

Should fix #13857 in many cases, though you can still argue this
is a OpenBSD bug (or at least an undesirable difference between other
systems and OpenBSD).

(cherry picked from commit 24aba96710c666bac69298422106821d51a24ecb)

16 months agoauth LUA dblookup: switch qtype argument to int 13900/head
Peter van Dijk [Tue, 5 Mar 2024 11:34:50 +0000 (12:34 +0100)] 
auth LUA dblookup: switch qtype argument to int

(cherry picked from commit 2ef0893002c6d4e655935ba0a0cde11f9754ef55)

16 months agoremotebackend tests: use unsigned domain_id (thanks ubsan) 13899/head
Peter van Dijk [Mon, 4 Mar 2024 12:47:53 +0000 (13:47 +0100)] 
remotebackend tests: use unsigned domain_id (thanks ubsan)

(cherry picked from commit c68956befb51dcd3fdc40cdf7c945348b0082f51)

16 months agoremotebackend tests: do pass empty array
Peter van Dijk [Mon, 4 Mar 2024 12:28:21 +0000 (13:28 +0100)] 
remotebackend tests: do pass empty array

(cherry picked from commit faffc88b53df908121b4cb0c1f009b24503aa84e)

16 months agodon't log from destructors, g_log might be gone already (thanks asan)
Peter van Dijk [Mon, 4 Mar 2024 11:48:41 +0000 (12:48 +0100)] 
don't log from destructors, g_log might be gone already (thanks asan)

(cherry picked from commit f9adcdb943811d44fa19451dfc8611af94c781c5)

16 months agoremotebackend tests: report exit value correctly
Peter van Dijk [Mon, 4 Mar 2024 11:48:28 +0000 (12:48 +0100)] 
remotebackend tests: report exit value correctly

(cherry picked from commit 7bf9d192dde88938a3f7f132c5e56602e01c240e)

16 months agonits 13898/head
Peter van Dijk [Tue, 5 Mar 2024 13:53:46 +0000 (14:53 +0100)] 
nits

(cherry picked from commit 688d5dbdba626e3a36af37a8629c6fab6e5d5a1a)

16 months agoOnly print config if debug flag is set
Carolin Dohmen [Fri, 1 Mar 2024 15:19:04 +0000 (16:19 +0100)] 
Only print config if debug flag is set

Signed-off-by: Carolin Dohmen <carodohmen@gmail.com>
(cherry picked from commit d773b7bb99418026c3907ebd4b4e994a61fccecd)

16 months agoauth: do not disable ns records at apex in consumer zones 13897/head
Kees Monshouwer [Fri, 23 Feb 2024 15:22:05 +0000 (16:22 +0100)] 
auth: do not disable ns records at apex in consumer zones

(cherry picked from commit 4057f3d0af4e0b6c23cb7a85838c2d3c4e667dca)

16 months agofix NUL string literal 13896/head
Peter van Dijk [Fri, 8 Mar 2024 15:59:34 +0000 (16:59 +0100)] 
fix NUL string literal

(cherry picked from commit 48fc1a0d7dcd8939e0196f6b92f721daabf6f936)

16 months agoauth: catalog, include groups in hash calculation
Kees Monshouwer [Sat, 2 Sep 2023 13:21:53 +0000 (15:21 +0200)] 
auth: catalog, include groups in hash calculation

(cherry picked from commit b099d811a88948ff53389895cf27e85bcdf1ba70)

16 months agosimplify return type usage 13895/head
Peter van Dijk [Mon, 11 Mar 2024 11:39:36 +0000 (12:39 +0100)] 
simplify return type usage

(cherry picked from commit 863fa7f60d889126e8df57e3a62f1a0ef6e7108a)

16 months agoauth LUA: support returning empty set in filterForward
Peter van Dijk [Fri, 8 Mar 2024 13:51:55 +0000 (14:51 +0100)] 
auth LUA: support returning empty set in filterForward

fixes #12436

(cherry picked from commit 98301eb09c283550951e061fbee047361cb5351c)

17 months agoMerge pull request #13803 from Habbie/lmdb-sync-mode auth-4.9.0-beta2
Peter van Dijk [Thu, 15 Feb 2024 15:13:58 +0000 (16:13 +0100)] 
Merge pull request #13803 from Habbie/lmdb-sync-mode

lmdb: remove mapasync mode, it was always a lie

17 months agoMerge pull request #13802 from chbruyand/ixfrdist-coverity-1534483
Peter van Dijk [Thu, 15 Feb 2024 14:20:47 +0000 (15:20 +0100)] 
Merge pull request #13802 from chbruyand/ixfrdist-coverity-1534483

ixfrist: fix coverity report 1534483

17 months agolmdb: remove mapasync mode, it was always a lie 13803/head
Peter van Dijk [Thu, 15 Feb 2024 14:16:50 +0000 (15:16 +0100)] 
lmdb: remove mapasync mode, it was always a lie

fixes #12888

17 months agoMerge pull request #11431 from jroessler-ox/docs-kskzskroll-update
Peter van Dijk [Thu, 15 Feb 2024 13:59:25 +0000 (14:59 +0100)] 
Merge pull request #11431 from jroessler-ox/docs-kskzskroll-update

updated KSK and ZSK Rollover procedures, small fixes in Algorithm Rol…

17 months agoixfrist: fix coverity report 1534483 13802/head
Charles-Henri Bruyand [Thu, 15 Feb 2024 13:00:08 +0000 (14:00 +0100)] 
ixfrist: fix coverity report 1534483

17 months agoMerge pull request #13801 from chbruyand/ixfrdist-fix-centos-build
Peter van Dijk [Thu, 15 Feb 2024 12:00:01 +0000 (13:00 +0100)] 
Merge pull request #13801 from chbruyand/ixfrdist-fix-centos-build

ixfrdist: fix centos build

17 months agoixfrdist: fix centos build 13801/head
Charles-Henri Bruyand [Thu, 15 Feb 2024 10:49:10 +0000 (11:49 +0100)] 
ixfrdist: fix centos build

17 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

17 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

17 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

17 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.

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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)

17 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`

17 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

17 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`

17 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

17 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)

17 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.

17 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

17 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

17 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

17 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

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

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

17 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

17 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

17 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

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

17 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

17 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

17 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`

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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.

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

17 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

17 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

17 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

17 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

17 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

18 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

18 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)

18 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

18 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.