]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
23 months agodnsdist: Remove a second useless check, useless static casts 13138/head
Remi Gacogne [Tue, 15 Aug 2023 16:07:52 +0000 (18:07 +0200)] 
dnsdist: Remove a second useless check, useless static casts

23 months agocoverity CID 398388: useless <0 check on unsigned value
Peter van Dijk [Tue, 15 Aug 2023 08:28:46 +0000 (10:28 +0200)] 
coverity CID 398388: useless <0 check on unsigned value

23 months agoMerge pull request #13114 from rgacogne/auth-coverity-3
Remi Gacogne [Mon, 14 Aug 2023 12:39:15 +0000 (14:39 +0200)] 
Merge pull request #13114 from rgacogne/auth-coverity-3

auth: Fix uninitialized scalar field warnings from Coverity

23 months agoMerge pull request #13093 from rgacogne/ixfrdist-fix-max-soa-refresh
Peter van Dijk [Mon, 14 Aug 2023 12:23:02 +0000 (14:23 +0200)] 
Merge pull request #13093 from rgacogne/ixfrdist-fix-max-soa-refresh

ixfrdist: Fix the validation of 'max-soa-refresh'

23 months agoMerge pull request #13113 from rgacogne/ddist-discovery-short-read
Remi Gacogne [Mon, 14 Aug 2023 11:23:40 +0000 (13:23 +0200)] 
Merge pull request #13113 from rgacogne/ddist-discovery-short-read

dnsdist: Properly handle short reads on backend upgrade discovery

23 months agoauth: Fix Coverity CID 1504120: Uninitialized scalar field 13114/head
Remi Gacogne [Mon, 14 Aug 2023 10:09:40 +0000 (12:09 +0200)] 
auth: Fix Coverity CID 1504120: Uninitialized scalar field

23 months agoauth: Fix coverity CID 1030024: Uninitialized scalar field
Remi Gacogne [Mon, 14 Aug 2023 10:09:00 +0000 (12:09 +0200)] 
auth: Fix coverity CID 1030024: Uninitialized scalar field

23 months agodnsdist: Uglify the code to make the formatter happy 13113/head
Remi Gacogne [Mon, 14 Aug 2023 09:01:41 +0000 (11:01 +0200)] 
dnsdist: Uglify the code to make the formatter happy

23 months agoMerge pull request #13105 from Habbie/rec-ixfr-debugging
Peter van Dijk [Mon, 14 Aug 2023 08:58:27 +0000 (10:58 +0200)] 
Merge pull request #13105 from Habbie/rec-ixfr-debugging

(I)XFR: handle partial read of len prefix

23 months agodnsdist: Add a 'partial read' case to the backend upgrade tests
Remi Gacogne [Mon, 14 Aug 2023 08:57:38 +0000 (10:57 +0200)] 
dnsdist: Add a 'partial read' case to the backend upgrade tests

23 months agosstuff: Document that Socket::readWithTimeout() does not handle partial reads
Remi Gacogne [Mon, 14 Aug 2023 08:56:53 +0000 (10:56 +0200)] 
sstuff: Document that Socket::readWithTimeout() does not handle partial reads

23 months agodnsdist: Properly handle short reads on backend upgrade discovery
Remi Gacogne [Mon, 14 Aug 2023 08:56:21 +0000 (10:56 +0200)] 
dnsdist: Properly handle short reads on backend upgrade discovery

23 months agoMerge pull request #13111 from franklouwers/master
Peter van Dijk [Mon, 14 Aug 2023 08:23:30 +0000 (10:23 +0200)] 
Merge pull request #13111 from franklouwers/master

Document default for `webserver-loglevel`

23 months agoDocument default for `webserver-loglevel` 13111/head
Frank Louwers [Thu, 10 Aug 2023 12:44:51 +0000 (14:44 +0200)] 
Document default for `webserver-loglevel`

23 months agoMerge pull request #12565 from jsoref/harmonize-xfr-out-messages
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

23 months agoMerge pull request #12949 from rgacogne/auth-channel
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

23 months agoremove redundant assignment 13105/head
Otto Moerbeek [Wed, 9 Aug 2023 08:09:36 +0000 (10:09 +0200)] 
remove redundant assignment

23 months agoMerge pull request #13108 from fredmorcos/auth-fix-bind-backend-warnings
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

23 months agoMerge pull request #13098 from omoerbeek/rec-docs-upgrade-stack
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

23 months agoAuth: Fix warnings in bind backend 13108/head
Fred Morcos [Tue, 8 Aug 2023 21:11:47 +0000 (23:11 +0200)] 
Auth: Fix warnings in bind backend

23 months agoMerge pull request #13107 from paddg/max-packetcache-entries-doc-patch-1
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

23 months agoIXFR client: handle partial reads of the TCP chunk length header, plus:
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

23 months agoUpdate max-packetcache-entries setting doc 13107/head
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.

23 months agotypo fix
Peter van Dijk [Mon, 7 Aug 2023 17:13:11 +0000 (19:13 +0200)] 
typo fix

