]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agodnsdist make: two fixes 9583/head
Peter van Dijk [Fri, 2 Oct 2020 19:26:50 +0000 (21:26 +0200)] 
dnsdist make: two fixes

* make sure dnsdist-lua-ffi-interface.inc is built before dnsdist-lua-ffi.o
* cleaner output while building that .inc

by Pieter Lexis

4 years agoMerge pull request #9558 from Habbie/auth-4.4.0-alpha1-docs
Peter van Dijk [Thu, 1 Oct 2020 11:49:33 +0000 (13:49 +0200)] 
Merge pull request #9558 from Habbie/auth-4.4.0-alpha1-docs

auth: changelog for 4.4.0-alpha1

4 years agogenerate-repo-files: add auth-44 9558/head
Peter van Dijk [Thu, 1 Oct 2020 11:42:57 +0000 (13:42 +0200)] 
generate-repo-files: add auth-44

4 years agoMerge pull request #9564 from Habbie/centos6-inttypes
Peter van Dijk [Thu, 1 Oct 2020 11:09:00 +0000 (13:09 +0200)] 
Merge pull request #9564 from Habbie/centos6-inttypes

el6: set __STDC_FORMAT_MACROS during package builds

4 years agodocument 4.3.1 sqlite index changes
Peter van Dijk [Wed, 30 Sep 2020 12:08:10 +0000 (14:08 +0200)] 
document 4.3.1 sqlite index changes

4 years ago4.4.0-alpha1 changelog, secpoll, notes
Peter van Dijk [Mon, 28 Sep 2020 11:28:57 +0000 (13:28 +0200)] 
4.4.0-alpha1 changelog, secpoll, notes

4 years agoMerge pull request #9551 from rgacogne/ddist151-changelog-secpoll
Remi Gacogne [Thu, 1 Oct 2020 07:16:16 +0000 (09:16 +0200)] 
Merge pull request #9551 from rgacogne/ddist151-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.5.1

4 years agodnsdist: 1.5.1 is a bit late, fixing the secpoll and ChangeLog :) 9551/head
Remi Gacogne [Thu, 1 Oct 2020 07:14:41 +0000 (09:14 +0200)] 
dnsdist: 1.5.1 is a bit late, fixing the secpoll and ChangeLog :)

4 years agodnsdist: Add 9555 to 1.5.x's changelog
Remi Gacogne [Wed, 30 Sep 2020 12:15:06 +0000 (14:15 +0200)] 
dnsdist: Add 9555 to 1.5.x's changelog

4 years agodnsdist: Prepare secpoll update for 1.5.1
Remi Gacogne [Mon, 28 Sep 2020 14:18:09 +0000 (16:18 +0200)] 
dnsdist: Prepare secpoll update for 1.5.1

4 years agodnsdist: Add the ChangeLog entries for 1.5.1
Remi Gacogne [Mon, 28 Sep 2020 14:17:12 +0000 (16:17 +0200)] 
dnsdist: Add the ChangeLog entries for 1.5.1

4 years agoMerge pull request #9559 from omoerbeek/rec-test-glueless-referral-loop
Otto Moerbeek [Wed, 30 Sep 2020 12:07:14 +0000 (14:07 +0200)] 
Merge pull request #9559 from omoerbeek/rec-test-glueless-referral-loop

rec: add unit test for potential NS loop.

4 years agoCount number of queries as suggested by @rgacogne. Do not assert on it yet, 9559/head
Otto Moerbeek [Wed, 30 Sep 2020 09:50:40 +0000 (11:50 +0200)] 
Count number of queries as suggested by @rgacogne. Do not assert on it yet,
we are seeing some non-deterministic behaviour.

4 years agoel6: set __STDC_FORMAT_MACROS during package builds 9564/head
Peter van Dijk [Wed, 30 Sep 2020 09:26:31 +0000 (11:26 +0200)] 
el6: set __STDC_FORMAT_MACROS during package builds

4 years agoMerge pull request #9554 from pieterlexis/rec-rm-qla6
Otto Moerbeek [Wed, 30 Sep 2020 08:55:50 +0000 (10:55 +0200)] 
Merge pull request #9554 from pieterlexis/rec-rm-qla6

