]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoCoverity fixes: auto_causes_copy and sprinkle const as well 11986/head
Otto Moerbeek [Wed, 21 Sep 2022 07:52:55 +0000 (09:52 +0200)] 
Coverity fixes: auto_causes_copy and sprinkle const as well

Coverity 14912751491274149127214912711491270149126914912641491263

2 years agoCoverity reports of time_t truncation, all because of protocol uses unsigned 32 bit...
Otto Moerbeek [Wed, 21 Sep 2022 07:41:24 +0000 (09:41 +0200)] 
Coverity reports of time_t truncation, all because of protocol uses unsigned 32 bit time

Coverity 149824914912731491268149126714912661491265

2 years agoBetter wording for docs 11958/head
Otto Moerbeek [Tue, 20 Sep 2022 13:25:39 +0000 (15:25 +0200)] 
Better wording for docs

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoAdd unit test for simple cache locking case
Otto Moerbeek [Wed, 14 Sep 2022 11:01:43 +0000 (13:01 +0200)] 
Add unit test for simple cache locking case

2 years agoFeature to lock record sets in the records cache.
Otto Moerbeek [Tue, 13 Sep 2022 09:27:24 +0000 (11:27 +0200)] 
Feature to lock record sets in the records cache.

The idea is that this provides an extra layer of protection against spoofing.
To quote from the docs

This adds an extra layer of protection---as it limits the window of time cache updates are accepted---at the cost of a less efficient record cache.

The default value of 0 means no extra locking occurs.
When non-zero, record sets received (e.g. in the Additional Section) will not replace existing record sets in the record cache until the given percentage of the original TTL has expired.
A value of 100 means only expired record sets will be replaced.

There are a few cases where records will be replaced anyway:

- Record sets that are expired will always be replaced.
- If the new record set passed DNSSEC validation it will replace an existing entry.
- Record sets produced by refresh-on-ttl-perc tasks will also replace existing record sets.

2 years agoMerge pull request #11950 from aerique/feature/add-more-auth-47-to-repo-script
Peter van Dijk [Tue, 13 Sep 2022 10:55:24 +0000 (12:55 +0200)] 
Merge pull request #11950 from aerique/feature/add-more-auth-47-to-repo-script

Add auth-47 for Ubuntu Jammy and EL9 to test script.

2 years agoAdd auth-47 for Ubuntu Jammy and EL9 to test script. 11950/head
Erik Winkels [Tue, 13 Sep 2022 10:26:58 +0000 (12:26 +0200)] 
Add auth-47 for Ubuntu Jammy and EL9 to test script.

2 years agoMerge pull request #11835 from Habbie/auth-4.7.0-beta2-docs
Peter van Dijk [Tue, 13 Sep 2022 08:31:10 +0000 (10:31 +0200)] 
Merge pull request #11835 from Habbie/auth-4.7.0-beta2-docs

auth-4.7.0-beta2: secpoll and docs

2 years agoauth-4.7.0-beta2: secpoll and docs 11835/head
Peter van Dijk [Mon, 8 Aug 2022 12:16:16 +0000 (14:16 +0200)] 
auth-4.7.0-beta2: secpoll and docs

2 years agoMerge pull request #11933 from Habbie/luarecord-atomicinit
Peter van Dijk [Mon, 12 Sep 2022 11:39:28 +0000 (13:39 +0200)] 
Merge pull request #11933 from Habbie/luarecord-atomicinit

auth LUA: fix "braces around scalar initializer" warning

2 years agoMerge pull request #11935 from Habbie/lifetimeof
Otto Moerbeek [Mon, 12 Sep 2022 10:38:17 +0000 (12:38 +0200)] 
Merge pull request #11935 from Habbie/lifetimeof

rec docs: fix spelling error (lifetimeof is not a word)

2 years agoauth LUA: fix "braces around scalar initializer" warning 11933/head
Peter van Dijk [Mon, 12 Sep 2022 07:36:56 +0000 (09:36 +0200)] 
auth LUA: fix "braces around scalar initializer" warning

