]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agodnsdist: Document that 'tagValue' can be omitted for tag actions 14182/head
Remi Gacogne [Thu, 23 May 2024 10:17:04 +0000 (12:17 +0200)] 
dnsdist: Document that 'tagValue' can be omitted for tag actions

2 years agoMerge pull request #14219 from gjherbiet/patch-1
Remi Gacogne [Thu, 23 May 2024 10:14:02 +0000 (12:14 +0200)] 
Merge pull request #14219 from gjherbiet/patch-1

dnsdist: Clarify server status documentation

2 years agoauth: Fix a memory leak report in the distributor unit tests 14224/head
Remi Gacogne [Thu, 23 May 2024 08:54:05 +0000 (10:54 +0200)] 
auth: Fix a memory leak report in the distributor unit tests

2 years agodnsdist: typo in `Server:isUp` description 14219/head
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:40:09 +0000 (10:40 +0200)] 
dnsdist: typo in `Server:isUp` description

Incorrect reference to `Server:setAuto` method.

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agodnsdist: further clarify `Server:isUp` method
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:30:59 +0000 (10:30 +0200)] 
dnsdist: further clarify `Server:isUp` method

Explain how to unset "administrative status".

2 years agodnsdist: typo in server status description
Guillaume-Jean Herbiet [Thu, 23 May 2024 08:17:44 +0000 (10:17 +0200)] 
dnsdist: typo in server status description

