]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
24 hours agoMerge pull request #14078 from rgacogne/ddist-harvest-quic master
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

24 hours 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

24 hours 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

25 hours 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

25 hours 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

25 hours 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>
25 hours 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.

28 hours 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

43 hours 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

45 hours 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

47 hours 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

2 days 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

3 days 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

3 days 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

3 days agodnsdist: Fix home directory location comment in the EL spec
Remi Gacogne [Tue, 23 Apr 2024 08:50:19 +0000 (10:50 +0200)] 
dnsdist: Fix home directory location comment in the EL spec

3 days agoMerge pull request #14037 from rgacogne/ddist-fix-odr
Remi Gacogne [Tue, 23 Apr 2024 08:39:22 +0000 (10:39 +0200)] 
Merge pull request #14037 from rgacogne/ddist-fix-odr

dnsdist: Fix "C++ One Definition Rule" warnings in XSK

3 days agoMerge pull request #14070 from rgacogne/ddist-fix-dns-over-http-reload-all-certs
Remi Gacogne [Tue, 23 Apr 2024 08:38:49 +0000 (10:38 +0200)] 
Merge pull request #14070 from rgacogne/ddist-fix-dns-over-http-reload-all-certs

dnsdist: Fix DNS over plain HTTP broken by `reloadAllCertificates()`

3 days agoBetter wording 14099/head
Otto Moerbeek [Tue, 23 Apr 2024 07:14:12 +0000 (09:14 +0200)] 
Better wording

Co-authored-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 days agoMerge pull request #14049 from omoerbeek/rec-no-count-unsup-algos
Otto Moerbeek [Mon, 22 Apr 2024 14:02:25 +0000 (16:02 +0200)] 
Merge pull request #14049 from omoerbeek/rec-no-count-unsup-algos

rec: do not count RRSIGs using unsupported algorithms towards RRSIGs limit

3 days agoMerge pull request #13772 from mortenstevens/patch-1
Peter van Dijk [Mon, 22 Apr 2024 11:31:31 +0000 (13:31 +0200)] 
Merge pull request #13772 from mortenstevens/patch-1

Change home directory to /var/lib/pdns

3 days agoMerge pull request #14068 from omoerbeek/meson-libdecaf-followup
Fred Morcos [Mon, 22 Apr 2024 10:26:58 +0000 (12:26 +0200)] 
Merge pull request #14068 from omoerbeek/meson-libdecaf-followup

meson: don't assume libdecaf is present when declaring dependency

3 days agoPrep for Security Advisory 2024-02
Otto Moerbeek [Mon, 22 Apr 2024 10:03:29 +0000 (12:03 +0200)] 
Prep for Security Advisory 2024-02

4 days agorec: Change home directory to /var/lib/pdns-recursor on EL-based OSs
Remi Gacogne [Mon, 22 Apr 2024 09:28:52 +0000 (11:28 +0200)] 
rec: Change home directory to /var/lib/pdns-recursor on EL-based OSs

4 days agodnsdist: Change home directory to /var/lib/dnsdist on EL-based OSs
Remi Gacogne [Mon, 22 Apr 2024 09:27:53 +0000 (11:27 +0200)] 
dnsdist: Change home directory to /var/lib/dnsdist on EL-based OSs

4 days agoauth: Remove trailing tab in builder-support/specs/pdns.spec 13772/head
Remi Gacogne [Mon, 22 Apr 2024 09:19:17 +0000 (11:19 +0200)] 
auth: Remove trailing tab in builder-support/specs/pdns.spec

4 days agodnsdist: Fix clang-tidy warnings 14078/head
Remi Gacogne [Mon, 22 Apr 2024 08:26:51 +0000 (10:26 +0200)] 
dnsdist: Fix clang-tidy warnings

6 days agodnsdist: Add regression for destination address harvesting with QUIC
Remi Gacogne [Fri, 19 Apr 2024 14:37:43 +0000 (16:37 +0200)] 
dnsdist: Add regression for destination address harvesting with QUIC

