]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoixfrdist: Make sure that our metrics are properly initialized 12510/head
Remi Gacogne [Mon, 6 Feb 2023 09:07:04 +0000 (10:07 +0100)] 
ixfrdist: Make sure that our metrics are properly initialized

Before C++20 std::atomic variables are not guaranteed to be initialized,
even though it looks like compilers are actually doing the initialization
even in C++17.
Reported by Coverity as CID 1504405.

2 years agoMerge pull request #12477 from omoerbeek/rec-less-bulk-variations
Otto Moerbeek [Fri, 3 Feb 2023 07:57:33 +0000 (08:57 +0100)] 
Merge pull request #12477 from omoerbeek/rec-less-bulk-variations

rec: less bulk test variations and enable TSAN for bulk tests

2 years agoMerge pull request #12504 from fredmorcos/ci-docs-fix-2
Peter van Dijk [Thu, 2 Feb 2023 21:57:03 +0000 (22:57 +0100)] 
Merge pull request #12504 from fredmorcos/ci-docs-fix-2

Fix GH CI docs upload

2 years agoFix GH CI docs upload 12504/head
Fred Morcos [Thu, 2 Feb 2023 21:13:24 +0000 (22:13 +0100)] 
Fix GH CI docs upload

2 years agoMerge pull request #12503 from fredmorcos/ci-docs-fix
Peter van Dijk [Thu, 2 Feb 2023 20:12:23 +0000 (21:12 +0100)] 
Merge pull request #12503 from fredmorcos/ci-docs-fix

Fix GH CI docs upload

2 years agoFix GH CI docs build 12503/head
Fred Morcos [Thu, 2 Feb 2023 18:51:39 +0000 (19:51 +0100)] 
Fix GH CI docs build

2 years agoMerge pull request #12501 from fredmorcos/openssl3-ecdsa-prep
Remi Gacogne [Thu, 2 Feb 2023 16:02:11 +0000 (17:02 +0100)] 
Merge pull request #12501 from fredmorcos/openssl3-ecdsa-prep

OpenSSL 3.0: ECDSA cleanup and formatting

2 years agoMerge pull request #12448 from fredmorcos/gh-actions-docs-misc
Peter van Dijk [Thu, 2 Feb 2023 15:00:42 +0000 (16:00 +0100)] 
Merge pull request #12448 from fredmorcos/gh-actions-docs-misc

Misc additions and changes to CI documentation generation

2 years agoCleanup OpenSSL ECDSA DCKE 12501/head
Fred Morcos [Sat, 12 Nov 2022 04:40:23 +0000 (05:40 +0100)] 
Cleanup OpenSSL ECDSA DCKE

2 years agoFormatting OpenSSL ECDSA DCKE
Fred Morcos [Thu, 10 Nov 2022 16:34:00 +0000 (17:34 +0100)] 
Formatting OpenSSL ECDSA DCKE

2 years agoMerge pull request #12462 from fredmorcos/openssl3-rsa
Remi Gacogne [Thu, 2 Feb 2023 14:32:20 +0000 (15:32 +0100)] 
Merge pull request #12462 from fredmorcos/openssl3-rsa

OpenSSL3.0: RSA signer

2 years agoMerge pull request #12489 from Habbie/ixfrdist-metrics-formatting
Peter van Dijk [Thu, 2 Feb 2023 13:52:33 +0000 (14:52 +0100)] 
Merge pull request #12489 from Habbie/ixfrdist-metrics-formatting

ixfrdist /metrics: formatting, cleanup, one new metric

2 years agoMerge pull request #12496 from Habbie/dnsdist-unbreak-rpm
Peter van Dijk [Thu, 2 Feb 2023 13:51:36 +0000 (14:51 +0100)] 
Merge pull request #12496 from Habbie/dnsdist-unbreak-rpm

dnsdist rpm builds: stop trying to ship dnsdist.conf.sample

2 years agoOpenSSL 3.0: Use PKCS#8 for RSA-SHA256 PEM testdata 12462/head
Fred Morcos [Wed, 23 Nov 2022 09:06:38 +0000 (10:06 +0100)] 
OpenSSL 3.0: Use PKCS#8 for RSA-SHA256 PEM testdata

