]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoFor zones having many NS records, we are not interested in all so take a sample. 11937/head
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.

(cherry picked from commit a49b0b40a0c1c1af9531b99e9266a8c2aa89cd68)

2 years agoMerge pull request #11898 from omoerbeek/backport-11848-to-rec-4.6.x
Otto Moerbeek [Fri, 9 Sep 2022 08:13:20 +0000 (10:13 +0200)] 
Merge pull request #11898 from omoerbeek/backport-11848-to-rec-4.6.x

rec: Backport 11848 to rec-4.6.x: Also check qperq limit if throttling happened, as it increases counters.

2 years agoAlso check qperq limit if throttling happened, as it increases counters. 11898/head
Otto Moerbeek [Thu, 11 Aug 2022 12:30:48 +0000 (14:30 +0200)] 
Also check qperq limit if throttling happened, as it increases counters.

This condition would be caught when going out previously, so is
an optimisation, not a behaviour difference.

(cherry picked from commit c75d28f2b786b986ec10675e3c853a52eec11e37)

2 years agoMerge pull request #11775 from omoerbeek/backport-11773-to-rec-4.6.x
Otto Moerbeek [Tue, 23 Aug 2022 11:17:54 +0000 (13:17 +0200)] 
Merge pull request #11775 from omoerbeek/backport-11773-to-rec-4.6.x

rec: Backport 11773 to rec 4.6.x: Resize answer length to actual received length in udpQueryResponse

2 years agoMerge pull request #11876 from omoerbeek/rec-backport-to-rec-4.6.x-pb-size rec-4.6.3
Otto Moerbeek [Tue, 23 Aug 2022 10:17:24 +0000 (12:17 +0200)] 
Merge pull request #11876 from omoerbeek/rec-backport-to-rec-4.6.x-pb-size

Backport of protobuf PSA 2022-02 (CVE-2022-37428) to rec-4.6.x

3 years agoBackport of protobuf PSA 2022-02 (CVE-2022-37428) to rec-4.6.x 11876/head
Otto Moerbeek [Wed, 3 Aug 2022 13:32:43 +0000 (15:32 +0200)] 
Backport of protobuf PSA 2022-02 (CVE-2022-37428) to rec-4.6.x

3 years agoAdd regression test for #11771 (lenght of annswer in udpQueryResponse) 11775/head
Otto Moerbeek [Mon, 11 Jul 2022 08:22:43 +0000 (10:22 +0200)] 
Add regression test for #11771 (lenght of annswer in udpQueryResponse)

(cherry picked from commit 8ca70105ddd6fda10e98b6d3d8cb67523ebc81e1)

3 years agoRec: Resize answer length to actual received length in udpQueryResponse
Otto Moerbeek [Mon, 11 Jul 2022 08:21:48 +0000 (10:21 +0200)] 
Rec: Resize answer length to actual received length in udpQueryResponse

Fixes #11771

(cherry picked from commit cbb5ac45a90e4109ff1f8536bf5d99aafd62ef0c)

3 years agoMerge pull request #11739 from Habbie/backport-11735-to-rec-4.6.x
Otto Moerbeek [Mon, 4 Jul 2022 12:53:15 +0000 (14:53 +0200)] 
Merge pull request #11739 from Habbie/backport-11735-to-rec-4.6.x

rec-4.6.x: dh_builddeb: force gzip compression, thanks Zash!

3 years agodh_builddeb: force gzip compression, thanks Zash! 11739/head
Peter van Dijk [Thu, 30 Jun 2022 11:51:00 +0000 (13:51 +0200)] 
dh_builddeb: force gzip compression, thanks Zash!

(cherry picked from commit bbfa37c0232b56e2227668717dbb97ce4f01d990)

3 years agoMerge pull request #11700 from Habbie/backport-11658-to-rec-4.6.x
Otto Moerbeek [Fri, 17 Jun 2022 11:05:52 +0000 (13:05 +0200)] 
Merge pull request #11700 from Habbie/backport-11658-to-rec-4.6.x

rec-4.6.x: protobuf: use python implementation during tests

3 years agoprotobuf: use python implementation during tests 11700/head
Peter van Dijk [Tue, 31 May 2022 10:13:57 +0000 (12:13 +0200)] 
protobuf: use python implementation during tests