2 years agoMerge pull request #13096 from Habbie/lmdb-do-reset-index-timestamp
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

2 years agoMerge pull request #13089 from Habbie/auth-docs-metadata-dnssec
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

2 years agoExpand the note on max-recursion-depth 13098/head
Otto Moerbeek [Thu, 3 Aug 2023 09:12:11 +0000 (11:12 +0200)] 
Expand the note on max-recursion-depth

2 years agoauth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged 13096/head
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

2 years agoMerge pull request #13087 from Habbie/rm-init.d
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

2 years agoremove unused sysv init files - we don't ship them, and non-systemd downstream packag... 13087/head
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

2 years agoMerge pull request #13092 from rgacogne/rec-coverity
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

2 years agoMerge pull request #13091 from rgacogne/auth-coverity-2
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

2 years agoixfrdist: Fix the validation of 'max-soa-refresh' 13093/head
Remi Gacogne [Tue, 1 Aug 2023 14:17:49 +0000 (16:17 +0200)] 
ixfrdist: Fix the validation of 'max-soa-refresh'

2 years agorec: Prevent a copy when distributing UDP queries to workers 13092/head
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.

2 years agorec: Prevent a copy in RecursorLua4::DNSQuestion::addAnswer
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

2 years agopdnsutil: Set a proper umask before writing the temporary zone file 13091/head
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.

2 years agoixfrdist: Ensure exceptions are properly caught
Remi Gacogne [Tue, 1 Aug 2023 11:54:30 +0000 (13:54 +0200)] 
ixfrdist: Ensure exceptions are properly caught

Reported by Coverity as CIDs 1504095150409715041091504112,
150411315041141504137 and 1504138.

2 years agopkcs11signers: Fix a possibly unitialized variable
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.

2 years agoauth: Make Coverity happy about 'ifurlextup' (CID 1509357)
Remi Gacogne [Tue, 1 Aug 2023 11:52:53 +0000 (13:52 +0200)] 
auth: Make Coverity happy about 'ifurlextup' (CID 1509357)

2 years agospeedtest: Make coverity happy (CID 1513038)
Remi Gacogne [Tue, 1 Aug 2023 11:51:52 +0000 (13:51 +0200)] 
speedtest: Make coverity happy (CID 1513038)

2 years agofuzzing: Add a missing cstdint header to the fuzzing targets
Remi Gacogne [Tue, 1 Aug 2023 11:51:20 +0000 (13:51 +0200)] 
fuzzing: Add a missing cstdint header to the fuzzing targets

2 years agolmdbbackend: Prevent a useless copy in LMDBBackend::getAllDomainsFiltered()
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.

2 years agoMerge pull request #13013 from rgacogne/ddist-get-rule-action-matched
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

2 years agoMerge pull request #13018 from rgacogne/calidns-fix-ecs-0
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

2 years agoMerge pull request #13088 from rgacogne/ddist-remove-useless-user-group-unit-sed
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

2 years agoMerge pull request #13084 from rgacogne/ddist-fix-dnsdistconf-grp-rpm
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

2 years agoauth docs: remove domainmetadata/DNSSEC warning, has not been true for years 13089/head
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

2 years agodnsdist: Fix a c/p mistake in the description of getSelfAnsweredResponseRule 13013/head
Remi Gacogne [Tue, 1 Aug 2023 08:57:16 +0000 (10:57 +0200)] 
dnsdist: Fix a c/p mistake in the description of getSelfAnsweredResponseRule

2 years agodnsdist: Add a comment indicating we are fine with at() throwing
Remi Gacogne [Tue, 1 Aug 2023 08:55:16 +0000 (10:55 +0200)] 
dnsdist: Add a comment indicating we are fine with at() throwing

2 years agodnsdist: Fix indentation
Remi Gacogne [Tue, 1 Aug 2023 08:52:24 +0000 (10:52 +0200)] 
dnsdist: Fix indentation

2 years agocalidns: Fix the use of `ntohl` instead of `htonl` in ECS handling 13018/head
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

2 years agocalidns: Use the full 32-bit range for 0.0.0.0/0, via Otto
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

2 years agocalidns: Fix setting an ECS source of 0
Remi Gacogne [Wed, 12 Jul 2023 08:49:31 +0000 (10:49 +0200)] 
calidns: Fix setting an ECS source of 0

2 years agodnsdist: Fix the group of the dnsdist.conf file when installed via RPM 13084/head
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.

