]>
git.ipfire.org Git - thirdparty/pdns.git/log
Chris Hofstaedtler [Wed, 7 Jun 2023 16:23:27 +0000 (18:23 +0200)]
API Auth: remove redundant string initialization
Chris Hofstaedtler [Wed, 7 Jun 2023 12:45:18 +0000 (14:45 +0200)]
API Auth: ignore readability-function-cognitive-complexity for patchZone
Chris Hofstaedtler [Wed, 7 Jun 2023 12:43:20 +0000 (14:43 +0200)]
API Auth: ttl in gatherRecords needs to be unsigned
Chris Hofstaedtler [Wed, 7 Jun 2023 12:42:03 +0000 (14:42 +0200)]
API Auth: add missing braces to conditional statements
Chris Hofstaedtler [Wed, 7 Jun 2023 12:40:44 +0000 (14:40 +0200)]
API Auth: use empty()
Chris Hofstaedtler [Wed, 7 Jun 2023 16:32:21 +0000 (18:32 +0200)]
API Auth: split apiServersZone to lower readability-function-cognitive-complexity
Chris Hofstaedtler [Wed, 7 Jun 2023 12:34:24 +0000 (14:34 +0200)]
Add static_cast<int> to hide long-standing internal API design bugs
Chris Hofstaedtler [Mon, 27 Mar 2023 07:36:56 +0000 (09:36 +0200)]
API Auth: increase SOA serial only once in PUT
Already done by updateDomainSettingsFromDocument.
Chris Hofstaedtler [Mon, 27 Mar 2023 07:37:10 +0000 (09:37 +0200)]
API Auth: clear auth cache in PUT
Chris Hofstaedtler [Fri, 3 Feb 2023 10:13:59 +0000 (11:13 +0100)]
API Auth: forbid ttl < 0
Chris Hofstaedtler [Wed, 12 Oct 2022 12:22:42 +0000 (14:22 +0200)]
API Auth: replace zone contents
In PUT on a specific zone it is now possible to set "rrsets", like in
POST.
Chris Hofstaedtler [Wed, 16 Nov 2022 11:29:18 +0000 (12:29 +0100)]
API tests: add get_zone helper
Chris Hofstaedtler [Wed, 16 Nov 2022 11:10:43 +0000 (12:10 +0100)]
API tests: add put_zone helper
Fred Morcos [Thu, 10 Aug 2023 14:57:34 +0000 (16:57 +0200)]
Coding Guidelines: Formatting of the C++ casts bullet points
Fred Morcos [Thu, 10 Aug 2023 14:57:18 +0000 (16:57 +0200)]
Coding Guidelines: Some formatting of C++ keywords
Fred Morcos [Thu, 10 Aug 2023 14:56:45 +0000 (16:56 +0200)]
Coding Guidelines: More descriptive section titles
Fred Morcos [Thu, 10 Aug 2023 14:56:26 +0000 (16:56 +0200)]
Coding Guidelines: Capitalize list items
Fred Morcos [Thu, 10 Aug 2023 14:55:43 +0000 (16:55 +0200)]
Coding Guidelines: Use decltype in code example
Fred Morcos [Thu, 10 Aug 2023 14:55:31 +0000 (16:55 +0200)]
Coding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper
Fred Morcos [Thu, 10 Aug 2023 14:55:15 +0000 (16:55 +0200)]
Coding Guidelines: Some code formatting and minor fixes
Fred Morcos [Thu, 10 Aug 2023 14:54:18 +0000 (16:54 +0200)]
Coding Guidelines: Rewording and typos
Fred Morcos [Thu, 10 Aug 2023 14:51:23 +0000 (16:51 +0200)]
Coding Guidelines: Properly capitalize section names
Frank Louwers [Thu, 10 Aug 2023 12:44:51 +0000 (14:44 +0200)]
Document default for `webserver-loglevel`
Peter van Dijk [Thu, 10 Aug 2023 12:14:39 +0000 (14:14 +0200)]
Merge pull request #12565 from jsoref/harmonize-xfr-out-messages
auth: harmonize *xfr log messages
Peter van Dijk [Wed, 9 Aug 2023 17:15:04 +0000 (19:15 +0200)]
add a few links; collection of small nits
Sander Smeenk [Wed, 9 Aug 2023 16:48:46 +0000 (18:48 +0200)]
log port with this failure, as done elswhere
Peter van Dijk [Wed, 9 Aug 2023 15:27:07 +0000 (17:27 +0200)]
formatting: one sentence per line. added ## to two things that looked like headings
Peter van Dijk [Wed, 9 Aug 2023 14:59:40 +0000 (16:59 +0200)]
Merge pull request #12949 from rgacogne/auth-channel
auth: Refactor the MultiThreadDistributor using pdns::channel
Otto Moerbeek [Wed, 9 Aug 2023 11:45:12 +0000 (13:45 +0200)]
Make clang-tidy happy
Otto Moerbeek [Wed, 9 Aug 2023 08:09:36 +0000 (10:09 +0200)]
remove redundant assignment
Peter van Dijk [Wed, 9 Aug 2023 07:26:35 +0000 (09:26 +0200)]
Merge pull request #13108 from fredmorcos/auth-fix-bind-backend-warnings
Auth: Fix warnings in bind backend
Otto Moerbeek [Wed, 9 Aug 2023 06:26:05 +0000 (08:26 +0200)]
Merge pull request #13098 from omoerbeek/rec-docs-upgrade-stack
rec: Expand the note on max-recursion-depth in the upgrade notes
Fred Morcos [Tue, 8 Aug 2023 21:11:47 +0000 (23:11 +0200)]
Auth: Fix warnings in bind backend
Otto Moerbeek [Tue, 8 Aug 2023 19:02:32 +0000 (21:02 +0200)]
Merge pull request #13107 from paddg/max-packetcache-entries-doc-patch-1
Update max-packetcache-entries setting doc
Peter van Dijk [Mon, 7 Aug 2023 17:13:36 +0000 (19:13 +0200)]
IXFR client: handle partial reads of the TCP chunk length header, plus:
* add primarySOACount to exception text
* add indicator of current state to exception text
* a test
Winfried Angele [Tue, 8 Aug 2023 14:32:27 +0000 (16:32 +0200)]
Update max-packetcache-entries setting doc
Since 4.9.0, the packet cache is sharded and shared by all threads.
Otto Moerbeek [Tue, 8 Aug 2023 10:15:00 +0000 (12:15 +0200)]
rec: replace data in the aggressive cache if it becomes available
Currently, new data does not get recorded into the aggressive cache
if there's an existing entry that matches. Together with the fact
that in some cases pruning can be unfair (it scans the zones
always in the same order and stops clearing when it has reached the
goal) and/or not very active (when the recursor is lighlty loaded)
this has the consequence that old expired records can remain in
the cache that prevent new data to be recorded and used.
Peter van Dijk [Mon, 7 Aug 2023 17:13:11 +0000 (19:13 +0200)]
typo fix
Otto Moerbeek [Fri, 4 Aug 2023 11:07:59 +0000 (13:07 +0200)]
rec: Do not assume the records are in a particular order when determining if an answer is
NODATA.
Peter van Dijk [Thu, 3 Aug 2023 09:42:33 +0000 (11:42 +0200)]
Merge pull request #13096 from Habbie/lmdb-do-reset-index-timestamp
auth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged
Peter van Dijk [Thu, 3 Aug 2023 09:22:37 +0000 (11:22 +0200)]
Merge pull request #13089 from Habbie/auth-docs-metadata-dnssec
auth docs: remove domainmetadata/DNSSEC warning, has not been true for years
Otto Moerbeek [Thu, 3 Aug 2023 09:12:11 +0000 (11:12 +0200)]
Expand the note on max-recursion-depth
Alexis Romero [Thu, 3 Aug 2023 08:10:46 +0000 (10:10 +0200)]
GH actions. build-packages.yml: adding a hash verification for all targets
Peter van Dijk [Wed, 2 Aug 2023 12:35:32 +0000 (14:35 +0200)]
auth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged
Peter van Dijk [Wed, 2 Aug 2023 10:02:58 +0000 (12:02 +0200)]
Merge pull request #13087 from Habbie/rm-init.d
remove unused sysv init files
Peter van Dijk [Mon, 31 Jul 2023 10:53:34 +0000 (12:53 +0200)]
remove unused sysv init files - we don't ship them, and non-systemd downstream packages all have their own
Remi Gacogne [Tue, 1 Aug 2023 15:50:57 +0000 (17:50 +0200)]
ixfrdist: Delint ixfrdist.cc a bit more
Remi Gacogne [Tue, 1 Aug 2023 15:26:04 +0000 (17:26 +0200)]
Add a coding guidelines document to the public repository
We have had an internal version of this document for a while now,
but there is no reason not to make it available to external
contributors as well.
Remi Gacogne [Tue, 1 Aug 2023 14:25:08 +0000 (16:25 +0200)]
Merge pull request #13092 from rgacogne/rec-coverity
rec: Fixes a few performance issues reported by Coverity
Remi Gacogne [Tue, 1 Aug 2023 14:22:35 +0000 (16:22 +0200)]
Merge pull request #13091 from rgacogne/auth-coverity-2
auth: Fixes a few issues reported by Coverity
Remi Gacogne [Tue, 1 Aug 2023 14:20:50 +0000 (16:20 +0200)]
ixfrdist: Reduce the complexity of the main function
Remi Gacogne [Tue, 1 Aug 2023 14:17:49 +0000 (16:17 +0200)]
ixfrdist: Fix the validation of 'max-soa-refresh'
Remi Gacogne [Tue, 1 Aug 2023 13:09:59 +0000 (15:09 +0200)]
rec: Prevent a copy when distributing UDP queries to workers
Reported by Coverity as CID
1509301 .
Remi Gacogne [Tue, 1 Aug 2023 13:09:25 +0000 (15:09 +0200)]
rec: Prevent a copy in RecursorLua4::DNSQuestion::addAnswer
Reported by Coverity as
1509322
Remi Gacogne [Tue, 1 Aug 2023 11:56:03 +0000 (13:56 +0200)]
pdnsutil: Set a proper umask before writing the temporary zone file
This does not matter on Linux where mkstemp ensures that "the file
is created with permissions 0600 that is, read plus write for owner
only" but it might on other systems as POSIX does not require mkstemp
to do so.
Reported by Coverity as CID
1501165 .
Remi Gacogne [Tue, 1 Aug 2023 11:54:30 +0000 (13:54 +0200)]
ixfrdist: Ensure exceptions are properly caught
Reported by Coverity as CIDs
1504095 ,
1504097 ,
1504109 ,
1504112 ,
1504113 ,
1504114 ,
1504137 and
1504138 .
Remi Gacogne [Tue, 1 Aug 2023 11:53:54 +0000 (13:53 +0200)]
pkcs11signers: Fix a possibly unitialized variable
Reported by Coverity as CID
1504120 .
Remi Gacogne [Tue, 1 Aug 2023 11:52:53 +0000 (13:52 +0200)]
auth: Make Coverity happy about 'ifurlextup' (CID
1509357 )
Remi Gacogne [Tue, 1 Aug 2023 11:51:52 +0000 (13:51 +0200)]
speedtest: Make coverity happy (CID
1513038 )
Remi Gacogne [Tue, 1 Aug 2023 11:51:20 +0000 (13:51 +0200)]
fuzzing: Add a missing cstdint header to the fuzzing targets
Remi Gacogne [Tue, 1 Aug 2023 11:49:50 +0000 (13:49 +0200)]
lmdbbackend: Prevent a useless copy in LMDBBackend::getAllDomainsFiltered()
Reported by Coverity as
1510936 : AUTO_CAUSES_COPY.
Remi Gacogne [Tue, 1 Aug 2023 11:23:01 +0000 (13:23 +0200)]
Merge pull request #13013 from rgacogne/ddist-get-rule-action-matched
dnsdist: Add Lua bindings to access selector and action
Remi Gacogne [Tue, 1 Aug 2023 09:42:29 +0000 (11:42 +0200)]
Merge pull request #13018 from rgacogne/calidns-fix-ecs-0
calidns: Fix setting an ECS source of 0
Remi Gacogne [Tue, 1 Aug 2023 09:03:29 +0000 (11:03 +0200)]
Merge pull request #13088 from rgacogne/ddist-remove-useless-user-group-unit-sed
dnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart
Remi Gacogne [Tue, 1 Aug 2023 09:02:51 +0000 (11:02 +0200)]
Merge pull request #13084 from rgacogne/ddist-fix-dnsdistconf-grp-rpm
dnsdist: Fix the group of the dnsdist.conf file when installed via RPM
Peter van Dijk [Tue, 1 Aug 2023 09:00:55 +0000 (11:00 +0200)]
auth docs: remove domainmetadata/DNSSEC warning, has not been true for years
Remi Gacogne [Tue, 1 Aug 2023 08:57:16 +0000 (10:57 +0200)]
dnsdist: Fix a c/p mistake in the description of getSelfAnsweredResponseRule
Remi Gacogne [Tue, 1 Aug 2023 08:55:16 +0000 (10:55 +0200)]
dnsdist: Add a comment indicating we are fine with at() throwing
Remi Gacogne [Tue, 1 Aug 2023 08:52:24 +0000 (10:52 +0200)]
dnsdist: Fix indentation
Remi Gacogne [Mon, 31 Jul 2023 15:43:07 +0000 (17:43 +0200)]
calidns: Fix the use of `ntohl` instead of `htonl` in ECS handling
Remi Gacogne [Wed, 12 Jul 2023 11:07:29 +0000 (13:07 +0200)]
calidns: Use the full 32-bit range for 0.0.0.0/0, via Otto
Remi Gacogne [Wed, 12 Jul 2023 08:49:31 +0000 (10:49 +0200)]
calidns: Fix setting an ECS source of 0
Remi Gacogne [Tue, 1 Aug 2023 08:04:54 +0000 (10:04 +0200)]
dnsdist: Fix the group of the dnsdist.conf file when installed via RPM
I _hope_ the `%attr` directive does the right thing, based on
http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html
I'm using this directive instead of calling `chgrp` in `%post` because
I'm told using `chgrp` would make `verify` complain about the ownership later.
Remi Gacogne [Tue, 1 Aug 2023 07:56:40 +0000 (09:56 +0200)]
dnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart
This is useless as long as @service_user@ and @service_group@ are
set to 'dnsdist' (which is always true in our build system), and
would not have worked otherwise because dnsdist would have rejected
it with:
```
--gid/-g set on command-line, but dnsdist was started as a systemd service.
Use the 'Group' setting in the systemd unit file to set the group to run as
```
Josh Soref [Mon, 31 Jul 2023 17:32:42 +0000 (13:32 -0400)]
Add speed bumps to bug filing
Otto Moerbeek [Mon, 31 Jul 2023 13:51:31 +0000 (15:51 +0200)]
Skip smileys for now, they take 4 bytes to encode and out current mysql
schema has 'utf8', which only handles 3 bytes max, should be changed to
utf8mb4 one day.
Otto Moerbeek [Mon, 31 Jul 2023 12:44:13 +0000 (14:44 +0200)]
Test a few non-ASCII chars in comments
Remi Gacogne [Mon, 31 Jul 2023 12:19:43 +0000 (14:19 +0200)]
Merge pull request #13019 from rgacogne/fix-calidns-issues
calidns: Prevent a crash on an empty domains file
Peter van Dijk [Mon, 31 Jul 2023 10:35:27 +0000 (12:35 +0200)]
Merge pull request #13065 from Habbie/auth-backend-errorlogging
auth: report which backend failed to instantiate
Remi Gacogne [Mon, 31 Jul 2023 07:43:12 +0000 (09:43 +0200)]
Merge pull request #12998 from rgacogne/fix-src-provenance-generation
build-packages: Fix provenance generation for the source tarball
Remi Gacogne [Mon, 31 Jul 2023 07:42:15 +0000 (09:42 +0200)]
Merge pull request #13037 from rgacogne/ddist-rpm-dnsdistconf-group
dnsdist: Set the group of our configuration file to dnsdist on RH and co
Peter van Dijk [Thu, 27 Jul 2023 08:57:35 +0000 (10:57 +0200)]
Merge pull request #13000 from mind04/pdns-rfc9432
auth: docs, catalog zone is now RFC 9432
Josh Soref [Wed, 26 Jul 2023 14:41:14 +0000 (10:41 -0400)]
Remove timestamp
CI systems provide their own timestamps
This will make it easier for tests to use `::error` to talk to GitHub Actions
Otto Moerbeek [Wed, 26 Jul 2023 07:35:05 +0000 (09:35 +0200)]
Add a few testcases for "incomplete" URLs
Peter van Dijk [Tue, 25 Jul 2023 13:31:51 +0000 (15:31 +0200)]
Merge pull request #13030 from jacobbunk/queue-limit-and-performance
Queue limit and performance documentation
Peter van Dijk [Tue, 25 Jul 2023 13:16:34 +0000 (15:16 +0200)]
Merge pull request #13074 from jsoref/regression-tests
Highlight why regression tests failed with github annotation
Peter van Dijk [Tue, 25 Jul 2023 13:14:52 +0000 (15:14 +0200)]
Merge pull request #13073 from jsoref/github-output
Switch from deprecated ::set-output
Josh Soref [Tue, 25 Jul 2023 12:27:30 +0000 (08:27 -0400)]
Highlight why regression tests failed with github annotation
Otto Moerbeek [Tue, 25 Jul 2023 10:21:40 +0000 (12:21 +0200)]
Merge pull request #13067 from jsoref/rec-control-backticks
Use backticks in rec_control(1)
Josh Soref [Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)]
Switch from deprecated ::set-output
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Josh Soref [Mon, 24 Jul 2023 16:11:14 +0000 (12:11 -0400)]
Use backticks in rec_control(1)
Otto Moerbeek [Fri, 21 Jul 2023 12:23:02 +0000 (14:23 +0200)]
Check all chars in the URL are valid URL chars.
Should probably (also) be done in YaHTTP::URL, though currently the
return value of YaHTTP::URL::parse() is completely ignored, so
there is no easy way to do.
Otto Moerbeek [Tue, 25 Jul 2023 06:53:54 +0000 (08:53 +0200)]
Merge pull request #13068 from jsoref/recursor-test
Clarify why bulktest is failing
Josh Soref [Mon, 24 Jul 2023 17:40:08 +0000 (13:40 -0400)]
Highlight why bulk test failed with github annotation
Josh Soref [Mon, 24 Jul 2023 17:27:30 +0000 (13:27 -0400)]
Clean up recursor-test
* remove tabs
* remove double quotes around a number -- if the value is empty it'd crash anyway
Peter van Dijk [Mon, 24 Jul 2023 13:18:06 +0000 (15:18 +0200)]
Merge pull request #13063 from zeha/tcpthread-remote
auth: add remote to logs when tcp thread dies
Peter van Dijk [Mon, 24 Jul 2023 08:52:56 +0000 (10:52 +0200)]
report which backend failed to instantiate
Peter van Dijk [Fri, 21 Jul 2023 20:24:54 +0000 (22:24 +0200)]
Merge pull request #13049 from aj-gh/pdnstools-control-addmissing
Add missing tools to pdns-tools package description (control)
Chris Hofstaedtler [Fri, 21 Jul 2023 16:17:23 +0000 (18:17 +0200)]
auth: add remote to logs when tcp thread dies
Otto Moerbeek [Fri, 21 Jul 2023 11:43:57 +0000 (13:43 +0200)]
Implement recomendationm from #13050: step 1
Revert #12660