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

14 months 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

14 months 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

14 months 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

14 months 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.

14 months 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

14 months 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.

14 months agoMerge pull request #14158 from omoerbeek/rec-src-address-docs
Otto Moerbeek [Mon, 13 May 2024 12:44:08 +0000 (14:44 +0200)] 
Merge pull request #14158 from omoerbeek/rec-src-address-docs

rec: mention subnets are not allowed (yet) in query-local-address/outgoing.source_address

14 months agorec: prep for 20240514 releases 14165/head
Otto Moerbeek [Mon, 13 May 2024 08:47:43 +0000 (10:47 +0200)] 
rec: prep for 20240514 releases

14 months agoMerge pull request #14157 from Habbie/dnsupdate-require-tsig-docs-5.0
Peter van Dijk [Mon, 13 May 2024 09:51:29 +0000 (11:51 +0200)] 
Merge pull request #14157 from Habbie/dnsupdate-require-tsig-docs-5.0

auth docs, clarify that dnsupdate-require-tsig is new in 5.0

14 months agoMerge pull request #14160 from rgacogne/ddist-1.9.4-secpoll-changelog
Remi Gacogne [Mon, 13 May 2024 09:50:29 +0000 (11:50 +0200)] 
Merge pull request #14160 from rgacogne/ddist-1.9.4-secpoll-changelog

dnsdist: Update the secpoll zone and the ChangeLog for 1.9.4

14 months agodnsdist: Fix the PR number in the ChangeLog 14160/head
Remi Gacogne [Mon, 13 May 2024 09:45:00 +0000 (11:45 +0200)] 
dnsdist: Fix the PR number in the ChangeLog

14 months agodnsdist: Add security advisory 2024-03 for DNSdist
Remi Gacogne [Mon, 13 May 2024 07:51:42 +0000 (09:51 +0200)] 
dnsdist: Add security advisory 2024-03 for DNSdist

14 months agoBetter wording and typo 14158/head
Otto Moerbeek [Mon, 13 May 2024 09:01:32 +0000 (11:01 +0200)] 
Better wording and typo

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
14 months agorec: mention subnets are not allowed (yet) in query-local-address/outgoing.source_address
Otto Moerbeek [Mon, 13 May 2024 08:20:07 +0000 (10:20 +0200)] 
rec: mention subnets are not allowed (yet) in query-local-address/outgoing.source_address

Fixes #14148

14 months agoauth docs, clarify that dnsupdate-require-tsig is new in 5.0 14157/head
Peter van Dijk [Mon, 13 May 2024 07:53:19 +0000 (09:53 +0200)] 
auth docs, clarify that dnsupdate-require-tsig is new in 5.0

14 months agodnsdist: Fix handling of XFR requests over DoH 14156/head
Remi Gacogne [Tue, 23 Apr 2024 13:28:14 +0000 (15:28 +0200)] 
dnsdist: Fix handling of XFR requests over DoH

We did not properly handle incoming XFR requests received over DoH
When a TCP-only or DoT backend was configured, and the nghttp2 provider
used.
This commits fixes the assertion failure and makes sure that XFR
requests are denied with `NOTIMP` when received over DNS over HTTPS,
including DNS over HTTP/3. It also denies them when received over
DNS over QUIC as this is not properly handled at the moment, although
it does not cause a crash.

14 months agodnsdist: Update the secpoll zone and the ChangeLog for 1.9.4
Remi Gacogne [Fri, 26 Apr 2024 09:37:40 +0000 (11:37 +0200)] 
dnsdist: Update the secpoll zone and the ChangeLog for 1.9.4

14 months agoMerge pull request #14143 from rgacogne/ddist-enable-leak-sanitizer-ci
Remi Gacogne [Mon, 13 May 2024 07:30:15 +0000 (09:30 +0200)] 
Merge pull request #14143 from rgacogne/ddist-enable-leak-sanitizer-ci

dnsdist: Enable memory leaks detection during regression tests in CI

14 months agoMerge pull request #14024 from omoerbeek/auth-docs-modes-of-operation
Peter van Dijk [Wed, 8 May 2024 12:19:33 +0000 (14:19 +0200)] 
Merge pull request #14024 from omoerbeek/auth-docs-modes-of-operation

auth docs: update primary/secondary terminology

14 months agoMerge pull request #13819 from omoerbeek/rec-ta
Otto Moerbeek [Tue, 7 May 2024 09:32:46 +0000 (11:32 +0200)] 
Merge pull request #13819 from omoerbeek/rec-ta