Recursor: Remove query-local-address6

4 years agoMerge pull request #9553 from rgacogne/ddist-edns-negative-additional-soa
Remi Gacogne [Tue, 29 Sep 2020 15:47:39 +0000 (17:47 +0200)] 
Merge pull request #9553 from rgacogne/ddist-edns-negative-additional-soa

dnsdist: Only add EDNS on negative answers if the query had EDNS

4 years agoMerge pull request #9556 from rgacogne/ddist-debug-trailing
Remi Gacogne [Tue, 29 Sep 2020 15:47:09 +0000 (17:47 +0200)] 
Merge pull request #9556 from rgacogne/ddist-debug-trailing

dnsdist: Debug trailing data failures

4 years agoMerge pull request #9515 from omoerbeek/rec-wipe-cache-typed-followup
Otto Moerbeek [Tue, 29 Sep 2020 13:25:19 +0000 (15:25 +0200)] 
Merge pull request #9515 from omoerbeek/rec-wipe-cache-typed-followup

rec: Actually fix wipe-cache-typed

4 years agoRecursor: Remove query-local-address6 9554/head
Pieter Lexis [Tue, 29 Sep 2020 13:02:35 +0000 (15:02 +0200)] 
Recursor: Remove query-local-address6

4 years agodnsdist: Update regression tests for dnspython 2.0.0 9553/head
Remi Gacogne [Tue, 29 Sep 2020 10:43:43 +0000 (12:43 +0200)] 
dnsdist: Update regression tests for dnspython 2.0.0

4 years agodnsdist: Fix Cookie and ECS implementations for dnspython 2.0.0
Remi Gacogne [Tue, 29 Sep 2020 10:41:58 +0000 (12:41 +0200)] 
dnsdist: Fix Cookie and ECS implementations for dnspython 2.0.0

4 years agodnsdist: Only add EDNS on negative answers if the query had EDNS
Remi Gacogne [Tue, 29 Sep 2020 10:40:31 +0000 (12:40 +0200)] 
dnsdist: Only add EDNS on negative answers if the query had EDNS

4 years agoMerge pull request #9550 from zeha/apl-testcase
Peter van Dijk [Tue, 29 Sep 2020 11:33:36 +0000 (13:33 +0200)] 
Merge pull request #9550 from zeha/apl-testcase

dnsrecords: fix APL test on macOS

4 years agoMerge pull request #9549 from zeha/auth-stat-prefix
Peter van Dijk [Tue, 29 Sep 2020 11:26:54 +0000 (13:26 +0200)] 
Merge pull request #9549 from zeha/auth-stat-prefix

pdns_control: add show <prefix>

4 years agoMerge pull request #9519 from rgacogne/check-sscanf-return-value
Remi Gacogne [Tue, 29 Sep 2020 09:30:26 +0000 (11:30 +0200)] 
Merge pull request #9519 from rgacogne/check-sscanf-return-value

Always check sscanf's return value

4 years agodnsrecords: fix APL test on macOS 9550/head
Chris Hofstaedtler [Mon, 28 Sep 2020 13:56:04 +0000 (15:56 +0200)] 
dnsrecords: fix APL test on macOS

macOS does not life fe80:: without an %interface specifier, so inet_pton
fails, and we end with an error like this:

check rec->getZoneRepresentation() == zoneval has failed [2:invalid Non-recoverable failure in name resolution/128 != 2:fe80:1234:5678:9910:8bc:3359:b2e8:720e/128]

Fix test by switching to a "normal" internet class prefix.

4 years agopdns_control: add show <prefix> 9549/head
Chris Hofstaedtler [Mon, 28 Sep 2020 11:18:01 +0000 (13:18 +0200)] 
pdns_control: add show <prefix>

4 years agoMerge pull request #9544 from pieterlexis/svcb-coverity
Remi Gacogne [Mon, 28 Sep 2020 10:39:54 +0000 (12:39 +0200)] 
Merge pull request #9544 from pieterlexis/svcb-coverity

svb-records: Initialize d_port

4 years agosvb-records: Initialize d_port 9544/head
Pieter Lexis [Mon, 28 Sep 2020 08:00:18 +0000 (10:00 +0200)] 
svb-records: Initialize d_port

