]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agotest-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’" 12944/head
Remi Gacogne [Thu, 22 Jun 2023 10:05:00 +0000 (12:05 +0200)] 
test-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’"

2 years agoMerge pull request #12939 from Habbie/dnsdist-missing-file
Remi Gacogne [Thu, 22 Jun 2023 08:02:35 +0000 (10:02 +0200)] 
Merge pull request #12939 from Habbie/dnsdist-missing-file

dnsdist: add dnsdist-lua-inspection-ffi.h to dist tarballs

2 years agodnsdist: add dnsdist-lua-inspection-ffi.h to dist tarballs 12939/head
Peter van Dijk [Thu, 22 Jun 2023 07:18:56 +0000 (09:18 +0200)] 
dnsdist: add dnsdist-lua-inspection-ffi.h to dist tarballs

2 years agoMerge pull request #12935 from rgacogne/fix-crypto-detection-deprecated
Remi Gacogne [Wed, 21 Jun 2023 14:03:09 +0000 (16:03 +0200)] 
Merge pull request #12935 from rgacogne/fix-crypto-detection-deprecated

Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL

2 years agoMerge pull request #12934 from omoerbeek/rec-coverity1462719
Otto Moerbeek [Wed, 21 Jun 2023 13:23:47 +0000 (15:23 +0200)] 
Merge pull request #12934 from omoerbeek/rec-coverity1462719

rec: Silence Coverity 1462719 Unchecked return value from library.

2 years agoStop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL 12935/head
Remi Gacogne [Wed, 21 Jun 2023 12:58:15 +0000 (14:58 +0200)] 
Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL

And move to BN_new() instead, which has been present since at least
0.9.6 and is still in 3.1.

2 years agoMerge pull request #12933 from omoerbeek/rec-followp-to-12893
Otto Moerbeek [Wed, 21 Jun 2023 12:26:41 +0000 (14:26 +0200)] 
Merge pull request #12933 from omoerbeek/rec-followp-to-12893

rec: Followup to #12893: Rewrite and fix verifyOne() loop

2 years agorec: Silence Coverity 1462719 Unchecked return value from library. 12934/head
Otto Moerbeek [Wed, 21 Jun 2023 12:25:03 +0000 (14:25 +0200)] 
rec: Silence Coverity 1462719 Unchecked return value from library.

Call should not fail and it's a best effort anyway in this case

2 years agoTypo inc omment 12933/head
Otto Moerbeek [Wed, 21 Jun 2023 11:17:01 +0000 (13:17 +0200)] 
Typo inc omment

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoFollowup to #12893: Rewrite and fix verifyOne() loop
Otto Moerbeek [Wed, 21 Jun 2023 08:43:26 +0000 (10:43 +0200)] 
Followup to #12893: Rewrite and fix verifyOne() loop

Previous version could return true if the first iteration succeeded, but
the second one threw. Spotted by pt01 on IRC.

2 years agoMerge pull request #11427 from rgacogne/ddist-channels
Remi Gacogne [Wed, 21 Jun 2023 08:16:29 +0000 (10:16 +0200)] 
Merge pull request #11427 from rgacogne/ddist-channels

dnsdist: Implement Channels for communication between threads

2 years agoMerge pull request #12923 from rgacogne/ddist-auto-include-ffi-inspection
Remi Gacogne [Wed, 21 Jun 2023 08:15:22 +0000 (10:15 +0200)] 
Merge pull request #12923 from rgacogne/ddist-auto-include-ffi-inspection

dnsdist: Automatically load Lua FFI inspection functions

2 years agochannel: Rename 'fd' to 'descriptor' 11427/head
Remi Gacogne [Tue, 20 Jun 2023 16:47:36 +0000 (18:47 +0200)] 
channel: Rename 'fd' to 'descriptor'

2 years agoMerge pull request #11510 from klaus-nicat/ignore-axfr-expand-alias-errors
Peter van Dijk [Tue, 20 Jun 2023 16:10:16 +0000 (18:10 +0200)] 
Merge pull request #11510 from klaus-nicat/ignore-axfr-expand-alias-errors

