]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
22 months agosdig: add rudimentary EDE output 13293/head
Peter van Dijk [Fri, 22 Sep 2023 22:30:34 +0000 (00:30 +0200)] 
sdig: add rudimentary EDE output

22 months agoMerge pull request #13281 from omoerbeek/omoerbeek-patch-1
Otto Moerbeek [Thu, 21 Sep 2023 08:03:46 +0000 (10:03 +0200)] 
Merge pull request #13281 from omoerbeek/omoerbeek-patch-1

rec: Clear taskQueue at start of test run

22 months agorec: Clear taskQueue at start of tets run 13281/head
Otto Moerbeek [Thu, 21 Sep 2023 06:43:29 +0000 (08:43 +0200)] 
rec: Clear taskQueue at start of tets run

Not all tests leave an empty queue.
Test that use syncres get an auto clear, but this test does not use syncres.

22 months agoMerge pull request #13278 from omoerbeek/rec-pc-task-unsupported
Otto Moerbeek [Wed, 20 Sep 2023 12:05:28 +0000 (14:05 +0200)] 
Merge pull request #13278 from omoerbeek/rec-pc-task-unsupported

rec: packetcache submit task fixes

22 months agoMerge pull request #13279 from omoerbeek/rec-unittest-rnd
Otto Moerbeek [Wed, 20 Sep 2023 11:22:43 +0000 (13:22 +0200)] 
Merge pull request #13279 from omoerbeek/rec-unittest-rnd

rec: Switch randomization of unit tests back on

22 months agoMerge pull request #13276 from omoerbeek/rec-conf-dir
Otto Moerbeek [Wed, 20 Sep 2023 11:22:18 +0000 (13:22 +0200)] 
Merge pull request #13276 from omoerbeek/rec-conf-dir

rec: Fix sysconfdir handling in new settings code

22 months agoMerge pull request #13277 from omoerbeek/rec-log-level
Otto Moerbeek [Wed, 20 Sep 2023 11:22:01 +0000 (13:22 +0200)] 
Merge pull request #13277 from omoerbeek/rec-log-level

rec: allow loglevel to be set to levels < 3

22 months agoReformat and use specific NOLINT 13278/head
Otto Moerbeek [Tue, 19 Sep 2023 09:13:23 +0000 (11:13 +0200)] 
Reformat and use specific NOLINT

22 months agoAdd test for TTL perc bug found while working on issue #13266
Otto Moerbeek [Tue, 19 Sep 2023 09:03:43 +0000 (11:03 +0200)] 
Add test for TTL perc bug found while working on issue #13266

22 months agoMerge pull request #13275 from dmachard/ddist-export-downstream-addr
Remi Gacogne [Wed, 20 Sep 2023 08:42:34 +0000 (10:42 +0200)] 
Merge pull request #13275 from dmachard/ddist-export-downstream-addr

dnsdist: add lua binding to downstream address

22 months agowrap DownstreamState instead of ComboAddress 13275/head
dmachard [Tue, 19 Sep 2023 15:47:44 +0000 (17:47 +0200)] 
wrap DownstreamState instead of ComboAddress

22 months agoMerge pull request #13252 from omoerbeek/rec-settings-make
Otto Moerbeek [Tue, 19 Sep 2023 11:46:03 +0000 (13:46 +0200)] 
Merge pull request #13252 from omoerbeek/rec-settings-make

rec: Add make -C rust clean when generate.py is run

22 months agoMerge pull request #13195 from omoerbeek/rec-tcp-in
Otto Moerbeek [Tue, 19 Sep 2023 11:43:25 +0000 (13:43 +0200)] 
Merge pull request #13195 from omoerbeek/rec-tcp-in

rec: move tcp-in processing to dedicated thread(s)

22 months agorec: Switch randomization of unit tests back on 13279/head
Otto Moerbeek [Tue, 19 Sep 2023 11:07:08 +0000 (13:07 +0200)] 
rec: Switch randomization of unit tests back on

The mthread fixes from #13251 should allow that now

22 months agorec: allow loglevel to be set to levels < 3 13277/head
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.

22 months agoMerge pull request #13274 from rgacogne/ddist-enable-h2o-back
Remi Gacogne [Tue, 19 Sep 2023 07:47:06 +0000 (09:47 +0200)] 
Merge pull request #13274 from rgacogne/ddist-enable-h2o-back

dnsdist: Enable back h2o support in our packages

22 months agoImprove config-dir docs a bit 13276/head
Otto Moerbeek [Sat, 16 Sep 2023 13:57:27 +0000 (15:57 +0200)] 
Improve config-dir docs a bit

22 months agoSmall fixes in comments and log messages from review 13195/head
Otto Moerbeek [Tue, 19 Sep 2023 07:24:52 +0000 (09:24 +0200)] 
Small fixes in comments and log messages from review