Should fix 6 coverity warnings.

4 years agodnsdist: Debug trailing data failures 9556/head
Remi Gacogne [Thu, 5 Mar 2020 09:04:50 +0000 (10:04 +0100)] 
dnsdist: Debug trailing data failures

4 years agoMerge pull request #9531 from RobinGeuze/fixCoverityLMDBIssues auth-4.4.0-alpha1
Peter van Dijk [Fri, 25 Sep 2020 15:46:20 +0000 (17:46 +0200)] 
Merge pull request #9531 from RobinGeuze/fixCoverityLMDBIssues

Fix a small coverity issue in lmdb backend and fix a compiler warning

4 years agoMerge pull request #9530 from Habbie/additional-processing-db-state
Peter van Dijk [Fri, 25 Sep 2020 14:16:12 +0000 (16:16 +0200)] 
Merge pull request #9530 from Habbie/additional-processing-db-state

auth: avoid bad DB state in impossible situation; fix a typo

4 years agoCatch the none existent shard case and just skip that 9531/head
Robin Geuze [Fri, 25 Sep 2020 13:59:17 +0000 (15:59 +0200)] 
Catch the none existent shard case and just skip that

4 years agoFix a small coverity issue in lmdb backend and fix a compiler warning
Robin Geuze [Fri, 25 Sep 2020 13:32:07 +0000 (15:32 +0200)] 
Fix a small coverity issue in lmdb backend and fix a compiler warning

4 years agoavoid bad DB state in impossible situation; fix a typo 9530/head
Peter van Dijk [Fri, 25 Sep 2020 13:06:13 +0000 (15:06 +0200)] 
avoid bad DB state in impossible situation; fix a typo

4 years agoFix wrong parameter 9515/head
Otto Moerbeek [Fri, 25 Sep 2020 11:46:36 +0000 (13:46 +0200)] 
Fix wrong parameter

Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
4 years agoMerge pull request #9369 from pieterlexis/draft-ietf-dnsop-svcb-https-01
Peter van Dijk [Fri, 25 Sep 2020 11:34:50 +0000 (13:34 +0200)] 
Merge pull request #9369 from pieterlexis/draft-ietf-dnsop-svcb-https-01

SVCB and HTTPS support

4 years agoAdd API test for SVCB records 9369/head
Pieter Lexis [Thu, 24 Sep 2020 14:36:17 +0000 (16:36 +0200)] 
Add API test for SVCB records

4 years agoSwitch SvcParam to std::move semantics
Pieter Lexis [Thu, 24 Sep 2020 14:08:05 +0000 (16:08 +0200)] 
Switch SvcParam to std::move semantics

4 years agoSVCB: return const-refs for heavy kvs
Pieter Lexis [Thu, 24 Sep 2020 13:21:23 +0000 (15:21 +0200)] 
SVCB: return const-refs for heavy kvs

4 years agoAdd SVCB and HTTPS to LDAP schema
Pieter Lexis [Thu, 24 Sep 2020 09:57:06 +0000 (11:57 +0200)] 
Add SVCB and HTTPS to LDAP schema

4 years agoAdd some regression tests for SVCB
Pieter Lexis [Wed, 23 Sep 2020 14:56:49 +0000 (16:56 +0200)] 
Add some regression tests for SVCB

4 years agoAdd SVCB/HTTPS checks to pdnsutil
Pieter Lexis [Wed, 23 Sep 2020 11:39:06 +0000 (13:39 +0200)] 
Add SVCB/HTTPS checks to pdnsutil

4 years agoAdd additional processing for SVCB and HTTPS
Pieter Lexis [Tue, 22 Sep 2020 14:11:46 +0000 (16:11 +0200)] 
Add additional processing for SVCB and HTTPS

4 years agoAdd SVCB records, parsing and writing
Pieter Lexis [Thu, 30 Jul 2020 15:56:00 +0000 (17:56 +0200)] 
Add SVCB records, parsing and writing

4 years agoAdd SvcParam class plus tests
Pieter Lexis [Thu, 30 Jul 2020 13:52:17 +0000 (15:52 +0200)] 
Add SvcParam class plus tests