new option 'ignore-errors' for setting 'outgoing-axfr-expand-alias'

2 years agoMerge pull request #12924 from rgacogne/ddist-luaffi-rawtag-test
Remi Gacogne [Tue, 20 Jun 2023 15:05:36 +0000 (17:05 +0200)] 
Merge pull request #12924 from rgacogne/ddist-luaffi-rawtag-test

dnsdist: Add a regression test for the Lua FFI raw tag interface

2 years agoMerge pull request #12925 from rgacogne/ddist-pp-doc
Remi Gacogne [Tue, 20 Jun 2023 15:05:26 +0000 (17:05 +0200)] 
Merge pull request #12925 from rgacogne/ddist-pp-doc

dnsdist: Clarify the proxy protocol documentation

2 years agoauth: ignore readability-function-cognitive-complexity for doAXFR for now 11510/head
Chris Hofstaedtler [Wed, 7 Jun 2023 12:08:28 +0000 (14:08 +0200)] 
auth: ignore readability-function-cognitive-complexity for doAXFR for now

2 years agoauth: docs: warn more clearly about setting-outgoing-axfr-expand-alias=ignore-errors
Chris Hofstaedtler [Mon, 5 Jun 2023 20:51:59 +0000 (22:51 +0200)] 
auth: docs: warn more clearly about setting-outgoing-axfr-expand-alias=ignore-errors

2 years agoauth: add startup warning about outgoing-axfr-expand-alias=ignore-errors
Chris Hofstaedtler [Mon, 5 Jun 2023 20:38:34 +0000 (22:38 +0200)] 
auth: add startup warning about outgoing-axfr-expand-alias=ignore-errors

2 years agoMerge pull request #12928 from omoerbeek/rec-fix-daemonize
Otto Moerbeek [Tue, 20 Jun 2023 14:21:36 +0000 (16:21 +0200)] 
Merge pull request #12928 from omoerbeek/rec-fix-daemonize

rec: fix daemonize(), followup to #12836

2 years agoMerge pull request #12930 from omoerbeek/fix-unused-warnings
Otto Moerbeek [Tue, 20 Jun 2023 14:08:35 +0000 (16:08 +0200)] 
Merge pull request #12930 from omoerbeek/fix-unused-warnings

Fix compile warnings

2 years agoFix typos in comment 12928/head
Otto Moerbeek [Tue, 20 Jun 2023 12:56:29 +0000 (14:56 +0200)] 
Fix typos in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoAvoid main() throwing an exception 12930/head
Otto Moerbeek [Tue, 20 Jun 2023 11:55:11 +0000 (13:55 +0200)] 
Avoid main() throwing an exception

2 years agoFix unused warnings coming from our own code.
Otto Moerbeek [Tue, 20 Jun 2023 07:24:50 +0000 (09:24 +0200)] 
Fix unused warnings coming from our own code.

Some third party warning remain, mostly coming from boost.

2 years agoMerge pull request #12929 from ddmler/patch-1
Otto Moerbeek [Tue, 20 Jun 2023 07:22:01 +0000 (09:22 +0200)] 
Merge pull request #12929 from ddmler/patch-1

Fix wrong rfc number in docs for ZONEMD record

2 years agoFix wrong rfc number for zonemd record 12929/head
Enrico Höschler [Tue, 20 Jun 2023 07:15:05 +0000 (09:15 +0200)] 
Fix wrong rfc number for zonemd record

2 years agorec: fix daemonize(), followup to #12836
Otto Moerbeek [Tue, 20 Jun 2023 07:01:21 +0000 (09:01 +0200)] 
rec: fix daemonize(), followup to #12836

Originally the code did not distinguish between parent return and error.

2 years agoMerge pull request #12927 from omoerbeek/rec-zonetocache-local
Otto Moerbeek [Tue, 20 Jun 2023 05:30:09 +0000 (07:30 +0200)] 
Merge pull request #12927 from omoerbeek/rec-zonetocache-local

rec: fix documentation of zoneToCache localAddress attribute