2 years agodnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart 13088/head
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
```

2 years agoMerge pull request #13019 from rgacogne/fix-calidns-issues
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

2 years agoMerge pull request #13065 from Habbie/auth-backend-errorlogging
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

2 years agoMerge pull request #12998 from rgacogne/fix-src-provenance-generation
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

2 years agoMerge pull request #13037 from rgacogne/ddist-rpm-dnsdistconf-group
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

2 years agoMerge pull request #13000 from mind04/pdns-rfc9432
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

2 years agoMerge pull request #13030 from jacobbunk/queue-limit-and-performance
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

2 years agoMerge pull request #13074 from jsoref/regression-tests
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

2 years agoMerge pull request #13073 from jsoref/github-output
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

2 years agoHighlight why regression tests failed with github annotation 13074/head
Josh Soref [Tue, 25 Jul 2023 12:27:30 +0000 (08:27 -0400)] 
Highlight why regression tests failed with github annotation

2 years agoMerge pull request #13067 from jsoref/rec-control-backticks
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)

2 years agoSwitch from deprecated ::set-output 13073/head
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/

2 years agoUse backticks in rec_control(1) 13067/head
Josh Soref [Mon, 24 Jul 2023 16:11:14 +0000 (12:11 -0400)] 
Use backticks in rec_control(1)

2 years agoMerge pull request #13068 from jsoref/recursor-test
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

2 years agoHighlight why bulk test failed with github annotation 13068/head
Josh Soref [Mon, 24 Jul 2023 17:40:08 +0000 (13:40 -0400)] 
Highlight why bulk test failed with github annotation

2 years agoClean up recursor-test
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

2 years agoMerge pull request #13063 from zeha/tcpthread-remote
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

2 years agoreport which backend failed to instantiate 13065/head
Peter van Dijk [Mon, 24 Jul 2023 08:52:56 +0000 (10:52 +0200)] 
report which backend failed to instantiate

2 years agoMerge pull request #13049 from aj-gh/pdnstools-control-addmissing
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)

2 years agoauth: add remote to logs when tcp thread dies 13063/head
Chris Hofstaedtler [Fri, 21 Jul 2023 16:17:23 +0000 (18:17 +0200)] 
auth: add remote to logs when tcp thread dies

2 years agoMerge pull request #13061 from rgacogne/channel-unit-retrieve-object
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

2 years agochannel unit tests: Actually retrieve the object after an overflow 13061/head
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.

2 years agoMerge pull request #13043 from omoerbeek/rec-getFakePTRRecords-ttl
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

2 years agoMerge pull request #13059 from omoerbeek/rec-policytags-regr-followup
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

2 years agorec: Don't check TTLs of records coming out of packet cache in regress tests 13059/head
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

2 years agoMerge pull request #13012 from rgacogne/ddist-healthcheck-spurious
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

2 years agoMerge pull request #13041 from rgacogne/auth-coverity
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

2 years agodnsdist: Add suggestions from code review 13012/head
Remi Gacogne [Thu, 20 Jul 2023 09:17:27 +0000 (11:17 +0200)] 
dnsdist: Add suggestions from code review

2 years agoMerge pull request #13021 from omoerbeek/rec-pb-cache-tags
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

2 years agoMerge pull request #13052 from rgacogne/fix-getmessagefromerrno-libcrypto
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

2 years agoMerge pull request #13042 from jpmens/patch-15
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

2 years agoApply suggestions from code review 13021/head
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>
2 years agoDo not store tags set by gettag(_ffi) into the PC by keeping them separate.
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.

2 years agoUse gettag
Otto Moerbeek [Wed, 12 Jul 2023 13:15:57 +0000 (15:15 +0200)] 
Use gettag

2 years agoSet the pb policy tags in the right places
Otto Moerbeek [Wed, 12 Jul 2023 12:58:53 +0000 (14:58 +0200)] 
Set the pb policy tags in the right places

2 years agoRegression test for pb tags coming out of packet cache or not
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

2 years agomisc: `pdns::getMessageFromErrno()` does not depend on libcrypto 13052/head
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.

2 years agoMerge pull request #13047 from Habbie/pyyaml-6.0.1
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

2 years agoMerge pull request #13045 from omoerbeek/less-copyright-years
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

2 years agoAdd missing tools to pdns-tools package description (control). 13049/head
Andreas Jakum [Wed, 19 Jul 2023 09:11:30 +0000 (11:11 +0200)] 
Add missing tools to pdns-tools package description (control).

2 years agoMerge pull request #13048 from omoerbeek/rec-dnstap-regr-errno
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

2 years agoinclude errno 13048/head
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

2 years agoauth docs: pin pyyaml 6.0.1 specifically, see #13046 13047/head
Peter van Dijk [Tue, 18 Jul 2023 09:49:18 +0000 (11:49 +0200)] 
auth docs: pin pyyaml 6.0.1 specifically, see #13046

2 years agoRemove copyright years in webserver output; noted by @mind04 13045/head
Otto Moerbeek [Tue, 18 Jul 2023 08:18:31 +0000 (10:18 +0200)] 
Remove copyright years in webserver output; noted by @mind04

2 years agoUpdate pdns/recursordist/pdns_recursor.cc 13043/head
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>
2 years agoFurther removal op copyright years
Otto Moerbeek [Tue, 18 Jul 2023 08:09:32 +0000 (10:09 +0200)] 
Further removal op copyright years

Fixes #13004