22 months agorec: Fix sysconfdir handling in new settings code
Otto Moerbeek [Sat, 16 Sep 2023 12:58:25 +0000 (14:58 +0200)] 
rec: Fix sysconfdir handling in new settings code

Partly from @RvdE
Fixes #13259

22 months agoSome delinting of common cache code
Otto Moerbeek [Tue, 19 Sep 2023 06:57:15 +0000 (08:57 +0200)] 
Some delinting of common cache code

22 months agoMerge pull request #13258 from omoerbeek/rec-yaml-conv-docs
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

22 months agodnsdist: add lua binding to downstream addr
dmachard [Mon, 18 Sep 2023 16:25:26 +0000 (18:25 +0200)] 
dnsdist: add lua binding to downstream addr

22 months agodnsdist: Document that h2o support is no longer built by default 13274/head
Remi Gacogne [Mon, 18 Sep 2023 11:47:44 +0000 (13:47 +0200)] 
dnsdist: Document that h2o support is no longer built by default

22 months agodnsdist: Enable back h2o support in our packages
Remi Gacogne [Mon, 18 Sep 2023 11:47:19 +0000 (13:47 +0200)] 
dnsdist: Enable back h2o support in our packages

As we promised to do.

22 months agoMerge pull request #13269 from rgacogne/ddist-doc-fix-underline-too-short
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

22 months agoPrevent lookups for unsupported qtypes or rcode != 0 to submit refresh tasks
Otto Moerbeek [Mon, 18 Sep 2023 09:38:10 +0000 (11:38 +0200)] 
Prevent lookups for unsupported qtypes or rcode != 0 to submit refresh tasks

22 months agoMerge pull request #13245 from Habbie/gmysql-drop-opt-reconnect
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

22 months agoMerge pull request #13192 from aj-gh/gss-tsig-featuremsg
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

22 months agoadd a missing space to format the changelog correctly 13269/head
Peter van Dijk [Mon, 18 Sep 2023 08:54:12 +0000 (10:54 +0200)] 
add a missing space to format the changelog correctly

22 months agodnsdist: Fix too short underline for latency-doh-avg1000000 title
Remi Gacogne [Mon, 18 Sep 2023 07:45:47 +0000 (09:45 +0200)] 
dnsdist: Fix too short underline for latency-doh-avg1000000 title

22 months agoMerge pull request #13263 from rgacogne/ddist-190-a1-changelog-secpoll
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

22 months agosecpoll: Don't advise updating from dnsdist's pre-release 1.9.0-alpha1 13263/head
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

22 months agoMerge pull request #13261 from rgacogne/ddist-fix-spurious-failures-async-unit-tests dnsdist-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

22 months agodnsdist: Add ChangeLog and update secpoll for 1.9.0-alpha1
Remi Gacogne [Fri, 15 Sep 2023 12:02:25 +0000 (14:02 +0200)] 
dnsdist: Add ChangeLog and update secpoll for 1.9.0-alpha1

22 months agodnsdist: Uglify the code to make the formatter happy 13261/head
Remi Gacogne [Fri, 15 Sep 2023 09:39:39 +0000 (11:39 +0200)] 
dnsdist: Uglify the code to make the formatter happy