2 years agoMerge pull request #12913 from omoerbeek/dns_random
Otto Moerbeek [Tue, 20 Jun 2023 05:29:53 +0000 (07:29 +0200)] 
Merge pull request #12913 from omoerbeek/dns_random

dns random: add method to get full 32-bits of randomness

2 years agorec: fix documentation of zoneToCache localAddress attribute 12927/head
Otto Moerbeek [Mon, 19 Jun 2023 11:19:22 +0000 (13:19 +0200)] 
rec: fix documentation of zoneToCache localAddress attribute

Fixes #12919

2 years agoMerge pull request #12911 from rgacogne/ddist-increment-dyn-blocked-ebpf
Remi Gacogne [Mon, 19 Jun 2023 10:12:43 +0000 (12:12 +0200)] 
Merge pull request #12911 from rgacogne/ddist-increment-dyn-blocked-ebpf

dnsdist: Increment the "dyn blocked" counter for eBPF blocks as well

2 years agoConvert a couple of calls from dns_random() to dns_random_uint32() 12913/head
Otto Moerbeek [Mon, 19 Jun 2023 09:33:02 +0000 (11:33 +0200)] 
Convert a couple of calls from dns_random() to dns_random_uint32()

2 years agoDon't close the urandom file descriptor
Otto Moerbeek [Mon, 19 Jun 2023 09:23:05 +0000 (11:23 +0200)] 
Don't close the urandom file descriptor

2 years agodnsdist: Clarify the proxy protocol documentation 12925/head
Remi Gacogne [Fri, 16 Jun 2023 13:35:53 +0000 (15:35 +0200)] 
dnsdist: Clarify the proxy protocol documentation

- A proxy protocol payload is actually required from incoming clients
  configured with setProxyProtocolACL, not just allowed.
- setProxyProtocolApplyACLToProxiedClients was wrongly documented as
  setProxyProtocolApplyACL

2 years agodnsdist: Add a regression test for the Lua FFI raw tag interface 12924/head
Remi Gacogne [Fri, 16 Jun 2023 08:14:21 +0000 (10:14 +0200)] 
dnsdist: Add a regression test for the Lua FFI raw tag interface

2 years agodnsdist: Automatically load Lua FFI inspection functions 12923/head
Remi Gacogne [Fri, 16 Jun 2023 07:46:16 +0000 (09:46 +0200)] 
dnsdist: Automatically load Lua FFI inspection functions

We used to do that for all Lua FFI functions except the ones used
for inspecting StatNode objects.

2 years agoMerge pull request #12783 from rgacogne/ddist-fix-pool-cache-metrics
Remi Gacogne [Thu, 15 Jun 2023 13:51:43 +0000 (15:51 +0200)] 
Merge pull request #12783 from rgacogne/ddist-fix-pool-cache-metrics

dnsdist: Fix cache hit and miss metrics with DoH queries

2 years agoMerge pull request #12918 from omoerbeek/rec-prep-4.9.0-rc1
Peter van Dijk [Thu, 15 Jun 2023 08:46:29 +0000 (10:46 +0200)] 
Merge pull request #12918 from omoerbeek/rec-prep-4.9.0-rc1

rec: Prep for rec-4.9.0-rc1

2 years agoMerge pull request #12916 from Houtworm/master
Remi Gacogne [Wed, 14 Jun 2023 10:33:09 +0000 (12:33 +0200)] 
Merge pull request #12916 from Houtworm/master

edited webserver config template for dnsdist docker container.

2 years agoPrep for rec-4.9.0-rc1 12918/head
Otto Moerbeek [Tue, 13 Jun 2023 08:30:39 +0000 (10:30 +0200)] 
Prep for rec-4.9.0-rc1

2 years agoUpdate dockerdata/startup.py 12916/head
Houtworm [Wed, 14 Jun 2023 08:09:15 +0000 (10:09 +0200)] 
Update dockerdata/startup.py

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agodelint
Otto Moerbeek [Wed, 14 Jun 2023 06:55:48 +0000 (08:55 +0200)] 
delint