(cherry picked from commit 2dd4d60b8103a64c796296647ad7b45226d5a5bd)

3 years agoMerge pull request #11633 from omoerbeek/backport-11609-to-rec-4.6.x
Otto Moerbeek [Fri, 17 Jun 2022 08:58:09 +0000 (10:58 +0200)] 
Merge pull request #11633 from omoerbeek/backport-11609-to-rec-4.6.x

Backport 11609 to rec 4.6.x: Fix API issue when asking config values for allow-from or allow-notiy-from

3 years agoDocument meaning of empty allow-from 11633/head
Otto Moerbeek [Fri, 6 May 2022 09:54:23 +0000 (11:54 +0200)] 
Document meaning of empty allow-from

(cherry picked from commit a75c8e8019462827dae4599b6a24ef7a0645c30c)

3 years agoAdd tests for empty allow-from and allow-notify-from case
Otto Moerbeek [Thu, 5 May 2022 08:19:47 +0000 (10:19 +0200)] 
Add tests for empty allow-from and allow-notify-from case

(cherry picked from commit bfa1ae26f5c174d6fe237dc0ed9d08043518648f)

3 years agoFix API issue when asking config values for allow-from or allow-notify-from
Otto Moerbeek [Thu, 5 May 2022 08:04:20 +0000 (10:04 +0200)] 
Fix API issue when asking config values for allow-from or allow-notify-from

(cherry picked from commit 3aa876deef257fc6d63da32df0742ed8cf91aaa1)

3 years agoMerge pull request #11569 from omoerbeek/backport-11496-to-rec-4.6.x
Otto Moerbeek [Tue, 26 Apr 2022 10:20:13 +0000 (12:20 +0200)] 
Merge pull request #11569 from omoerbeek/backport-11496-to-rec-4.6.x

rec: Backport of 11496 to rec-4.6.x: Prevent segfault with empty allow-from-file and allow-from options

3 years agorec: Backport of 11496 to rec-4.6.x: Prevent segfault with empty allow-from-file... 11569/head
Otto Moerbeek [Fri, 22 Apr 2022 08:37:56 +0000 (10:37 +0200)] 
rec: Backport of 11496 to rec-4.6.x: Prevent segfault with empty allow-from-file and allow-from options

3 years agoMerge pull request #11478 from omoerbeek/rec-fix-rpz-incompletetest rec-4.6.2
Otto Moerbeek [Tue, 29 Mar 2022 14:16:09 +0000 (16:16 +0200)] 
Merge pull request #11478 from omoerbeek/rec-fix-rpz-incompletetest

rec: rec-4.6.x has no waitForTCPSocket in test code

3 years ago4.6.x has no waitForTCPSocket plus counts are different due to rpz loading changes... 11478/head
Otto Moerbeek [Tue, 29 Mar 2022 10:32:33 +0000 (12:32 +0200)] 
4.6.x has no waitForTCPSocket plus counts are different due to rpz loading changes in master

3 years agoMerge pull request #11458 from omoerbeek/rec-4.6.0-ixfr
Otto Moerbeek [Fri, 25 Mar 2022 15:52:27 +0000 (16:52 +0100)] 
Merge pull request #11458 from omoerbeek/rec-4.6.0-ixfr

Rec 4.6.x: Fix a case where an incomplete read caused by network error might result in a truncated zone

3 years agoMerge pull request #11464 from Habbie/backport-11449-to-rec-4.6.x
Otto Moerbeek [Fri, 25 Mar 2022 15:34:15 +0000 (16:34 +0100)] 
Merge pull request #11464 from Habbie/backport-11449-to-rec-4.6.x

rec-4.6.x docs: Pin jinja2 to < 3.1.0

3 years agodocs: Pin jinja2 to < 3.1.0 11464/head
Remi Gacogne [Fri, 25 Mar 2022 08:45:55 +0000 (09:45 +0100)] 
docs: Pin jinja2 to < 3.1.0

Jinja2 3.1.0 removed deprecated code that is still used by sphinx
1.8.x, and it looks like our custom sphinx extensions are not working
with more recent versions of sphinx..

See:
- https://github.com/pallets/jinja/issues/1631
- https://github.com/readthedocs/readthedocs.org/issues/9037

and