2 years agoOpenSSL 3.0: OpenSSL RSA DCKE
Fred Morcos [Wed, 9 Nov 2022 16:46:41 +0000 (17:46 +0100)] 
OpenSSL 3.0: OpenSSL RSA DCKE

2 years agoMerge pull request #12469 from rgacogne/ddist-add-ffi-tests
Remi Gacogne [Thu, 2 Feb 2023 12:25:02 +0000 (13:25 +0100)] 
Merge pull request #12469 from rgacogne/ddist-add-ffi-tests

dnsdist: Add unit tests for the Lua FFI interface

2 years agoMerge pull request #12492 from rgacogne/ddist-cannot-be-used-at-runtime
Remi Gacogne [Thu, 2 Feb 2023 09:38:49 +0000 (10:38 +0100)] 
Merge pull request #12492 from rgacogne/ddist-cannot-be-used-at-runtime

dnsdist: Refactor 'cannot be used at runtime' handling

2 years agoixfrdist: Remove unused counters, simplify prometheus types handling 12489/head
Remi Gacogne [Thu, 2 Feb 2023 08:56:27 +0000 (09:56 +0100)] 
ixfrdist: Remove unused counters, simplify prometheus types handling

2 years agodnsdist: Fix destination -> remote in FFI unit tests 12469/head
Remi Gacogne [Thu, 2 Feb 2023 09:12:41 +0000 (10:12 +0100)] 
dnsdist: Fix destination -> remote in FFI unit tests

As suggested by Charles-Henri Bruyand (thanks!).

2 years agodnsdist rpm builds: stop trying to ship dnsdist.conf.sample 12496/head
Peter van Dijk [Thu, 2 Feb 2023 09:11:27 +0000 (10:11 +0100)] 
dnsdist rpm builds: stop trying to ship dnsdist.conf.sample

2 years agoMerge pull request #12495 from jsoref/logging-tweaks
Otto Moerbeek [Tue, 31 Jan 2023 15:50:08 +0000 (16:50 +0100)] 
Merge pull request #12495 from jsoref/logging-tweaks

Logging tweaks

2 years agoAdjust level for parsing to Notice 12495/head
Josh Soref [Tue, 31 Jan 2023 13:49:01 +0000 (08:49 -0500)] 
Adjust level for parsing to Notice

This confirms to users that the zone has loaded.

2 years agoChange Non-fatal error initializing possible multiplexer logging to Warning
Josh Soref [Tue, 31 Jan 2023 13:27:53 +0000 (08:27 -0500)] 
Change Non-fatal error initializing possible multiplexer logging to Warning

2 years agoChange Parsing authoritative data for zone logging to Info
Josh Soref [Tue, 31 Jan 2023 13:27:30 +0000 (08:27 -0500)] 
Change Parsing authoritative data for zone logging to Info

2 years agoFix error loading rpz zone logging message
Josh Soref [Tue, 31 Jan 2023 13:24:38 +0000 (08:24 -0500)] 
Fix error loading rpz zone logging message

2 years agoMerge pull request #12491 from rgacogne/fix-spell
Remi Gacogne [Tue, 31 Jan 2023 12:17:37 +0000 (13:17 +0100)] 
Merge pull request #12491 from rgacogne/fix-spell

Fix spelling issues

2 years agoixfrdist /metrics: add unknown domain in-query counter
Peter van Dijk [Tue, 31 Jan 2023 09:48:27 +0000 (10:48 +0100)] 
ixfrdist /metrics: add unknown domain in-query counter

2 years agoixfrdist /metrics: quote label values; suffix counters with _total; remove full total...
Peter van Dijk [Mon, 30 Jan 2023 17:42:46 +0000 (18:42 +0100)] 
ixfrdist /metrics: quote label values; suffix counters with _total; remove full totals; add promtool test

2 years agorec: Fix inbalance -> imbalance in the upgrade guide 12491/head
Remi Gacogne [Tue, 31 Jan 2023 10:18:10 +0000 (11:18 +0100)] 
rec: Fix inbalance -> imbalance in the upgrade guide