rec: add Lua config to YAML settings

14 months agoMerge pull request #14098 from PowerDNS/dependabot/github_actions/slsa-framework...
Remi Gacogne [Tue, 7 May 2024 09:29:59 +0000 (11:29 +0200)] 
Merge pull request #14098 from PowerDNS/dependabot/github_actions/slsa-framework/slsa-github-generator-2.0.0

build(deps): bump slsa-framework/slsa-github-generator from 1.10.0 to 2.0.0

14 months agoMerge pull request #14144 from romeroalx/fix-fork-runner-image-name
romeroalx [Tue, 7 May 2024 09:22:09 +0000 (11:22 +0200)] 
Merge pull request #14144 from romeroalx/fix-fork-runner-image-name

GH Actions: fix the repository where the runner images are pulled from

14 months agoalways pull runner image from powerdns for forks 14144/head
romeroalx [Tue, 7 May 2024 08:06:21 +0000 (10:06 +0200)] 
always pull runner image from powerdns for forks

14 months agobuild-packages: Update download-artifact to v4 14098/head
Remi Gacogne [Tue, 7 May 2024 07:58:19 +0000 (09:58 +0200)] 
build-packages: Update download-artifact to v4

14 months agoMerge pull request #14125 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/idna-3.7
Remi Gacogne [Tue, 7 May 2024 07:51:18 +0000 (09:51 +0200)] 
Merge pull request #14125 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/idna-3.7

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

14 months agoMerge pull request #14130 from rgacogne/ddist-fix-updateio-h2
Remi Gacogne [Tue, 7 May 2024 07:18:54 +0000 (09:18 +0200)] 
Merge pull request #14130 from rgacogne/ddist-fix-updateio-h2

dnsdist: Fix TCP I/O timeout and callback being used for HTTP/2

14 months agodnsdist: Suppress a warning from TSAN about our signal handler 14143/head
Remi Gacogne [Mon, 6 May 2024 17:48:23 +0000 (19:48 +0200)] 
dnsdist: Suppress a warning from TSAN about our signal handler

We are calling `_exit()`, which is async-signal-safe according to
POSIX.

14 months agodnsdist: Implement an "atExit" Lua callback to clean up leftovers
Remi Gacogne [Mon, 6 May 2024 14:36:39 +0000 (16:36 +0200)] 
dnsdist: Implement an "atExit" Lua callback to clean up leftovers

14 months agodnsdist: Detect memory leaks during regression tests in CI
Remi Gacogne [Thu, 2 May 2024 15:16:10 +0000 (17:16 +0200)] 
dnsdist: Detect memory leaks during regression tests in CI

14 months agodnsdist: Enable memory leak detection in CI during regression tests
Remi Gacogne [Thu, 2 May 2024 09:24:03 +0000 (11:24 +0200)] 
dnsdist: Enable memory leak detection in CI during regression tests

14 months agoTypo's in comments 13819/head
Otto Moerbeek [Tue, 7 May 2024 05:49:21 +0000 (07:49 +0200)] 
Typo's in comments

Co-authored-by: Remi Gacogne <github@coredump.fr>
14 months agoExplain two somewhat puzzling pieces of code in comments
Otto Moerbeek [Mon, 6 May 2024 15:04:01 +0000 (17:04 +0200)] 
Explain two somewhat puzzling pieces of code in comments