4 years agoiputils: Add function to print comma-separated CA containers
Pieter Lexis [Thu, 30 Jul 2020 11:22:43 +0000 (13:22 +0200)] 
iputils: Add function to print comma-separated CA containers

4 years agoMerge pull request #9518 from mind04/pdns-api-metadata
Peter van Dijk [Fri, 25 Sep 2020 10:17:31 +0000 (12:17 +0200)] 
Merge pull request #9518 from mind04/pdns-api-metadata

auth: make sure the metadata cache is not filled from within an api transaction

4 years agoMerge pull request #9524 from qvr/fix/rediscover-master-alsonotify-changes
Peter van Dijk [Fri, 25 Sep 2020 09:01:45 +0000 (11:01 +0200)] 
Merge pull request #9524 from qvr/fix/rediscover-master-alsonotify-changes

auth: bindbackend: 'rediscover' changes to master and also-notifies

4 years agoauth: bindbackend: 'rediscover' changes to master and also-notifies 9524/head
Matti Hiljanen [Fri, 25 Sep 2020 05:54:18 +0000 (08:54 +0300)] 
auth: bindbackend: 'rediscover' changes to master and also-notifies

4 years agoAlways check sscanf's return value 9519/head
Remi Gacogne [Thu, 24 Sep 2020 14:17:58 +0000 (16:17 +0200)] 
Always check sscanf's return value

These remaining cases are not in any way a security issue since the
variables are initialized before the call. This mostly improves the
reporting, and make sure we fail earlier.

4 years agoMerge pull request #9496 from mind04/pdns-dnskey
Peter van Dijk [Thu, 24 Sep 2020 12:00:34 +0000 (14:00 +0200)] 
Merge pull request #9496 from mind04/pdns-dnskey

auth: ignore cryptokeys in presigned zones

4 years agoMerge pull request #9039 from Habbie/pg-escape-connect-string
Peter van Dijk [Thu, 24 Sep 2020 11:37:23 +0000 (13:37 +0200)] 
Merge pull request #9039 from Habbie/pg-escape-connect-string

auth: quote/escape PG connection parameters

4 years agoMerge pull request #9389 from RobinGeuze/lmdbNoDupSort
Peter van Dijk [Thu, 24 Sep 2020 11:37:05 +0000 (13:37 +0200)] 
Merge pull request #9389 from RobinGeuze/lmdbNoDupSort

Removed the need for DUPSORT lmdb databases

4 years agoauth: replace full zone rectifies with rectifyZone() in the rfc2136 code 9518/head
Kees Monshouwer [Tue, 1 Sep 2020 14:17:54 +0000 (16:17 +0200)] 
auth: replace full zone rectifies with rectifyZone() in the rfc2136 code

4 years agoauth: avoid metadata cache polution in the api code
Kees Monshouwer [Mon, 31 Aug 2020 16:41:53 +0000 (18:41 +0200)] 
auth: avoid metadata cache polution in the api code

4 years agoRemoved the need for DUPSORT lmdb databases. Includes automatic database conversion 9389/head
Robin Geuze [Mon, 17 Aug 2020 15:00:50 +0000 (17:00 +0200)] 
Removed the need for DUPSORT lmdb databases. Includes automatic database conversion

4 years agoMerge pull request #8942 from Habbie/lua-backtrace
Peter van Dijk [Thu, 24 Sep 2020 08:51:02 +0000 (10:51 +0200)] 
Merge pull request #8942 from Habbie/lua-backtrace

lua: add backtraces to errors

4 years agoclarify quoting/escaping upgrade note, thanks @jsoref 9039/head
Peter van Dijk [Tue, 11 Aug 2020 13:24:37 +0000 (15:24 +0200)] 
clarify quoting/escaping upgrade note, thanks @jsoref

4 years agoquote/escape PG connection parameters
Peter van Dijk [Fri, 17 Apr 2020 13:24:56 +0000 (15:24 +0200)] 
quote/escape PG connection parameters

4 years agoMerge pull request #9427 from mind04/pdns-2136-metadata
Peter van Dijk [Thu, 24 Sep 2020 08:27:11 +0000 (10:27 +0200)] 
Merge pull request #9427 from mind04/pdns-2136-metadata

