]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agorec: Skip the aggressive NSEC cache for internal and forward zones 10047/head
Remi Gacogne [Wed, 24 Feb 2021 17:20:30 +0000 (18:20 +0100)] 
rec: Skip the aggressive NSEC cache for internal and forward zones

4 years agorec: Fix handling of the DNAME bit in parent NSEC(3)s
Remi Gacogne [Wed, 24 Feb 2021 15:18:36 +0000 (16:18 +0100)] 
rec: Fix handling of the DNAME bit in parent NSEC(3)s

4 years agorec: Enable the aggressive NSEC cache by default, if DNSSEC is enabled
Remi Gacogne [Wed, 24 Feb 2021 10:34:19 +0000 (11:34 +0100)] 
rec: Enable the aggressive NSEC cache by default, if DNSSEC is enabled

4 years agorec: Add regression tests for the aggressive NSEC cache
Remi Gacogne [Wed, 24 Feb 2021 10:12:46 +0000 (11:12 +0100)] 
rec: Add regression tests for the aggressive NSEC cache

4 years agorec: Clean up the wildcard denial validation code
Remi Gacogne [Wed, 24 Feb 2021 09:50:38 +0000 (10:50 +0100)] 
rec: Clean up the wildcard denial validation code

4 years agorec: Fix the generation of positive answer from a NSEC+wildcard
Remi Gacogne [Tue, 23 Feb 2021 17:27:02 +0000 (18:27 +0100)] 
rec: Fix the generation of positive answer from a NSEC+wildcard

4 years agorec: Cleaner way of getting the closest encloser from a NSEC
Remi Gacogne [Tue, 23 Feb 2021 17:26:14 +0000 (18:26 +0100)] 
rec: Cleaner way of getting the closest encloser from a NSEC

4 years agorec: Convert the warning about storing in raw form to a comment
Remi Gacogne [Tue, 23 Feb 2021 13:09:55 +0000 (14:09 +0100)] 
rec: Convert the warning about storing in raw form to a comment

4 years agorec: Test if the aggressive NSEC cache is enabled first
Remi Gacogne [Tue, 23 Feb 2021 09:06:01 +0000 (10:06 +0100)] 
rec: Test if the aggressive NSEC cache is enabled first

Making it easier to understand what the test is about.
Also remove a comment about moving the aggressive NSEC cache lookup
after the DNSSEC zone cut computation since it's going away.

4 years agorec: Remove empty zones from the aggressive NSEC cache
Remi Gacogne [Tue, 23 Feb 2021 08:59:58 +0000 (09:59 +0100)] 
rec: Remove empty zones from the aggressive NSEC cache

4 years agoFix signed vs unsigned warnings on OpenBSD/clang
Otto [Wed, 10 Feb 2021 11:04:43 +0000 (12:04 +0100)] 
Fix signed vs unsigned warnings on OpenBSD/clang

4 years agorec: Don't increase the number of aggressive cache entries when replacing
Remi Gacogne [Mon, 22 Feb 2021 17:28:20 +0000 (18:28 +0100)] 
rec: Don't increase the number of aggressive cache entries when replacing

4 years agorec: Don't delete aggressive cache entries while they are locked
Remi Gacogne [Mon, 22 Feb 2021 16:26:14 +0000 (17:26 +0100)] 
rec: Don't delete aggressive cache entries while they are locked

4 years agorec: Check that the salt and iterations count match for NSEC3 entries
Remi Gacogne [Mon, 22 Feb 2021 16:21:50 +0000 (17:21 +0100)] 
rec: Check that the salt and iterations count match for NSEC3 entries

Otherwise we could end up using a hash computed with the wrong parameters,
and thus not proving what we expected.

4 years agorec: Unbreak aggressive NSEC unit tests on older boost versions
Remi Gacogne [Wed, 3 Feb 2021 10:44:22 +0000 (11:44 +0100)] 
rec: Unbreak aggressive NSEC unit tests on older boost versions

4 years agorec: Add comment about moving the aggressive NSEC cache check
Remi Gacogne [Tue, 2 Feb 2021 15:06:39 +0000 (16:06 +0100)] 
rec: Add comment about moving the aggressive NSEC cache check