Typo introduced with the detailed description of `Server.upStatus` attribute.

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoApply suggestions from code review
Otto Moerbeek [Thu, 23 May 2024 08:11:21 +0000 (10:11 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoMerge pull request #14205 from rgacogne/ddist-delint-dnscrypt
Remi Gacogne [Thu, 23 May 2024 07:23:49 +0000 (09:23 +0200)] 
Merge pull request #14205 from rgacogne/ddist-delint-dnscrypt

dnsdist: Delint the DNSCrypt code base

2 years agoAdd selfweighted func desc; reduce to 1 loop
n0tlu5 [Thu, 23 May 2024 01:42:07 +0000 (08:42 +0700)] 
Add selfweighted func desc; reduce to 1 loop

2 years agoAdjust setWeight state retrieve mechanism
n0tlu5 [Thu, 23 May 2024 01:40:14 +0000 (08:40 +0700)] 
Adjust setWeight state retrieve mechanism

2 years agoMerge weight log to status log
n0tlu5 [Thu, 23 May 2024 01:38:11 +0000 (08:38 +0700)] 
Merge weight log to status log

2 years agoauth: added self weighted lua function
n0tlu5 [Wed, 22 May 2024 18:09:49 +0000 (01:09 +0700)] 
auth: added self weighted lua function

2 years agoStop doing a literal include of the SNMP MIB.
Otto Moerbeek [Wed, 22 May 2024 14:20:58 +0000 (16:20 +0200)] 
Stop doing a literal include of the SNMP MIB.

pdflatex cannot hanlde such a big literal include.

2 years agoTypos
Otto Moerbeek [Tue, 21 May 2024 10:48:47 +0000 (12:48 +0200)] 
Typos

2 years agoreformat
Otto Moerbeek [Tue, 5 Mar 2024 08:54:00 +0000 (09:54 +0100)] 
reformat

2 years agoIntroduce a random delay before processing a request that was chained
Otto Moerbeek [Fri, 24 Nov 2023 14:29:48 +0000 (15:29 +0100)] 
Introduce a random delay before processing a request that was chained

2 years agoRename authWaitTime() to make it explicit we're talking milliseconds
Otto Moerbeek [Fri, 24 Nov 2023 10:34:15 +0000 (11:34 +0100)] 
Rename authWaitTime() to make it explicit we're talking milliseconds

2 years agoIf the chain is old, refuse to add more entries to it
Otto Moerbeek [Wed, 22 Nov 2023 08:33:32 +0000 (09:33 +0100)] 
If the chain is old, refuse to add more entries to it

2 years agoCompute the auth response delay we are wiling to accept based on the number of
Otto Moerbeek [Tue, 21 Nov 2023 15:33:21 +0000 (16:33 +0100)] 
Compute the auth response delay we are wiling to accept based on the number of
mthread slots available.

2 years agoIf a chain is long, refuse to add more entries to it (including metrics)
Otto Moerbeek [Mon, 6 Nov 2023 08:35:01 +0000 (09:35 +0100)] 
If a chain is long, refuse to add more entries to it (including metrics)

2 years agoMerge pull request #14185 from omoerbeek/rec-map-limit
Otto Moerbeek [Wed, 22 May 2024 11:18:41 +0000 (13:18 +0200)] 
Merge pull request #14185 from omoerbeek/rec-map-limit

rec: log vm.max_map_count possibly being too low and log a few exceptions (with rate limiting)

2 years agodnsdist: Clarify server status methods and attributes documentation
Guillaume-Jean Herbiet [Tue, 21 May 2024 19:57:21 +0000 (21:57 +0200)] 
dnsdist: Clarify server status methods and attributes documentation

Detail return values  for `Server:isUp()` method and `Server.upStatus` attribute to clarify behavior when the server is administratively set UP or DOWN.

Closes #14217

2 years agoAdd upgrade guide item 14185/head
Otto Moerbeek [Tue, 21 May 2024 13:24:16 +0000 (15:24 +0200)] 
Add upgrade guide item

2 years agokern.max_map_count -> vm.max_map_count; from @phonedph1
Otto Moerbeek [Tue, 21 May 2024 13:10:07 +0000 (15:10 +0200)] 
kern.max_map_count -> vm.max_map_count; from @phonedph1

2 years agoTwo cases of wrong var (in code not compiled)
Otto Moerbeek [Tue, 21 May 2024 13:03:02 +0000 (15:03 +0200)] 
Two cases of wrong var (in code not compiled)

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoReformt
Otto Moerbeek [Tue, 21 May 2024 09:50:04 +0000 (11:50 +0200)] 
Reformt

2 years agoAdjust max-mthreads if vm.max_map_count is too low
Otto Moerbeek [Tue, 21 May 2024 09:12:55 +0000 (11:12 +0200)] 
Adjust max-mthreads if vm.max_map_count is too low

2 years agoUse LockGuarded construct
Otto Moerbeek [Tue, 21 May 2024 09:06:27 +0000 (11:06 +0200)] 
Use LockGuarded construct

2 years agoUse RIAA guard for d_inrun, making sure exceptions reset d_inrun
Otto Moerbeek [Tue, 21 May 2024 08:40:46 +0000 (10:40 +0200)] 
Use RIAA guard for d_inrun, making sure exceptions reset d_inrun

2 years agoRate limit logging for a few cases (there could be more)
Otto Moerbeek [Fri, 17 May 2024 09:19:14 +0000 (11:19 +0200)] 
Rate limit logging for a few cases (there could be more)

2 years agoLog exceptions occuring in resolving action; do not let the worker threads die
Otto Moerbeek [Wed, 15 May 2024 11:36:04 +0000 (13:36 +0200)] 
Log exceptions occuring in resolving action; do not let the worker threads die

2 years agorec: report error when linux map limit is too low
Otto Moerbeek [Wed, 15 May 2024 09:03:07 +0000 (11:03 +0200)] 
rec: report error when linux map limit is too low

2 years agoMerge pull request #14195 from rgacogne/ddist-no-assertions
Remi Gacogne [Tue, 21 May 2024 13:42:27 +0000 (15:42 +0200)] 
Merge pull request #14195 from rgacogne/ddist-no-assertions

dnsdist: Get rid of `assert()`

2 years agoMerge pull request #14184 from rgacogne/ddist-remove-xpf
Remi Gacogne [Tue, 21 May 2024 13:33:34 +0000 (15:33 +0200)] 
Merge pull request #14184 from rgacogne/ddist-remove-xpf

dnsdist: Remove XPF support

2 years agoMerge pull request #14206 from omoerbeek/rec-wildcard-denial-proof
Otto Moerbeek [Tue, 21 May 2024 12:52:31 +0000 (14:52 +0200)] 
Merge pull request #14206 from omoerbeek/rec-wildcard-denial-proof

rec: be a bit more strict with respect to positive answers expanded from a wildcard

2 years agoTidy test 14206/head
Otto Moerbeek [Tue, 21 May 2024 11:24:14 +0000 (13:24 +0200)] 
Tidy test

2 years agodnsdist: Delint dnsdist-lua-bindings-dnscrypt.cc 14205/head
Remi Gacogne [Tue, 21 May 2024 09:02:48 +0000 (11:02 +0200)] 
dnsdist: Delint dnsdist-lua-bindings-dnscrypt.cc

2 years agodnsdist: Reformat dnsdist-lua-bindings-dnscrypt.cc
Remi Gacogne [Tue, 21 May 2024 08:52:54 +0000 (10:52 +0200)] 
dnsdist: Reformat dnsdist-lua-bindings-dnscrypt.cc

2 years agoMerge pull request #14200 from rgacogne/auth-enable-leak-detection-unit-tests
Peter van Dijk [Fri, 17 May 2024 18:21:51 +0000 (20:21 +0200)] 
Merge pull request #14200 from rgacogne/auth-enable-leak-detection-unit-tests

auth: Enable LeakSanitizer while running the unit tests in CI

2 years agoMerge pull request #14198 from Habbie/sdig-formatting
Peter van Dijk [Fri, 17 May 2024 18:19:52 +0000 (20:19 +0200)] 
Merge pull request #14198 from Habbie/sdig-formatting

sdig.1: format example commands better

2 years agodnsdist: More delinting in test-dnscrypt_cc.cc
Remi Gacogne [Fri, 17 May 2024 15:26:04 +0000 (17:26 +0200)] 
dnsdist: More delinting in test-dnscrypt_cc.cc

2 years agoauth: Enable LeakSanitizer while running the unit tests in CI 14200/head
Remi Gacogne [Fri, 17 May 2024 14:58:11 +0000 (16:58 +0200)] 
auth: Enable LeakSanitizer while running the unit tests in CI

2 years agosdig.1: format example commands better 14198/head
Peter van Dijk [Fri, 17 May 2024 13:50:45 +0000 (15:50 +0200)] 
sdig.1: format example commands better

2 years agoMerge pull request #14196 from rgacogne/auth-fix-bindparser-leak
Peter van Dijk [Fri, 17 May 2024 13:50:15 +0000 (15:50 +0200)] 
Merge pull request #14196 from rgacogne/auth-fix-bindparser-leak

auth: Fix memory leaks in the bind file format parser

2 years agoMerge pull request #14197 from rgacogne/yahttp-large-formurlencoded
Remi Gacogne [Fri, 17 May 2024 13:50:08 +0000 (15:50 +0200)] 
Merge pull request #14197 from rgacogne/yahttp-large-formurlencoded

YaHTTP: Enforce max # of request fields and max request line size

2 years agoFix "var unused" warnings in tests
Otto Moerbeek [Mon, 8 Apr 2024 07:50:34 +0000 (09:50 +0200)] 
Fix "var unused" warnings in tests

2 years agorec: Check denial in positive {C,D}NAME answers expanded from a wildcard
Remi Gacogne [Tue, 21 Feb 2023 17:20:47 +0000 (18:20 +0100)] 
rec: Check denial in positive {C,D}NAME answers expanded from a wildcard

2 years agorec: Skip NSEC records signed by a subzone when validating a denial proof
Remi Gacogne [Tue, 21 Feb 2023 17:20:08 +0000 (18:20 +0100)] 
rec: Skip NSEC records signed by a subzone when validating a denial proof

2 years agodnsdist: Format DNSCrypt code
Remi Gacogne [Fri, 17 May 2024 13:22:27 +0000 (15:22 +0200)] 
dnsdist: Format DNSCrypt code

2 years agodnsdist: Move the DNSCrypt files to pdns/dnsdistdist/
Remi Gacogne [Fri, 17 May 2024 10:01:16 +0000 (12:01 +0200)] 
dnsdist: Move the DNSCrypt files to pdns/dnsdistdist/

2 years agodnsdist: Remove DNSCrypt symbolic links
Remi Gacogne [Fri, 17 May 2024 10:00:26 +0000 (12:00 +0200)] 
dnsdist: Remove DNSCrypt symbolic links

2 years agoDelint the DNSCrypt code base
Remi Gacogne [Fri, 17 May 2024 09:59:44 +0000 (11:59 +0200)] 
Delint the DNSCrypt code base

2 years agoYaHTTP: Enforce max # of request fields and max request line size 14197/head
Your Name [Mon, 15 Apr 2024 13:45:38 +0000 (15:45 +0200)] 
YaHTTP: Enforce max # of request fields and max request line size

The default values, 8192 bytes for the maximum request line size and
100 fields, are taken from the default settings of Apache HTTPd:
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfields

Reported by OSS-Fuzz as a timeout in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67993

2 years agoauth: Fix memory leaks in the bind file format parser 14196/head
Remi Gacogne [Thu, 4 Apr 2024 14:21:52 +0000 (16:21 +0200)] 
auth: Fix memory leaks in the bind file format parser

Some tokens were not properly freed: ACL names and entries, unused
word or quoted string terms. This is limited to the parsing of the
bind file format, zones themselves are fine, so there is no security
impact.
Found by LeakSanitizer over our existing unit tests.

2 years agoMerge pull request #14123 from PowerDNS/dependabot/pip/pdns/recursordist/docs/idna-3.7
Peter van Dijk [Fri, 17 May 2024 12:42:36 +0000 (14:42 +0200)] 
Merge pull request #14123 from PowerDNS/dependabot/pip/pdns/recursordist/docs/idna-3.7

build(deps): bump idna from 3.6 to 3.7 in /pdns/recursordist/docs

2 years agoMerge pull request #14178 from omoerbeek/rec-docs-padding-proxy
Remi Gacogne [Fri, 17 May 2024 12:11:56 +0000 (14:11 +0200)] 
Merge pull request #14178 from omoerbeek/rec-docs-padding-proxy

rec: fix version changed for incoming.edns_padding_from and incoming.proxy_protocol_from

2 years agodnsdist: Get rid of assert() 14195/head
Remi Gacogne [Fri, 17 May 2024 09:57:55 +0000 (11:57 +0200)] 
dnsdist: Get rid of assert()

PowerDNS Security Advisory 2024-03 has made it clear that some of
them that have been designed to break during testing might break in
production, as we compile with `NDEBUG` unset.

2 years agoMerge pull request #14169 from omoerbeek/rec-lsan
Otto Moerbeek [Fri, 17 May 2024 08:03:34 +0000 (10:03 +0200)] 
Merge pull request #14169 from omoerbeek/rec-lsan

rec: enable lsan in regression tests

2 years agodnsdist: Remove XPF support 14184/head
Remi Gacogne [Thu, 16 May 2024 15:07:27 +0000 (17:07 +0200)] 
dnsdist: Remove XPF support

2 years agoMerge pull request #14171 from romeroalx/build-images-gh-actions
Alexis Romero [Thu, 16 May 2024 14:10:49 +0000 (16:10 +0200)] 
Merge pull request #14171 from romeroalx/build-images-gh-actions

GH Actions: build and publish multi-platform images

2 years agoMerge pull request #14174 from fredmorcos/backend-loading-debug-logging
Fred Morcos [Thu, 16 May 2024 12:55:07 +0000 (14:55 +0200)] 
Merge pull request #14174 from fredmorcos/backend-loading-debug-logging

Auth: Add debug logging to `UeberBackend` and `BackendMakerClass`

2 years agoMerge pull request #14162 from rgacogne/ddist-fix-unittest-warning-without-xsk
Remi Gacogne [Thu, 16 May 2024 12:43:15 +0000 (14:43 +0200)] 
Merge pull request #14162 from rgacogne/ddist-fix-unittest-warning-without-xsk

dnsdist: Fix a warning when compiling the unit tests without XSK

2 years agoMerge pull request #14175 from fredmorcos/auth-meson-modules-refactor
Fred Morcos [Thu, 16 May 2024 10:21:09 +0000 (12:21 +0200)] 
Merge pull request #14175 from fredmorcos/auth-meson-modules-refactor

Meson: Move modules handling to `modules/` dir

2 years agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Thu, 16 May 2024 09:10:01 +0000 (11:10 +0200)] 
dnsdist: Fix clang-tidy warnings

2 years agodnsdist: Document the new tag action options for dynamic rules
Remi Gacogne [Thu, 16 May 2024 08:48:23 +0000 (10:48 +0200)] 
dnsdist: Document the new tag action options for dynamic rules

2 years agodnsdist: Handle dynamic rules addition with the new tag action from Lua FFI
Remi Gacogne [Thu, 16 May 2024 08:47:42 +0000 (10:47 +0200)] 
dnsdist: Handle dynamic rules addition with the new tag action from Lua FFI

2 years agodnsdist: Handle dynamic rules' tag action from Lua
Remi Gacogne [Tue, 14 May 2024 15:38:35 +0000 (17:38 +0200)] 
dnsdist: Handle dynamic rules' tag action from Lua

2 years agodnsdist: Fix formatting
Remi Gacogne [Tue, 7 May 2024 15:11:03 +0000 (17:11 +0200)] 
dnsdist: Fix formatting

2 years agodnsdist: Add a regression test for Dynamic rules SetTag action
Remi Gacogne [Tue, 7 May 2024 13:24:34 +0000 (15:24 +0200)] 
dnsdist: Add a regression test for Dynamic rules SetTag action

2 years agodnsdist: Add a SetTag dynamic rule action
Remi Gacogne [Tue, 7 May 2024 12:53:39 +0000 (14:53 +0200)] 
dnsdist: Add a SetTag dynamic rule action

2 years agodnsdist: Add a regression test for the Dynamic cache miss ratio case
Remi Gacogne [Tue, 7 May 2024 12:52:52 +0000 (14:52 +0200)] 
dnsdist: Add a regression test for the Dynamic cache miss ratio case

2 years agodnsdist: Add the ability to set tags from dynamic block rules
Remi Gacogne [Fri, 8 Mar 2024 16:52:54 +0000 (17:52 +0100)] 
dnsdist: Add the ability to set tags from dynamic block rules

This still needs:
- ability to set the tag name and value from the Dynamic Block configuration
- tests
- documentation

2 years agodnsdist: Clean up DynBlock defaults
Remi Gacogne [Fri, 8 Mar 2024 16:27:53 +0000 (17:27 +0100)] 
dnsdist: Clean up DynBlock defaults

2 years agoMerge pull request #14176 from fredmorcos/ueberbackend-cleanup
Fred Morcos [Thu, 16 May 2024 08:04:10 +0000 (10:04 +0200)] 
Merge pull request #14176 from fredmorcos/ueberbackend-cleanup

`UeberBackend` cleanups

2 years agoMerge pull request #14173 from fredmorcos/clang-tidy-disable-endl-warnings
Remi Gacogne [Thu, 16 May 2024 07:19:52 +0000 (09:19 +0200)] 
Merge pull request #14173 from fredmorcos/clang-tidy-disable-endl-warnings

Disable clang-tidy's `performance-avoid-endl` check

2 years agoMerge pull request #14179 from romeroalx/fix-typo-gh-actions
romeroalx [Wed, 15 May 2024 13:48:53 +0000 (15:48 +0200)] 
Merge pull request #14179 from romeroalx/fix-typo-gh-actions

GH Actions: Fix a typo in build-and-test-all.yml

2 years agoFix includes 14169/head
Otto Moerbeek [Wed, 15 May 2024 13:19:28 +0000 (15:19 +0200)] 
Fix includes

2 years agoAlso accept -15 (killed by SIGTERM) as exit code
Otto Moerbeek [Wed, 15 May 2024 12:45:10 +0000 (14:45 +0200)] 
Also accept -15 (killed by SIGTERM) as exit code

2 years agogh actions: fix a typo (autotools) in build-and-test-all.yml as reported by Otto 14179/head
romeroalx [Wed, 15 May 2024 12:34:00 +0000 (14:34 +0200)] 
gh actions: fix a typo (autotools) in build-and-test-all.yml as reported by Otto

2 years agoMerge pull request #14111 from omoerbeek/rec-extra-exportTypes
Otto Moerbeek [Wed, 15 May 2024 12:20:15 +0000 (14:20 +0200)] 
Merge pull request #14111 from omoerbeek/rec-extra-exportTypes

rec: extra export types for protobuf messages

2 years agorec: fix version changed for incoming.edns_padding_from and incoming.proxy_protocol_from 14178/head
Otto Moerbeek [Wed, 15 May 2024 11:50:18 +0000 (13:50 +0200)] 
rec: fix version changed for incoming.edns_padding_from and incoming.proxy_protocol_from

2 years agoMerge pull request #14172 from omoerbeek/rec-prep-5.1.0-alpha1
Otto Moerbeek [Wed, 15 May 2024 11:18:08 +0000 (13:18 +0200)] 
Merge pull request #14172 from omoerbeek/rec-prep-5.1.0-alpha1

rec: prep rec-5.1.0-alpha1

2 years agoUeberBackend cleanups 14176/head
Fred Morcos [Wed, 15 May 2024 11:11:19 +0000 (13:11 +0200)] 
UeberBackend cleanups

2 years agoMeson: Move modules handling to modules/ dir 14175/head
Fred Morcos [Wed, 15 May 2024 09:47:18 +0000 (11:47 +0200)] 
Meson: Move modules handling to modules/ dir

This simplifies a bit the handling of modules, and puts the backend artifacts in a
directory similar to how autotools did it, this helps simplify adapting the regression
tests harness to support our Meson builds.

2 years agoAuth: Add debug logging to UeberBackend and BackendMakerClass 14174/head
Fred Morcos [Wed, 15 May 2024 09:46:08 +0000 (11:46 +0200)] 
Auth: Add debug logging to UeberBackend and BackendMakerClass

When trying to load backend module files.

2 years agoDisable clang-tidy performance-avoid-endl check 14173/head
Fred Morcos [Wed, 15 May 2024 09:33:59 +0000 (11:33 +0200)] 
Disable clang-tidy performance-avoid-endl check

2 years agoTypo in comment
Otto Moerbeek [Wed, 15 May 2024 08:31:29 +0000 (10:31 +0200)] 
Typo in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agorec: prep rec-5.1.0-alpha1 14172/head
Otto Moerbeek [Tue, 14 May 2024 11:35:11 +0000 (13:35 +0200)] 
rec: prep rec-5.1.0-alpha1

2 years agogh actions: add WF for building and pushing images when a new tag is created 14171/head
romeroalx [Tue, 14 May 2024 15:45:08 +0000 (17:45 +0200)] 
gh actions: add WF for building and pushing images when a new tag is created

2 years agogh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)] 
gh actions: add WF for building and pushing images manually