auth: improve metadata caching

4 years agoMerge pull request #9517 from jsoref/spelling
Peter van Dijk [Thu, 24 Sep 2020 07:46:25 +0000 (09:46 +0200)] 
Merge pull request #9517 from jsoref/spelling

Spelling

4 years agoMerge pull request #9495 from rgacogne/rec-rearm-after-ooor-timeout
Remi Gacogne [Thu, 24 Sep 2020 07:28:04 +0000 (09:28 +0200)] 
Merge pull request #9495 from rgacogne/rec-rearm-after-ooor-timeout

rec: Watch the descriptor again after an out-of-order read timeout

4 years agoMerge pull request #9504 from rgacogne/rec-time-constness
Remi Gacogne [Thu, 24 Sep 2020 07:26:56 +0000 (09:26 +0200)] 
Merge pull request #9504 from rgacogne/rec-time-constness

rec: Better const-ness when dealing with timestamps

4 years agoMerge pull request #9505 from rgacogne/rec-unused-sign-tags
Remi Gacogne [Thu, 24 Sep 2020 07:26:46 +0000 (09:26 +0200)] 
Merge pull request #9505 from rgacogne/rec-unused-sign-tags

rec: Remove unused vector of tags in validateDNSKeysAgainstDS()

4 years agoMerge pull request #9513 from rgacogne/ddist-fix-parse-edns-options
Remi Gacogne [Thu, 24 Sep 2020 07:21:47 +0000 (09:21 +0200)] 
Merge pull request #9513 from rgacogne/ddist-fix-parse-edns-options

dnsdist: Fix getEDNSOptions() for {AN,NS}COUNT != 0 and ARCOUNT = 0

4 years agoA few more g_negache un-threading cases.
Otto Moerbeek [Wed, 23 Sep 2020 14:06:32 +0000 (16:06 +0200)] 
A few more g_negache un-threading cases.

4 years agoSince record cache and negcache are global now no need to broadcast to all
Otto Moerbeek [Wed, 23 Sep 2020 13:55:29 +0000 (15:55 +0200)] 
Since record cache and negcache are global now no need to broadcast to all
threads.

4 years agoMerge pull request #9510 from azadi/dnsdist-prioritize-chacha
Remi Gacogne [Wed, 23 Sep 2020 12:02:21 +0000 (14:02 +0200)] 
Merge pull request #9510 from azadi/dnsdist-prioritize-chacha

dnsdist: prioritize ChaCha20-Poly1305 when client does

4 years agodnsdist: prioritize ChaCha20-Poly1305 when client does 9510/head
Sukhbir Singh [Tue, 22 Sep 2020 14:52:00 +0000 (10:52 -0400)] 
dnsdist: prioritize ChaCha20-Poly1305 when client does

The OpenSSL option SSL_OP_PRIORITIZE_CHACHA prioritizes
ChaCha20-Poly1305 if the client does by temporarily re-prioritizing it
to the top of the server cipher list. Since dnsdist already sets
SSL_OP_CIPHER_SERVER_PREFERENCE by default (preferServerCiphers is set
to true), setting this option enables clients that prefer ChaCha20 due
to a lack of AES-NI (such as mobile devices) to override the server
specified list. This option requires SSL_OP_CIPHER_SERVER_PREFERENCE to
be set and was introduced in OpenSSL 1.1.1.

Note that this change neither affects clients that prefer AES or other
ciphers, nor dnsdist's default options, unless the client explicitly
prioritizes ChaCha20.

4 years agoActually fix wipe-cache-typed
Otto Moerbeek [Wed, 23 Sep 2020 09:01:06 +0000 (11:01 +0200)] 
Actually fix wipe-cache-typed

4 years agorec: Fix a typo in a comment 9495/head
Remi Gacogne [Wed, 23 Sep 2020 08:31:36 +0000 (10:31 +0200)] 
rec: Fix a typo in a comment

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years agoMore DTime cleanups, as suggested by Otto during review 9504/head
Remi Gacogne [Wed, 23 Sep 2020 08:29:26 +0000 (10:29 +0200)] 
More DTime cleanups, as suggested by Otto during review

