]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 19 Sep 2023 07:47:31 +0000 (09:47 +0200)]
rec: allow loglevel to be set to levels < 3
Fixes #13264
Also document what happens if quiet is set.
Otto Moerbeek [Mon, 18 Sep 2023 18:17:53 +0000 (20:17 +0200)]
Merge pull request #13258 from omoerbeek/rec-yaml-conv-docs
rec: Clarify file name and placement rules for converted old-style files
Remi Gacogne [Mon, 18 Sep 2023 10:20:44 +0000 (12:20 +0200)]
Merge pull request #13269 from rgacogne/ddist-doc-fix-underline-too-short
dnsdist: Fix too short underline for latency-doh-avg1000000 title
Peter van Dijk [Mon, 18 Sep 2023 09:18:11 +0000 (11:18 +0200)]
Merge pull request #13245 from Habbie/gmysql-drop-opt-reconnect
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0
Remi Gacogne [Mon, 18 Sep 2023 09:17:49 +0000 (11:17 +0200)]
Merge pull request #13192 from aj-gh/gss-tsig-featuremsg
Auth: Improve error message for missing GSS-TSIG feature
Peter van Dijk [Mon, 18 Sep 2023 08:54:12 +0000 (10:54 +0200)]
add a missing space to format the changelog correctly
Remi Gacogne [Mon, 18 Sep 2023 07:45:47 +0000 (09:45 +0200)]
dnsdist: Fix too short underline for latency-doh-avg1000000 title
Remi Gacogne [Mon, 18 Sep 2023 08:30:29 +0000 (10:30 +0200)]
Merge pull request #13263 from rgacogne/ddist-190-a1-changelog-secpoll
dnsdist: Add ChangeLog and update secpoll for 1.9.0-alpha1
Remi Gacogne [Mon, 18 Sep 2023 08:00:02 +0000 (10:00 +0200)]
secpoll: Don't advise updating from dnsdist's pre-release 1.9.0-alpha1
Remi Gacogne [Fri, 15 Sep 2023 12:55:40 +0000 (14:55 +0200)]
Merge pull request #13261 from rgacogne/ddist-fix-spurious-failures-async-unit-tests
dnsdist: Prevent spurious failures of the async unit tests
Remi Gacogne [Fri, 15 Sep 2023 12:02:25 +0000 (14:02 +0200)]
dnsdist: Add ChangeLog and update secpoll for 1.9.0-alpha1
Remi Gacogne [Fri, 15 Sep 2023 09:39:39 +0000 (11:39 +0200)]
dnsdist: Uglify the code to make the formatter happy
Remi Gacogne [Fri, 15 Sep 2023 09:32:33 +0000 (11:32 +0200)]
dnsdist: Prevent spurious failures of the async unit tests
The events should be triggered either almost immediately or after
10 ms, but we have seen many spurious failures on our CI, likely
because the box is overloaded, so sleep for up to 100 ms to be sure.
I managed to reproduce the issue locally by running this command in
parallel of the tests, for reference: `stress --cpu <number of HT cores>`.
Remi Gacogne [Fri, 15 Sep 2023 09:10:41 +0000 (11:10 +0200)]
Merge pull request #13256 from rgacogne/ddist-fix-randomized-unit-tests
dnsdist: Ensure our unit tests can be run in random order
Remi Gacogne [Thu, 14 Sep 2023 11:16:35 +0000 (13:16 +0200)]
Merge pull request #13253 from rgacogne/ddist-race-tests-certificate
dnsdist: Fix a race in TLS certificate generation in the tests
Otto Moerbeek [Thu, 14 Sep 2023 10:02:15 +0000 (12:02 +0200)]
rec: Clarify file name and placement rules for converted old-style files
Peter van Dijk [Thu, 14 Sep 2023 10:00:56 +0000 (12:00 +0200)]
Merge pull request #13238 from Habbie/default-catalog-zone
auth: add default-catalog-zone setting
Peter van Dijk [Thu, 14 Sep 2023 09:58:16 +0000 (11:58 +0200)]
Merge pull request #13257 from Habbie/unbreak-curl-rpmbuild
builder (rpm): use allowerasing to allow replacement of curl-minimal with curl
Peter van Dijk [Thu, 14 Sep 2023 07:31:38 +0000 (09:31 +0200)]
use allowerasing to allow replacement of curl-minimal with curl
Remi Gacogne [Thu, 14 Sep 2023 09:20:11 +0000 (11:20 +0200)]
dnsdist: Appease the formatting gods
Remi Gacogne [Thu, 14 Sep 2023 09:12:07 +0000 (11:12 +0200)]
dnsdist: Ensure our unit tests can be run in random order
Peter van Dijk [Thu, 14 Sep 2023 08:56:40 +0000 (10:56 +0200)]
Merge pull request #13254 from Habbie/drop-kinetic
builder: drop ubuntu kinetic, it is EOL
Peter van Dijk [Tue, 12 Sep 2023 10:34:43 +0000 (12:34 +0200)]
auth: add default-catalog-zone setting
Peter van Dijk [Thu, 14 Sep 2023 06:35:05 +0000 (08:35 +0200)]
builder: drop ubuntu kinetic, it is EOL
Otto Moerbeek [Wed, 13 Sep 2023 14:30:34 +0000 (16:30 +0200)]
Merge pull request #13251 from omoerbeek/mtasker-exception-fiber
rec: When an exception is thrown from an mthread register stack switch (in the ASAN case)
Remi Gacogne [Wed, 13 Sep 2023 14:27:51 +0000 (16:27 +0200)]
dnsdist: Fix a race in TLS certificate generation in the tests
The OCSP and TLS tests are generating new TLS certificate and key,
so there was a time window for a certificate/key mismatch if a test
is starting right at the moment the OCSP and TLS tests are generating
new material. This commit fixes it by using different file names for
these tests.
Otto Moerbeek [Wed, 13 Sep 2023 13:23:45 +0000 (15:23 +0200)]
Merge pull request #13250 from omoerbeek/rec-coverity-
20230913
rec: Fix Coverityy
1519054 : Using invalid iterator
Otto Moerbeek [Wed, 13 Sep 2023 13:22:36 +0000 (15:22 +0200)]
And another case for catch/throw
Otto Moerbeek [Wed, 13 Sep 2023 12:20:15 +0000 (14:20 +0200)]
Also catch/throw in sendEvent() case
Otto Moerbeek [Tue, 12 Sep 2023 15:09:15 +0000 (17:09 +0200)]
When an exception is thrown from an mthread register stack switch in the ASAN case
Otto Moerbeek [Wed, 13 Sep 2023 10:52:49 +0000 (12:52 +0200)]
Merge pull request #13248 from omoerbeek/rec-prep-5.0.0-alpha1
Prep for rec-5.0.0-alpha1
Otto Moerbeek [Tue, 12 Sep 2023 07:26:45 +0000 (09:26 +0200)]
Prep for rec-5.0.0-alpha1
Otto Moerbeek [Wed, 13 Sep 2023 10:07:08 +0000 (12:07 +0200)]
rec: Fix Coverityy
1519054 : Using invalid iterator
Otto Moerbeek [Wed, 13 Sep 2023 08:06:20 +0000 (10:06 +0200)]
Merge pull request #13247 from omoerbeek/rec-fix-docker-build
rec: fix docker build; it does `make install` without first building the default target
Otto Moerbeek [Wed, 13 Sep 2023 08:02:47 +0000 (10:02 +0200)]
Merge pull request #13244 from fredmorcos/rec-settings-minor-fixes
Rec settings minor cleanups
Otto Moerbeek [Wed, 13 Sep 2023 07:15:20 +0000 (09:15 +0200)]
Install Rust in docker build env
Otto Moerbeek [Wed, 13 Sep 2023 06:58:06 +0000 (08:58 +0200)]
Merge pull request #13246 from omoerbeek/omoerbeek-patch-1
rec: Fix wrongly converted default for "quiet"
Otto Moerbeek [Wed, 13 Sep 2023 06:54:18 +0000 (08:54 +0200)]
rec: fix docker build; it does `make install` without first building the default target
Otto Moerbeek [Wed, 13 Sep 2023 06:07:30 +0000 (08:07 +0200)]
Fix wrongly converted default for "quiet"
Fred Morcos [Tue, 12 Sep 2023 21:47:02 +0000 (23:47 +0200)]
Rec: Settings Rust bridge allow passing references to owned Vecs
Fred Morcos [Tue, 12 Sep 2023 21:24:12 +0000 (23:24 +0200)]
Revert "Rec: Settings Rust bridge prefer slices over Vec references"
This reverts commit
ea0681a158aa8bc60fdbc8fe39b41d60ae800629 .
Peter van Dijk [Tue, 12 Sep 2023 15:09:57 +0000 (17:09 +0200)]
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0
Setting this option, even to 0, causes spurious warnings to the console
with recent libmysqlclient versions. The upstream bug
( https://bugs.mysql.com/bug.php?id=112089 )
has now been open for a month, so we're implementing a workaround.
0 was the default since at least MySQL 5.7, perhaps longer.
closes #13242
Otto Moerbeek [Tue, 12 Sep 2023 15:22:45 +0000 (17:22 +0200)]
Merge pull request #13243 from omoerbeek/rec-no-random-unittests
Rec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
Remi Gacogne [Tue, 12 Sep 2023 14:46:24 +0000 (16:46 +0200)]
dnsdist: Fix the test order dependency in the Dynamic Blocks unit tests
Fred Morcos [Tue, 12 Sep 2023 12:53:02 +0000 (14:53 +0200)]
Rec: Typos
Fred Morcos [Tue, 12 Sep 2023 12:46:18 +0000 (14:46 +0200)]
Rec: Settings Rust bridge prefer slices over Vec references
Otto Moerbeek [Tue, 12 Sep 2023 12:51:07 +0000 (14:51 +0200)]
Rec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
Fred Morcos [Tue, 12 Sep 2023 12:45:55 +0000 (14:45 +0200)]
Rec: Settings Rust bridge ignore Emacs' .dir-locals.el
Otto Moerbeek [Tue, 12 Sep 2023 11:54:46 +0000 (13:54 +0200)]
Merge pull request #13237 from omoerbeek/random-unittests
Introduce randomness in test order to catch hidden dependencies between unit-tests
Otto Moerbeek [Tue, 12 Sep 2023 11:54:18 +0000 (13:54 +0200)]
Merge pull request #13239 from omoerbeek/rec-fix-rust-install
rec: With #13101 the cwd of the build changed, adapt call to ci-rust-install
Otto Moerbeek [Tue, 12 Sep 2023 10:41:35 +0000 (12:41 +0200)]
With #13101 the cwd of the build changed, adapt call to rust install
Otto Moerbeek [Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)]
Be even more lenient in allowing timing differences
Remi Gacogne [Tue, 12 Sep 2023 09:52:32 +0000 (11:52 +0200)]
Merge pull request #13101 from romeroalx/add-make-distdir
GH actions. build-and-test-all.yml: add make distdir as an additional step for build jobs
Otto Moerbeek [Tue, 12 Sep 2023 09:46:23 +0000 (11:46 +0200)]
Merge pull request #13008 from omoerbeek/rec-gen-settings
Rec: rewrite settings code, move to yaml settings file using Rust
Otto Moerbeek [Tue, 12 Sep 2023 09:14:16 +0000 (11:14 +0200)]
Introduce randomness in test order to catch hidden dependencies between unit-tests
Also be a bit more lenient in a recently introduced test that checks timing
of some aggressive cache manipulations.
Otto Moerbeek [Tue, 12 Sep 2023 07:59:21 +0000 (09:59 +0200)]
Fix typo in function name (both def and caller)
Alexis Romero [Thu, 3 Aug 2023 11:53:27 +0000 (13:53 +0200)]
adding make distdir step to build-and-test-all
Otto Moerbeek [Wed, 5 Jul 2023 13:48:59 +0000 (15:48 +0200)]
Introduce structured YAML settings for Recursor.
Mostly written in Rust, using CXX and Serde
Code generation is used to generate both the old style config tables as
the new Rust based code. The code generation also produces the code
to covert old styel to new style and documentation.
Th main entry point for code generationo is settings/generate.py,
using the table table.py
Existing configs continue to work as before.
Otto Moerbeek [Mon, 11 Sep 2023 10:44:46 +0000 (12:44 +0200)]
Merge pull request #13210 from omoerbeek/rec-systemd-unit-nss
rec: remove Before=nss-lookup.target line from unit file
Otto Moerbeek [Mon, 11 Sep 2023 10:44:31 +0000 (12:44 +0200)]
Merge pull request #13209 from omoerbeek/rec-aggr-cache-pruning
rec: make aggressive cache pruning more effective and more fair
Otto Moerbeek [Mon, 11 Sep 2023 10:00:20 +0000 (12:00 +0200)]
Apply typo-in-comment fixes from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Mon, 11 Sep 2023 08:03:22 +0000 (10:03 +0200)]
Merge pull request #13227 from rgacogne/ddist-fix-unit-tests-on-el-with-lto
dnsdist: Fix unit tests for incoming DoH w/ nghttp2
Remi Gacogne [Mon, 11 Sep 2023 07:28:22 +0000 (09:28 +0200)]
Merge pull request #13229 from appliedprivacy/patch-2
docu typo fix: latency-doh-avg 100k -> 1M
Remi Gacogne [Mon, 11 Sep 2023 07:26:22 +0000 (09:26 +0200)]
Merge pull request #13230 from mikedamm/patch-1
Update documentation to point to proper function
Mike Damm [Mon, 11 Sep 2023 00:30:59 +0000 (17:30 -0700)]
Update documentation to point to proper function
Additional parameters to webserver() are now depreciated. Update documentation to refer to setWebserverConfig()
appliedprivacy [Sat, 9 Sep 2023 10:51:54 +0000 (10:51 +0000)]
latency-doh-avg 100k -> 1M typo
Remi Gacogne [Fri, 8 Sep 2023 14:19:41 +0000 (16:19 +0200)]
dnsdist: Fix unit tests for incoming DoH w/ nghttp2
These tests were failing on EL with LTO enabled, and passing
everywhere else. It turns out that we did not properly reset
the `s_processQuery` hack that we used in these tests to
simulate the policy decision (rules and actions), and thus
inherited what the last test set it to instead of the default
(dropping queries), which was very unexpected.
Peter van Dijk [Fri, 8 Sep 2023 12:44:34 +0000 (14:44 +0200)]
Merge pull request #13225 from jsoref/gha-action-log-title
Fix GitHub Action log title reporting
Remi Gacogne [Fri, 8 Sep 2023 12:29:37 +0000 (14:29 +0200)]
Merge pull request #13224 from rgacogne/fix-provenance-upload-dir
build-packages: Upload provenance attestations to the correct dir
Josh Soref [Fri, 8 Sep 2023 11:59:27 +0000 (07:59 -0400)]
Fix GitHub Action log title reporting
Follow-up to #13068
Remi Gacogne [Fri, 8 Sep 2023 11:51:25 +0000 (13:51 +0200)]
Merge pull request #13179 from rgacogne/ddist-1.8.1-changelog-secpoll
dnsdist: Add ChangeLog and secpoll update for 1.8.1
Remi Gacogne [Fri, 8 Sep 2023 10:09:57 +0000 (12:09 +0200)]
build-packages: Upload provenance attestations to the correct dir
Remi Gacogne [Thu, 7 Sep 2023 12:15:40 +0000 (14:15 +0200)]
Merge pull request #13182 from rgacogne/ddist-test-metrics-with-recvmmsg
dnsdist: Also test metrics with recvmmsg support enabled
Remi Gacogne [Thu, 7 Sep 2023 12:15:24 +0000 (14:15 +0200)]
Merge pull request #13223 from rgacogne/fix-dnsdist-fuzz-target-without-arc4random
dnsdist: dnsdist's fuzzing target needs to link against arc4random
Remi Gacogne [Thu, 7 Sep 2023 11:08:27 +0000 (13:08 +0200)]
dnsdist: dnsdist's fuzzing target needs to link against arc4random
On systems that do not provide arc4random we actually need to link
the internal library in.
Remi Gacogne [Thu, 7 Sep 2023 10:57:13 +0000 (12:57 +0200)]
Merge pull request #13221 from rgacogne/del-fuzz_target_dnsdistcache
dnsdist: Remove the fuzz_target_dnsdistcache binary
Remi Gacogne [Thu, 7 Sep 2023 10:24:23 +0000 (12:24 +0200)]
Merge pull request #12678 from rgacogne/ddist-incoming-nghttp2
dnsdist: Add support for incoming DoH via nghttp2
Remi Gacogne [Thu, 7 Sep 2023 10:09:20 +0000 (12:09 +0200)]
dnsdist: Set the release date for 1.8.1 in the ChangeLog
Remi Gacogne [Mon, 28 Aug 2023 09:03:36 +0000 (11:03 +0200)]
dnsdist: Fix spell checking issues
Remi Gacogne [Mon, 28 Aug 2023 08:57:04 +0000 (10:57 +0200)]
dnsdist: Add ChangeLog and secpoll update for 1.8.1
Remi Gacogne [Thu, 7 Sep 2023 09:51:50 +0000 (11:51 +0200)]
dnsdist: Remove the fuzz_target_dnsdistcache binary
Remi Gacogne [Thu, 7 Sep 2023 09:36:24 +0000 (11:36 +0200)]
Merge pull request #13145 from rgacogne/fuzz-targets-dist
Fix building our fuzzing targets from a dist tarball
Remi Gacogne [Thu, 7 Sep 2023 09:31:24 +0000 (11:31 +0200)]
dnsdist: Only compile and link doh.cc when h2o support is enabled
Remi Gacogne [Thu, 7 Sep 2023 09:30:17 +0000 (11:30 +0200)]
tcpiohandler: Make it clearer which TLS implementation is preferred
Peter van Dijk [Thu, 7 Sep 2023 09:09:02 +0000 (11:09 +0200)]
Merge pull request #13215 from Habbie/auth-4.8.2-docs
auth-4.8.2: secpoll&docs
Remi Gacogne [Fri, 18 Aug 2023 08:47:47 +0000 (10:47 +0200)]
dnsdist: Unbreak incoming DoH w/ h2o
Remi Gacogne [Fri, 18 Aug 2023 06:53:16 +0000 (08:53 +0200)]
dnsdist: Apply suggestions from Charles-Henri Bruyand's review (thanks!)
Remi Gacogne [Mon, 14 Aug 2023 09:21:39 +0000 (11:21 +0200)]
dnsdist: Fix a typo (HTTP/1->2) in the DoH doc, as reported by Frank Louwers (thanks!)
Remi Gacogne [Tue, 1 Aug 2023 09:32:38 +0000 (11:32 +0200)]
dnsdist: Fix formatting in test-dnsdistnghttp2-in_cc.cc
Remi Gacogne [Tue, 1 Aug 2023 09:26:30 +0000 (11:26 +0200)]
dnsdist: Delint test-dnsdistnghttp2-in_cc.cc and dnsdist-nghttp2.cc
Remi Gacogne [Fri, 21 Jul 2023 17:19:15 +0000 (19:19 +0200)]
dnsdist: Fix spelling issues
Remi Gacogne [Fri, 21 Jul 2023 15:53:34 +0000 (17:53 +0200)]
dnsdist: Document the h2o -> nghttp2 upgrade path
Remi Gacogne [Fri, 7 Jul 2023 15:16:02 +0000 (17:16 +0200)]
dnsdist: Remove unused function in outgoing DoH
Remi Gacogne [Thu, 20 Jul 2023 08:07:38 +0000 (10:07 +0200)]
dnsdist: Better logging of backend server identity
Remi Gacogne [Mon, 17 Jul 2023 14:59:48 +0000 (16:59 +0200)]
dnsdist: Remove TCPIOHandler::hasBufferedData() since we cannot rely on it
Remi Gacogne [Mon, 17 Jul 2023 14:58:25 +0000 (16:58 +0200)]
dnsdist: Fix incoming DoT when OpenSSL's read-ahead mode is enabled
Remi Gacogne [Thu, 13 Jul 2023 15:23:22 +0000 (17:23 +0200)]
dnsdist: Enable readAhead by default for TLS and DOH frontends
Remi Gacogne [Thu, 13 Jul 2023 15:23:00 +0000 (17:23 +0200)]
dnsdist: Document the new options to add{DOH,TLS}Local
Remi Gacogne [Tue, 18 Jul 2023 12:37:16 +0000 (14:37 +0200)]
dnsdist: Give the mock Proxy Protocol proxy some time to start
Remi Gacogne [Thu, 13 Jul 2023 14:15:48 +0000 (16:15 +0200)]
dnsdist: Add a test for DoH incoming proxy protocol inside of TLS