2 years agogh actions: modify docker.yml for building and pushing images daily (master)
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)] 
gh actions: modify docker.yml for building and pushing images daily (master)

2 years agogh actions: add WF for building and pushing multi-platform images on workflow_call...
romeroalx [Tue, 14 May 2024 15:35:44 +0000 (17:35 +0200)] 
gh actions: add WF for building and pushing multi-platform images on workflow_call events

2 years agoAdding liblua5.3-dev/libluajit-5.1-dev to dockerfiles
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)] 
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles

2 years agoMerge pull request #14165 from omoerbeek/rec-prep-20240514 rec-5.1.0-alpha1
Otto Moerbeek [Tue, 14 May 2024 09:27:46 +0000 (11:27 +0200)] 
Merge pull request #14165 from omoerbeek/rec-prep-20240514

rec: prep for 20240514 releases

2 years agoMerge pull request #14167 from rgacogne/ddist-custom-webhandler-race
Remi Gacogne [Tue, 14 May 2024 08:35:33 +0000 (10:35 +0200)] 
Merge pull request #14167 from rgacogne/ddist-custom-webhandler-race

dnsdist: Prevent a race when calling `registerWebHandler` at runtime

2 years agoTweaks to make LSAN work
Otto Moerbeek [Mon, 13 May 2024 13:42:18 +0000 (15:42 +0200)] 
Tweaks to make LSAN work