4 years agorec: Fix invalid DS denial for a NXDomain name
Remi Gacogne [Tue, 2 Feb 2021 15:05:05 +0000 (16:05 +0100)] 
rec: Fix invalid DS denial for a NXDomain name

4 years agorec: Don't wait on the aggressive cache's locks
Remi Gacogne [Fri, 8 Jan 2021 16:08:14 +0000 (17:08 +0100)] 
rec: Don't wait on the aggressive cache's locks

4 years agorec: Fix and add unit tests for Aggressive NSEC cache cleaning, dump, wiping
Remi Gacogne [Fri, 8 Jan 2021 15:58:00 +0000 (16:58 +0100)] 
rec: Fix and add unit tests for Aggressive NSEC cache cleaning, dump, wiping

4 years agorec: Cache cleaning, make the aggressive nsec cache size configurable
Remi Gacogne [Thu, 7 Jan 2021 15:21:34 +0000 (16:21 +0100)] 
rec: Cache cleaning, make the aggressive nsec cache size configurable

4 years agorec: Add warning about trying to get the lock instead of waiting
Remi Gacogne [Wed, 6 Jan 2021 10:41:13 +0000 (11:41 +0100)] 
rec: Add warning about trying to get the lock instead of waiting

4 years agorec: Ponder doing the aggressive cache check later
Remi Gacogne [Wed, 6 Jan 2021 09:22:19 +0000 (10:22 +0100)] 
rec: Ponder doing the aggressive cache check later

4 years agorec: Add support for wiping the aggressive cache
Remi Gacogne [Tue, 5 Jan 2021 16:19:50 +0000 (17:19 +0100)] 
rec: Add support for wiping the aggressive cache

4 years agorec: Document the aggressive NSEC caching setting
Remi Gacogne [Tue, 5 Jan 2021 14:49:52 +0000 (15:49 +0100)] 
rec: Document the aggressive NSEC caching setting

4 years agorec: Add metrics for Aggressive NSEC caching
Remi Gacogne [Tue, 5 Jan 2021 14:49:24 +0000 (15:49 +0100)] 
rec: Add metrics for Aggressive NSEC caching

4 years agorec: Exclude minimally covering NSEC{,3} from the aggressive cache
Remi Gacogne [Tue, 5 Jan 2021 13:03:03 +0000 (14:03 +0100)] 
rec: Exclude minimally covering NSEC{,3} from the aggressive cache

4 years agorec: Synthesize wildcard answers from the aggressive NSEC cache
Remi Gacogne [Mon, 4 Jan 2021 17:43:12 +0000 (18:43 +0100)] 
rec: Synthesize wildcard answers from the aggressive NSEC cache

4 years agorec: First unit tests for aggressive NSEC
Remi Gacogne [Thu, 31 Dec 2020 17:20:23 +0000 (18:20 +0100)] 
rec: First unit tests for aggressive NSEC

4 years agorec: Small cleanup of DNSSEC denial validation
Remi Gacogne [Thu, 31 Dec 2020 15:28:30 +0000 (16:28 +0100)] 
rec: Small cleanup of DNSSEC denial validation

4 years agorec: More wildcard denial tests, check DNAME
Remi Gacogne [Thu, 31 Dec 2020 12:43:32 +0000 (13:43 +0100)] 
rec: More wildcard denial tests, check DNAME

4 years agorec: Better aggressive NSEC/NSEC3. Needs tests, refactoring, perhaps wildcard synth
Remi Gacogne [Wed, 30 Dec 2020 17:27:17 +0000 (18:27 +0100)] 
rec: Better aggressive NSEC/NSEC3. Needs tests, refactoring, perhaps wildcard synth

4 years agorec: Aggressive NSEC3 caching as well!
Remi Gacogne [Tue, 29 Dec 2020 17:16:58 +0000 (18:16 +0100)] 
rec: Aggressive NSEC3 caching as well!

4 years agorec: Fix DNSSEC validation, exact ancestor NSEC is usable for the DS
Remi Gacogne [Tue, 22 Dec 2020 17:12:38 +0000 (18:12 +0100)] 
rec: Fix DNSSEC validation, exact ancestor NSEC is usable for the DS

