]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 27 Sep 2022 12:20:41 +0000 (14:20 +0200)]
dnsdist: Add a dnsdist::MacAddress type
Remi Gacogne [Fri, 24 Jun 2022 14:39:16 +0000 (16:39 +0200)]
dnsdist: Implement a small MAC address cache
Peter van Dijk [Tue, 20 Sep 2022 11:50:38 +0000 (13:50 +0200)]
Merge pull request #11981 from omoerbeek/rec-dics-hooks-typo
rec: Typo in hooks.rst
Otto Moerbeek [Tue, 20 Sep 2022 11:07:58 +0000 (13:07 +0200)]
Typo
Peter van Dijk [Tue, 20 Sep 2022 10:35:02 +0000 (12:35 +0200)]
Merge pull request #11980 from aerique/feature/add-more-rec-46-and-47-to-repo-script
Feature/add more rec 46 and 47 to repo script
Erik Winkels [Tue, 20 Sep 2022 09:51:22 +0000 (11:51 +0200)]
Add rec-47 for EL9 to repo test script.
Erik Winkels [Tue, 20 Sep 2022 09:51:01 +0000 (11:51 +0200)]
Add rec-46 for Jammy to repo test script.
Otto Moerbeek [Tue, 20 Sep 2022 08:30:33 +0000 (10:30 +0200)]
Merge pull request #11969 from omoerbeek/prep-rec-4.7.3-4.6.4-4.5.11
rec: Prep rec 4.7.3 4.6.4 4.5.11
Peter van Dijk [Tue, 20 Sep 2022 07:19:23 +0000 (09:19 +0200)]
Merge pull request #11971 from omoerbeek/boost.m4-clang14
clang14 has reached MacOS
Peter van Dijk [Mon, 19 Sep 2022 13:58:43 +0000 (15:58 +0200)]
Merge pull request #11961 from Habbie/docker-bullseye
docker: upgrade to bullseye
Otto Moerbeek [Mon, 19 Sep 2022 13:28:07 +0000 (15:28 +0200)]
Merge pull request #11955 from franklouwers/feature/update-docs-lua-rec
Clarify return codes for the LUA hooks in the Recursor
Otto Moerbeek [Mon, 19 Sep 2022 09:25:57 +0000 (11:25 +0200)]
clang14 has reached MacOS
Also upstreamed: https://github.com/tsuna/boost.m4/pull/129
Otto Moerbeek [Mon, 19 Sep 2022 09:01:34 +0000 (11:01 +0200)]
Merge pull request #11962 from omoerbeek/rec-test-cname-on-ds-bogus
rec: Add unit test to check that we go Bogus if a DS query responds with a CNAME on a would-be Secure zone
Otto Moerbeek [Wed, 14 Sep 2022 13:10:11 +0000 (15:10 +0200)]
Prep for rec-4.5.11, rec-4.6.4, rec-4.7.3
Otto Moerbeek [Mon, 19 Sep 2022 07:10:13 +0000 (09:10 +0200)]
Upgrade guide entries for 4.7.3, 4.6.4, 4.5.11
Otto Moerbeek [Thu, 15 Sep 2022 13:39:48 +0000 (15:39 +0200)]
Add unit test to check that we go Bogus if a DS query responds with a CNAME on a would-be Secure zone
Fixes #11259
Peter van Dijk [Thu, 15 Sep 2022 13:14:34 +0000 (15:14 +0200)]
docker: upgrade to bullseye
Otto Moerbeek [Thu, 15 Sep 2022 11:42:33 +0000 (13:42 +0200)]
Tweaks
Peter van Dijk [Thu, 15 Sep 2022 07:52:04 +0000 (09:52 +0200)]
Merge pull request #11956 from franklouwers/feature/update-docs-eol
Update auth EOL dates a bit :)
Frank Louwers [Wed, 14 Sep 2022 13:50:29 +0000 (15:50 +0200)]
Update docs/appendices/EOL.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Frank Louwers [Wed, 14 Sep 2022 13:41:19 +0000 (15:41 +0200)]
Update auth EOL dates a bit :)
Frank Louwers [Wed, 14 Sep 2022 13:33:58 +0000 (15:33 +0200)]
Clarify return codes for the LUA hooks in the Recursor
Peter van Dijk [Wed, 14 Sep 2022 09:07:23 +0000 (11:07 +0200)]
Merge pull request #11952 from jpmens/patch-12
Nits on documentation for catalog zones
Jan-Piet Mens [Tue, 13 Sep 2022 16:51:21 +0000 (18:51 +0200)]
remove misleading comment
Jan-Piet Mens [Tue, 13 Sep 2022 13:45:13 +0000 (15:45 +0200)]
Nits on documentation for catalog zones
Replace catalog zone by `catalog.example` only because I found reading `catalog.invalid` looked strange.
Other than that fix a typo and reformat the zone proper.
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.
Erik Winkels [Tue, 13 Sep 2022 10:26:58 +0000 (12:26 +0200)]
Add auth-47 for Ubuntu Jammy and EL9 to test script.
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
Peter van Dijk [Mon, 8 Aug 2022 12:16:16 +0000 (14:16 +0200)]
auth-4.7.0-beta2: secpoll and docs
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
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)
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
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…
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]`
Peter van Dijk [Mon, 12 Sep 2022 07:41:36 +0000 (09:41 +0200)]
rec docs: fix spelling error (lifetimeof is not a word)
Kees Monshouwer [Mon, 12 Sep 2022 07:22:21 +0000 (09:22 +0200)]
auth: fix gcc warning, no prevous declaration for ‘void carbonDumpThread()’
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
Peter van Dijk [Sun, 11 Sep 2022 11:31:02 +0000 (13:31 +0200)]
auth LUA records: we only need one IsUpOracle checker thread
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
Peter van Dijk [Sat, 10 Sep 2022 14:23:34 +0000 (16:23 +0200)]
Merge pull request #11926 from smellyspice/patch-1
fix typo
Robert Schwartz [Sat, 10 Sep 2022 14:21:20 +0000 (10:21 -0400)]
fix typo
Chris Hofstaedtler [Wed, 10 Aug 2022 12:54:33 +0000 (14:54 +0200)]
Rename g_distributors to s_distributors
Chris Hofstaedtler [Wed, 10 Aug 2022 12:54:18 +0000 (14:54 +0200)]
Rename g_udpReceivers to s_udpReceivers
Chris Hofstaedtler [Wed, 10 Aug 2022 12:53:02 +0000 (14:53 +0200)]
Rename g_DynListener to s_dynListener
Chris Hofstaedtler [Wed, 10 Aug 2022 12:51:21 +0000 (14:51 +0200)]
Rename s_starttime, s_programname
Chris Hofstaedtler [Wed, 3 Aug 2022 19:52:58 +0000 (21:52 +0200)]
auth: rename dl to g_DynListener
Chris Hofstaedtler [Wed, 3 Aug 2022 19:49:52 +0000 (21:49 +0200)]
auth: rename TN to s_tcpNameserver 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
Chris Hofstaedtler [Wed, 3 Aug 2022 19:39:52 +0000 (21:39 +0200)]
auth: remove unnecessary, duplicate extern defines
Chris Hofstaedtler [Wed, 3 Aug 2022 19:34:31 +0000 (21:34 +0200)]
auth: make most startup functions static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:34:06 +0000 (21:34 +0200)]
auth: make g_udpReceivers static
Chris Hofstaedtler [Wed, 3 Aug 2022 19:32:07 +0000 (21:32 +0200)]
auth: make dl (DynListener) static
Chris Hofstaedtler [Wed, 3 Aug 2022 18:56:06 +0000 (20:56 +0200)]
dns.hh: move SOAData, DNSBackend to auth-only dnsbackend.hh
Chris Hofstaedtler [Wed, 3 Aug 2022 18:53:16 +0000 (20:53 +0200)]
auth: make {avg,receive,cache,backend,send}_latency static
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.
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
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.
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.
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
Fred Morcos [Tue, 6 Sep 2022 13:18:37 +0000 (15:18 +0200)]
rec: Implement --config[=default|=check|=diff]
Closes #9435
Fred Morcos [Wed, 7 Sep 2022 10:20:56 +0000 (12:20 +0200)]
rec: Fix error message
Fred Morcos [Wed, 7 Sep 2022 09:45:12 +0000 (11:45 +0200)]
Cleanup
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
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
Otto Moerbeek [Fri, 9 Sep 2022 06:45:14 +0000 (08:45 +0200)]
Typos in comments
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
Otto Moerbeek [Mon, 11 Jul 2022 11:55:58 +0000 (13:55 +0200)]
Basic serve-stale test
Otto Moerbeek [Mon, 11 Jul 2022 11:55:22 +0000 (13:55 +0200)]
Add a setNow() method to SyncRes for cache debugging/testing purposes
Otto Moerbeek [Fri, 8 Jul 2022 11:49:34 +0000 (13:49 +0200)]
When refreshing, consider entries being served stale as *really* 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.
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
Otto Moerbeek [Wed, 29 Jun 2022 09:46:51 +0000 (11:46 +0200)]
Make serveStale a field instead of a parameter passed around
Otto Moerbeek [Wed, 29 Jun 2022 09:19:06 +0000 (11:19 +0200)]
Change main serve stale loop to catch exception
Otto Moerbeek [Wed, 29 Jun 2022 09:03:14 +0000 (11:03 +0200)]
Handle serve stale for infra queries
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.
Otto Moerbeek [Tue, 14 Jun 2022 10:14:15 +0000 (12:14 +0200)]
Move from a few booleans to flags for MemRecursorCache::get()
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
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
Kees Monshouwer [Thu, 8 Sep 2022 20:50:31 +0000 (22:50 +0200)]
auth: fix gcc warning
Kees Monshouwer [Thu, 8 Sep 2022 15:01:33 +0000 (17:01 +0200)]
auth: api, nsec3param improvements
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
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
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
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
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
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.
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
Otto Moerbeek [Wed, 7 Sep 2022 07:59:13 +0000 (09:59 +0200)]
Merge pull request #11800 from fredmorcos/log-fix
Log socket directory
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
Kees Monshouwer [Tue, 6 Sep 2022 13:52:51 +0000 (15:52 +0200)]
auth: initialize zone cache after dropping privileges
Otto Moerbeek [Tue, 6 Sep 2022 14:02:25 +0000 (16:02 +0200)]
Docs and setting (edns-padding-out, defaults to "yes").
Fred Morcos [Tue, 6 Sep 2022 13:07:42 +0000 (15:07 +0200)]
Formatting
Otto Moerbeek [Tue, 6 Sep 2022 11:30:21 +0000 (13:30 +0200)]
Implement padding of (DoT) messages to auth
Fred Morcos [Tue, 6 Sep 2022 10:36:40 +0000 (12:36 +0200)]
Cleanup
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()
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.
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.
Peter van Dijk [Fri, 25 Mar 2022 13:16:19 +0000 (14:16 +0100)]
spelling, review comments
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.
Otto Moerbeek [Fri, 7 Jan 2022 09:36:20 +0000 (10:36 +0100)]
Reinstate AXFR code for GSS-TSIG, respecting global enable flag.