]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Mon, 26 Sep 2022 14:28:46 +0000 (16:28 +0200)]
Properly guard TCP_DEFER_ACCEPT
Otto Moerbeek [Mon, 26 Sep 2022 14:22:08 +0000 (16:22 +0200)]
Merge pull request #11856 from omoerbeek/rec-no-more-xpf
rec: Remove XPF support
Otto Moerbeek [Mon, 26 Sep 2022 14:16:56 +0000 (16:16 +0200)]
Merge pull request #11989 from fredmorcos/fred/11927-rec-stl-exception
Improve error message when invalid values for `local-address` are provided in recursor config file
aerique [Mon, 26 Sep 2022 11:05:39 +0000 (13:05 +0200)]
Merge pull request #12013 from aerique/feature/add-rec-48-to-repo-script
Add `rec-48` to repo test script.
Otto Moerbeek [Mon, 26 Sep 2022 10:48:31 +0000 (12:48 +0200)]
Merge pull request #12017 from omoerbeek/throw-long-label
Include (with precautions) offending data in messages about too long a label
Otto Moerbeek [Mon, 26 Sep 2022 10:45:50 +0000 (12:45 +0200)]
Merge pull request #12011 from omoerbeek/rec-snmp-debian-ubuntu
rec: Enable SNMP for debian and ubuntu builds.
Otto Moerbeek [Mon, 26 Sep 2022 10:38:57 +0000 (12:38 +0200)]
Merge pull request #12009 from omoerbeek/rec-snmp-used
Warn if snmp-agent is set but SNMP is not available.
Otto Moerbeek [Mon, 26 Sep 2022 09:44:59 +0000 (11:44 +0200)]
Merge pull request #11959 from omoerbeek/rec-sl-tweaks
rec: A few tweaks to structured logging calls
Otto Moerbeek [Mon, 26 Sep 2022 09:37:56 +0000 (11:37 +0200)]
Use naming convention: s/maxDNSNameLength/s_maxDNSNameLength
Otto Moerbeek [Mon, 26 Sep 2022 09:07:24 +0000 (11:07 +0200)]
Move const maxDNSNameLength to class, and use it where appropriate
Fred Morcos [Thu, 22 Sep 2022 15:22:52 +0000 (17:22 +0200)]
auth: Remove usage of parseService[4|6] and ServiceTuple
Fred Morcos [Thu, 22 Sep 2022 15:16:54 +0000 (17:16 +0200)]
Cleanup
Fred Morcos [Thu, 22 Sep 2022 15:16:12 +0000 (17:16 +0200)]
Formatting
Fred Morcos [Wed, 21 Sep 2022 12:00:49 +0000 (14:00 +0200)]
rec: Remove the now unused parseService[4|6] and ServiceTuple
Fred Morcos [Tue, 20 Sep 2022 13:05:13 +0000 (15:05 +0200)]
rec: Directly use ComboAddress for parsing local-address config value
Part of #11927
This is marked as "part of" because the parsing can still be greatly improved. For the
time being, the error message has been improved. However, an actual configuration file
parser - with line and column number tracking - would be ideal.
Fred Morcos [Tue, 20 Sep 2022 13:08:18 +0000 (15:08 +0200)]
Cleanup makeTCPServerSockets
Fred Morcos [Tue, 20 Sep 2022 13:03:47 +0000 (15:03 +0200)]
Cleanup makeUDPServerSockets
Fred Morcos [Wed, 14 Sep 2022 18:34:27 +0000 (20:34 +0200)]
rec: Make getHostname return an optional<string>
Also:
- Cleans up getHostname and has it use getMaxHostNameSize().
- Updates getCarbonHostName to use getHostname.
Peter van Dijk [Mon, 26 Sep 2022 08:07:33 +0000 (10:07 +0200)]
Merge pull request #12018 from darnuria/fix/jdnssec-link
fix #11997 jdnssec was broken link to repository directly.
Axel Viala [Mon, 26 Sep 2022 08:05:12 +0000 (10:05 +0200)]
jdnssec was broken link to repository directly.
Otto Moerbeek [Mon, 26 Sep 2022 07:29:11 +0000 (09:29 +0200)]
Include (with precautions) offending data in messages about too long a label.
Fixes #12014
Otto Moerbeek [Mon, 26 Sep 2022 07:48:03 +0000 (09:48 +0200)]
Merge pull request #12016 from omoerbeek/rec-xpf-deprecate-since
Say since when XPF has been deprecated in rec
Otto Moerbeek [Mon, 26 Sep 2022 07:43:57 +0000 (09:43 +0200)]
Say since when XPF has been deprecated in rec
Otto Moerbeek [Mon, 26 Sep 2022 07:40:49 +0000 (09:40 +0200)]
Merge pull request #12015 from omoerbeek/rec-eol-plus-fixes
Only say EOL if a version is actually EOL, plus some fixes to cross references.
Otto Moerbeek [Mon, 26 Sep 2022 07:34:40 +0000 (09:34 +0200)]
Only say EOL if a version is actually EOL, plus some fixes to cross references.
Otto Moerbeek [Fri, 23 Sep 2022 10:24:55 +0000 (12:24 +0200)]
Do not use compiler flags from net-snmp, it adds flags we do not want.
Erik Winkels [Fri, 23 Sep 2022 11:50:12 +0000 (13:50 +0200)]
Add `rec-48` to repo test script.
Otto Moerbeek [Fri, 23 Sep 2022 08:09:22 +0000 (10:09 +0200)]
Merge pull request #11991 from omoerbeek/rec-prep-4.8.0-alpha1
Prep for rec-4.8.0-alpha1
Otto Moerbeek [Fri, 23 Sep 2022 07:36:22 +0000 (09:36 +0200)]
rec: Enable SNMP for debian and ubuntu builds.
Fixes #11999
Otto Moerbeek [Fri, 23 Sep 2022 07:29:06 +0000 (09:29 +0200)]
Merge pull request #12010 from omoerbeek/coverity-
20220921 -followup
Folowup to #11986: coverity fixes
Otto Moerbeek [Fri, 23 Sep 2022 05:42:17 +0000 (07:42 +0200)]
Folowup to #11986: coverity fixes
Typo in annotations and one missed
Otto Moerbeek [Fri, 23 Sep 2022 05:31:35 +0000 (07:31 +0200)]
Warn if snmp-agent is set but SNMP is not available.
Fixes #11998
Otto Moerbeek [Thu, 22 Sep 2022 15:12:22 +0000 (17:12 +0200)]
Apply suggestions from code review
Co-authored-by: Matt Nordhoff <mnordhoff@mattnordhoff.com>
Otto Moerbeek [Wed, 21 Sep 2022 13:08:30 +0000 (15:08 +0200)]
Secpoll update, including a few status updates fomr 2 to 3 for EOL and pre-releases
Otto Moerbeek [Tue, 13 Sep 2022 12:52:49 +0000 (14:52 +0200)]
Prep for rec-4.8.0-alpha1
Otto Moerbeek [Wed, 21 Sep 2022 09:23:46 +0000 (11:23 +0200)]
Merge pull request #11986 from omoerbeek/coverity-
20220921
Coverity Fixes
20220921
Otto Moerbeek [Wed, 21 Sep 2022 07:52:55 +0000 (09:52 +0200)]
Coverity fixes: auto_causes_copy and sprinkle const as well
Coverity
1491275 ,
1491274 ,
1491272 ,
1491271 ,
1491270 ,
1491269 ,
1491264 ,
1491263
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
1498249 ,
1491273 ,
1491268 ,
1491267 ,
1491266 ,
1491265
Otto Moerbeek [Tue, 20 Sep 2022 15:10:23 +0000 (17:10 +0200)]
Merge pull request #11958 from omoerbeek/rec-lock-record-cache
Rec: lock record cache entries
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>
Peter van Dijk [Tue, 20 Sep 2022 13:16:02 +0000 (15:16 +0200)]
Merge pull request #11957 from darnuria/use-null-ptr/getNSEC3PARAM
[clang-tidy] Use nullptr in getNSEC3PARAM + init bool at callsite
Peter van Dijk [Tue, 20 Sep 2022 12:53:06 +0000 (14:53 +0200)]
Merge pull request #11953 from Habbie/axfr-tc
axfr-retriever: abort on chunk with TC set
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
Otto Moerbeek [Wed, 22 Jun 2022 14:47:31 +0000 (16:47 +0200)]
A few tweaks to structured logging calls
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 :)
Otto Moerbeek [Wed, 14 Sep 2022 11:01:43 +0000 (13:01 +0200)]
Add unit test for simple cache locking case
Axel Viala [Wed, 14 Sep 2022 13:23:05 +0000 (15:23 +0200)]
getNSEC3PARAM callsite: Define to false by default out-param narrow.
Axel Viala [Wed, 14 Sep 2022 13:22:36 +0000 (15:22 +0200)]
getNSEC3PARAM: Use null-ptr instead of 0.
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 11:22:09 +0000 (13:22 +0200)]
axfr-retriever: abort on chunk with TC set
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.
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