4 years agorec: Use a separate cache for aggressive NSEC to keep things simple
Remi Gacogne [Fri, 19 Jun 2020 16:45:37 +0000 (18:45 +0200)] 
rec: Use a separate cache for aggressive NSEC to keep things simple

4 years agorec: Fix wrong NSEC generation (zone cut) in a unit test
Remi Gacogne [Tue, 22 Dec 2020 16:51:59 +0000 (17:51 +0100)] 
rec: Fix wrong NSEC generation (zone cut) in a unit test

4 years agoMerge pull request #9964 from zeha/debian-update
Peter van Dijk [Fri, 19 Feb 2021 17:24:55 +0000 (18:24 +0100)] 
Merge pull request #9964 from zeha/debian-update

authoritative: update debian packaging

4 years agoMerge pull request #10096 from omoerbeek/rec-non-resolving-ns
Otto Moerbeek [Fri, 19 Feb 2021 12:31:51 +0000 (13:31 +0100)] 
Merge pull request #10096 from omoerbeek/rec-non-resolving-ns

Rec: remember non resolving ns

4 years agoConsistency in spelling non-resolving 10096/head
Otto [Fri, 19 Feb 2021 10:46:30 +0000 (11:46 +0100)] 
Consistency in spelling non-resolving

4 years agoMerge pull request #10056 from mind04/pdns-api-backend
Peter van Dijk [Thu, 18 Feb 2021 14:09:57 +0000 (15:09 +0100)] 
Merge pull request #10056 from mind04/pdns-api-backend

Auth: test the api with more backends

4 years agoremove unused import 10056/head
Peter van Dijk [Thu, 18 Feb 2021 12:01:48 +0000 (13:01 +0100)] 
remove unused import

4 years agoauth api tests: accept some reordered results
Peter van Dijk [Thu, 18 Feb 2021 11:54:48 +0000 (12:54 +0100)] 
auth api tests: accept some reordered results

4 years agofix is_auth_lmdb()
Peter van Dijk [Thu, 18 Feb 2021 09:32:04 +0000 (10:32 +0100)] 
fix is_auth_lmdb()

4 years agoMerge pull request #10101 from jsoref/spelling-branch
Peter van Dijk [Thu, 18 Feb 2021 08:21:18 +0000 (09:21 +0100)] 
Merge pull request #10101 from jsoref/spelling-branch

check-spelling: Try checking out merge/head appropriately

4 years agoRe-enable PKCS11 build 9964/head
Chris Hofstaedtler [Fri, 5 Feb 2021 19:46:50 +0000 (20:46 +0100)] 
Re-enable PKCS11 build

4 years agoRemove Debian-specific NEWS files
Chris Hofstaedtler [Thu, 28 Jan 2021 20:47:01 +0000 (21:47 +0100)] 
Remove Debian-specific NEWS files

4 years agoDrop Debian-specific README.source
Chris Hofstaedtler [Thu, 28 Jan 2021 12:36:10 +0000 (13:36 +0100)] 
Drop Debian-specific README.source

4 years agoautopkgtest supported-algos test: add ED448
Chris Hofstaedtler [Thu, 28 Jan 2021 12:34:06 +0000 (13:34 +0100)] 
autopkgtest supported-algos test: add ED448

4 years agoRemove outdated comment about make test
Chris Hofstaedtler [Thu, 28 Jan 2021 12:31:35 +0000 (13:31 +0100)] 
Remove outdated comment about make test

4 years agoNo package version override for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 12:09:05 +0000 (13:09 +0100)] 
No package version override for upstream

4 years agoDo not build with --enable-reproducible for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 12:07:24 +0000 (13:07 +0100)] 
Do not build with --enable-reproducible for upstream

4 years agopdns-backend-odbc: remove duplicate schema file
Chris Hofstaedtler [Thu, 28 Jan 2021 08:37:06 +0000 (09:37 +0100)] 
pdns-backend-odbc: remove duplicate schema file

4 years agoUndo accidental name change
Chris Hofstaedtler [Thu, 28 Jan 2021 08:32:25 +0000 (09:32 +0100)] 
Undo accidental name change