2 years agofixed the webserver config line?
djonker [Tue, 13 Jun 2023 22:34:09 +0000 (00:34 +0200)] 
fixed the webserver config line?

2 years agoFix loops
Otto Moerbeek [Tue, 13 Jun 2023 11:02:36 +0000 (13:02 +0200)] 
Fix loops

2 years agodnsdist: Increment the "dyn blocked" counter for eBPF blocks as well 12911/head
Remi Gacogne [Tue, 13 Jun 2023 12:08:56 +0000 (14:08 +0200)] 
dnsdist: Increment the "dyn blocked" counter for eBPF blocks as well

Regular, userspace blocks increment the "dyn blocked" counter for every
dropped query. The eBPF blocks are executed in kernelspace and thus do
not increment that counter at all, which makes it challenging for
reporting to do its job. On the other hand we want our eBPF code to
be as efficient as possible since it is used when performance really
matters.
This commit updates the counter when a eBPF dynamic block is removed,
which is a compromise between the performance impact and a slight
reporting delay.

2 years agoMerge pull request #12811 from rgacogne/ddist-health-check-better-messages
Remi Gacogne [Tue, 13 Jun 2023 11:16:41 +0000 (13:16 +0200)] 
Merge pull request #12811 from rgacogne/ddist-health-check-better-messages

dnsdist: Add the query ID to health-check log messages, fix nits

2 years agoActually start testing this on !gcc and refactor
Otto Moerbeek [Tue, 13 Jun 2023 10:58:12 +0000 (12:58 +0200)] 
Actually start testing this on !gcc and refactor

2 years agoAdd basic test for dns_random_uint32
Otto Moerbeek [Tue, 13 Jun 2023 09:17:45 +0000 (11:17 +0200)] 
Add basic test for dns_random_uint32

2 years agoIntroduce dns_random_uint32()
Otto Moerbeek [Tue, 13 Jun 2023 09:08:50 +0000 (11:08 +0200)] 
Introduce dns_random_uint32()

To be used when a full 32 bits of randomness are needed, also avoiding
the modulo dance

2 years agoReplace boost lexical casts, including the header produces a lot of warnings on some...
Otto Moerbeek [Tue, 13 Jun 2023 09:02:59 +0000 (11:02 +0200)] 
Replace boost lexical casts, including the header produces a lot of warnings on some platforms for some time

We now produce a string runtime, but since the to_string() call should never be executed, it does not matter.

2 years agodelint
Otto Moerbeek [Tue, 13 Jun 2023 08:58:49 +0000 (10:58 +0200)] 
delint

2 years agoReformat
Otto Moerbeek [Tue, 13 Jun 2023 08:49:45 +0000 (10:49 +0200)] 
Reformat

2 years agoMerge pull request #12909 from omoerbeek/fix-speedtest
Otto Moerbeek [Tue, 13 Jun 2023 10:50:33 +0000 (12:50 +0200)] 
Merge pull request #12909 from omoerbeek/fix-speedtest

Fix build of speedtest and make sure it gets built automatically to avoid bitrot

2 years agoAdd GGS_LIB to speedtest link if needed 12909/head
Otto Moerbeek [Tue, 13 Jun 2023 09:55:39 +0000 (11:55 +0200)] 
Add GGS_LIB to speedtest link if needed

2 years agoFix build of speedtest and make sure it gets built automatically to avoid bitrot
Otto Moerbeek [Tue, 13 Jun 2023 09:35:20 +0000 (11:35 +0200)] 
Fix build of speedtest and make sure it gets built automatically to avoid bitrot

2 years agochannel: Fix clang-tidy warnings
Remi Gacogne [Tue, 13 Jun 2023 08:52:33 +0000 (10:52 +0200)] 
channel: Fix clang-tidy warnings

2 years agoMerge pull request #12804 from rgacogne/ddist-health-check-resize-response
Remi Gacogne [Tue, 13 Jun 2023 08:48:20 +0000 (10:48 +0200)] 
Merge pull request #12804 from rgacogne/ddist-health-check-resize-response

