]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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.
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
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 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 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
```
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
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 [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
Remi Gacogne [Fri, 21 Jul 2023 11:05:26 +0000 (13:05 +0200)]
Merge pull request #13061 from rgacogne/channel-unit-retrieve-object
channel unit tests: Actually retrieve the object after an overflow
Remi Gacogne [Fri, 21 Jul 2023 10:05:05 +0000 (12:05 +0200)]
channel unit tests: Actually retrieve the object after an overflow
Not only this ensures that we can actually retrieve the submitted
object, it prevents memory analysis tools from reporting a leak.
Otto Moerbeek [Fri, 21 Jul 2023 09:15:20 +0000 (11:15 +0200)]
Merge pull request #13043 from omoerbeek/rec-getFakePTRRecords-ttl
rec: set TTL in getFakePTRRecords
Otto Moerbeek [Thu, 20 Jul 2023 13:53:26 +0000 (15:53 +0200)]
Merge pull request #13059 from omoerbeek/rec-policytags-regr-followup
rec: Don't check TTLs of records coming out of packet cache in regress tests
Otto Moerbeek [Thu, 20 Jul 2023 11:56:35 +0000 (13:56 +0200)]
rec: Don't check TTLs of records coming out of packet cache in regress tests
That won't work on a slow system
Remi Gacogne [Thu, 20 Jul 2023 10:18:14 +0000 (12:18 +0200)]
Merge pull request #13012 from rgacogne/ddist-healthcheck-spurious
dnsdist: Better handling of spurious wake-ups, interrupted calls
Remi Gacogne [Thu, 20 Jul 2023 10:08:52 +0000 (12:08 +0200)]
Merge pull request #13041 from rgacogne/auth-coverity
auth: Fix a bunch of warnings reported by Coverity
Remi Gacogne [Thu, 20 Jul 2023 09:17:27 +0000 (11:17 +0200)]
dnsdist: Add suggestions from code review
Otto Moerbeek [Thu, 20 Jul 2023 09:14:19 +0000 (11:14 +0200)]
Merge pull request #13021 from omoerbeek/rec-pb-cache-tags
Rec: fix setting of policy tags
Remi Gacogne [Thu, 20 Jul 2023 08:59:09 +0000 (10:59 +0200)]
Merge pull request #13052 from rgacogne/fix-getmessagefromerrno-libcrypto
misc: `pdns::getMessageFromErrno()` does not depend on libcrypto
Remi Gacogne [Thu, 20 Jul 2023 08:57:55 +0000 (10:57 +0200)]
Merge pull request #13042 from jpmens/patch-15
Typo in dnsupdate.rst
Otto Moerbeek [Mon, 17 Jul 2023 10:10:35 +0000 (12:10 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Fri, 14 Jul 2023 10:52:08 +0000 (12:52 +0200)]
Do not store tags set by gettag(_ffi) into the PC by keeping them separate.
We do pass them to the other Lua functions, but take care to erase them
aagin before creating the partial PB message stored into the cache.
Otto Moerbeek [Wed, 12 Jul 2023 13:15:57 +0000 (15:15 +0200)]
Use gettag
Otto Moerbeek [Wed, 12 Jul 2023 12:58:53 +0000 (14:58 +0200)]
Set the pb policy tags in the right places
Otto Moerbeek [Wed, 12 Jul 2023 12:46:23 +0000 (14:46 +0200)]
Regression test for pb tags coming out of packet cache or not
Remi Gacogne [Thu, 20 Jul 2023 08:09:12 +0000 (10:09 +0200)]
misc: `pdns::getMessageFromErrno()` does not depend on libcrypto
This prevents compiling dnsdist when libcrypto is not available, which
should be possible.
Peter van Dijk [Thu, 20 Jul 2023 07:54:19 +0000 (09:54 +0200)]
Merge pull request #13047 from Habbie/pyyaml-6.0.1
auth docs: pin pyyaml 6.0.1 specifically
Otto Moerbeek [Thu, 20 Jul 2023 05:51:09 +0000 (07:51 +0200)]
Merge pull request #13045 from omoerbeek/less-copyright-years
Further removal op copyright years
Andreas Jakum [Wed, 19 Jul 2023 09:11:30 +0000 (11:11 +0200)]
Add missing tools to pdns-tools package description (control).
Otto Moerbeek [Tue, 18 Jul 2023 12:51:28 +0000 (14:51 +0200)]
Merge pull request #13048 from omoerbeek/rec-dnstap-regr-errno
rec: include errno in dnstap regression test
Otto Moerbeek [Tue, 18 Jul 2023 11:48:11 +0000 (13:48 +0200)]
include errno
to avoid:
File "/__w/pdns/pdns/regression-tests.recursor-dnssec/test_RecDnstap.py", line 189, in FrameStreamUnixListener
if e.errno in (errno.EBADF, errno.EPIPE):
NameError: name 'errno' is not defined
Peter van Dijk [Tue, 18 Jul 2023 09:49:18 +0000 (11:49 +0200)]
auth docs: pin pyyaml 6.0.1 specifically, see #13046
Otto Moerbeek [Tue, 18 Jul 2023 08:18:31 +0000 (10:18 +0200)]
Remove copyright years in webserver output; noted by @mind04
Otto Moerbeek [Tue, 18 Jul 2023 08:11:19 +0000 (10:11 +0200)]
Update pdns/recursordist/pdns_recursor.cc
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Tue, 18 Jul 2023 08:09:32 +0000 (10:09 +0200)]
Further removal op copyright years
Fixes #13004
Peter van Dijk [Mon, 17 Jul 2023 17:29:06 +0000 (19:29 +0200)]
Merge pull request #13044 from omoerbeek/copyright-no-year
Do not include year(s) in copyright messages.
Otto Moerbeek [Mon, 17 Jul 2023 15:00:04 +0000 (17:00 +0200)]
Do not include year(s) in copyright messages.
It's too hard to keep up-to-date and serves no real purpose.
Otto Moerbeek [Mon, 17 Jul 2023 14:27:04 +0000 (16:27 +0200)]
rec: set TTL in getFakePTRRecords
Alternative solution to #13011
Jan-Piet Mens [Mon, 17 Jul 2023 13:28:18 +0000 (15:28 +0200)]
Typo in dnsupdate.rst
Peter van Dijk [Mon, 17 Jul 2023 13:05:39 +0000 (15:05 +0200)]
Merge pull request #13040 from zeha/rm-dnsproxy-unused-decl
auth: DNSProxy: remove declaration without implementation
Remi Gacogne [Mon, 17 Jul 2023 10:19:11 +0000 (12:19 +0200)]
auth: Fix 'exceptions not caught' warnings from Coverity
Remi Gacogne [Mon, 17 Jul 2023 10:18:10 +0000 (12:18 +0200)]
auth: Apply Coverity's suggestion to prevent copies in loops w/ auto
Chris Hofstaedtler [Mon, 17 Jul 2023 11:52:19 +0000 (13:52 +0200)]
auth: DNSProxy: remove declaration without implementation
Peter van Dijk [Mon, 17 Jul 2023 11:36:39 +0000 (13:36 +0200)]
Merge pull request #12753 from cmouse/pkcs11-relogin
pkcs11signers: If private key object has CKA_ALWAYS_AUTHENTICATE attribute, perform CKU_CONTEXT_SPECIFIC login after OperationInit to make it actually work.
Otto Moerbeek [Mon, 17 Jul 2023 11:23:49 +0000 (13:23 +0200)]
Merge pull request #13032 from setharnold/patch-8
Update settings.rst -- clarify edns-subnet-allow-list
Remi Gacogne [Mon, 17 Jul 2023 10:20:27 +0000 (12:20 +0200)]
Merge pull request #13035 from Call-Me-G-Now/patch-3
Update dnsdist changelog
Remi Gacogne [Mon, 17 Jul 2023 10:17:38 +0000 (12:17 +0200)]
auth: Apply Coverity's suggestions to initialize field members
Remi Gacogne [Mon, 17 Jul 2023 10:16:47 +0000 (12:16 +0200)]
auth: Apply Coverity's suggestions to move objects whenever possible
Remi Gacogne [Mon, 17 Jul 2023 08:41:13 +0000 (10:41 +0200)]
dnsdist: Set the group of our configuration file to dnsdist on RH and co
The file was already readable by the group, but our RPM specs did
not set the group to 'dnsdist'.
Remi Gacogne [Tue, 11 Jul 2023 08:40:53 +0000 (10:40 +0200)]
Remove dnsdist-healthchecks.* from the 'not formatted' list
Remi Gacogne [Tue, 11 Jul 2023 08:38:57 +0000 (10:38 +0200)]
dnsdist: Reformat dnsdist-healthchecks.cc and dnsdist-healthchecks.hh
Remi Gacogne [Tue, 11 Jul 2023 08:37:08 +0000 (10:37 +0200)]
dnsdist: Delint dnsdist-healthchecks.cc
Remi Gacogne [Mon, 10 Jul 2023 15:49:51 +0000 (17:49 +0200)]
dnsdist: Better handling of spurious wake-ups, interrupted calls
If we were woken up by the multiplexer but have actually nothing to read,
or the call to `recv()` is interrupted, we do not want to stop listening
for the health-check response event. It is also not useful to log about
it, even at "verbose health-check" level.
Note that we would have logged previously, so this kind of event would
not have gone unnoticed anyway.
Remi Gacogne [Mon, 17 Jul 2023 08:14:25 +0000 (10:14 +0200)]
Merge pull request #13036 from Habbie/dnsdist-changelog-indent
dnsdist changelog: fix indentation of this line
Remi Gacogne [Mon, 17 Jul 2023 08:08:06 +0000 (10:08 +0200)]
Merge pull request #13026 from rgacogne/dnsheader-bitfield-uint16
dnsheader: Switch from bitfield to uint16_t whenever possible
Peter van Dijk [Mon, 17 Jul 2023 07:03:23 +0000 (09:03 +0200)]
dnsdist changelog: fix indentation of this line
Peter van Dijk [Mon, 17 Jul 2023 06:55:47 +0000 (08:55 +0200)]
Merge pull request #13034 from Call-Me-G-Now/patch-2
Update recursor changelog
Peter van Dijk [Mon, 17 Jul 2023 06:55:00 +0000 (08:55 +0200)]
Merge pull request #13033 from Call-Me-G-Now/patch-1
update changelog