- https://github.com/PowerDNS/pdns/pull/7712

The exact error is:
```
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py))
```

(cherry picked from commit 92ad29702011ac7cbd0d7d118ba612e7e07cedbe)

3 years agoMerge pull request #11418 from omoerbeek/backport-11376-to-rec-4.6.x
Otto Moerbeek [Fri, 18 Mar 2022 09:22:47 +0000 (10:22 +0100)] 
Merge pull request #11418 from omoerbeek/backport-11376-to-rec-4.6.x

rec: Backport 11376 to rec 4.6.x: Be more careful using refresh mode only for the record asked

3 years agorec: Fix the path to the recursor's UBSan suppression file in forks 11458/head rec-4.6.1
Remi Gacogne [Fri, 17 Dec 2021 16:10:03 +0000 (17:10 +0100)] 
rec: Fix the path to the recursor's UBSan suppression file in forks

3 years agobuilder: add el-7 alias for centos-7
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)] 
builder: add el-7 alias for centos-7

(cherry picked from commit 6bd3c9bb23f5dfc385a66647ab175ec2812d6617)

3 years agotake centos 8-stream from quay
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)] 
take centos 8-stream from quay

(cherry picked from commit 2f9edddc0c9c1f8a68e154f6c12e3fd214420563)

3 years agobuilder CI: switch oraclelinux-8 to el-8
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)] 
builder CI: switch oraclelinux-8 to el-8

cleanup

(cherry picked from commit 1b27721782ad3dc547ed448a257c59829ff0bd94)

3 years agobuilder: archs for oraclelinux-8; el-8 symlinks
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)] 
builder: archs for oraclelinux-8; el-8 symlinks

(cherry picked from commit dee53cf16161a6c45560475b647de420842532ef)

3 years agostop testing auth+dnsdist on rec branch
Peter van Dijk [Wed, 2 Feb 2022 09:28:44 +0000 (10:28 +0100)] 
stop testing auth+dnsdist on rec branch

3 years agoCI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)] 
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

(cherry picked from commit 46a40ed033d64f58aa30013d7e68daa5b5e8d615)

3 years agoauth, rec IXFR-in: Fix a case where an incomplete read caused by network error might...
Otto Moerbeek [Tue, 8 Mar 2022 14:36:48 +0000 (15:36 +0100)] 
auth, rec IXFR-in: Fix a case where an incomplete read caused by network error might result in a truncated zone.

As we might break from the loop early, we need to check if the end SOA was seen after the loop.
Also make sure we detect end conditions for both AXFR and IXFR style properly, to avoid processing
data after the end marker.

3 years agoReinstate refresh mode for {C,D}NAME cache lookups 11418/head
Otto Moerbeek [Fri, 11 Mar 2022 13:15:50 +0000 (14:15 +0100)] 
Reinstate refresh mode for {C,D}NAME cache lookups

(cherry picked from commit 3263b3adf19081274a9e36891eb202d75685ecfa)

3 years agoBe more careful using refresh mode only for the record asked.
Otto Moerbeek [Mon, 28 Feb 2022 13:27:30 +0000 (14:27 +0100)] 
Be more careful using refresh mode only for the record asked.
Otherwise we get bad interaction with QM, as newly discovered
delegation points are stored in the cache, but not seen the QM
algorithm. Might/should fix #11371.

(cherry picked from commit 7502f5f3b9293bed2601be2c479780f94438b45b)

3 years agoMerge pull request #11380 from omoerbeek/backport-11300-to-rec-4.6.x
Otto Moerbeek [Fri, 4 Mar 2022 08:31:14 +0000 (09:31 +0100)] 
Merge pull request #11380 from omoerbeek/backport-11300-to-rec-4.6.x

rec: Backport of 11300 to rec-4.6.x: Use the Lua context stored in SyncRes when calling hooks

3 years agoBackport of 11300 to rec-4.6.x: Use the Lua context stored in SyncRes when calling... 11380/head
Otto Moerbeek [Tue, 1 Mar 2022 08:56:48 +0000 (09:56 +0100)] 
Backport of 11300 to rec-4.6.x: Use the Lua context stored in SyncRes when calling hooks