dnsdist: Properly set the size of the UDP health-check response

2 years agoMerge pull request #12892 from rgacogne/yahttp-fuzz-overflow
Remi Gacogne [Tue, 13 Jun 2023 08:47:26 +0000 (10:47 +0200)] 
Merge pull request #12892 from rgacogne/yahttp-fuzz-overflow

YaHTTP: Prevent integer overflow on very large chunks

2 years agoMerge pull request #12802 from rgacogne/ddist-health-check-wait-time
Remi Gacogne [Tue, 13 Jun 2023 08:47:13 +0000 (10:47 +0200)] 
Merge pull request #12802 from rgacogne/ddist-health-check-wait-time

dnsdist: Account for the health-check run time between two runs

2 years agoMerge pull request #12808 from omoerbeek/args-delint
Otto Moerbeek [Tue, 13 Jun 2023 08:31:39 +0000 (10:31 +0200)] 
Merge pull request #12808 from omoerbeek/args-delint

Reformat and delint arguments.cc and arguments.hh

2 years agodnsdist: Add the query ID to health-check log messages, fix nits 12811/head
Remi Gacogne [Thu, 11 May 2023 13:22:25 +0000 (15:22 +0200)] 
dnsdist: Add the query ID to health-check log messages, fix nits

2 years agodnsdist: Fix a boolean nit as suggested by Otto 12783/head
Remi Gacogne [Tue, 13 Jun 2023 08:02:45 +0000 (10:02 +0200)] 
dnsdist: Fix a boolean nit as suggested by Otto

2 years agodnsdist: Fix formatting in channel.cc
Remi Gacogne [Fri, 12 May 2023 15:56:05 +0000 (17:56 +0200)] 
dnsdist: Fix formatting in channel.cc

2 years agodnsdist: Hopefully make clang-tidy happy
Remi Gacogne [Fri, 12 May 2023 15:42:27 +0000 (17:42 +0200)] 
dnsdist: Hopefully make clang-tidy happy

2 years agochannel: Transfer the object to a local pointer before sending it
Remi Gacogne [Thu, 22 Dec 2022 09:25:00 +0000 (10:25 +0100)] 
channel: Transfer the object to a local pointer  before sending it

Even calling release() on the initial unique_ptr after sending the
object could cause a use-after-free, as the unique_ptr might have
been destroyed in the meantime.

2 years agochannel unit tests: Fix formatting
Remi Gacogne [Mon, 19 Dec 2022 11:00:31 +0000 (12:00 +0100)] 
channel unit tests: Fix formatting

2 years agochannel: Add unit tests
Remi Gacogne [Mon, 19 Dec 2022 10:57:31 +0000 (11:57 +0100)] 
channel: Add unit tests

2 years agodnsdist: Fix invalid parameter name in the channel
Remi Gacogne [Sat, 17 Dec 2022 09:22:09 +0000 (10:22 +0100)] 
dnsdist: Fix invalid parameter name in the channel

2 years agochannel: Rename the pointer to object 'objPtr' instead of 'obj'
Remi Gacogne [Fri, 16 Dec 2022 14:47:46 +0000 (15:47 +0100)] 
channel: Rename the pointer to object 'objPtr' instead of 'obj'

2 years agochannel: Use the template deleter parameter
Remi Gacogne [Fri, 16 Dec 2022 14:47:08 +0000 (15:47 +0100)] 
channel: Use the template deleter parameter

2 years agochannel: Cleaner handling of EOF when writing on the pipe
Remi Gacogne [Fri, 16 Dec 2022 14:46:34 +0000 (15:46 +0100)] 
channel: Cleaner handling of EOF when writing on the pipe

2 years agodnsdist: TCPCrossProtocolResponse is a struct, not a class
Remi Gacogne [Fri, 16 Dec 2022 14:45:49 +0000 (15:45 +0100)] 
dnsdist: TCPCrossProtocolResponse is a struct, not a class

2 years agochannel: Fix formatting
Remi Gacogne [Mon, 12 Dec 2022 09:06:56 +0000 (10:06 +0100)] 
channel: Fix formatting