2 years agospell-check: Allow 'zjs' for recursor's contributor zjs604381586
Remi Gacogne [Tue, 31 Jan 2023 10:17:30 +0000 (11:17 +0100)] 
spell-check: Allow 'zjs' for recursor's contributor zjs604381586

2 years agodnsdist: Add unit tests for the Lua FFI interface
Remi Gacogne [Tue, 24 Jan 2023 17:02:02 +0000 (18:02 +0100)] 
dnsdist: Add unit tests for the Lua FFI interface

2 years agodnsdist: Refactor 'cannot be used at runtime' handling 12492/head
Remi Gacogne [Mon, 30 Jan 2023 10:37:25 +0000 (11:37 +0100)] 
dnsdist: Refactor 'cannot be used at runtime' handling

I did not manage to avoid repeating the function name, unfortunately,
without writing something terribly ugly (mixing function-like macros
with lambdas), so for now this will have to do.

2 years agoMerge pull request #12490 from rgacogne/unbreak-pdns-string-view
Remi Gacogne [Tue, 31 Jan 2023 10:02:19 +0000 (11:02 +0100)] 
Merge pull request #12490 from rgacogne/unbreak-pdns-string-view

Fix a collision between #12417 and #11511

2 years agoMerge pull request #12485 from omoerbeek/rec-prep-4.8.2
Otto Moerbeek [Tue, 31 Jan 2023 09:09:41 +0000 (10:09 +0100)] 
Merge pull request #12485 from omoerbeek/rec-prep-4.8.2

rec: Prep for rec-4.8.2

2 years agoFix a collision between #12417 and #11511 12490/head
Remi Gacogne [Tue, 31 Jan 2023 08:52:44 +0000 (09:52 +0100)] 
Fix a collision between #12417 and #11511

I removed the pdns_string_view alias in #12417 as it was no longer
used, but merging #11511 actually reintroduced it, breaking the build.

2 years agoMerge pull request #12417 from rgacogne/ddist-async-alternate-name
Remi Gacogne [Tue, 31 Jan 2023 08:40:22 +0000 (09:40 +0100)] 
Merge pull request #12417 from rgacogne/ddist-async-alternate-name

dnsdist: Add the ability to change the qname and owner names in DNS packets

2 years agoMerge pull request #12481 from rgacogne/dnsdist-check-config
Remi Gacogne [Mon, 30 Jan 2023 13:25:48 +0000 (14:25 +0100)] 
Merge pull request #12481 from rgacogne/dnsdist-check-config

dnsdist: Fail if we can't check the configuration file

2 years agodnsdist: Fix the documentation, as suggested by Peter (thanks!) 12481/head
Remi Gacogne [Fri, 27 Jan 2023 14:32:51 +0000 (15:32 +0100)] 
dnsdist: Fix the documentation, as suggested by Peter (thanks!)

2 years agodnsdist: Document that we now require an existing configuration file
Remi Gacogne [Thu, 26 Jan 2023 17:17:48 +0000 (18:17 +0100)] 
dnsdist: Document that we now require an existing configuration file

2 years agodnsdist: Set up a default configuration file
Remi Gacogne [Thu, 26 Jan 2023 16:30:29 +0000 (17:30 +0100)] 
dnsdist: Set up a default configuration file

2 years agodnsdist: Fail if we can't check the configuration file
Remi Gacogne [Mon, 25 Mar 2019 10:41:09 +0000 (11:41 +0100)] 
dnsdist: Fail if we can't check the configuration file

2 years agoTypos and better words from @rgacogne 12485/head
Otto Moerbeek [Mon, 30 Jan 2023 10:01:35 +0000 (11:01 +0100)] 
Typos and better words from @rgacogne

2 years agoMerge pull request #12483 from rgacogne/ddist-doh-concurrent
Remi Gacogne [Mon, 30 Jan 2023 10:02:24 +0000 (11:02 +0100)] 
Merge pull request #12483 from rgacogne/ddist-doh-concurrent

dnsdist: Apply the max number of concurrent conns per client to DoH