inspired by #6188

2 years agoMerge pull request #11932 from mind04/pdns-warning
Peter van Dijk [Mon, 12 Sep 2022 08:39:45 +0000 (10:39 +0200)] 
Merge pull request #11932 from mind04/pdns-warning

auth: fix gcc warning, no prevous declaration for ‘void carbonDumpT…

2 years agoMerge pull request #11907 from fredmorcos/fred/9435-recursor-config-check
Fred Morcos [Mon, 12 Sep 2022 08:08:58 +0000 (10:08 +0200)] 
Merge pull request #11907 from fredmorcos/fred/9435-recursor-config-check

Recursor: Add `--config[=check|=diff|=default]`

2 years agorec docs: fix spelling error (lifetimeof is not a word) 11935/head
Peter van Dijk [Mon, 12 Sep 2022 07:41:36 +0000 (09:41 +0200)] 
rec docs: fix spelling error (lifetimeof is not a word)

2 years agoauth: fix gcc warning, no prevous declaration for ‘void carbonDumpThread()’ 11932/head
Kees Monshouwer [Mon, 12 Sep 2022 07:22:21 +0000 (09:22 +0200)] 
auth: fix gcc warning, no prevous declaration for ‘void carbonDumpThread()’

2 years agoMerge pull request #11929 from Habbie/lua-thread-mutex
Peter van Dijk [Sun, 11 Sep 2022 12:51:21 +0000 (14:51 +0200)] 
Merge pull request #11929 from Habbie/lua-thread-mutex

auth LUA records: we only need one IsUpOracle checker thread

2 years agoauth LUA records: we only need one IsUpOracle checker thread 11929/head
Peter van Dijk [Sun, 11 Sep 2022 11:31:02 +0000 (13:31 +0200)] 
auth LUA records: we only need one IsUpOracle checker thread

2 years agoMerge pull request #11826 from zeha/auth-main-cleanup
Peter van Dijk [Sun, 11 Sep 2022 11:27:52 +0000 (13:27 +0200)] 
Merge pull request #11826 from zeha/auth-main-cleanup

auth: somewhat cleanup global symbols

2 years agoMerge pull request #11926 from smellyspice/patch-1
Peter van Dijk [Sat, 10 Sep 2022 14:23:34 +0000 (16:23 +0200)] 
Merge pull request #11926 from smellyspice/patch-1

fix typo

2 years agofix typo 11926/head
Robert Schwartz [Sat, 10 Sep 2022 14:21:20 +0000 (10:21 -0400)] 
fix typo

2 years agoRename g_distributors to s_distributors 11826/head
Chris Hofstaedtler [Wed, 10 Aug 2022 12:54:33 +0000 (14:54 +0200)] 
Rename g_distributors to s_distributors

2 years agoRename g_udpReceivers to s_udpReceivers
Chris Hofstaedtler [Wed, 10 Aug 2022 12:54:18 +0000 (14:54 +0200)] 
Rename g_udpReceivers to s_udpReceivers

2 years agoRename g_DynListener to s_dynListener
Chris Hofstaedtler [Wed, 10 Aug 2022 12:53:02 +0000 (14:53 +0200)] 
Rename g_DynListener to s_dynListener

2 years agoRename s_starttime, s_programname
Chris Hofstaedtler [Wed, 10 Aug 2022 12:51:21 +0000 (14:51 +0200)] 
Rename s_starttime, s_programname

2 years agoauth: rename dl to g_DynListener
Chris Hofstaedtler [Wed, 3 Aug 2022 19:52:58 +0000 (21:52 +0200)] 
auth: rename dl to g_DynListener

2 years agoauth: rename TN to s_tcpNameserver and make static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:49:52 +0000 (21:49 +0200)] 
auth: rename TN to s_tcpNameserver and make static

2 years agoauth: rename N to s_udpNameserver and make static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:44:52 +0000 (21:44 +0200)] 
auth: rename N to s_udpNameserver and make static