2 years agoMerge pull request #14156 from rgacogne/ddist-fix-assertion-doh-xfr-tcp
Remi Gacogne [Tue, 14 May 2024 08:14:32 +0000 (10:14 +0200)] 
Merge pull request #14156 from rgacogne/ddist-fix-assertion-doh-xfr-tcp

dnsdist: Fix handling of XFR requests over DoH

2 years agodnsdist: Prevent a race when calling `registerWebHandler` at runtime 14167/head
Remi Gacogne [Tue, 14 May 2024 07:56:15 +0000 (09:56 +0200)] 
dnsdist: Prevent a race when calling `registerWebHandler` at runtime

The `registerWebHandler()` Lua method can be used to tie a custom Lua
function to an HTTP endpoint. This function was clearly not intended
to be used at runtime but this was never enforced, so let's prevent
a race condition by wrapping the internal web handlers map in a lock.

2 years agoMerge pull request #14164 from dwfreed/patch-1
Peter van Dijk [Tue, 14 May 2024 06:34:25 +0000 (08:34 +0200)] 
Merge pull request #14164 from dwfreed/patch-1

Fix formatting of PowerDNS SA 2024-03

2 years agoFix formatting of PowerDNS SA 2024-03 14164/head
Doug Freed [Mon, 13 May 2024 21:26:58 +0000 (16:26 -0500)] 
Fix formatting of PowerDNS SA 2024-03

Add a newline so that the list of workarounds actually becomes a list.