3 years agoMerge pull request #11363 from omoerbeek/backport-11338-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:29:11 +0000 (15:29 +0100)] 
Merge pull request #11363 from omoerbeek/backport-11338-to-rec-4.6.x

rec: Backport of 11338 to rec-4.6.x: QType ADDR is supposed to be used internally only

3 years agoMerge pull request #11362 from omoerbeek/backport-11327-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:28:51 +0000 (15:28 +0100)] 
Merge pull request #11362 from omoerbeek/backport-11327-to-rec-4.6.x

rec: Backport 11327 to rec 4.6.x: If we get NODATA on an AAAA in followCNAMERecords, try dns64

3 years agoMerge pull request #11360 from omoerbeek/backport-11283-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:28:29 +0000 (15:28 +0100)] 
Merge pull request #11360 from omoerbeek/backport-11283-to-rec-4.6.x

rec: Backport 11283 to rec 4.6.x: Allow disabling of processing the root hints

3 years agoMerge pull request #11361 from omoerbeek/backport-11288-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:28:08 +0000 (15:28 +0100)] 
Merge pull request #11361 from omoerbeek/backport-11288-to-rec-4.6.x

rec: Backport 11288 to rec 4.6.x: Log an error if pdns.DROP is used as rcode in Lua callbacks

3 years agoMerge pull request #11359 from omoerbeek/backport-11257-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:27:49 +0000 (15:27 +0100)] 
Merge pull request #11359 from omoerbeek/backport-11257-to-rec-4.6.x

rec: Backport 11257 to rec 4.6.x: Initialize isNew before calling a exception throwing function

3 years agoMerge pull request #11358 from omoerbeek/backport-11245-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:27:34 +0000 (15:27 +0100)] 
Merge pull request #11358 from omoerbeek/backport-11245-to-rec-4.6.x

rec: Backport 11245 to rec 4.6.x: a CNAME answer on DS query should abort DS retrieval

3 years agoMerge pull request #11357 from omoerbeek/backport-11225-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:27:15 +0000 (15:27 +0100)] 
Merge pull request #11357 from omoerbeek/backport-11225-to-rec-4.6.x

rec: Backport 11225 to rec 4.6.x: Reject non-apex NSEC(3)s that have both the NS and SOA bits set

3 years agoMerge pull request #11356 from omoerbeek/backport-11199-to-rec-4.6.x
Otto Moerbeek [Mon, 28 Feb 2022 14:26:57 +0000 (15:26 +0100)] 
Merge pull request #11356 from omoerbeek/backport-11199-to-rec-4.6.x

rec: Backport 11199 to rec 4.6.x: add ubuntu jammy build target

3 years agoQType ADDR is supposed to be used internally only. 11363/head
Otto Moerbeek [Fri, 18 Feb 2022 15:24:11 +0000 (16:24 +0100)] 
QType ADDR is supposed to be used internally only.

Should fix #11337

(cherry picked from commit 7a278799ee23e582c3b722cea578699db1791bc2)

3 years agoAdd test case for #11320: followCNAMERecords leads to a result that 11362/head
Otto Moerbeek [Tue, 15 Feb 2022 13:09:36 +0000 (14:09 +0100)] 
Add test case for #11320:  followCNAMERecords leads to a result that
should be subject to dns64 processing

(cherry picked from commit 63ad9c90eb8f1842d2d79acefa803db9f820e33d)

3 years agoIf we get NODATA on an AAAA in followCNAMERecords, try dns64
Otto Moerbeek [Mon, 14 Feb 2022 14:39:17 +0000 (15:39 +0100)] 
If we get NODATA on an AAAA in followCNAMERecords, try dns64

Fixes #11320

(cherry picked from commit aa59465e46b6fd617bf992a80da400ae14fbb4ec)