6 days agodnsdist: Use the correct source IP for outgoing QUIC datagrams
Remi Gacogne [Fri, 19 Apr 2024 13:58:25 +0000 (15:58 +0200)] 
dnsdist: Use the correct source IP for outgoing QUIC datagrams

And expose the correct destination IP to Lua.

7 days agodnsdist: Update tuning/design documentation for DoQ and DoH3 14076/head
Remi Gacogne [Thu, 18 Apr 2024 15:23:30 +0000 (17:23 +0200)] 
dnsdist: Update tuning/design documentation for DoQ and DoH3

8 days agoAdd clarification on backend writer guide 14075/head
Romuald Brunet [Thu, 18 Apr 2024 08:52:20 +0000 (10:52 +0200)] 
Add clarification on backend writer guide

For `getBeforeAndAfterNamesAbsolute()`, in case of proof of non
existence for a type (and not the name), the requested name should be
returned, **not** the name before it.

10 days agodnsdist: Fix DNS over plain HTTP broken by `reloadAllCertificates()` 14070/head
Remi Gacogne [Mon, 15 Apr 2024 14:58:44 +0000 (16:58 +0200)] 
dnsdist: Fix DNS over plain HTTP broken by `reloadAllCertificates()`

This was introduced in 1.9.0, with the use of the `nghttp2` library
for incoming DNS over HTTP(S).

11 days agoMerge pull request #14066 from PowerDNS/dependabot/pip/regression-tests.ixfrdist...
Remi Gacogne [Mon, 15 Apr 2024 08:35:17 +0000 (10:35 +0200)] 
Merge pull request #14066 from PowerDNS/dependabot/pip/regression-tests.ixfrdist/dnspython-2.6.1

build(deps): bump dnspython from 2.1.0 to 2.6.1 in /regression-tests.ixfrdist

11 days agoMerge pull request #14064 from PowerDNS/dependabot/pip/docs/idna-3.7
Remi Gacogne [Mon, 15 Apr 2024 08:32:47 +0000 (10:32 +0200)] 
Merge pull request #14064 from PowerDNS/dependabot/pip/docs/idna-3.7

build(deps): bump idna from 3.4 to 3.7 in /docs

11 days agoMerge pull request #14063 from PowerDNS/dependabot/pip/pdns/keyroller/idna-3.7
Remi Gacogne [Mon, 15 Apr 2024 08:32:10 +0000 (10:32 +0200)] 
Merge pull request #14063 from PowerDNS/dependabot/pip/pdns/keyroller/idna-3.7

build(deps): bump idna from 3.4 to 3.7 in /pdns/keyroller

11 days agoMerge pull request #14041 from rgacogne/ddist-fix-crash-tcp-downstream
Remi Gacogne [Mon, 15 Apr 2024 08:25:34 +0000 (10:25 +0200)] 
Merge pull request #14041 from rgacogne/ddist-fix-crash-tcp-downstream

dnsdist: Fix a crash in the Downstream TCP handler

11 days agoMerge pull request #14050 from omoerbeek/dnsdist-syslog-default
Remi Gacogne [Mon, 15 Apr 2024 08:13:08 +0000 (10:13 +0200)] 
Merge pull request #14050 from omoerbeek/dnsdist-syslog-default

dnsdist: syslog should be enabled by default

11 days agomeson: don't assume libdecaf is present when declaring dependency 14068/head
Otto Moerbeek [Mon, 15 Apr 2024 08:02:16 +0000 (10:02 +0200)] 
meson: don't assume libdecaf is present when declaring dependency

13 days agobuild(deps): bump dnspython in /regression-tests.ixfrdist 14066/head
dependabot[bot] [Fri, 12 Apr 2024 21:58:05 +0000 (21:58 +0000)] 
build(deps): bump dnspython in /regression-tests.ixfrdist

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.1.0 to 2.6.1.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.1.0...v2.6.1)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agobuild(deps): bump idna from 3.4 to 3.7 in /docs 14064/head
dependabot[bot] [Fri, 12 Apr 2024 02:42:38 +0000 (02:42 +0000)] 
build(deps): bump idna from 3.4 to 3.7 in /docs