2 years agoMerge pull request #12484 from rgacogne/ddist-fix-rcode-metrics-rcodeaction
Remi Gacogne [Mon, 30 Jan 2023 09:56:45 +0000 (10:56 +0100)] 
Merge pull request #12484 from rgacogne/ddist-fix-rcode-metrics-rcodeaction

dnsdist: Properly update rcode-related metrics on RCodeAction hits

2 years agoPrep for rec-4.8.2
Otto Moerbeek [Thu, 26 Jan 2023 10:25:13 +0000 (11:25 +0100)] 
Prep for rec-4.8.2

2 years agoMerge pull request #12479 from rgacogne/coverity-gh
Remi Gacogne [Fri, 27 Jan 2023 17:11:11 +0000 (18:11 +0100)] 
Merge pull request #12479 from rgacogne/coverity-gh

Add coverity scans to our daily GitHub actions flow, remove them from Circle CI

2 years agodnsdist: Add a regression test for RCodeAction-related metrics 12484/head
Remi Gacogne [Fri, 27 Jan 2023 16:31:54 +0000 (17:31 +0100)] 
dnsdist: Add a regression test for RCodeAction-related metrics

2 years agodnsdist: Properly update rcode-related metrics on RCodeAction hits
Remi Gacogne [Fri, 27 Jan 2023 16:30:32 +0000 (17:30 +0100)] 
dnsdist: Properly update rcode-related metrics on RCodeAction hits

2 years agoTry harder not to leak the coverity tokens 12479/head
Remi Gacogne [Fri, 27 Jan 2023 14:57:49 +0000 (15:57 +0100)] 
Try harder not to leak the coverity tokens

2 years agoMerge pull request #11511 from rgacogne/lmdb-small-speedup
Remi Gacogne [Fri, 27 Jan 2023 14:36:12 +0000 (15:36 +0100)] 
Merge pull request #11511 from rgacogne/lmdb-small-speedup

auth: Small performance improvement for the LMDB backend

2 years agoMerge pull request #12482 from rgacogne/fix-minicurl-el7
Remi Gacogne [Fri, 27 Jan 2023 14:31:58 +0000 (15:31 +0100)] 
Merge pull request #12482 from rgacogne/fix-minicurl-el7

MiniCurl: Fix building on versions older than 7.43.0

2 years agodnsdist: Document the change in the upgrade guide 12483/head
Remi Gacogne [Fri, 27 Jan 2023 14:30:03 +0000 (15:30 +0100)] 
dnsdist: Document the change in the upgrade guide

2 years agodnsdist: Add a regression test for the DoH concurrent conn limit
Remi Gacogne [Fri, 27 Jan 2023 14:26:35 +0000 (15:26 +0100)] 
dnsdist: Add a regression test for the DoH concurrent conn limit

2 years agodnsdist: Apply the max number of concurrent conns per client to DoH
Remi Gacogne [Fri, 27 Jan 2023 10:13:17 +0000 (11:13 +0100)] 
dnsdist: Apply the max number of concurrent conns per client to DoH

2 years agoDon't use product name in uploaded html docs 12448/head
Fred Morcos [Fri, 27 Jan 2023 14:18:59 +0000 (15:18 +0100)] 
Don't use product name in uploaded html docs

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agoMiniCurl: Fix building on versions older than 7.43.0 12482/head
Remi Gacogne [Fri, 27 Jan 2023 13:47:31 +0000 (14:47 +0100)] 
MiniCurl: Fix building on versions older than 7.43.0

2 years agoRemove the coverity scans from the Circle CI workflow
Remi Gacogne [Thu, 26 Jan 2023 14:52:00 +0000 (15:52 +0100)] 
Remove the coverity scans from the Circle CI workflow

2 years agoAdd coverity scans to our daily GitHub actions flow
Remi Gacogne [Wed, 25 Jan 2023 10:32:56 +0000 (11:32 +0100)] 
Add coverity scans to our daily GitHub actions flow

2 years agoMerge pull request #12473 from rgacogne/ddist-web-cache-mgmt
Remi Gacogne [Fri, 27 Jan 2023 08:20:17 +0000 (09:20 +0100)] 
Merge pull request #12473 from rgacogne/ddist-web-cache-mgmt