3 years agoApply suggestions from code review 11361/head
Otto Moerbeek [Fri, 4 Feb 2022 09:56:17 +0000 (10:56 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit f7c973de073a5cae0af462cb86285eedcc76fd01)

3 years agoLog an error if pdns.DROP is used as rcode in Lua callbacks
Otto Moerbeek [Fri, 4 Feb 2022 09:03:04 +0000 (10:03 +0100)] 
Log an error if pdns.DROP is used as rcode in Lua callbacks

(cherry picked from commit f3f042efd2a1aff444f18e7d9e23ffc631b1b36f)

3 years agoUpgrade guide and doc tweaks 11360/head
Otto Moerbeek [Fri, 4 Feb 2022 07:49:11 +0000 (08:49 +0100)] 
Upgrade guide and doc tweaks

(cherry picked from commit 067a807cbc008d2b4c79a3ebe709226d46ff7718)

3 years agoAllow disabling of processing the root hints
Otto Moerbeek [Fri, 28 Jan 2022 08:45:13 +0000 (09:45 +0100)] 
Allow disabling of processing the root hints

This also make sure we use the right dnssec mode for processing hints
and changes a few log levels to Debug to be less verbose.

(cherry picked from commit e46b0f2f7f4f20f92190a9202a7823ffe2123d98)

3 years agoInitialize isNew before calling a exception throwing function 11359/head
Otto Moerbeek [Mon, 31 Jan 2022 11:44:39 +0000 (12:44 +0100)] 
Initialize isNew before calling a exception throwing function

(cherry picked from commit 4043238ede86eb42dad0bd4eae0b51cb351e80ab)

3 years agoFix indent
Otto Moerbeek [Mon, 31 Jan 2022 11:43:23 +0000 (12:43 +0100)] 
Fix indent

(cherry picked from commit 5db4dcaa91deeb3dbb0ebfbec828e7d224eca074)

3 years agoAdd a test for the case where an (Insecure) domain fails to get a DS 11358/head
Otto Moerbeek [Fri, 28 Jan 2022 13:27:35 +0000 (14:27 +0100)] 
Add a test for the case where an (Insecure) domain fails to get a DS
record because of a CNAME loop, avoiding a SERVFAIL.

(cherry picked from commit c10acee8f241f7fa038fb5904d4bf71124093ac4)

3 years agoIf we get a CNAME when asking for a DS, we should give up and return vState::BogusUna...
Otto Moerbeek [Fri, 28 Jan 2022 13:26:36 +0000 (14:26 +0100)] 
If we get a CNAME when asking for a DS, we should give up and return vState::BogusUnableToGetDSs

(cherry picked from commit 271ae639803453a6193b6c3c2baf034446a9965a)

3 years agoNSEC -> NSEC3 11357/head
Remi Gacogne [Mon, 31 Jan 2022 08:44:15 +0000 (09:44 +0100)] 
NSEC -> NSEC3

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit c67b13a9aa2c8c4092de28c1bb37e8bbb32dcee3)

3 years agoNSEC -> NSEC3
Remi Gacogne [Mon, 31 Jan 2022 08:44:07 +0000 (09:44 +0100)] 
NSEC -> NSEC3

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 78cee42937e5265bf6e0d5c1dc1fdaf684932a5a)

3 years agorec: The NSEC3 ancestor check must be done against the original owner name
Remi Gacogne [Fri, 21 Jan 2022 13:42:18 +0000 (14:42 +0100)] 
rec: The NSEC3 ancestor check must be done against the original owner name

(cherry picked from commit f37a904f4cc53ccb74b5904948b819920401ed24)

3 years agorec: Reject non-apex NSEC(3)s that have both the NS and SOA bits set
Remi Gacogne [Fri, 21 Jan 2022 12:15:54 +0000 (13:15 +0100)] 
rec: Reject non-apex NSEC(3)s that have both the NS and SOA bits set

Ancestor NSEC(3)s have the SOA bit clear (delegation), and the remaining
non-apex ones should not have the NS set.

(cherry picked from commit be5d851dbedeecdeef39a583f0e2ac50d786b806)

3 years agotest ubuntu jammy build target 11356/head
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

(cherry picked from commit e3d50799180eb4499f8dda5263773775301bfa7e)

3 years agoadd ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:04 +0000 (12:12 +0100)] 
add ubuntu jammy build target

(cherry picked from commit 6c1e5fd70b4dd4e75b18ff8c75f93c7d22122643)

3 years agoMerge pull request #11275 from Habbie/backport-11262-to-rec-4.6.x
Peter van Dijk [Wed, 2 Feb 2022 14:32:27 +0000 (15:32 +0100)] 
Merge pull request #11275 from Habbie/backport-11262-to-rec-4.6.x

rec-4.6.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible

3 years agobuilder: add el-7 alias for centos-7 11275/head
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)] 
builder: add el-7 alias for centos-7

(cherry picked from commit 6bd3c9bb23f5dfc385a66647ab175ec2812d6617)

3 years agotake centos 8-stream from quay
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)] 
take centos 8-stream from quay

(cherry picked from commit 2f9edddc0c9c1f8a68e154f6c12e3fd214420563)

3 years agobuilder CI: switch oraclelinux-8 to el-8
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)] 
builder CI: switch oraclelinux-8 to el-8

cleanup

(cherry picked from commit 1b27721782ad3dc547ed448a257c59829ff0bd94)

3 years agobuilder: archs for oraclelinux-8; el-8 symlinks
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)] 
builder: archs for oraclelinux-8; el-8 symlinks

(cherry picked from commit dee53cf16161a6c45560475b647de420842532ef)

3 years agoMerge pull request #11282 from Habbie/rec-4.6-ci-rec-only
Peter van Dijk [Wed, 2 Feb 2022 10:18:17 +0000 (11:18 +0100)] 
Merge pull request #11282 from Habbie/rec-4.6-ci-rec-only

rec-4.6: stop testing auth+dnsdist on rec branch

3 years agostop testing auth+dnsdist on rec branch 11282/head
Peter van Dijk [Wed, 2 Feb 2022 09:28:44 +0000 (10:28 +0100)] 
stop testing auth+dnsdist on rec branch

3 years agoMerge pull request #11268 from omoerbeek/backport-11168-to-rec-4.6.x
Otto Moerbeek [Tue, 1 Feb 2022 09:43:37 +0000 (10:43 +0100)] 
Merge pull request #11268 from omoerbeek/backport-11168-to-rec-4.6.x

rec: backport 11168 to rec-4.6.x: servfail.nl changed their setup.

3 years agoMerge pull request #11263 from omoerbeek/backport-11208-to-rec-4.6.x
Otto Moerbeek [Tue, 1 Feb 2022 09:43:22 +0000 (10:43 +0100)] 
Merge pull request #11263 from omoerbeek/backport-11208-to-rec-4.6.x

rec: backport to rec-4.6.x: CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

3 years agoMerge pull request #11260 from rgacogne/rec46-openssl3
Otto Moerbeek [Tue, 1 Feb 2022 09:43:05 +0000 (10:43 +0100)] 
Merge pull request #11260 from rgacogne/rec46-openssl3

rec-4.6.x: Fix build with OpenSSL 3.0.0

3 years agoservfail.nl changed theuir setup. 11268/head
Otto Moerbeek [Tue, 11 Jan 2022 15:23:03 +0000 (16:23 +0100)] 
servfail.nl changed theuir setup.

I think in an ideal world we should return 9 (DNSSEC key missing) but I don't see a
easy way to do that at the moment.

(cherry picked from commit 2cd34ba5c565ee6bad368f577e34fa6d9519ab7d)

3 years agoCI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0 11263/head
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)] 
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

(cherry picked from commit 46a40ed033d64f58aa30013d7e68daa5b5e8d615)

3 years agorec-4.6.x: Fix build with OpenSSL 3.0.0 11260/head
Remi Gacogne [Mon, 31 Jan 2022 13:47:54 +0000 (14:47 +0100)] 
rec-4.6.x: Fix build with OpenSSL 3.0.0

(cherry picked from commit 8535f66672ec9d1eebf5835d3e53238973a80478)

3 years agoMerge pull request #11170 from omoerbeek/backport-11137-to-rec-4.6.x
Otto Moerbeek [Fri, 14 Jan 2022 09:42:31 +0000 (10:42 +0100)] 
Merge pull request #11170 from omoerbeek/backport-11137-to-rec-4.6.x

rec: Backport 11137 to rec 4.6.x: try shorted thread names

3 years agoMerge pull request #11169 from omoerbeek/backport-11109-to-rec-4.6.x
Otto Moerbeek [Fri, 14 Jan 2022 09:42:15 +0000 (10:42 +0100)] 
Merge pull request #11169 from omoerbeek/backport-11109-to-rec-4.6.x

rec: Backport 11109 to rec-4.6.x: Two more features to print