Bumps [idna](https://github.com/kjd/idna) from 3.4 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.4...v3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agobuild(deps): bump idna from 3.4 to 3.7 in /pdns/keyroller 14063/head
dependabot[bot] [Fri, 12 Apr 2024 01:58:05 +0000 (01:58 +0000)] 
build(deps): bump idna from 3.4 to 3.7 in /pdns/keyroller

Bumps [idna](https://github.com/kjd/idna) from 3.4 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.4...v3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoUpdate dq.rst 14062/head
Frank Louwers [Thu, 11 Apr 2024 15:08:58 +0000 (17:08 +0200)] 
Update dq.rst

Remove `current` from the dq.extendedError* docs. Keeping `current` suggests it's a read-only field

2 weeks agoMerge pull request #14055 from fredmorcos/meson-systemd-services
Fred Morcos [Thu, 11 Apr 2024 14:43:31 +0000 (16:43 +0200)] 
Merge pull request #14055 from fredmorcos/meson-systemd-services

Meson: `pdns-auth` and `ixfrdist` systemd service files

2 weeks agoMerge pull request #14056 from romeroalx/revert-changes-13907
Peter van Dijk [Thu, 11 Apr 2024 13:27:01 +0000 (15:27 +0200)] 
Merge pull request #14056 from romeroalx/revert-changes-13907

Revert "gh actions: wo issue 9491 - actions/runner-images"

2 weeks agoRevert "gh actions: wo issue 9491 - actions/runner-images" 14056/head
romeroalx [Wed, 10 Apr 2024 12:05:22 +0000 (14:05 +0200)] 
Revert "gh actions: wo issue 9491 - actions/runner-images"

This reverts commit e0bf314e472d0c1d4bc1ff82d97cabf87be1e929.

2 weeks agoMeson: Support pdns-auth and ixfrdist service files 14055/head
Fred Morcos [Wed, 10 Apr 2024 08:59:52 +0000 (10:59 +0200)] 
Meson: Support pdns-auth and ixfrdist service files

Service files are treated like a config.h.in file. This adds support for a common base of
service file configuration options containing basic systemd feature checks.

Then, each of pdns-auth and ixfrdist have their own "general" and "instance" service files
that are generated from a common service file. This is why things like @Description@,
@ConfigName@ and @Config@ are made generic so that each version of the service file can
use it own string.

2 weeks agoMeson: Add systemd feature support for service files
Fred Morcos [Tue, 9 Apr 2024 11:15:30 +0000 (13:15 +0200)] 
Meson: Add systemd feature support for service files

This moves things around a bit. Moves libsystem detection to
meson/libsystem/meson.build and uses meson/systemd/meson.build for
systemd/systemctl version and feature detection

2 weeks agoMeson: Add basic support for systemd service file
Fred Morcos [Tue, 9 Apr 2024 10:17:48 +0000 (12:17 +0200)] 
Meson: Add basic support for systemd service file

2 weeks agoMeson: Add system build flag
Fred Morcos [Tue, 9 Apr 2024 10:17:37 +0000 (12:17 +0200)] 
Meson: Add system build flag

2 weeks agoMerge pull request #14011 from Habbie/check-zone-svcb-lua-addr
Peter van Dijk [Mon, 8 Apr 2024 14:46:25 +0000 (16:46 +0200)] 
Merge pull request #14011 from Habbie/check-zone-svcb-lua-addr

pdnsutil check-zone: accept LUA A/AAAA as SVCB address targets

2 weeks agoMerge pull request #14047 from zeha/s390xauth
Peter van Dijk [Mon, 8 Apr 2024 12:56:36 +0000 (14:56 +0200)] 
Merge pull request #14047 from zeha/s390xauth

auth dnsproxy: fix build on s390x

2 weeks agorec: do not count RRSIGs using unsupported algorithms toward RRSIGs limit 14049/head
Otto Moerbeek [Mon, 8 Apr 2024 10:14:01 +0000 (12:14 +0200)] 
rec: do not count RRSIGs using unsupported algorithms toward RRSIGs limit

2 weeks agodnsdist: syslog should be enabled by default 14050/head
Otto Moerbeek [Mon, 8 Apr 2024 11:14:21 +0000 (13:14 +0200)] 
dnsdist: syslog should be enabled by default

Regression introduced with the logging refactoring of dnsdist.

In rel/dnsdist-1.8.x: https://github.com/PowerDNS/pdns/blob/4d5bb67a2a75f9d88894e7dfc42bbbebfda297b0/pdns/dnsdist.cc#L103 :

bool g_syslog{true};

In master and 1.9.x the newly intrdoduced LoggingConfiguration::s_syslog
is inited to false.

This does not matter using the default systemd unit file as it disables syslog:

ExecStart=@bindir@/dnsdist --supervised --disable-syslog

but it does matter for non-systemd cases.

2 weeks agoMerge pull request #14044 from romeroalx/remove-yq-snap
Peter van Dijk [Mon, 8 Apr 2024 10:47:45 +0000 (12:47 +0200)] 
Merge pull request #14044 from romeroalx/remove-yq-snap

GH Actions: Remove yq snap dependency in collect job, workflow `build-and-test-all`

2 weeks agoUse consistent terminology in the proxy mapping docs
Otto Moerbeek [Mon, 8 Apr 2024 08:35:05 +0000 (10:35 +0200)] 
Use consistent terminology in the proxy mapping docs

2 weeks agoName the values "interface_localaddr" and "interface_remoteaddr" instead of "phys_..."
Otto Moerbeek [Mon, 8 Apr 2024 08:07:05 +0000 (10:07 +0200)] 
Name the values "interface_localaddr" and "interface_remoteaddr" instead of "phys_..."

2 weeks agoauth dnsproxy: fix build on s390x 14047/head
Chris Hofstaedtler [Sat, 6 Apr 2024 21:51:35 +0000 (23:51 +0200)] 
auth dnsproxy: fix build on s390x

2 weeks agoAdd test for cname already present for the forward case 14100/head
Otto Moerbeek [Fri, 5 Apr 2024 12:17:21 +0000 (14:17 +0200)] 
Add test for cname already present for the forward case

2 weeks agoMerge pull request #14042 from rgacogne/ddist-1.9.3-secpoll-changelog
Remi Gacogne [Fri, 5 Apr 2024 11:49:30 +0000 (13:49 +0200)] 
Merge pull request #14042 from rgacogne/ddist-1.9.3-secpoll-changelog

dnsdist: Update secpoll and ChangeLog for 1.9.3

2 weeks agogh actions - replace yq snap in collect job build-and-test-all 14044/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

2 weeks agorec: a name can be present already when building the cname chain
Otto Moerbeek [Fri, 5 Apr 2024 11:39:41 +0000 (13:39 +0200)] 
rec: a name can be present already when building the cname chain

2 weeks agodnsdist: Update secpoll and ChangeLog for 1.9.3 14042/head
Remi Gacogne [Fri, 5 Apr 2024 11:27:19 +0000 (13:27 +0200)] 
dnsdist: Update secpoll and ChangeLog for 1.9.3

2 weeks agodnsdist: Fix a crash in the Downstream TCP handler 14041/head
Remi Gacogne [Fri, 5 Apr 2024 10:44:17 +0000 (12:44 +0200)] 
dnsdist: Fix a crash in the Downstream TCP handler

when we are looking for an existing TCP connection to a backend to
reuse, we routinely (every 60s by default) clean up existing
connections from the cache.
7b5f590ee72fecf54c0c40b24e98ba03a406af53 removes a connection
from the cache more aggressively when it has failed, but I did not
notice that the same function might be called from the cache cleaning
algorithm. It caused the cache cleanup function to call this function
which in turns tried to remove the connection from the same cache,
invalidating the iterator of the cache algorithm, and causing a crash
when the function returned.

3 weeks agodnsdist: Fix "C++ One Definition Rule" warnings in XSK 14037/head
Remi Gacogne [Fri, 5 Apr 2024 08:20:49 +0000 (10:20 +0200)] 
dnsdist: Fix "C++ One Definition Rule" warnings in XSK

It turns out we need to include the linux specific headers AFTER the
regular ones, because it then detects that some types have already been
defined (`sockaddr_in6` for example) and does not attempt to re-define
them, which otherwise breaks the C++ One Definition Rule

3 weeks agoMerge pull request #14032 from rgacogne/ddist-192-changelog-secpoll
Remi Gacogne [Fri, 5 Apr 2024 08:19:42 +0000 (10:19 +0200)] 
Merge pull request #14032 from rgacogne/ddist-192-changelog-secpoll

dnsdist: Update ChangeLog and secpoll for DNSdist 1.9.2

3 weeks agoMerge pull request #14030 from rgacogne/enable-leak-detection-unit-tests
Remi Gacogne [Fri, 5 Apr 2024 07:29:31 +0000 (09:29 +0200)] 
Merge pull request #14030 from rgacogne/enable-leak-detection-unit-tests

ci: Enable LeakSanitizer during dnsdist and recursor unit tests

3 weeks agoMerge pull request #14034 from rgacogne/ddist-document-console-key-format
Remi Gacogne [Fri, 5 Apr 2024 07:09:28 +0000 (09:09 +0200)] 
Merge pull request #14034 from rgacogne/ddist-document-console-key-format

dnsdist: Document how to generate a console key without dnsdist

3 weeks agoMerge pull request #14025 from omoerbeek/stat_t-tidy
Otto Moerbeek [Fri, 5 Apr 2024 05:29:37 +0000 (07:29 +0200)] 
Merge pull request #14025 from omoerbeek/stat_t-tidy

stat_t tidy

3 weeks agoMerge pull request #14026 from omoerbeek/rec-docs-no-query-cache
Otto Moerbeek [Fri, 5 Apr 2024 05:27:04 +0000 (07:27 +0200)] 
Merge pull request #14026 from omoerbeek/rec-docs-no-query-cache

rec docs: we do not have a query cache

3 weeks agoMerge pull request #14035 from fredmorcos/meson-fix-lmdb-gettime
Fred Morcos [Thu, 4 Apr 2024 17:54:44 +0000 (19:54 +0200)] 
Merge pull request #14035 from fredmorcos/meson-fix-lmdb-gettime

Meson fix: `lmdb-safe` needs gettime

3 weeks agopdnsutil check-zone: accept LUA A/AAAA as SVCB address targets 14011/head
Peter van Dijk [Tue, 2 Apr 2024 07:39:11 +0000 (09:39 +0200)] 
pdnsutil check-zone: accept LUA A/AAAA as SVCB address targets

3 weeks agodnsdist: Document the `-C /dev/null` trick to generate a key as well 14034/head
Remi Gacogne [Thu, 4 Apr 2024 14:37:13 +0000 (16:37 +0200)] 
dnsdist: Document the `-C /dev/null` trick to generate a key as well

As suggested by @phonedph1 (thanks!).

3 weeks agoMerge pull request #14033 from rgacogne/auth-remotebackend-unit-tests-leak
Peter van Dijk [Thu, 4 Apr 2024 14:19:51 +0000 (16:19 +0200)] 
Merge pull request #14033 from rgacogne/auth-remotebackend-unit-tests-leak

auth: Use smart pointers in the remote backend unit tests

3 weeks agoMeson: Fix lmdb-safe needs gettime 14035/head
Fred Morcos [Thu, 4 Apr 2024 14:04:07 +0000 (16:04 +0200)] 
Meson: Fix lmdb-safe needs gettime

3 weeks agoMerge pull request #14031 from fredmorcos/meson-fix-libdecaf-detection
Fred Morcos [Thu, 4 Apr 2024 13:56:56 +0000 (15:56 +0200)] 
Merge pull request #14031 from fredmorcos/meson-fix-libdecaf-detection

Meson fix for `libdecaf` detection

3 weeks agodnsdist: Document how to generate a console key without dnsdist
Remi Gacogne [Thu, 4 Apr 2024 13:15:55 +0000 (15:15 +0200)] 
dnsdist: Document how to generate a console key without dnsdist

3 weeks agoauth: Use smart pointers in the remote backend unit tests 14033/head
Remi Gacogne [Thu, 4 Apr 2024 13:01:02 +0000 (15:01 +0200)] 
auth: Use smart pointers in the remote backend unit tests

3 weeks agoMerge pull request #13960 from cmouse/remote-unit-test
Peter van Dijk [Thu, 4 Apr 2024 12:34:27 +0000 (14:34 +0200)] 
Merge pull request #13960 from cmouse/remote-unit-test

Convert remotebackend unit tests to use python

3 weeks agoMeson: Integrate libdecaf library and header detection 14031/head
Fred Morcos [Thu, 4 Apr 2024 12:07:02 +0000 (14:07 +0200)] 
Meson: Integrate libdecaf library and header detection

3 weeks agodnsdist: Update ChangeLog and secpoll for DNSdist 1.9.2 14032/head
Remi Gacogne [Thu, 4 Apr 2024 10:40:45 +0000 (12:40 +0200)] 
dnsdist: Update ChangeLog and secpoll for DNSdist 1.9.2

3 weeks agoMeson: Rework libdecaf header file detection
Fred Morcos [Thu, 4 Apr 2024 11:46:05 +0000 (13:46 +0200)] 
Meson: Rework libdecaf header file detection

3 weeks agoMerge pull request #13980 from karelbilek/d_xfr
Peter van Dijk [Thu, 4 Apr 2024 11:46:04 +0000 (13:46 +0200)] 
Merge pull request #13980 from karelbilek/d_xfr

Do shuffle TCP responses except *XFRs

3 weeks agoMeson: Improve (and fix) libdecaf detection
Fred Morcos [Thu, 4 Apr 2024 09:57:15 +0000 (11:57 +0200)] 
Meson: Improve (and fix) libdecaf detection

3 weeks agofix typo 13960/head
Peter van Dijk [Thu, 4 Apr 2024 11:31:22 +0000 (13:31 +0200)] 
fix typo

3 weeks agoMerge pull request #13596 from eli-schwartz/configure-correctness
Peter van Dijk [Thu, 4 Apr 2024 10:41:32 +0000 (12:41 +0200)] 
Merge pull request #13596 from eli-schwartz/configure-correctness

configure.ac fixup: do not require bash

3 weeks agoMeson: Use include_directories for pgsqlbackend
Fred Morcos [Thu, 4 Apr 2024 09:56:57 +0000 (11:56 +0200)] 
Meson: Use include_directories for pgsqlbackend

3 weeks agoMerge pull request #14029 from rgacogne/auth-pkcs11-finalize-modules
Remi Gacogne [Thu, 4 Apr 2024 09:13:32 +0000 (11:13 +0200)] 
Merge pull request #14029 from rgacogne/auth-pkcs11-finalize-modules

auth: Properly finalize PKCS11 modules before releasing them

3 weeks agoMerge pull request #14028 from rgacogne/auth-backend-factories
Remi Gacogne [Thu, 4 Apr 2024 09:13:19 +0000 (11:13 +0200)] 
Merge pull request #14028 from rgacogne/auth-backend-factories

auth: Wrap backend factories in smart pointers

3 weeks agoci: Enable LeakSanitizer during dnsdist and recursor unit tests 14030/head
Remi Gacogne [Tue, 2 Apr 2024 10:33:43 +0000 (12:33 +0200)] 
ci: Enable LeakSanitizer during dnsdist and recursor unit tests

We need to fix some one-time allocations in the authoritative server
that are reported as leaked memory before we can enabled it there.
See:
- https://github.com/PowerDNS/pdns/pull/14028
- https://github.com/PowerDNS/pdns/pull/14029

There is also a leak in the remotebackend unit tests that I will
investigate after https://github.com/PowerDNS/pdns/pull/13960 has
been merged.

3 weeks agoauth: Properly finalize PKCS11 modules before releasing them 14029/head
Remi Gacogne [Tue, 2 Apr 2024 14:20:14 +0000 (16:20 +0200)] 
auth: Properly finalize PKCS11 modules before releasing them

This gets rid of two leaks reported by LeakSanitizer when running our
unit tests:
```
Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x5fe6c6e7d099 in malloc (/pdns/pdns/testrunner+0x220099) (BuildId: 08d4c369b5f2f19f183aa5d6ab931a6653b70ab9)
    #1 0x7e6cdc6a0964  (/usr/lib/libp11-kit.so.0+0x36964) (BuildId: 307da6c0b5c7d87a1b0fd0a63e0bda93c9375e8a)
    Indirect leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x5fe6c6e7d401 in calloc (/pdns/pdns/testrunner+0x220401) (BuildId: 08d4c369b5f2f19f183aa5d6ab931a6653b70ab9)
    #1 0x7e6cdc6a09b6  (/usr/lib/libp11-kit.so.0+0x369b6) (BuildId: 307da6c0b5c7d87a1b0fd0a63e0bda93c9375e8a)
```

3 weeks agoauth: Wrap backend factories in smart pointers 14028/head
Remi Gacogne [Tue, 2 Apr 2024 14:05:51 +0000 (16:05 +0200)] 
auth: Wrap backend factories in smart pointers

3 weeks agotasks: Dump all remotebackend logs, including server logs
Aki Tuomi [Thu, 21 Mar 2024 17:41:56 +0000 (19:41 +0200)] 
tasks: Dump all remotebackend logs, including server logs

3 weeks agotasks: Replace ruby with python
Aki Tuomi [Thu, 21 Mar 2024 11:35:23 +0000 (13:35 +0200)] 
tasks: Replace ruby with python

3 weeks agoremotebackend: Remove stray files
Aki Tuomi [Thu, 21 Mar 2024 17:27:10 +0000 (19:27 +0200)] 
remotebackend: Remove stray files

3 weeks agoremotebackend: Convert regression tests to python
Aki Tuomi [Thu, 21 Mar 2024 14:11:18 +0000 (16:11 +0200)] 
remotebackend: Convert regression tests to python

3 weeks agoremotebackend: Convert unit tests to python
Aki Tuomi [Wed, 20 Mar 2024 13:49:27 +0000 (15:49 +0200)] 
remotebackend: Convert unit tests to python

3 weeks agoremotebackend: Do not send extra NUL with zeromq
Aki Tuomi [Wed, 20 Mar 2024 21:36:51 +0000 (23:36 +0200)] 
remotebackend: Do not send extra NUL with zeromq

3 weeks agoremotebackend: Use asString for serial
Aki Tuomi [Wed, 20 Mar 2024 20:39:54 +0000 (22:39 +0200)] 
remotebackend: Use asString for serial

3 weeks agoremotebackend: Fix example.com ID
Aki Tuomi [Wed, 20 Mar 2024 13:43:00 +0000 (15:43 +0200)] 
remotebackend: Fix example.com ID

It is going to be 3, not 2.

3 weeks agorec docs: we do not have a query cache 14026/head
Otto Moerbeek [Wed, 3 Apr 2024 13:43:21 +0000 (15:43 +0200)] 
rec docs: we do not have a query cache

3 weeks agoA few type fixes, mostly cosmetical 14025/head
Otto Moerbeek [Wed, 3 Apr 2024 12:25:15 +0000 (14:25 +0200)] 
A few type fixes, mostly cosmetical