2 years agoauth: remove unnecessary, duplicate extern defines
Chris Hofstaedtler [Wed, 3 Aug 2022 19:39:52 +0000 (21:39 +0200)] 
auth: remove unnecessary, duplicate extern defines

2 years agoauth: make most startup functions static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:34:31 +0000 (21:34 +0200)] 
auth: make most startup functions static

2 years agoauth: make g_udpReceivers static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:34:06 +0000 (21:34 +0200)] 
auth: make g_udpReceivers static

2 years agoauth: make dl (DynListener) static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:32:07 +0000 (21:32 +0200)] 
auth: make dl (DynListener) static

2 years agodns.hh: move SOAData, DNSBackend to auth-only dnsbackend.hh
Chris Hofstaedtler [Wed, 3 Aug 2022 18:56:06 +0000 (20:56 +0200)] 
dns.hh: move SOAData, DNSBackend to auth-only dnsbackend.hh

2 years agoauth: make {avg,receive,cache,backend,send}_latency static
Chris Hofstaedtler [Wed, 3 Aug 2022 18:53:16 +0000 (20:53 +0200)] 
auth: make {avg,receive,cache,backend,send}_latency static

2 years agoauth: move s_starttime from dns.hh to auth-main.hh
Chris Hofstaedtler [Wed, 3 Aug 2022 18:52:11 +0000 (20:52 +0200)] 
auth: move s_starttime from dns.hh to auth-main.hh

Variable storage is in auth-main.cc, and dns.hh is used by all products.

2 years agoMerge pull request #11920 from omoerbeek/auth-gsstsig-followup
Peter van Dijk [Fri, 9 Sep 2022 22:37:22 +0000 (00:37 +0200)] 
Merge pull request #11920 from omoerbeek/auth-gsstsig-followup

auth: Fix CID 1497843: Execution cannot reach this statement

2 years agoMerge pull request #11890 from omoerbeek/rec-dnskey-failure-insecure
Otto Moerbeek [Fri, 9 Sep 2022 15:15:38 +0000 (17:15 +0200)] 
Merge pull request #11890 from omoerbeek/rec-dnskey-failure-insecure

rec: Failure to retrieve DNSKEYs of an Insecure zone should not be fatal.

2 years agoFailure to retrieve DNSKEYs of an Insecure zone should not be fatal. 11890/head
Otto Moerbeek [Wed, 31 Aug 2022 08:34:18 +0000 (10:34 +0200)] 
Failure to retrieve DNSKEYs of an Insecure zone should not be fatal.

This issue happens if a record set is signed even though the zone
itself is Insecure. Syncres then tries to retrieve DNSKEYs and a
timeout on that would lead to an ImmediateServFailException.

Only throw exception later in validateRecordsWithSigs, after checking
zone cuts, when we are sure the zone is Secure.

2 years agoMerge pull request #11776 from omoerbeek/rec-serve-stale2
Otto Moerbeek [Fri, 9 Sep 2022 13:18:02 +0000 (15:18 +0200)] 
Merge pull request #11776 from omoerbeek/rec-serve-stale2

Rec: serve stale

2 years agorec: Implement --config[=default|=check|=diff] 11907/head
Fred Morcos [Tue, 6 Sep 2022 13:18:37 +0000 (15:18 +0200)] 
rec: Implement --config[=default|=check|=diff]

Closes #9435

2 years agorec: Fix error message
Fred Morcos [Wed, 7 Sep 2022 10:20:56 +0000 (12:20 +0200)] 
rec: Fix error message

2 years agoCleanup
Fred Morcos [Wed, 7 Sep 2022 09:45:12 +0000 (11:45 +0200)] 
Cleanup

2 years agoMerge pull request #11918 from mind04/auth-api-nsec3parm
Peter van Dijk [Fri, 9 Sep 2022 08:12:37 +0000 (10:12 +0200)] 
Merge pull request #11918 from mind04/auth-api-nsec3parm