4 years agoKeep security-poll-suffix for upstream
Chris Hofstaedtler [Thu, 28 Jan 2021 08:31:56 +0000 (09:31 +0100)] 
Keep security-poll-suffix for upstream

4 years agoauthoritative: update debian packaging
Chris Hofstaedtler [Tue, 12 Jan 2021 19:12:53 +0000 (20:12 +0100)] 
authoritative: update debian packaging

Import from Debian bullseye, with the following changes:
- keep PowerDNS Maintainer:
- drop debhelper compat to 10 (for bionic and stretch)
- ignore changelog, patches
- build with luajit on amd64, arm64

4 years agoAPI+LMDB testing: do not try SQL on an LMDB database
Peter van Dijk [Wed, 17 Feb 2021 20:54:37 +0000 (21:54 +0100)] 
API+LMDB testing: do not try SQL on an LMDB database

4 years agotest API+LMDB in CircleCI
Peter van Dijk [Wed, 17 Feb 2021 18:40:56 +0000 (19:40 +0100)] 
test API+LMDB in CircleCI

4 years agoskip tests that do not apply to LMDB
Peter van Dijk [Wed, 17 Feb 2021 18:39:46 +0000 (19:39 +0100)] 
skip tests that do not apply to LMDB

4 years agoshow webserver logs during API testing
Peter van Dijk [Wed, 17 Feb 2021 18:39:28 +0000 (19:39 +0100)] 
show webserver logs during API testing

4 years agosimplify and fix postgres user handling
Peter van Dijk [Wed, 17 Feb 2021 16:14:40 +0000 (17:14 +0100)] 
simplify and fix postgres user handling

Before this, a few spots were missing (and one had a typo).
With all of that taken out, we can simply set PGUSER and libpq will do the right thing for us.

4 years agoCircleCI: use libluajit-5.1-2 everywhere
Kees Monshouwer [Thu, 4 Feb 2021 15:41:43 +0000 (16:41 +0100)] 
CircleCI: use libluajit-5.1-2 everywhere

4 years agoauth: 'fix' gpgsql 'Change the key by PUTing it' api test. Maybe some day all distri...
Kees Monshouwer [Wed, 3 Feb 2021 13:29:24 +0000 (14:29 +0100)] 
auth: 'fix' gpgsql 'Change the key by PUTing it' api test.  Maybe some day all distributions meet the minimal version requirement to fix this for real.

4 years agoauth: fix gpgsql 'test_search_rr_case_insensitive' api test
Kees Monshouwer [Tue, 2 Feb 2021 16:32:41 +0000 (17:32 +0100)] 
auth: fix gpgsql 'test_search_rr_case_insensitive' api test

4 years agoauth: add gmysql, gpgsql and lmdb (partial) backend to the api tests
Kees Monshouwer [Mon, 1 Feb 2021 12:57:04 +0000 (13:57 +0100)] 
auth: add gmysql, gpgsql and lmdb (partial) backend to the api tests

4 years agoMerge pull request #10067 from james-crowley/debian-control
Peter van Dijk [Wed, 17 Feb 2021 18:14:49 +0000 (19:14 +0100)] 
Merge pull request #10067 from james-crowley/debian-control

Added Support for Architecture aware Dockerfiles

4 years agoTry checking out merge/head appropriately 10101/head
Josh Soref [Wed, 17 Feb 2021 18:06:16 +0000 (13:06 -0500)] 
Try checking out merge/head appropriately

4 years agospelling: remove some fixed misspellings from expect.txt
Peter van Dijk [Wed, 17 Feb 2021 15:14:25 +0000 (16:14 +0100)] 
spelling: remove some fixed misspellings from expect.txt

4 years agoMerge pull request #10013 from mind04/pdns-lmdb-upgrade
Peter van Dijk [Wed, 17 Feb 2021 14:55:05 +0000 (15:55 +0100)] 
Merge pull request #10013 from mind04/pdns-lmdb-upgrade

auth: run lmdb init and upgrade code only once

4 years agoMerge pull request #10066 from jsoref/spell-check-0.0.17a
Peter van Dijk [Wed, 17 Feb 2021 14:52:23 +0000 (15:52 +0100)] 
Merge pull request #10066 from jsoref/spell-check-0.0.17a