dnsdist: Add an API endpoint to remove entries from caches

2 years agoMerge pull request #12471 from rgacogne/ddist-enable-lto-ci
Remi Gacogne [Fri, 27 Jan 2023 08:19:37 +0000 (09:19 +0100)] 
Merge pull request #12471 from rgacogne/ddist-enable-lto-ci

dnsdist: Enable Link-Time Optimizations in our CI

2 years agoMerge pull request #12480 from rgacogne/dnsrecord-check-size-before-alloc
Remi Gacogne [Fri, 27 Jan 2023 08:19:24 +0000 (09:19 +0100)] 
Merge pull request #12480 from rgacogne/dnsrecord-check-size-before-alloc

Check the record size before allocating in PacketReader::copyRecord()

2 years agodnsdist: Add a test for an invalid name in the cache API 12473/head
Remi Gacogne [Thu, 26 Jan 2023 14:45:14 +0000 (15:45 +0100)] 
dnsdist: Add a test for an invalid name in the cache API

2 years agoMerge pull request #12470 from rgacogne/ddist-unordered-sets-for-records
Remi Gacogne [Thu, 26 Jan 2023 14:43:41 +0000 (15:43 +0100)] 
Merge pull request #12470 from rgacogne/ddist-unordered-sets-for-records

dnsdist: Rewrite/clear records from DNS packets slightly faster

2 years agodnsdist: Better HTTP error code for an invalid name in the cache API
Remi Gacogne [Thu, 26 Jan 2023 14:42:30 +0000 (15:42 +0100)] 
dnsdist: Better HTTP error code for an invalid name in the cache API

2 years agoCheck the record size before allocating in PacketReader::copyRecord() 12480/head
Remi Gacogne [Thu, 26 Jan 2023 14:07:02 +0000 (15:07 +0100)] 
Check the record size before allocating in PacketReader::copyRecord()

Technically that does not matter because the size is limited to
2^16-1 bytes, and if the size is incorrect we will throw during the
copy, but it's nicer to detect the incorrect size before allocating,
as suggested by Coverity (CID 383044).

2 years agoMerge pull request #12476 from rgacogne/fix-warnings
Remi Gacogne [Thu, 26 Jan 2023 13:58:59 +0000 (14:58 +0100)] 
Merge pull request #12476 from rgacogne/fix-warnings

Fix two minor warnings

2 years agoMerge pull request #12474 from rgacogne/ddist-dashboard-no-auth
Remi Gacogne [Thu, 26 Jan 2023 13:58:46 +0000 (14:58 +0100)] 
Merge pull request #12474 from rgacogne/ddist-dashboard-no-auth

dnsdist: Add an option for unauthenticated access to the dashboard

2 years agoMerge pull request #12478 from rgacogne/curl-protocols
Remi Gacogne [Thu, 26 Jan 2023 13:28:00 +0000 (14:28 +0100)] 
Merge pull request #12478 from rgacogne/curl-protocols

MiniCurl: Stop using the deprecated CURLOPT_PROTOCOLS on curl 7.85+

2 years agoEnable TSAN for bulk tests. 12477/head
Otto Moerbeek [Thu, 26 Jan 2023 09:04:36 +0000 (10:04 +0100)] 
Enable TSAN for bulk tests.

It seems that putting a sleep between the dnsbulktest runs in regression-tests/recursor-test circumvents the UDP packet loss issues.

Still have to find out how and why.

2 years agoMiniCurl: Stop using the deprecated CURLOPT_PROTOCOLS on curl 7.85+ 12478/head
Remi Gacogne [Thu, 26 Jan 2023 10:49:35 +0000 (11:49 +0100)] 
MiniCurl: Stop using the deprecated CURLOPT_PROTOCOLS on curl 7.85+

2 years agorec: run less bulktest variations
Otto Moerbeek [Thu, 26 Jan 2023 09:00:24 +0000 (10:00 +0100)] 
rec: run less bulktest variations

What we have been doing until now is a bit overkill.