auth: api, nsec3param improvements

2 years agoMerge pull request #11919 from mind04/auth-gcc-warning
Peter van Dijk [Fri, 9 Sep 2022 07:56:51 +0000 (09:56 +0200)] 
Merge pull request #11919 from mind04/auth-gcc-warning

auth: fix gcc warning

2 years agoTypos in comments 11776/head
Otto Moerbeek [Fri, 9 Sep 2022 06:45:14 +0000 (08:45 +0200)] 
Typos in comments

2 years agoAdd a comment block describing how serve-stale works
Otto Moerbeek [Mon, 11 Jul 2022 13:25:48 +0000 (15:25 +0200)] 
Add a comment block describing how serve-stale works
Plus docs and a few tweaks

2 years agoBasic serve-stale test
Otto Moerbeek [Mon, 11 Jul 2022 11:55:58 +0000 (13:55 +0200)] 
Basic serve-stale test

2 years agoAdd a setNow() method to SyncRes for cache debugging/testing purposes
Otto Moerbeek [Mon, 11 Jul 2022 11:55:22 +0000 (13:55 +0200)] 
Add a setNow() method to SyncRes for cache debugging/testing purposes

2 years agoWhen refreshing, consider entries being served stale as *really* stale
Otto Moerbeek [Fri, 8 Jul 2022 11:49:34 +0000 (13:49 +0200)] 
When refreshing, consider entries being served stale as *really* stale

2 years agoNegcache serve-stale
Otto Moerbeek [Mon, 4 Jul 2022 07:54:09 +0000 (09:54 +0200)] 
Negcache serve-stale

This commit also disables some of the ecs changes, as it was causing a unit-test failure.

2 years agoMake serve stale more robust by making the view of the record cache
Otto Moerbeek [Fri, 1 Jul 2022 11:03:29 +0000 (13:03 +0200)] 
Make serve stale more robust by making the view of the record cache
and SyncRes consistent: remove the > 5 for the ttl test in SyncRes
glue access code.

Plus fix a few record cache get flags

2 years agoMake serveStale a field instead of a parameter passed around
Otto Moerbeek [Wed, 29 Jun 2022 09:46:51 +0000 (11:46 +0200)] 
Make serveStale a field instead of a parameter passed around

2 years agoChange main serve stale loop to catch exception
Otto Moerbeek [Wed, 29 Jun 2022 09:19:06 +0000 (11:19 +0200)] 
Change main serve stale loop to catch exception

2 years agoHandle serve stale for infra queries
Otto Moerbeek [Wed, 29 Jun 2022 09:03:14 +0000 (11:03 +0200)] 
Handle serve stale for infra queries

2 years agoImplementation of serve-stale from record cache.
Otto Moerbeek [Tue, 14 Jun 2022 13:42:41 +0000 (15:42 +0200)] 
Implementation of serve-stale from record cache.

If a resolve fails, we try it again with serveStale is true.  If
serveStale is true or a record is already being server stale, the
record cache is willing to produce (and extend the ttd) of stale
records. It wil also keep a count of the extensions, to be able to
limit those and trigger a task te refresh once every while.

If we (potentially) serve stale, we are less aggessive evicting
stale records from the record cache.

Enable by setting server-stale-extensions (default 0). The unit is
30s. So a value of 2880 will keep serving the record for 24 hours, even
if it cannot be refreshed. If the original ttl of a record is less than 30,
the extension unit will be that ttl.

2 years agoMove from a few booleans to flags for MemRecursorCache::get()
Otto Moerbeek [Tue, 14 Jun 2022 10:14:15 +0000 (12:14 +0200)] 
Move from a few booleans to flags for MemRecursorCache::get()

2 years agoMerge pull request #11904 from omoerbeek/rec-sample-ns2
Otto Moerbeek [Fri, 9 Sep 2022 07:27:23 +0000 (09:27 +0200)] 
Merge pull request #11904 from omoerbeek/rec-sample-ns2