Spell check 0.0.17a

4 years agoMerge pull request #10098 from stroeder/master
Peter van Dijk [Wed, 17 Feb 2021 14:51:41 +0000 (15:51 +0100)] 
Merge pull request #10098 from stroeder/master

LDAP backend docs: Added missing spaces after OpenLDAP index directives

4 years agoMerge pull request #10097 from omoerbeek/rec-bulk-enable-validate
Otto Moerbeek [Wed, 17 Feb 2021 14:49:08 +0000 (15:49 +0100)] 
Merge pull request #10097 from omoerbeek/rec-bulk-enable-validate

rec: Enable DNSSEC validation in bulk tests

4 years agoMerge pull request #10081 from pieterlexis/issue-7203-pdnsutil-load-zone
Peter van Dijk [Wed, 17 Feb 2021 14:27:34 +0000 (15:27 +0100)] 
Merge pull request #10081 from pieterlexis/issue-7203-pdnsutil-load-zone

pdnsutil load-zone: reject zones with broken rrs

4 years agoMerge pull request #10083 from omoerbeek/rec-doc-trace-fail
Peter van Dijk [Wed, 17 Feb 2021 14:25:50 +0000 (15:25 +0100)] 
Merge pull request #10083 from omoerbeek/rec-doc-trace-fail

rec: Document trace=fail better and warn against its shortcomings.

4 years agoMerge pull request #10087 from pieterlexis/check-MX-to-CNAME
Peter van Dijk [Wed, 17 Feb 2021 14:24:56 +0000 (15:24 +0100)] 
Merge pull request #10087 from pieterlexis/check-MX-to-CNAME

pdnsutil: Warn on CNAME targets for NS, MX and SRV

4 years agoMerge pull request #10094 from Habbie/speedtest-nsec3
Peter van Dijk [Wed, 17 Feb 2021 14:22:40 +0000 (15:22 +0100)] 
Merge pull request #10094 from Habbie/speedtest-nsec3

speedtest: add NSEC3 hashing test

4 years agoadded missing spaces after OpenLDAP index directive 10098/head
Michael Ströder [Wed, 17 Feb 2021 12:20:37 +0000 (13:20 +0100)] 
added missing spaces after OpenLDAP index directive

4 years agononresolving is not a word -> non-resolving
Otto [Wed, 17 Feb 2021 11:05:33 +0000 (12:05 +0100)] 
nonresolving is not a word -> non-resolving

4 years agoMerge pull request #10095 from rgacogne/ddist-fix-crash-dbpf-console
Remi Gacogne [Wed, 17 Feb 2021 10:49:42 +0000 (11:49 +0100)] 
Merge pull request #10095 from rgacogne/ddist-fix-crash-dbpf-console

dnsdist: Prevent a crash with DynBPF objects in client mode

4 years agoEnable DNSSEC validation in bulk tests 10097/head
Otto [Wed, 17 Feb 2021 10:42:44 +0000 (11:42 +0100)] 
Enable DNSSEC validation in bulk tests

4 years agoMerge pull request #10092 from omoerbeek/docs-server-proxy
Otto Moerbeek [Wed, 17 Feb 2021 10:19:45 +0000 (11:19 +0100)] 
Merge pull request #10092 from omoerbeek/docs-server-proxy

docs: Avoid some confusion about server objects

4 years agoDocs and help texts
Otto [Wed, 17 Feb 2021 09:43:52 +0000 (10:43 +0100)] 
Docs and help texts

4 years agofix Makefile _SOURCES order 10094/head
Peter van Dijk [Wed, 17 Feb 2021 09:52:31 +0000 (10:52 +0100)] 
fix Makefile _SOURCES order

4 years agospeedtest: fix compiler warnings
Peter van Dijk [Wed, 17 Feb 2021 09:41:26 +0000 (10:41 +0100)] 
speedtest: fix compiler warnings

4 years agospeedtest: add NSEC3 hashing test
Peter van Dijk [Wed, 17 Feb 2021 09:39:12 +0000 (10:39 +0100)] 
speedtest: add NSEC3 hashing test