4 years agodnsdist: Fix getEDNSOptions() for {AN,NS}COUNT != 0 and ARCOUNT = 0 9513/head
Remi Gacogne [Wed, 23 Sep 2020 08:02:15 +0000 (10:02 +0200)] 
dnsdist: Fix getEDNSOptions() for {AN,NS}COUNT != 0 and ARCOUNT = 0

Since 1.5.0, calling getEDNSOptions() from Lua would result in a
ServFail for queries that had no records in additional but at least
one record in either the answer or authority section, such as a
NOTIFY, because of a bug in parseEDNSOptions(). That last function
incorrectly called slowParseEDNSOptions() in that case, triggering
an exception to be raised because slowParseEDNSOptions() does not
expect to be called for a packet with no record in the additional
section.
parseEDNSOptions() now returns `false` for packets that have no
record in the additional section.

4 years agoMerge pull request #9509 from franklouwers/master
Remi Gacogne [Wed, 23 Sep 2020 07:05:55 +0000 (09:05 +0200)] 
Merge pull request #9509 from franklouwers/master

Point to reserved values for setProxyProtocolValues() + funky quotes replacements

4 years agoMerge pull request #9512 from Habbie/repofiles-ubuntu-focal
aerique [Tue, 22 Sep 2020 21:32:08 +0000 (23:32 +0200)] 
Merge pull request #9512 from Habbie/repofiles-ubuntu-focal

generate-repo-files: various updates

4 years agoMerge pull request #9488 from rgacogne/lmdb-safe-views
Peter van Dijk [Tue, 22 Sep 2020 20:26:32 +0000 (22:26 +0200)] 
Merge pull request #9488 from rgacogne/lmdb-safe-views

Sync string_view definition in lmdb-safe

4 years agogenerate-repo-files: remove all ubuntu trusty 9512/head
Peter van Dijk [Tue, 22 Sep 2020 19:30:45 +0000 (21:30 +0200)] 
generate-repo-files: remove all ubuntu trusty

4 years agogenerate-repo-files: remove all debian jessie
Peter van Dijk [Tue, 22 Sep 2020 19:28:48 +0000 (21:28 +0200)] 
generate-repo-files: remove all debian jessie

4 years agogenerate-repo-files: add auth-43 and dnsdist-15 ubuntu focal
Peter van Dijk [Tue, 22 Sep 2020 19:09:32 +0000 (21:09 +0200)] 
generate-repo-files: add auth-43 and dnsdist-15 ubuntu focal

4 years agodoc typo, thanks @jsoref
Peter van Dijk [Tue, 22 Sep 2020 18:55:07 +0000 (20:55 +0200)] 
doc typo, thanks @jsoref

4 years agoMerge pull request #9511 from Habbie/auth-advisories-2020
Peter van Dijk [Tue, 22 Sep 2020 18:44:40 +0000 (20:44 +0200)] 
Merge pull request #9511 from Habbie/auth-advisories-2020

auth 22 sept 2020: advisories, changelogs, docs

4 years agoauth 22 sept 2020: advisories, changelogs, docs 9511/head
Peter van Dijk [Thu, 3 Sep 2020 13:46:51 +0000 (15:46 +0200)] 
auth 22 sept 2020: advisories, changelogs, docs

4 years agoMerge pull request #9490 from omoerbeek/rec-coverity-check-fd
Otto Moerbeek [Tue, 22 Sep 2020 16:16:49 +0000 (18:16 +0200)] 
Merge pull request #9490 from omoerbeek/rec-coverity-check-fd

rec: Check return value of dup(2) as noted by coverity.

4 years agoTest for potential NS loop.
Otto Moerbeek [Tue, 22 Sep 2020 15:19:41 +0000 (17:19 +0200)] 
Test for potential NS loop.

We succeed (that is do not go into an endlesss loop) and we need to keep it that way.

4 years agoPoint to reserved values for setProxyProtocolValues() + funky quotes 9509/head
Frank Louwers [Tue, 22 Sep 2020 15:18:41 +0000 (17:18 +0200)] 
Point to reserved values for setProxyProtocolValues() + funky quotes
replacements