rec: For zones having many NS records take a sample

2 years agoFix CID 1497843: Execution cannot reach this statement 11920/head
Otto Moerbeek [Fri, 9 Sep 2022 07:11:06 +0000 (09:11 +0200)] 
Fix CID 1497843: Execution cannot reach this statement

Followup to #11143.

Not a bug per se, but the unreachable code should be guarded by proper #ifdef

2 years agoauth: fix gcc warning 11919/head
Kees Monshouwer [Thu, 8 Sep 2022 20:50:31 +0000 (22:50 +0200)] 
auth: fix gcc warning

2 years agoauth: api, nsec3param improvements 11918/head
Kees Monshouwer [Thu, 8 Sep 2022 15:01:33 +0000 (17:01 +0200)] 
auth: api, nsec3param improvements

2 years agoMerge pull request #11508 from klaus-nicat/soa-check-skip-doflag
Peter van Dijk [Thu, 8 Sep 2022 09:21:49 +0000 (11:21 +0200)] 
Merge pull request #11508 from klaus-nicat/soa-check-skip-doflag

New setting compare-signatures-on-zone-freshness-check to disable DO flag for SOA checks

2 years agoMerge pull request #11860 from omoerbeek/auth-macos-libcrypto
Peter van Dijk [Thu, 8 Sep 2022 09:20:29 +0000 (11:20 +0200)] 
Merge pull request #11860 from omoerbeek/auth-macos-libcrypto

Auth: fix libcrypto handling in automake files

2 years agoMerge pull request #11858 from mind04/auth-sdig-swap
Peter van Dijk [Thu, 8 Sep 2022 07:03:07 +0000 (09:03 +0200)] 
Merge pull request #11858 from mind04/auth-sdig-swap

auth: change sdig output order

2 years agoMerge pull request #11143 from omoerbeek/gssapi
Peter van Dijk [Thu, 8 Sep 2022 07:00:46 +0000 (09:00 +0200)] 
Merge pull request #11143 from omoerbeek/gssapi

auth: Reintroduce GSS-TSIG processing

2 years agoMerge pull request #11908 from mind04/auth-zonecache-init
Peter van Dijk [Thu, 8 Sep 2022 06:58:44 +0000 (08:58 +0200)] 
Merge pull request #11908 from mind04/auth-zonecache-init

auth: initialize zone cache after dropping privileges

2 years agoFor zones having many NS records, we are not interested in all so take a sample. 11904/head
Otto Moerbeek [Tue, 6 Sep 2022 07:50:52 +0000 (09:50 +0200)] 
For zones having many NS records, we are not interested in all so take a sample.

2 years agoMerge pull request #11906 from omoerbeek/rec-auth-padding
Otto Moerbeek [Wed, 7 Sep 2022 08:13:36 +0000 (10:13 +0200)] 
Merge pull request #11906 from omoerbeek/rec-auth-padding

rec: Implement padding of (DoT) messages to auth

2 years agoMerge pull request #11800 from fredmorcos/log-fix
Otto Moerbeek [Wed, 7 Sep 2022 07:59:13 +0000 (09:59 +0200)] 
Merge pull request #11800 from fredmorcos/log-fix

Log socket directory

2 years agoMerge pull request #11862 from rgacogne/unfck-openssl-3
Remi Gacogne [Wed, 7 Sep 2022 07:57:31 +0000 (09:57 +0200)] 
Merge pull request #11862 from rgacogne/unfck-openssl-3

libssl: Properly load ciphers and digests with OpenSSL 3.0

2 years agoauth: initialize zone cache after dropping privileges 11908/head
Kees Monshouwer [Tue, 6 Sep 2022 13:52:51 +0000 (15:52 +0200)] 
auth: initialize zone cache after dropping privileges

2 years agoDocs and setting (edns-padding-out, defaults to "yes"). 11906/head
Otto Moerbeek [Tue, 6 Sep 2022 14:02:25 +0000 (16:02 +0200)] 
Docs and setting (edns-padding-out, defaults to "yes").