4 years agodnsdist: Prevent a crash with DynBPF objects in client mode 10095/head
Remi Gacogne [Wed, 17 Feb 2021 09:38:58 +0000 (10:38 +0100)] 
dnsdist: Prevent a crash with DynBPF objects in client mode

4 years agoRemember if an ns name did not resolve for a while and skip those.
Otto [Wed, 17 Feb 2021 09:25:49 +0000 (10:25 +0100)] 
Remember if an ns name did not resolve for a while and skip those.

4 years agoQuoting 10092/head
Otto Moerbeek [Wed, 17 Feb 2021 08:00:45 +0000 (09:00 +0100)] 
Quoting

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agospelling
Otto Moerbeek [Wed, 17 Feb 2021 07:58:58 +0000 (08:58 +0100)] 
spelling

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agoAvoid some confusion about server objects
Otto [Wed, 17 Feb 2021 07:55:08 +0000 (08:55 +0100)] 
Avoid some confusion about server objects

4 years agoMerge pull request #10088 from rgacogne/ddist-start-tcp-workers-before-acceptors
Remi Gacogne [Tue, 16 Feb 2021 14:55:19 +0000 (15:55 +0100)] 
Merge pull request #10088 from rgacogne/ddist-start-tcp-workers-before-acceptors

dnsdist: Create TCP worker threads before acceptors ones

4 years agoMerge pull request #10053 from aerique/feature/python-repo-script
aerique [Tue, 16 Feb 2021 14:28:58 +0000 (15:28 +0100)] 
Merge pull request #10053 from aerique/feature/python-repo-script

Replace shell-based repo test script with a Python version

4 years agoMerge pull request #9468 from omoerbeek/rec-control-pass-fd
Otto Moerbeek [Tue, 16 Feb 2021 12:27:27 +0000 (13:27 +0100)] 
Merge pull request #9468 from omoerbeek/rec-control-pass-fd

rec: Rec control pass fd

4 years agoWrap the fd so it will be closed automatically 9468/head
Otto [Tue, 16 Feb 2021 11:22:15 +0000 (12:22 +0100)] 
Wrap the fd so it will be closed automatically

4 years agoPython version of repo test script. 10053/head
Erik Winkels [Wed, 3 Feb 2021 21:18:24 +0000 (22:18 +0100)] 
Python version of repo test script.

This replaces the Bourne shell version.

4 years agopdnsutil: Warn on CNAME targets for NS, MX and SRV 10087/head
Pieter Lexis [Tue, 16 Feb 2021 07:37:50 +0000 (08:37 +0100)] 
pdnsutil: Warn on CNAME targets for NS, MX and SRV

Fixes #10085

4 years agodnsdist: Create TCP worker threads before acceptors ones 10088/head
Remi Gacogne [Tue, 16 Feb 2021 10:43:40 +0000 (11:43 +0100)] 
dnsdist: Create TCP worker threads before acceptors ones

Otherwise we might crash when the first TCP query arrives because
we are dividing by zero when trying to select a worker.

4 years agoMerge pull request #10075 from omoerbeek/rec-setting-ecs-never-cache
Otto Moerbeek [Tue, 16 Feb 2021 10:22:48 +0000 (11:22 +0100)] 
Merge pull request #10075 from omoerbeek/rec-setting-ecs-never-cache

rec: Introduce settings to never cache EDNS Client (v4/v6) Subnet carrying replies

4 years agoApply suggestions from code review 10075/head
Otto Moerbeek [Tue, 16 Feb 2021 09:13:09 +0000 (10:13 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
4 years agoActually define the two new args
Otto [Wed, 10 Feb 2021 15:40:22 +0000 (16:40 +0100)] 
Actually define the two new args

4 years agoIntroduce settings to never cache EDNS Client (v4/v6) Subnet carrying replies.
Otto [Wed, 10 Feb 2021 09:57:36 +0000 (10:57 +0100)] 
Introduce settings to never cache EDNS Client (v4/v6) Subnet carrying replies.

While there, add a few entries to the upgrade guide.

4 years agoMerge pull request #10086 from jsoref/pip-wheel
Peter van Dijk [Tue, 16 Feb 2021 07:48:52 +0000 (08:48 +0100)] 
Merge pull request #10086 from jsoref/pip-wheel

Add wheel to pip