4 years agoMerge pull request #9494 from omoerbeek/rec-incomplete-ifdef
Otto Moerbeek [Tue, 22 Sep 2020 12:17:41 +0000 (14:17 +0200)] 
Merge pull request #9494 from omoerbeek/rec-incomplete-ifdef

rec: incomplete ifdef

4 years agorec: Remove unused vector of tags in validateDNSKeysAgainstDS() 9505/head
Remi Gacogne [Tue, 22 Sep 2020 10:02:30 +0000 (12:02 +0200)] 
rec: Remove unused vector of tags in validateDNSKeysAgainstDS()

4 years agorec: Better const-ness when dealing with timestamps
Remi Gacogne [Tue, 22 Sep 2020 09:58:09 +0000 (11:58 +0200)] 
rec: Better const-ness when dealing with timestamps

4 years agoCheck return value of dup(2) as noted by coverity. 9490/head
Otto Moerbeek [Mon, 21 Sep 2020 08:22:55 +0000 (10:22 +0200)] 
Check return value of dup(2) as noted by coverity.

4 years agoMerge pull request #9497 from Habbie/unknown-record-invalid-hex
Peter van Dijk [Tue, 22 Sep 2020 08:39:57 +0000 (10:39 +0200)] 
Merge pull request #9497 from Habbie/unknown-record-invalid-hex

auth: raise an exception on invalid content in unknown records

4 years agoauth: remove oracle leftovers from the regression tests 9496/head
Kees Monshouwer [Mon, 21 Sep 2020 14:19:17 +0000 (16:19 +0200)] 
auth: remove oracle leftovers from the regression tests

4 years agoauth: add direct NSEC3PARAM test and add dnssec in the any-query test
Kees Monshouwer [Mon, 21 Sep 2020 14:15:30 +0000 (16:15 +0200)] 
auth: add direct NSEC3PARAM test and add dnssec in the any-query test

4 years agoauth: ignore cryptokeys in presigned zones and do not add CDS and CDNSKEY records
Kees Monshouwer [Mon, 21 Sep 2020 14:12:45 +0000 (16:12 +0200)] 
auth: ignore cryptokeys in presigned zones and do not add CDS and CDNSKEY records

4 years agoMerge pull request #9493 from omoerbeek/rec-log-rec_control
Otto Moerbeek [Mon, 21 Sep 2020 16:01:59 +0000 (18:01 +0200)] 
Merge pull request #9493 from omoerbeek/rec-log-rec_control

Log the line received fomr rec_control

4 years agorec: Watch the descriptor again after an out-of-order read timeout
Remi Gacogne [Mon, 21 Sep 2020 15:24:55 +0000 (17:24 +0200)] 
rec: Watch the descriptor again after an out-of-order read timeout

It might be that there was no other incoming query on that connection
and we timed out while the response had not been sent yet, but the
client might want to re-use the connection after receving the response.
We try to reset the TTD, but that might fail when the socket descriptor
has already been removed.

4 years agoMerge pull request #9492 from omoerbeek/rec-detach-snmp-thread
Otto Moerbeek [Mon, 21 Sep 2020 15:01:50 +0000 (17:01 +0200)] 
Merge pull request #9492 from omoerbeek/rec-detach-snmp-thread

rec: Detach snmp thread to avoid trouble when trying to quit nicely.

4 years agoMerge pull request #9491 from omoerbeek/rec-fix-wipe-cache-typed
Otto Moerbeek [Mon, 21 Sep 2020 14:32:57 +0000 (16:32 +0200)] 
Merge pull request #9491 from omoerbeek/rec-fix-wipe-cache-typed

rec: Fix rec_control wipe-cache-typed

4 years agoIncomplete ifdef 9494/head
Otto Moerbeek [Mon, 21 Sep 2020 13:34:12 +0000 (15:34 +0200)] 
Incomplete ifdef

4 years agoDetach snmp thread to avoid trouble when trying to quit nicely. 9492/head
Otto Moerbeek [Mon, 21 Sep 2020 13:22:08 +0000 (15:22 +0200)] 
Detach snmp thread to avoid trouble when trying to quit nicely.

This avoids a case where the thread object and the RecursorSNMPAgent
object get destroyed in the wrong order.