2 years agoFormatting
Fred Morcos [Tue, 6 Sep 2022 13:07:42 +0000 (15:07 +0200)] 
Formatting

2 years agoImplement padding of (DoT) messages to auth
Otto Moerbeek [Tue, 6 Sep 2022 11:30:21 +0000 (13:30 +0200)] 
Implement padding of (DoT) messages to auth

2 years agoCleanup
Fred Morcos [Tue, 6 Sep 2022 10:36:40 +0000 (12:36 +0200)] 
Cleanup

2 years agoMerge pull request #11889 from FredericDT/master
Remi Gacogne [Mon, 5 Sep 2022 07:38:49 +0000 (09:38 +0200)] 
Merge pull request #11889 from FredericDT/master

dnsdist: Add local ComboAddress parameter for SBind() at TeeAction()

2 years agoAdapt update policy load to new loadFile semantics, which throws on error. 11143/head
Otto Moerbeek [Fri, 2 Sep 2022 12:33:31 +0000 (14:33 +0200)] 
Adapt update policy load to new loadFile semantics, which throws on error.

2 years agoMore strict ENABLE_GSS_TSIG #ifdefs and checking of g_doGSSTSIG.
Otto Moerbeek [Fri, 2 Sep 2022 10:39:32 +0000 (12:39 +0200)] 
More strict ENABLE_GSS_TSIG #ifdefs and checking of g_doGSSTSIG.

In some (low level) code, g_doGSSTSIG cannot be used as the code is shared betwen various executables,
but the functionality should be conditional in the higher level processing.

This is a bit tricky to get right, so carefull checks needed.

2 years agospelling, review comments
Peter van Dijk [Fri, 25 Mar 2022 13:16:19 +0000 (14:16 +0100)] 
spelling, review comments

2 years agolibgss is not needed for build (it provides yet another gssapi implementation), but...
Otto Moerbeek [Mon, 10 Jan 2022 11:38:36 +0000 (12:38 +0100)] 
libgss is not needed for build (it provides yet another gssapi implementation), but we use the kerberos provided one.

Found out when trying to build for centos7.

2 years agoReinstate AXFR code for GSS-TSIG, respecting global enable flag.
Otto Moerbeek [Fri, 7 Jan 2022 09:36:20 +0000 (10:36 +0100)] 
Reinstate AXFR code for GSS-TSIG, respecting global enable flag.

2 years agoKill string leaks in processError
Otto Moerbeek [Fri, 7 Jan 2022 08:14:21 +0000 (09:14 +0100)] 
Kill string leaks in processError

2 years agoDocumentation updates: new runtime switch and some clarification for configuring...
Otto Moerbeek [Wed, 5 Jan 2022 12:21:56 +0000 (13:21 +0100)] 
Documentation updates: new runtime switch and some clarification for configuring zones.

2 years agoAdd feature printing so it's more easy to check if GSS-TSIG is compiled in.
Otto Moerbeek [Wed, 5 Jan 2022 12:21:43 +0000 (13:21 +0100)] 
Add feature printing so it's more easy to check if GSS-TSIG is compiled in.

2 years agoIf the update policy Lua file cannot be read, don't fall back to allow-all policy.
Otto Moerbeek [Wed, 5 Jan 2022 11:49:45 +0000 (12:49 +0100)] 
If the update policy Lua file cannot be read, don't fall back to allow-all policy.

2 years agoStart kerberos services using docker for regression tests.
Otto Moerbeek [Tue, 4 Jan 2022 15:10:46 +0000 (16:10 +0100)] 
Start kerberos services using docker for regression tests.

2 years agoAnswer can be nullptr, so test for it to avoid null deref.
Otto [Tue, 4 Jan 2022 13:22:22 +0000 (14:22 +0100)] 
Answer can be nullptr, so test for it to avoid null deref.