14 months agoApply suggestions from code review
Otto Moerbeek [Mon, 6 May 2024 14:27:32 +0000 (16:27 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
14 months agoMerge pull request #14118 from jap/patch-2
Otto Moerbeek [Mon, 6 May 2024 13:06:31 +0000 (15:06 +0200)] 
Merge pull request #14118 from jap/patch-2

[trivial] improve readability of the list of affected versions in advisory-2024-02

14 months agoMerge pull request #14112 from rgacogne/quiche-0.21.0
Remi Gacogne [Mon, 6 May 2024 13:05:41 +0000 (15:05 +0200)] 
Merge pull request #14112 from rgacogne/quiche-0.21.0

dnsdist: Update Quiche to 0.21.0

14 months agodnsdist: Simplify IncomingTCPConnectionState::updateIO() 14130/head
Remi Gacogne [Mon, 6 May 2024 12:41:06 +0000 (14:41 +0200)] 
dnsdist: Simplify IncomingTCPConnectionState::updateIO()

As suggested by Otto.

14 months agoMerge pull request #14139 from omoerbeek/rec-openbsd-iputils-followup
Otto Moerbeek [Mon, 6 May 2024 12:09:22 +0000 (14:09 +0200)] 
Merge pull request #14139 from omoerbeek/rec-openbsd-iputils-followup

rec: followup to 14097: missed OpenBSD specfic case

14 months agoMerge pull request #14131 from rgacogne/ddist-fix-sent-bytes-doh
Remi Gacogne [Mon, 6 May 2024 11:32:08 +0000 (13:32 +0200)] 
Merge pull request #14131 from rgacogne/ddist-fix-sent-bytes-doh

dnsdist: Log the correct amount of bytes sent for DoH w/ nghttp2

14 months agorec: followup to 14097: missed OpenBSD specfic case 14139/head
Otto Moerbeek [Mon, 6 May 2024 11:31:51 +0000 (13:31 +0200)] 
rec: followup to 14097: missed OpenBSD specfic case

14 months agoMerge pull request #14128 from rgacogne/ddist-nghttp2-ping
Remi Gacogne [Mon, 6 May 2024 11:31:50 +0000 (13:31 +0200)] 
Merge pull request #14128 from rgacogne/ddist-nghttp2-ping

dnsdist: Reply to HTTP/2 PING frames immediately

14 months agoMerge pull request #14097 from omoerbeek/tidy-iputils
Otto Moerbeek [Mon, 6 May 2024 11:14:26 +0000 (13:14 +0200)] 
Merge pull request #14097 from omoerbeek/tidy-iputils

Tidy iputils.hh and iputils.cc

14 months agoremove struct so that clang-format does not insists laying out the var init over... 14097/head
Otto Moerbeek [Mon, 6 May 2024 09:19:13 +0000 (11:19 +0200)] 
remove struct so that clang-format does not insists laying out the var init over three lines.

14 months agoMerge pull request #14138 from omoerbeek/rec-forw-docs
Remi Gacogne [Mon, 6 May 2024 10:01:27 +0000 (12:01 +0200)] 
Merge pull request #14138 from omoerbeek/rec-forw-docs

rec: fix two doc examples missing a colon

14 months agoOne more clang-tidy case that did not happen locally: add a cast
Otto Moerbeek [Thu, 25 Apr 2024 09:04:53 +0000 (11:04 +0200)] 
One more clang-tidy case that did not happen locally: add a cast

14 months agoFormatting fixes
Otto Moerbeek [Tue, 23 Apr 2024 13:02:04 +0000 (15:02 +0200)] 
Formatting fixes

14 months agoExtra tricky part: make_unique vs new
Otto Moerbeek [Tue, 23 Apr 2024 12:21:37 +0000 (14:21 +0200)] 
Extra tricky part: make_unique vs new

14 months agoTidy iputils.cc
Otto Moerbeek [Tue, 23 Apr 2024 11:28:31 +0000 (13:28 +0200)] 
Tidy iputils.cc

14 months agoFirst pass of tidy for iputils.hh
Otto Moerbeek [Mon, 22 Apr 2024 09:44:53 +0000 (11:44 +0200)] 
First pass of tidy for iputils.hh

14 months agoFormat
Otto Moerbeek [Mon, 15 Apr 2024 11:55:20 +0000 (13:55 +0200)] 
Format

14 months agorec: fix two doc examples missing a colon 14138/head
Otto Moerbeek [Mon, 6 May 2024 09:21:39 +0000 (11:21 +0200)] 
rec: fix two doc examples missing a colon

fixes #14119

14 months agoMerge pull request #14136 from sam-banks/master
Otto Moerbeek [Mon, 6 May 2024 05:38:10 +0000 (07:38 +0200)] 
Merge pull request #14136 from sam-banks/master

Updated typo in DNSSEC intro documentation (ECSDA instead of ECDSA)

14 months agoUpdated typo in documentation (ECSDA instead of ECDSA) 14136/head
Sam Banks [Mon, 6 May 2024 00:30:02 +0000 (12:30 +1200)] 
Updated typo in documentation (ECSDA instead of ECDSA)

15 months agodnsdist: Make `IncomingTCPConnectionState::updateIOForAsync`
Remi Gacogne [Fri, 3 May 2024 14:58:33 +0000 (16:58 +0200)] 
dnsdist: Make `IncomingTCPConnectionState::updateIOForAsync`

15 months agodnsdist: Log the correct amount of bytes sent for DoH w/ nghttp2 14131/head
Remi Gacogne [Fri, 3 May 2024 13:47:54 +0000 (15:47 +0200)] 
dnsdist: Log the correct amount of bytes sent for DoH w/ nghttp2

15 months agodnsdist: Fix TCP I/O timeout and callback being used for HTTP/2
Remi Gacogne [Fri, 3 May 2024 13:37:28 +0000 (15:37 +0200)] 
dnsdist: Fix TCP I/O timeout and callback being used for HTTP/2

They were always replaced by the correct HTTP/2 ones anyway, but
it's a lot cleaner that way.

15 months agodnsdist: Reply to HTTP/2 PING frames immediately 14128/head
Remi Gacogne [Fri, 3 May 2024 12:28:12 +0000 (14:28 +0200)] 
dnsdist: Reply to HTTP/2 PING frames immediately

We usually buffer a bit to avoid sending a lot of small data chunks
on the wire (or to the kernel anyway), but for `HTTP/2 PING` frames
that are not followed by anything else calling for a response, this
causes an issue as these frames are designed to measure the latency
between a client and a server, and are used by HTTP/2 proxies to
ensure that a connection can be reused.

15 months agoMerge pull request #14021 from Habbie/auth-lua-join-whitespace
Peter van Dijk [Thu, 2 May 2024 13:25:12 +0000 (15:25 +0200)] 
Merge pull request #14021 from Habbie/auth-lua-join-whitespace

auth LUA: make whitespace insertion on chunk combine optional

15 months agoMerge pull request #14036 from romeroalx/meson-auth-ci
Peter van Dijk [Thu, 2 May 2024 11:19:12 +0000 (13:19 +0200)] 
Merge pull request #14036 from romeroalx/meson-auth-ci

GH Actions - Meson: Build auth using meson in `build-and-test-all`.

15 months agoMerge pull request #14061 from romeroalx/ci-runner-image-branch
Peter van Dijk [Thu, 2 May 2024 11:17:59 +0000 (13:17 +0200)] 
Merge pull request #14061 from romeroalx/ci-runner-image-branch

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

15 months agobuild(deps): bump idna from 3.6 to 3.7 in /pdns/dnsdistdist/docs 14125/head
dependabot[bot] [Thu, 2 May 2024 11:17:03 +0000 (11:17 +0000)] 
build(deps): bump idna from 3.6 to 3.7 in /pdns/dnsdistdist/docs

Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoMerge pull request #14085 from romeroalx/pip-doc-hashes
Peter van Dijk [Thu, 2 May 2024 11:14:49 +0000 (13:14 +0200)] 
Merge pull request #14085 from romeroalx/pip-doc-hashes

GH actions: check that only pinned pip packages are pulled when building docs

15 months agomeson: enable systemd for auth-configure 14036/head
romeroalx [Thu, 11 Apr 2024 15:15:19 +0000 (17:15 +0200)] 
meson: enable systemd for auth-configure

15 months agosimplify build-auth job
romeroalx [Mon, 8 Apr 2024 11:13:28 +0000 (13:13 +0200)] 
simplify build-auth job

15 months agogh actions add meson build for auth
romeroalx [Wed, 27 Mar 2024 09:39:08 +0000 (10:39 +0100)] 
gh actions add meson build for auth

15 months agoimprove readability of affected versions in advisory 2024-02 14118/head
Jasper Spaans [Mon, 29 Apr 2024 12:19:36 +0000 (14:19 +0200)] 
improve readability of affected versions in advisory 2024-02

15 months agodnsdist: Update Quiche to 0.21.0 14112/head
Remi Gacogne [Fri, 26 Apr 2024 10:17:54 +0000 (12:17 +0200)] 
dnsdist: Update Quiche to 0.21.0

15 months agoMerge pull request #14078 from rgacogne/ddist-harvest-quic
Remi Gacogne [Thu, 25 Apr 2024 09:34:55 +0000 (11:34 +0200)] 
Merge pull request #14078 from rgacogne/ddist-harvest-quic

dnsdist: Use the correct source IP for outgoing QUIC datagrams

15 months agoModify ZTC regression test to use YAML config
Otto Moerbeek [Wed, 27 Mar 2024 11:12:03 +0000 (12:12 +0100)] 
Modify ZTC regression test to use YAML config

15 months agoBetter cross refs in docs, formatting
Otto Moerbeek [Tue, 26 Mar 2024 09:27:09 +0000 (10:27 +0100)] 
Better cross refs in docs, formatting

15 months agoMake a isValidHostname() callable from Rust that calls into DNSName::is_hostname()
Otto Moerbeek [Tue, 26 Mar 2024 08:29:22 +0000 (09:29 +0100)] 
Make a isValidHostname() callable from Rust that calls into DNSName::is_hostname()

15 months agoTidy
Otto Moerbeek [Fri, 23 Feb 2024 07:58:11 +0000 (08:58 +0100)] 
Tidy

15 months agoBasic docs of YAML specs of original Lua config
Otto Moerbeek [Thu, 22 Feb 2024 13:11:57 +0000 (14:11 +0100)] 
Basic docs of YAML specs of original Lua config

15 months agoTweaks and handle trust anchors better
Otto Moerbeek [Mon, 19 Feb 2024 14:20:31 +0000 (15:20 +0100)] 
Tweaks and handle trust anchors better

15 months agoAdd --config support and validation of a few fields
Otto Moerbeek [Fri, 16 Feb 2024 14:28:34 +0000 (15:28 +0100)] 
Add --config support and validation of a few fields

15 months ago(re)load Lua config from either Lua or YAML
Otto Moerbeek [Thu, 1 Feb 2024 11:45:34 +0000 (12:45 +0100)] 
(re)load Lua config from either Lua or YAML

15 months agoShow Lua config converted to YAML in rec_control show-yaml
Otto Moerbeek [Wed, 31 Jan 2024 15:25:29 +0000 (16:25 +0100)] 
Show Lua config converted to YAML in rec_control show-yaml

15 months agoBuild active Lua config from data structure that can be supplied by either Lua or...
Otto Moerbeek [Wed, 24 Jan 2024 08:46:44 +0000 (09:46 +0100)] 
Build active Lua config from data structure that can be supplied by either Lua or YAML

15 months agoConvert YAML to Lua config, including full test
Otto Moerbeek [Fri, 19 Jan 2024 13:37:50 +0000 (14:37 +0100)] 
Convert YAML to Lua config, including full test

15 months agoUse a C++ array for the well-known DS record(s)
Otto Moerbeek [Fri, 19 Jan 2024 09:37:26 +0000 (10:37 +0100)] 
Use a C++ array for the well-known DS record(s)

15 months agoYAML defs for all Lua config constructs, plus converting old-style to YAML
Otto Moerbeek [Tue, 16 Jan 2024 11:35:50 +0000 (12:35 +0100)] 
YAML defs for all Lua config constructs, plus converting old-style to YAML

15 months agoMove sortlist.?? to recursordist
Otto Moerbeek [Tue, 16 Jan 2024 11:35:17 +0000 (12:35 +0100)] 
Move sortlist.?? to recursordist

15 months agoZap sortlist.?? symlinks, in preparation for move to recursordist
Otto Moerbeek [Tue, 16 Jan 2024 11:34:28 +0000 (12:34 +0100)] 
Zap sortlist.?? symlinks, in preparation for move to recursordist

15 months agoTidy sortlist.??
Otto Moerbeek [Tue, 16 Jan 2024 11:34:06 +0000 (12:34 +0100)] 
Tidy sortlist.??

15 months agoBasic handling of YAML TAs and NTAs
Otto Moerbeek [Wed, 6 Dec 2023 14:01:53 +0000 (15:01 +0100)] 
Basic handling of YAML TAs and NTAs

Current code can convert Lua into YAML
Nothing is done yet with YAML if found

15 months agodsmap_t is actually a set, rename type and a few vars
Otto Moerbeek [Wed, 6 Dec 2023 13:15:23 +0000 (14:15 +0100)] 
dsmap_t is actually a set, rename type and a few vars

15 months agoMerge pull request #14076 from rgacogne/ddist-update-tuning-design-doc-for-doq-doh3
Remi Gacogne [Thu, 25 Apr 2024 09:31:28 +0000 (11:31 +0200)] 
Merge pull request #14076 from rgacogne/ddist-update-tuning-design-doc-for-doq-doh3

dnsdist: Update tuning/design documentation for DoQ and DoH3

15 months agoMerge pull request #14104 from rgacogne/ddist-fix-abort-nghttp2_session_mem_recv
Remi Gacogne [Thu, 25 Apr 2024 09:04:04 +0000 (11:04 +0200)] 
Merge pull request #14104 from rgacogne/ddist-fix-abort-nghttp2_session_mem_recv

dnsdist: Fix a crash in incoming DoH with nghttp2

15 months agoMerge pull request #14062 from franklouwers/patch-1
Otto Moerbeek [Thu, 25 Apr 2024 08:51:14 +0000 (10:51 +0200)] 
Merge pull request #14062 from franklouwers/patch-1

rec: Remove `current` from the extended error code binding descriptions

15 months agoMerge pull request #14023 from omoerbeek/rec-proxy-physaddr
Otto Moerbeek [Thu, 25 Apr 2024 08:50:19 +0000 (10:50 +0200)] 
Merge pull request #14023 from omoerbeek/rec-proxy-physaddr

rec: add interface (not subject to proxy protocol substitutions) addresses in Lua DNSQuestion and corresponding FFI

15 months agoBetter wording in docs from @rgacogne 14023/head
Otto Moerbeek [Thu, 25 Apr 2024 08:15:41 +0000 (10:15 +0200)] 
Better wording in docs from @rgacogne

Co-authored-by: Remi Gacogne <github@coredump.fr>
15 months agodnsdist: Fix a crash in incoming DoH with nghttp2 14104/head
Remi Gacogne [Thu, 18 Apr 2024 08:49:10 +0000 (10:49 +0200)] 
dnsdist: Fix a crash in incoming DoH with nghttp2

This fixes an issue in the code dealing with incoming DNS over HTTPS
queries with the nghttp2 provider. In some rare cases, if the incoming
query is forwarded to the backend over TCP and the response comes back
immediately (the `read()` call done just after the `write()` call sending
the query must succeed and yield a complete response), the processing
of the response might end up calling `IncomingHTTP2Connection::readHTTPData()`
down the line, via the `nghttp2` callbacks, while we were already
inside this function. This does not actually work because
`nghttp2_session_mem_recv` is not reentrant, so the internal state of
the `nghttp2_session` object might become inconsistent and trigger
an assertion, for example:
```
nghttp2_session.c:6854: nghttp2_session_mem_recv2: Assertion `iframe->state == NGHTTP2_IB_IGN_ALL' failed.
```

This results in a call to `abort()` and very unlikely to be exploitable,
because there is no memory corruption occurring. It would also be quite
difficult for an attacker to trigger the conditions leading to this event
remotely.

Reported by Daniel Stirnimann from Switch and Stephane Bortzmeyer, many thanks to them.

15 months agoMerge pull request #14102 from Habbie/2024-02-formatting
Otto Moerbeek [Thu, 25 Apr 2024 05:56:31 +0000 (07:56 +0200)] 
Merge pull request #14102 from Habbie/2024-02-formatting

security advisory 2024-02: fix formatting

15 months agoMerge pull request #14100 from Habbie/rec-cname-wc
Peter van Dijk [Wed, 24 Apr 2024 14:26:48 +0000 (16:26 +0200)] 
Merge pull request #14100 from Habbie/rec-cname-wc

rec: a name can be present already when building the cname chain

15 months agosecurity advisory 2024-02: fix formatting 14102/head
Peter van Dijk [Wed, 24 Apr 2024 12:14:24 +0000 (14:14 +0200)] 
security advisory 2024-02: fix formatting

15 months agoMerge pull request #14099 from Habbie/rec-prep-sec-2024-02
Peter van Dijk [Wed, 24 Apr 2024 10:14:21 +0000 (12:14 +0200)] 
Merge pull request #14099 from Habbie/rec-prep-sec-2024-02

security advisory 2024-02+changelogs+secpoll

15 months agobuild(deps): bump slsa-framework/slsa-github-generator
dependabot[bot] [Tue, 23 Apr 2024 14:28:38 +0000 (14:28 +0000)] 
build(deps): bump slsa-framework/slsa-github-generator

Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.10.0 to 2.0.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.10.0...v2.0.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoMerge pull request #14075 from romuald/backend-guide-clarification
Peter van Dijk [Tue, 23 Apr 2024 11:17:54 +0000 (13:17 +0200)] 
Merge pull request #14075 from romuald/backend-guide-clarification

Add clarification on backend writer guide

15 months agoMerge pull request #14083 from rgacogne/fix-dnsdist-and-rec-home-dirs
Remi Gacogne [Tue, 23 Apr 2024 09:27:35 +0000 (11:27 +0200)] 
Merge pull request #14083 from rgacogne/fix-dnsdist-and-rec-home-dirs

dnsdist/rec: Change home directory to /var/lib/<product> on EL-based OSs

15 months agorec: Fix home directory location comment in the EL spec 14083/head
Remi Gacogne [Tue, 23 Apr 2024 08:50:50 +0000 (10:50 +0200)] 
rec: Fix home directory location comment in the EL spec