2 years agodnsdist: Fix "unused variable 'now'" warning in test-dnsdistpacketcache_cc.cc 12476/head
Remi Gacogne [Thu, 26 Jan 2023 10:22:53 +0000 (11:22 +0100)] 
dnsdist: Fix "unused variable 'now'" warning in test-dnsdistpacketcache_cc.cc

2 years agorec: Fix 'format string is not a string literal' warning
Remi Gacogne [Thu, 26 Jan 2023 10:22:13 +0000 (11:22 +0100)] 
rec: Fix 'format string is not a string literal' warning

It turns out that we always use the same format string anyway.

2 years agoRemove the now useless pdns_string_view 12417/head
Remi Gacogne [Thu, 26 Jan 2023 08:49:20 +0000 (09:49 +0100)] 
Remove the now useless pdns_string_view

2 years agodnsdist: Apply suggestions on dnsdist::changeNameInDNSPacket()
Remi Gacogne [Thu, 26 Jan 2023 08:48:10 +0000 (09:48 +0100)] 
dnsdist: Apply suggestions on dnsdist::changeNameInDNSPacket()

2 years agoMerge pull request #12467 from omoerbeek/rec-structured-secpollmsg
Otto Moerbeek [Thu, 26 Jan 2023 08:30:08 +0000 (09:30 +0100)] 
Merge pull request #12467 from omoerbeek/rec-structured-secpollmsg

rec: do not use "message" as key, it has a special meaning to systemd-journal

2 years agodnsdist: Fix a typo in the documentation (dashbpard) 12474/head
Remi Gacogne [Wed, 25 Jan 2023 15:31:48 +0000 (16:31 +0100)] 
dnsdist: Fix a typo in the documentation (dashbpard)

2 years agodnsdist: Add an option for unauthenticated access to the dashboard
Remi Gacogne [Wed, 25 Jan 2023 15:29:51 +0000 (16:29 +0100)] 
dnsdist: Add an option for unauthenticated access to the dashboard

2 years agodnsdist: Add an API endpoint to remove entries from caches
Remi Gacogne [Wed, 25 Jan 2023 14:38:34 +0000 (15:38 +0100)] 
dnsdist: Add an API endpoint to remove entries from caches

2 years agoMerge pull request #12472 from Habbie/auth-tests-tkey.py-py3
Peter van Dijk [Wed, 25 Jan 2023 12:02:25 +0000 (13:02 +0100)] 
Merge pull request #12472 from Habbie/auth-tests-tkey.py-py3

auth tests tkey.py: explicitly use python3

2 years agoMerge pull request #12434 from omoerbeek/rec-log-fixes
Otto Moerbeek [Wed, 25 Jan 2023 10:15:02 +0000 (11:15 +0100)] 
Merge pull request #12434 from omoerbeek/rec-log-fixes

rec: unify trace logging

2 years agoProcess review comments from @rgacogne, thanks! 12434/head
Otto Moerbeek [Wed, 25 Jan 2023 09:18:01 +0000 (10:18 +0100)] 
Process review comments from @rgacogne, thanks!

2 years agoMerge pull request #12454 from omoerbeek/rec-test-libcypto
Otto Moerbeek [Wed, 25 Jan 2023 08:53:29 +0000 (09:53 +0100)] 
Merge pull request #12454 from omoerbeek/rec-test-libcypto

rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern

2 years agoMerge pull request #12465 from omoerbeek/misc-cleanup
Otto Moerbeek [Wed, 25 Jan 2023 06:29:45 +0000 (07:29 +0100)] 
Merge pull request #12465 from omoerbeek/misc-cleanup

Assorted cleanup of misc.cc and misc.hh

2 years agoauth tests tkey.py: explicitly use python3 12472/head
Peter van Dijk [Tue, 24 Jan 2023 19:44:52 +0000 (20:44 +0100)] 
auth tests tkey.py: explicitly use python3

2 years agodnsdist: Use llvm-ar and llvm-ranlib when LTO is enabled 12471/head
Remi Gacogne [Mon, 23 Jan 2023 13:34:29 +0000 (14:34 +0100)] 
dnsdist: Use llvm-ar and llvm-ranlib when LTO is enabled