3 years agoMake trySetThreadName static 11170/head
Josh Soref [Mon, 3 Jan 2022 07:57:23 +0000 (02:57 -0500)] 
Make trySetThreadName static

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 80f15f6437c5a01c09d8f64cf252b68f6a77a083)

3 years agoTry shorter thread names
Josh Soref [Thu, 30 Dec 2021 03:40:10 +0000 (22:40 -0500)] 
Try shorter thread names

https://man7.org/linux/man-pages/man3/pthread_setname_np.3.html

       ... The thread name is a
       meaningful C language string, whose length is restricted to 16
       characters, including the terminating null byte ('\0').

(cherry picked from commit f3813e097ef9b4053009372e8009915bcd496a63)

3 years agoTwo more features to print 11169/head
Otto [Fri, 17 Dec 2021 11:16:51 +0000 (12:16 +0100)] 
Two more features to print

(cherry picked from commit 030c37636cea0dd449acdc9d14f03b2e27ad0791)

3 years agoMerge pull request #11091 from omoerbeek/backport-11069-to-rec-4.6.x rec-4.6.0
Otto Moerbeek [Tue, 14 Dec 2021 11:38:21 +0000 (12:38 +0100)] 
Merge pull request #11091 from omoerbeek/backport-11069-to-rec-4.6.x

rec: Backport 11069 to rec-4.6.x: Do not generate eventtrace records if no Lua hook is defined

3 years agoMerge pull request #11092 from omoerbeek/backport-11081-to-rec-4.6.x
Otto Moerbeek [Tue, 14 Dec 2021 11:38:03 +0000 (12:38 +0100)] 
Merge pull request #11092 from omoerbeek/backport-11081-to-rec-4.6.x

rec: Backport 11081 to rec 4.6.x: Remove capability requirements from Docker images

3 years agoAdditional note on Docker Engine version where the requirement of the additional... 11092/head
Nico Vaatstra [Thu, 9 Dec 2021 11:39:29 +0000 (12:39 +0100)] 
Additional note on Docker Engine version where the requirement of the additional capability was dropped

(cherry picked from commit 07b24e5743c08c828c73a93e724a86a5b83b680a)

3 years agoRemove capability requirements from Docker images
Nico Vaatstra [Wed, 8 Dec 2021 15:28:42 +0000 (16:28 +0100)] 
Remove capability requirements from Docker images

(cherry picked from commit f28c81ed0242b6838eafdb61933a6f63b68040cf)

3 years agoDo not generate eventtrace records if no Lua hook is defined 11091/head
Otto [Fri, 3 Dec 2021 12:24:45 +0000 (13:24 +0100)] 
Do not generate eventtrace records if no Lua hook is defined

(cherry picked from commit 6a948130b2406d0e3b295ec68f56b3b8ed302960)

3 years agoMerge pull request #11058 from omoerbeek/backport-11044-to-rec-4.6.x rec-4.6.0-rc1
Otto Moerbeek [Wed, 1 Dec 2021 12:49:41 +0000 (13:49 +0100)] 
Merge pull request #11058 from omoerbeek/backport-11044-to-rec-4.6.x

rec: backport 11044 to rec 4.6.x: Fix v6 setup and start using a more modern auth on circleci

3 years agoMerge pull request #11057 from omoerbeek/backport-11038-to-rec-4.6.x
Otto Moerbeek [Wed, 1 Dec 2021 12:49:29 +0000 (13:49 +0100)] 
Merge pull request #11057 from omoerbeek/backport-11038-to-rec-4.6.x

rec: backport 11038 to rec-4.6.x: Disable tsan regression runs for rec for now

3 years agoMerge pull request #11055 from omoerbeek/backport-10982-to-rec-4.6.x
Otto Moerbeek [Wed, 1 Dec 2021 12:49:18 +0000 (13:49 +0100)] 
Merge pull request #11055 from omoerbeek/backport-10982-to-rec-4.6.x

rec: backport 10982 to rec-4.x.6: Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

3 years agoFix error in test zone that auth-45 does not like 11058/head
Otto [Mon, 29 Nov 2021 13:48:09 +0000 (14:48 +0100)] 
Fix error in test zone that auth-45 does not like

(cherry picked from commit f1f41a8aa9299a4d8bf369c4fc0cb611f5b979cd)