2 years agodnsdist: Add TSAN annotations in the channel code
Remi Gacogne [Fri, 9 Dec 2022 15:58:15 +0000 (16:58 +0100)] 
dnsdist: Add TSAN annotations in the channel code

So Thread Sanitizer knows that the object we are passing is no longer
used in the sender, and will now be used in the receiver (happens-before).

2 years agorec: Add missing channel.cc and channel.hh symbolic links
Remi Gacogne [Sat, 22 Oct 2022 14:59:22 +0000 (16:59 +0200)] 
rec: Add missing channel.cc and channel.hh symbolic links

2 years agodnsdist: Move the DelayPipe to pdns::channel
Remi Gacogne [Fri, 21 Oct 2022 18:12:01 +0000 (20:12 +0200)] 
dnsdist: Move the DelayPipe to pdns::channel

2 years agoMove channel files from pdns/dnsdistdist to pdns
Remi Gacogne [Fri, 10 Jun 2022 15:34:56 +0000 (17:34 +0200)] 
Move channel files from pdns/dnsdistdist to pdns

2 years agodnsdist: Add missing pragma once to DoH
Remi Gacogne [Fri, 8 Apr 2022 18:02:23 +0000 (20:02 +0200)] 
dnsdist: Add missing pragma once to DoH

2 years agodnsdist: Convert DoH to pdns::channel
Remi Gacogne [Fri, 8 Apr 2022 15:57:44 +0000 (17:57 +0200)] 
dnsdist: Convert DoH to pdns::channel

2 years agodnsdist: Refactoring of the SNMP code with channels
Remi Gacogne [Fri, 8 Apr 2022 15:17:00 +0000 (17:17 +0200)] 
dnsdist: Refactoring of the SNMP code with channels

2 years agodnsdist: Wrap the pipe descriptors earlier, do not leak on send errors
Remi Gacogne [Fri, 18 Mar 2022 09:32:42 +0000 (10:32 +0100)] 
dnsdist: Wrap the pipe descriptors earlier, do not leak on send errors

2 years agodnsdist: Fix formatting in channel.{cc,hh}
Remi Gacogne [Fri, 18 Mar 2022 09:22:10 +0000 (10:22 +0100)] 
dnsdist: Fix formatting in channel.{cc,hh}

2 years agodnsdist: Refactoring of the TCP/TLS workers using channels
Remi Gacogne [Thu, 17 Mar 2022 15:26:08 +0000 (16:26 +0100)] 
dnsdist: Refactoring of the TCP/TLS workers using channels

2 years agodnsdist: Refactoring of the outgoing DoH code with pdns::channel
Remi Gacogne [Thu, 17 Mar 2022 09:12:08 +0000 (10:12 +0100)] 
dnsdist: Refactoring of the outgoing DoH code with pdns::channel

2 years agodnsdist: Implement Channels for communication between threads
Remi Gacogne [Thu, 17 Mar 2022 16:02:05 +0000 (17:02 +0100)] 
dnsdist: Implement Channels for communication between threads

Internally this uses the same mechanism as before, passing pointers
over a pipe, but the new classes make that easier to use:
- clear separation between sender and receiver
- clear ownership of the descriptor
- less code duplication

2 years agoTypo in var name spotted by @Habbie 12808/head
Otto Moerbeek [Tue, 13 Jun 2023 07:27:39 +0000 (09:27 +0200)] 
Typo in var name spotted by @Habbie

2 years agoMerge pull request #12904 from omoerbeek/rec-gid_t-uid_t-can-be-unsigned rec-4.10.0-alpha0
Otto Moerbeek [Mon, 12 Jun 2023 11:49:37 +0000 (13:49 +0200)] 
Merge pull request #12904 from omoerbeek/rec-gid_t-uid_t-can-be-unsigned

rec: uid_t and gid_t can be unsigned, so doing > on an -1 value is tricky

