]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
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: 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 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 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 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 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

2 years agoMerge pull request #12453 from Habbie/lockhh-stdexcept
Peter van Dijk [Mon, 23 Jan 2023 15:58:24 +0000 (16:58 +0100)] 
Merge pull request #12453 from Habbie/lockhh-stdexcept

lock.hh: include <stdexcept>

2 years agodnsdist: Stop caching responses to XFR queries 12422/head
Remi Gacogne [Mon, 23 Jan 2023 14:56:24 +0000 (15:56 +0100)] 
dnsdist: Stop caching responses to XFR queries

2 years agorec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern 12454/head
Otto Moerbeek [Mon, 23 Jan 2023 14:24:14 +0000 (15:24 +0100)] 
rec: fix test_libcrypto's scan for dup libcrypto by using a proper pattern

Fixes #12450

2 years agodnsdist: Simplify the sample rule to disable caching for NOTIFY queries
Remi Gacogne [Mon, 23 Jan 2023 14:13:50 +0000 (15:13 +0100)] 
dnsdist: Simplify the sample rule to disable caching for NOTIFY queries

2 years agodnsdist: Fix a typo (ORRule -> OrRule) in the XFR documentation
Remi Gacogne [Mon, 23 Jan 2023 14:13:21 +0000 (15:13 +0100)] 
dnsdist: Fix a typo (ORRule -> OrRule) in the XFR documentation

2 years agoCleanup OpenSSL RSA DCKE 12414/head
Fred Morcos [Sat, 12 Nov 2022 04:37:21 +0000 (05:37 +0100)] 
Cleanup OpenSSL RSA DCKE

2 years agoFormatting OpenSSL RSA DCKE
Fred Morcos [Fri, 11 Nov 2022 09:28:09 +0000 (10:28 +0100)] 
Formatting OpenSSL RSA DCKE

2 years agolock.hh: include <stdexcept> 12453/head
Peter van Dijk [Mon, 23 Jan 2023 13:54:09 +0000 (14:54 +0100)] 
lock.hh: include <stdexcept>

2 years agoMerge pull request #12451 from rgacogne/ci-init-pattern
Remi Gacogne [Mon, 23 Jan 2023 13:36:08 +0000 (14:36 +0100)] 
Merge pull request #12451 from rgacogne/ci-init-pattern

CI: Initialize automatic variables to a pattern in our CI

2 years agoMerge pull request #12395 from zjs604381586/fixed-negcache
Otto Moerbeek [Mon, 23 Jan 2023 12:11:35 +0000 (13:11 +0100)] 
Merge pull request #12395 from zjs604381586/fixed-negcache

When the stale function is triggered, wrong data can be returned from negcache and record cache

2 years agoMerge pull request #12304 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2022...
Peter van Dijk [Mon, 23 Jan 2023 11:39:23 +0000 (12:39 +0100)] 
Merge pull request #12304 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2022.12.7

build(deps): bump certifi from 2021.10.8 to 2022.12.7 in /pdns/keyroller

2 years agodnsdist: Apply Otto's remarks to the new carbon code 12424/head
Remi Gacogne [Mon, 23 Jan 2023 11:12:54 +0000 (12:12 +0100)] 
dnsdist: Apply Otto's remarks to the new carbon code

- We now explicitly convert to double, making sure that we will not
  overflow by restricting the value of the counter
- Clear the endpoints list when the carbon threads are started, to
  make clear we do not need them anymore
- Move the endpoints passed to the carbon threads, to make static
  analysis tools happy.

2 years agorec: Initialize automatic variables to a pattern in our CI 12451/head
Remi Gacogne [Mon, 23 Jan 2023 10:43:39 +0000 (11:43 +0100)] 
rec: Initialize automatic variables to a pattern in our CI

2 years agoauth: Initialize automatic variables to a pattern in our CI
Remi Gacogne [Mon, 23 Jan 2023 10:43:20 +0000 (11:43 +0100)] 
auth: Initialize automatic variables to a pattern in our CI

2 years agodnsdist: Initialize automatic variables to a pattern in our CI
Remi Gacogne [Mon, 23 Jan 2023 10:41:58 +0000 (11:41 +0100)] 
dnsdist: Initialize automatic variables to a pattern in our CI

2 years agodnsdist: Really fix time computation in the async unit tests
Remi Gacogne [Mon, 23 Jan 2023 09:58:29 +0000 (10:58 +0100)] 
dnsdist: Really fix time computation in the async unit tests

2 years agoMerge pull request #12427 from rgacogne/init-auto-vars
Remi Gacogne [Mon, 23 Jan 2023 09:56:08 +0000 (10:56 +0100)] 
Merge pull request #12427 from rgacogne/init-auto-vars

Add a new configure option to initialize automatic variables