2 years agodnsdist: Enable Link-Time Optimizations in our CI
Remi Gacogne [Mon, 23 Jan 2023 11:21:28 +0000 (12:21 +0100)] 
dnsdist: Enable Link-Time Optimizations in our CI

2 years agodnsdist: Rewrite/clear records from DNS packets slightly faster 12470/head
Remi Gacogne [Tue, 24 Jan 2023 17:23:37 +0000 (18:23 +0100)] 
dnsdist: Rewrite/clear records from DNS packets slightly faster

By using `std::unordered_set` instead of `std::set`.

2 years agodnsdist: Add Lua FFI interfaces for changing the qname of a query
Remi Gacogne [Fri, 13 Jan 2023 11:36:49 +0000 (12:36 +0100)] 
dnsdist: Add Lua FFI interfaces for changing the qname of a query

2 years agodnsdist: Add DNSQuestion:changeName() to change the target of a query
Remi Gacogne [Fri, 13 Jan 2023 10:57:41 +0000 (11:57 +0100)] 
dnsdist: Add DNSQuestion:changeName() to change the target of a query

2 years agodnsdist: Add the ability to change the qname and owner names in DNS packets
Remi Gacogne [Thu, 12 Jan 2023 15:21:59 +0000 (16:21 +0100)] 
dnsdist: Add the ability to change the qname and owner names in DNS packets

2 years agorec: do not use "message" as key, it has a special meaning to systemd-journal 12467/head
Otto Moerbeek [Tue, 24 Jan 2023 15:52:11 +0000 (16:52 +0100)] 
rec: do not use "message" as key, it has a special meaning to systemd-journal

Fixes #12466

A more fundamental approach would be to make sure to not use keys that
have special meaning to systemd-journal in the structured logging backend code.

2 years agoAssorted cleanup of misc.cc and misc.hh 12465/head
Otto Moerbeek [Tue, 24 Jan 2023 13:35:43 +0000 (14:35 +0100)] 
Assorted cleanup of misc.cc and misc.hh

clang-tidy assisted. Much more to be done, but this is it for now

2 years agoMerge pull request #12388 from rgacogne/ddist-async
Remi Gacogne [Tue, 24 Jan 2023 12:34:56 +0000 (13:34 +0100)] 
Merge pull request #12388 from rgacogne/ddist-async

dnsdist: Implement async processing of queries and responses

2 years agoMerge pull request #12441 from rgacogne/enable-lto
Remi Gacogne [Tue, 24 Jan 2023 12:27:08 +0000 (13:27 +0100)] 
Merge pull request #12441 from rgacogne/enable-lto

Add a configure option to enable LTO

2 years agoMerge pull request #12424 from rgacogne/ddist-carbon-2
Remi Gacogne [Tue, 24 Jan 2023 10:30:16 +0000 (11:30 +0100)] 
Merge pull request #12424 from rgacogne/ddist-carbon-2

dnsdist: Better handling of multiple carbon servers

2 years agodnsdist: Use normalizeTV() and timeval operator+/operator- 12388/head
Remi Gacogne [Tue, 24 Jan 2023 10:16:18 +0000 (11:16 +0100)] 
dnsdist: Use normalizeTV() and timeval operator+/operator-

As suggested by Otto (thanks!).

2 years agomplexer: Fix infinite (-1) timeout with kqueue and ports implementations
Remi Gacogne [Tue, 24 Jan 2023 10:05:17 +0000 (11:05 +0100)] 
mplexer: Fix infinite (-1) timeout with kqueue and ports implementations

2 years agoMerge pull request #12414 from fredmorcos/openssl3-rsa-prep
Remi Gacogne [Mon, 23 Jan 2023 16:58:52 +0000 (17:58 +0100)] 
Merge pull request #12414 from fredmorcos/openssl3-rsa-prep

Openssl 3.0: RSA prep work

2 years agoMerge pull request #12422 from rgacogne/ddist-notify-axfr-cache
Remi Gacogne [Mon, 23 Jan 2023 16:56:45 +0000 (17:56 +0100)] 
Merge pull request #12422 from rgacogne/ddist-notify-axfr-cache

dnsdist: Document interactions between XFR, NOTIFY and the cache