22 months agodnsdist: Prevent spurious failures of the async unit tests
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>`.

22 months agoMerge pull request #13256 from rgacogne/ddist-fix-randomized-unit-tests
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

22 months agoMerge pull request #13253 from rgacogne/ddist-race-tests-certificate
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

22 months agorec: Clarify file name and placement rules for converted old-style files 13258/head
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

22 months agoMerge pull request #13238 from Habbie/default-catalog-zone
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

22 months agoMerge pull request #13257 from Habbie/unbreak-curl-rpmbuild
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

22 months agouse allowerasing to allow replacement of curl-minimal with curl 13257/head
Peter van Dijk [Thu, 14 Sep 2023 07:31:38 +0000 (09:31 +0200)] 
use allowerasing to allow replacement of curl-minimal with curl

22 months agodnsdist: Appease the formatting gods 13256/head
Remi Gacogne [Thu, 14 Sep 2023 09:20:11 +0000 (11:20 +0200)] 
dnsdist: Appease the formatting gods

22 months agodnsdist: Ensure our unit tests can be run in random order
Remi Gacogne [Thu, 14 Sep 2023 09:12:07 +0000 (11:12 +0200)] 
dnsdist: Ensure our unit tests can be run in random order

22 months agoMerge pull request #13254 from Habbie/drop-kinetic
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

22 months agoauth: add default-catalog-zone setting 13238/head
Peter van Dijk [Tue, 12 Sep 2023 10:34:43 +0000 (12:34 +0200)] 
auth: add default-catalog-zone setting

22 months agobuilder: drop ubuntu kinetic, it is EOL 13254/head
Peter van Dijk [Thu, 14 Sep 2023 06:35:05 +0000 (08:35 +0200)] 
builder: drop ubuntu kinetic, it is EOL

22 months agoMerge pull request #13251 from omoerbeek/mtasker-exception-fiber
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)

22 months agodnsdist: Fix a race in TLS certificate generation in the tests 13253/head
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.

22 months agoAdd make -C rust clean when generate.py is run. 13252/head
Otto Moerbeek [Wed, 13 Sep 2023 13:47:50 +0000 (15:47 +0200)] 
Add make -C rust clean when generate.py is run.

See comment for motivation. While working on the settings project,
I had this line, but I thouhgt it was no longer needed so I removed
it. It turns out it *is* needed. Found out when adding the
recursor.tcp_threads field.

22 months agoMerge pull request #13250 from omoerbeek/rec-coverity-20230913
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

22 months agoAnd another case for catch/throw 13251/head
Otto Moerbeek [Wed, 13 Sep 2023 13:22:36 +0000 (15:22 +0200)] 
And another case for catch/throw

22 months agoAlso catch/throw in sendEvent() case
Otto Moerbeek [Wed, 13 Sep 2023 12:20:15 +0000 (14:20 +0200)] 
Also catch/throw in sendEvent() case

22 months agoAdd 'versionadded'
Otto Moerbeek [Wed, 13 Sep 2023 11:53:08 +0000 (13:53 +0200)] 
Add 'versionadded'

22 months agoIntroduce setting recursor.tcp_threads.
Otto Moerbeek [Wed, 13 Sep 2023 11:47:40 +0000 (13:47 +0200)] 
Introduce setting recursor.tcp_threads.

While working on this, I noticed that after changing table.py
the new lib.rs is generated, but the Serde derives to not seem to get
triggered until afert I do a make clean. To be investigated.

22 months agoBefore this PR, if pdns-distributes-queries is *false* worker threads process both...
Otto Moerbeek [Fri, 1 Sep 2023 07:12:47 +0000 (09:12 +0200)] 
Before this PR, if pdns-distributes-queries is *false* worker threads process both UDP and TCP queries

22 months agoOnly init Lua for workers (both UDP and TCP)
Otto Moerbeek [Fri, 1 Sep 2023 07:06:13 +0000 (09:06 +0200)] 
Only init Lua for workers (both UDP and TCP)

Now that distributor threads do no longer process (TCP) queries, no need to have Lua inited for those

22 months agoAdopt code change suggestions from @rgacogne's review
Otto Moerbeek [Fri, 1 Sep 2023 07:03:40 +0000 (09:03 +0200)] 
Adopt code change suggestions from @rgacogne's review

22 months agoApply spelling fixes
Otto Moerbeek [Thu, 31 Aug 2023 18:26:21 +0000 (20:26 +0200)] 
Apply spelling fixes

Co-authored-by: Remi Gacogne <github@coredump.fr>
22 months agoTweaks and some docs
Otto Moerbeek [Wed, 30 Aug 2023 14:32:55 +0000 (16:32 +0200)] 
Tweaks and some docs

22 months agoInclude all rec threads for CPU usage stats
Otto Moerbeek [Wed, 30 Aug 2023 13:15:30 +0000 (15:15 +0200)] 
Include all rec threads for CPU usage stats

22 months agoAlso count TCP "distributed" queries and show them in the periodic stats
Otto Moerbeek [Wed, 30 Aug 2023 13:07:44 +0000 (15:07 +0200)] 
Also count TCP "distributed" queries and show them in the periodic stats

Do note that the rules to increment various counters are a bit divergent if you compare TCP and UDP

22 months agoIn the singkle thread case, TCP is still handled by a separate thread
Otto Moerbeek [Wed, 30 Aug 2023 12:10:56 +0000 (14:10 +0200)] 
In the singkle thread case, TCP is still handled by a separate thread

22 months agoRun seperate TCP threads. These threads listen and process incoming TCP queries
Otto Moerbeek [Wed, 30 Aug 2023 10:34:34 +0000 (12:34 +0200)] 
Run seperate TCP threads. These threads listen and process incoming TCP queries

TODO: test, validate reuseport behaviour, settings, docs

22 months agoSome more refactoring to get complexity down plus comments on the way tcp-in works
Otto Moerbeek [Tue, 29 Aug 2023 13:54:36 +0000 (15:54 +0200)] 
Some more refactoring to get complexity down plus comments on the way tcp-in works

22 months agoRefactor actual processing of query out of handleRunningTCPQuestion
Otto Moerbeek [Tue, 29 Aug 2023 11:58:31 +0000 (13:58 +0200)] 
Refactor actual processing of query out of handleRunningTCPQuestion

22 months agoWhen an exception is thrown from an mthread register stack switch in the ASAN 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

22 months agoMerge pull request #13248 from omoerbeek/rec-prep-5.0.0-alpha1
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

22 months agoPrep for rec-5.0.0-alpha1 13248/head
Otto Moerbeek [Tue, 12 Sep 2023 07:26:45 +0000 (09:26 +0200)] 
Prep for rec-5.0.0-alpha1

22 months agorec: Fix Coverityy 1519054: Using invalid iterator 13250/head
Otto Moerbeek [Wed, 13 Sep 2023 10:07:08 +0000 (12:07 +0200)] 
rec: Fix Coverityy 1519054: Using invalid iterator

22 months agoMerge pull request #13247 from omoerbeek/rec-fix-docker-build rec-5.0.0-alpha1
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

22 months agoMerge pull request #13244 from fredmorcos/rec-settings-minor-fixes
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

22 months agoInstall Rust in docker build env 13247/head
Otto Moerbeek [Wed, 13 Sep 2023 07:15:20 +0000 (09:15 +0200)] 
Install Rust in docker build env

22 months agoMerge pull request #13246 from omoerbeek/omoerbeek-patch-1
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"

22 months agorec: fix docker build; it does `make install` without first building the default...
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

22 months agoFix wrongly converted default for "quiet" 13246/head
Otto Moerbeek [Wed, 13 Sep 2023 06:07:30 +0000 (08:07 +0200)] 
Fix wrongly converted default for "quiet"

22 months agoRec: Settings Rust bridge allow passing references to owned Vecs 13244/head
Fred Morcos [Tue, 12 Sep 2023 21:47:02 +0000 (23:47 +0200)] 
Rec: Settings Rust bridge allow passing references to owned Vecs

22 months agoRevert "Rec: Settings Rust bridge prefer slices over Vec references"
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.

22 months agosmysql: stop explicity setting MYSQL_OPT_RECONNECT to 0 13245/head
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

22 months agoMerge pull request #13243 from omoerbeek/rec-no-random-unittests
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

22 months agodnsdist: Fix the test order dependency in the Dynamic Blocks unit tests 13243/head
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

22 months agoRec: Typos
Fred Morcos [Tue, 12 Sep 2023 12:53:02 +0000 (14:53 +0200)] 
Rec: Typos

22 months agoRec: Settings Rust bridge prefer slices over Vec references
Fred Morcos [Tue, 12 Sep 2023 12:46:18 +0000 (14:46 +0200)] 
Rec: Settings Rust bridge prefer slices over Vec references

22 months agoRec's unit tests (in combination with asan+ubsan) are not ready yet for randomization
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

22 months agoRec: Settings Rust bridge ignore Emacs' .dir-locals.el
Fred Morcos [Tue, 12 Sep 2023 12:45:55 +0000 (14:45 +0200)] 
Rec: Settings Rust bridge ignore Emacs' .dir-locals.el

22 months agoMerge pull request #13237 from omoerbeek/random-unittests
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

22 months agoMerge pull request #13239 from omoerbeek/rec-fix-rust-install
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

22 months agoWith #13101 the cwd of the build changed, adapt call to rust install 13239/head
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

22 months agoBe even more lenient in allowing timing differences 13237/head
Otto Moerbeek [Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)] 
Be even more lenient in allowing timing differences

22 months agoMerge pull request #13101 from romeroalx/add-make-distdir
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

22 months agoMerge pull request #13008 from omoerbeek/rec-gen-settings
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

22 months agoIntroduce randomness in test order to catch hidden dependencies between unit-tests
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.

22 months agoFix typo in function name (both def and caller) 13008/head
Otto Moerbeek [Tue, 12 Sep 2023 07:59:21 +0000 (09:59 +0200)] 
Fix typo in function name (both def and caller)

22 months agoadding make distdir step to build-and-test-all 13101/head
Alexis Romero [Thu, 3 Aug 2023 11:53:27 +0000 (13:53 +0200)] 
adding make distdir step to build-and-test-all

22 months agoIntroduce structured YAML settings for Recursor.
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.

22 months agoMerge pull request #13210 from omoerbeek/rec-systemd-unit-nss
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

22 months agoMerge pull request #13209 from omoerbeek/rec-aggr-cache-pruning
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

22 months agoApply typo-in-comment fixes from code review 13209/head
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>
22 months agoMerge pull request #13227 from rgacogne/ddist-fix-unit-tests-on-el-with-lto
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

22 months agoMerge pull request #13229 from appliedprivacy/patch-2
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