2 years agoMerge pull request #12433 from rgacogne/ci-fortify-3
Remi Gacogne [Mon, 23 Jan 2023 09:55:19 +0000 (10:55 +0100)] 
Merge pull request #12433 from rgacogne/ci-fortify-3

Enable the highest supported level of `FORTIFY_SOURCE` in our CI tests

2 years agoauth: Speedup DNSRecordContent::deserialize() a little 11511/head
Remi Gacogne [Tue, 21 Sep 2021 15:14:03 +0000 (17:14 +0200)] 
auth: Speedup DNSRecordContent::deserialize() a little

The move from a vector to a PacketBuffer prevents the memory from
being zeroed while we are going to overwrite it right away.
The change from MOADNSParser to PacketReader avoids the need to
copy the header and the whole packet (allocation + copy),
parse the qname again, as well as the allocation of a vector of records
while we know we have only one of these.

2 years agotypoe in comment 12395/head
Otto Moerbeek [Mon, 23 Jan 2023 09:41:57 +0000 (10:41 +0100)] 
typoe in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoauth: Skip a string allocation in LMDBBackend::get()
Remi Gacogne [Tue, 21 Sep 2021 15:12:53 +0000 (17:12 +0200)] 
auth: Skip a string allocation in LMDBBackend::get()

2 years agoMerge pull request #12444 from omoerbeek/rec-qm-ds-fallback
Otto Moerbeek [Mon, 23 Jan 2023 09:30:57 +0000 (10:30 +0100)] 
Merge pull request #12444 from omoerbeek/rec-qm-ds-fallback

rec:  Do *not* use QName Minimization for DS retrievals in QM fallback mode.

2 years agoAdd two test for the CNAME case and use proper named TTLs in various places
Otto Moerbeek [Mon, 23 Jan 2023 09:29:18 +0000 (10:29 +0100)] 
Add two test for the CNAME case and use proper named TTLs in various places

2 years agoMerge pull request #11600 from rgacogne/auth-speedup-rsa-ecdsa-signatures-cleaner
Peter van Dijk [Mon, 23 Jan 2023 09:27:55 +0000 (10:27 +0100)] 
Merge pull request #11600 from rgacogne/auth-speedup-rsa-ecdsa-signatures-cleaner

auth: Speed up ECDSA and RSA signatures

2 years agoMerge pull request #12447 from rgacogne/ddist-clang-warnings
Remi Gacogne [Mon, 23 Jan 2023 09:22:50 +0000 (10:22 +0100)] 
Merge pull request #12447 from rgacogne/ddist-clang-warnings

dnsdist: Fix a couple warnings reported by clang++

2 years agoMerge pull request #12446 from omoerbeek/rec-stack-protector
Otto Moerbeek [Mon, 23 Jan 2023 06:53:51 +0000 (07:53 +0100)] 
Merge pull request #12446 from omoerbeek/rec-stack-protector

Rec: stack protector for mthread stacks

2 years ago1024 is not enough with ASN + UBSAN, so go for 1536 12446/head
Otto Moerbeek [Fri, 20 Jan 2023 16:19:01 +0000 (17:19 +0100)] 
1024 is not enough with ASN + UBSAN, so go for 1536

2 years agodnsdist: Fix a couple warnings reported by clang++ 12447/head
Remi Gacogne [Fri, 20 Jan 2023 15:32:08 +0000 (16:32 +0100)] 
dnsdist: Fix a couple warnings reported by clang++

2 years agoAllow for some headroom, needed with TSAN
Otto Moerbeek [Fri, 20 Jan 2023 15:25:00 +0000 (16:25 +0100)] 
Allow for some headroom, needed with TSAN

2 years agoMerge pull request #12445 from omoerbeek/rec-2023-01-followup
Otto Moerbeek [Fri, 20 Jan 2023 15:10:20 +0000 (16:10 +0100)] 
Merge pull request #12445 from omoerbeek/rec-2023-01-followup

rec: Add a bit more explanation to advisory

2 years agoTest case for a record becoming available from an auth while being served stale ...
Otto Moerbeek [Fri, 20 Jan 2023 15:08:47 +0000 (16:08 +0100)] 
Test case for a record becoming available from an auth while being served stale (negatively) by rec.

2 years agoMerge pull request #12421 from rgacogne/ddist-skip-invalid-ocsp
Remi Gacogne [Fri, 20 Jan 2023 15:07:48 +0000 (16:07 +0100)] 
Merge pull request #12421 from rgacogne/ddist-skip-invalid-ocsp

dnsdist: Skip invalid OCSP files after issuing a warning

2 years agomissing word in comment
Otto Moerbeek [Fri, 20 Jan 2023 14:38:40 +0000 (15:38 +0100)] 
missing word in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>