2 years agoAdd --enable-experimental-gss-tsig for auth build in CI.
Otto [Tue, 4 Jan 2022 08:52:30 +0000 (09:52 +0100)] 
Add --enable-experimental-gss-tsig for auth build in CI.

2 years agoIntroduce runtime switch `enable-gss-tsig` so that GSS-TSIG is disabled by default...
Otto Moerbeek [Mon, 3 Jan 2022 16:15:53 +0000 (17:15 +0100)] 
Introduce runtime switch `enable-gss-tsig` so that GSS-TSIG is disabled by default even if it is compiled in.

2 years agoBe more strict on conditional compiling (#ifdef ENABLE_GSS_TSIG), fixing non ENABLE_G...
Otto Moerbeek [Mon, 3 Jan 2022 14:28:24 +0000 (15:28 +0100)] 
Be more strict on conditional compiling (#ifdef ENABLE_GSS_TSIG), fixing non ENABLE_GSS_TSIG builds.

2 years agoAdd helper to get map counts and remove unneeded error function.
Otto Moerbeek [Fri, 24 Dec 2021 12:10:29 +0000 (13:10 +0100)] 
Add helper to get map counts and remove unneeded error function.

2 years agoRevert of 9385 (which removed GSS_TSIG functionality) and rebase to master
Otto Moerbeek [Tue, 7 Dec 2021 16:07:43 +0000 (17:07 +0100)] 
Revert of 9385 (which removed GSS_TSIG functionality) and rebase to master

Reformat according to project settings

We prefer C++ style casts and change NULL into nullptr

Move includes from gss_context.hh to gss_context.cc if possible, remove unused ones and move from boost::shared_ptr to std::shared_ptr.

Protect access to global maps by a mechanic translation to use
LockGuarded. The scopes of the locks should be verified, they might need
to be wider!

2 years agoMerge pull request #11896 from omoerbeek/rec-11881-followup
Otto Moerbeek [Fri, 2 Sep 2022 11:25:08 +0000 (13:25 +0200)] 
Merge pull request #11896 from omoerbeek/rec-11881-followup

Fix build if dnstap is not enabled

2 years agoFix build if dnstap is not enabled 11896/head
Otto Moerbeek [Fri, 2 Sep 2022 10:27:53 +0000 (12:27 +0200)] 
Fix build if dnstap is not enabled

2 years agoMerge pull request #11883 from rgacogne/ddist-optional-rings
Remi Gacogne [Fri, 2 Sep 2022 09:35:22 +0000 (11:35 +0200)] 
Merge pull request #11883 from rgacogne/ddist-optional-rings

dnsdist: Make recording queries/responses in the ringbuffers optional

2 years agoMerge pull request #11836 from Habbie/catalog-column-order
Peter van Dijk [Fri, 2 Sep 2022 07:24:03 +0000 (09:24 +0200)] 
Merge pull request #11836 from Habbie/catalog-column-order

auth catalog zones: simplify migration schemas by appending columns

2 years agoCleanup
Fred Morcos [Mon, 25 Jul 2022 11:04:02 +0000 (13:04 +0200)] 
Cleanup

2 years agoFormatting
Fred Morcos [Mon, 25 Jul 2022 10:58:36 +0000 (12:58 +0200)] 
Formatting

2 years agoWhitespace
Fred Morcos [Mon, 25 Jul 2022 10:58:19 +0000 (12:58 +0200)] 
Whitespace

2 years agoMerge pull request #11823 from fredmorcos/handle-lua-script-loading-errors
Fred Morcos [Fri, 2 Sep 2022 06:53:49 +0000 (08:53 +0200)] 
Merge pull request #11823 from fredmorcos/handle-lua-script-loading-errors

Handle Lua script loading errors

2 years agodnsdist: Deprecated setRingBuffersLockRetries() 11883/head
Remi Gacogne [Thu, 1 Sep 2022 12:22:30 +0000 (14:22 +0200)] 
dnsdist: Deprecated setRingBuffersLockRetries()