2 years agoMerge pull request #12906 from omoerbeek/rec-sdjournal-escape
Otto Moerbeek [Mon, 12 Jun 2023 11:49:22 +0000 (13:49 +0200)] 
Merge pull request #12906 from omoerbeek/rec-sdjournal-escape

rec: systemd-journal backend: escape keys that are special

2 years agoMerge pull request #12893 from omoerbeek/rec-dnssec-alg-setting
Otto Moerbeek [Mon, 12 Jun 2023 11:48:51 +0000 (13:48 +0200)] 
Merge pull request #12893 from omoerbeek/rec-dnssec-alg-setting

rec: add feature to switch off unsupported DNSSEC algos

2 years agoTidy and process review comments 12893/head
Otto Moerbeek [Wed, 7 Jun 2023 11:11:33 +0000 (13:11 +0200)] 
Tidy and process review comments

2 years agoMerge pull request #12905 from rgacogne/ddist-async-test-racy
Remi Gacogne [Mon, 12 Jun 2023 09:49:26 +0000 (11:49 +0200)] 
Merge pull request #12905 from rgacogne/ddist-async-test-racy

dnsdist: Remove a racy test in the AsynchronousHolder unit tests

2 years agoMerge pull request #12881 from Habbie/dispatch-bookworm
Peter van Dijk [Mon, 12 Jun 2023 09:41:29 +0000 (11:41 +0200)] 
Merge pull request #12881 from Habbie/dispatch-bookworm

builder-dispatch: add debian-bookworm target to defaults

2 years agoMerge pull request #12900 from omoerbeek/rec-serve-stale-dup-cname
Otto Moerbeek [Mon, 12 Jun 2023 09:22:56 +0000 (11:22 +0200)] 
Merge pull request #12900 from omoerbeek/rec-serve-stale-dup-cname

rec: Prevent duplicate C/DNAMEs being included when doing serve-stale

2 years agoDon't double print and delint 12906/head
Otto Moerbeek [Mon, 12 Jun 2023 09:02:02 +0000 (11:02 +0200)] 
Don't double print and delint

2 years agodnsdist: Remove a racy test in the AsynchronousHolder unit tests 12905/head
Remi Gacogne [Mon, 12 Jun 2023 09:04:51 +0000 (11:04 +0200)] 
dnsdist: Remove a racy test in the AsynchronousHolder unit tests

We are adding an expired event so the worker thread of the
AsynchronousHolder can pick it up immediately, even before we come
back from the call to push(), which leads to a racy test.
This was observed on GitHub Actions when running with TSAN:
```
FAIL: testrunner
================

Running 170 test cases...
test-dnsdistasync.cc(156): error: in "test_dnsdistasync/test_AddingExpiredEvent": check !holder->empty() has failed

*** 1 failure is detected in the test module "unit"
FAIL testrunner (exit status: 201)
```

2 years agoMerge pull request #12896 from omoerbeek/rec-nod-metrics
Otto Moerbeek [Mon, 12 Jun 2023 09:03:50 +0000 (11:03 +0200)] 
Merge pull request #12896 from omoerbeek/rec-nod-metrics

rec: expose NOD/UDR metrics

2 years agorec: uid_t and gid_t can be unsigned, so doing > on and -1 value is tricky 12904/head
Otto Moerbeek [Mon, 12 Jun 2023 08:41:02 +0000 (10:41 +0200)] 
rec: uid_t and gid_t can be unsigned, so doing > on and -1 value is tricky

2 years agoMerge pull request #12883 from omoerbeek/rec-rpz-soa
Otto Moerbeek [Mon, 12 Jun 2023 08:35:34 +0000 (10:35 +0200)] 
Merge pull request #12883 from omoerbeek/rec-rpz-soa

rec: add SOA to RPZ modified answers if configured to do so

2 years agodelint 12900/head
Otto Moerbeek [Mon, 12 Jun 2023 08:33:47 +0000 (10:33 +0200)] 
delint

2 years agoProcess review comments 12896/head
Otto Moerbeek [Mon, 12 Jun 2023 08:14:03 +0000 (10:14 +0200)] 
Process review comments