3 years agoOne more occurence of --local-ipv6
Otto [Mon, 29 Nov 2021 11:52:09 +0000 (12:52 +0100)] 
One more occurence of --local-ipv6

(cherry picked from commit 9b3fc866b7f8133d4317aec9253e4b5fb0a385f9)

3 years agoFix v6 setup and start using a more modern auth on circleci
Otto [Mon, 29 Nov 2021 10:56:25 +0000 (11:56 +0100)] 
Fix v6 setup and start using a more modern auth on circleci

(cherry picked from commit 2d0fc474f8b03b536a95c6b9b05e96c6e8c51e30)

3 years agoDisable tsan regression runs for rec for now, there is a failure 11057/head
Otto [Fri, 26 Nov 2021 11:21:23 +0000 (12:21 +0100)] 
Disable tsan regression runs for rec for now, there is a failure
mode that if it hits makes almost all remaining test fail.  Symptom
is that the auths do not start up properly.

(cherry picked from commit 2ef0d14bf39fafa45d39d5a0b5e8e5f263357d17)

3 years agoCondition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed 11055/head
Otto [Mon, 15 Nov 2021 10:48:22 +0000 (11:48 +0100)] 
Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

(cherry picked from commit fc1f6fb803e3ab7346f327b6113fc79eaa40abf2)

3 years agoMerge pull request #11025 from omoerbeek/backport-11010-to-rec-4.6.x
Otto Moerbeek [Tue, 23 Nov 2021 10:24:55 +0000 (11:24 +0100)] 
Merge pull request #11025 from omoerbeek/backport-11010-to-rec-4.6.x

rec: backport 10110 to 4.6.x: Do cache negcache results, even when wasVariable() is true

3 years agoMerge pull request #11022 from omoerbeek/backport-11018-to-rec-4.6.x
Otto Moerbeek [Tue, 23 Nov 2021 09:56:29 +0000 (10:56 +0100)] 
Merge pull request #11022 from omoerbeek/backport-11018-to-rec-4.6.x

rec: Backport 11018 to rec 4.6.x: Fix logic botch introduced by notify handing

3 years agoDo cache negcache results, even when wasVariable() is true 11025/head
Otto [Fri, 19 Nov 2021 10:57:28 +0000 (11:57 +0100)] 
Do cache negcache results, even when wasVariable() is true

See https://datatracker.ietf.org/doc/html/rfc7871#section-7.4
Fixes #10994

(cherry picked from commit 2bcec14adbffbf4b28d698cb607877fb96054e87)

3 years agoWhen we drop a notify over TCP, terminate the connection 11022/head
Otto [Mon, 22 Nov 2021 14:18:07 +0000 (15:18 +0100)] 
When we drop a notify over TCP, terminate the connection

(cherry picked from commit 9aa6eeca355c50bc79e9f7ea986689fa0a296e42)

3 years agoFix logic botch introduced by notify handing
Otto [Mon, 22 Nov 2021 13:09:55 +0000 (14:09 +0100)] 
Fix logic botch introduced by notify handing

See #10751, some extra scrutiny review is needed to make sure no
other similat issue remains.

(cherry picked from commit 09a22e8c919b2ed55d98723fb14a33948aa6f517)

3 years agoMerge pull request #11016 from omoerbeek/backport-11005-to-rec-4.6.x
Otto Moerbeek [Tue, 23 Nov 2021 08:13:04 +0000 (09:13 +0100)] 
Merge pull request #11016 from omoerbeek/backport-11005-to-rec-4.6.x

rec: bacport 11005 to rec 4.6.x: Include sys/time.h; needed on musl

3 years agoMerge pull request #11015 from omoerbeek/backport-10990-to-rec-4.6.x
Otto Moerbeek [Tue, 23 Nov 2021 08:12:47 +0000 (09:12 +0100)] 
Merge pull request #11015 from omoerbeek/backport-10990-to-rec-4.6.x

rec: backport 10990 to rec 4.6.x: Basic notify test

3 years agoInclude sys/time.h; needed on musl; fixes #11000 11016/head
Otto [Thu, 18 Nov 2021 14:42:18 +0000 (15:42 +0100)] 
Include sys/time.h; needed on musl; fixes #11000

(cherry picked from commit 671ca0dee0cb529856af414e5b00db1b8b1e4d95)