]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 years agoFix copied code 6212/head
Chris Hofstaedtler [Fri, 19 Jan 2018 18:57:37 +0000 (19:57 +0100)] 
Fix copied code

(cherry picked from commit e4f772ceb545a883d4683d34dff0a38e023f98ee)

6 years agoMinimal fix to make primeHints threadsafe
Chris Hofstaedtler [Fri, 19 Jan 2018 18:54:44 +0000 (19:54 +0100)] 
Minimal fix to make primeHints threadsafe

(cherry picked from commit e863a05ab7566450710f8cdc2c08750f00bcde33)

6 years agoMerge pull request #6202 from aerique/bugfix/backport-6167
aerique [Thu, 18 Jan 2018 11:44:06 +0000 (12:44 +0100)] 
Merge pull request #6202 from aerique/bugfix/backport-6167

rec: Initialize the result var before calling the preoutquery hook

6 years agoMerge pull request #6201 from aerique/bugfix/backport-6137
aerique [Thu, 18 Jan 2018 11:23:25 +0000 (12:23 +0100)] 
Merge pull request #6201 from aerique/bugfix/backport-6137

rec: Don't validate signature for "glue" CNAME

6 years agoMerge pull request #6200 from aerique/bugfix/backport-6095
aerique [Thu, 18 Jan 2018 11:04:41 +0000 (12:04 +0100)] 
Merge pull request #6200 from aerique/bugfix/backport-6095

rec: Pass the correct buffer size to arecvfrom()

6 years agoMerge pull request #6199 from aerique/bugfix/backport-6092
aerique [Thu, 18 Jan 2018 10:44:31 +0000 (11:44 +0100)] 
Merge pull request #6199 from aerique/bugfix/backport-6092

 rec: Fix the computation of the closest encloser for positive answers #6092

6 years agoMerge pull request #6198 from aerique/bugfix/backport-6085
aerique [Thu, 18 Jan 2018 09:39:36 +0000 (10:39 +0100)] 
Merge pull request #6198 from aerique/bugfix/backport-6085

rec: Don't process records for another class than IN

6 years agorec: Initialize the result var before calling the preoutquery hook 6202/head
Remi Gacogne [Wed, 10 Jan 2018 13:18:10 +0000 (14:18 +0100)] 
rec: Initialize the result var before calling the preoutquery hook

If the `preoutquery` hook was defined but didn't handle the query,
the resulting variable was left uninitialized.

(cherry picked from commit 17cecc84cc0e9f7b1dc9991e2568d1f8f4fc2b08)

6 years agorec: Add unit tests to make sure we correctly detect an unsigned DS 6201/head
Remi Gacogne [Mon, 8 Jan 2018 14:43:47 +0000 (15:43 +0100)] 
rec: Add unit tests to make sure we correctly detect an unsigned DS

(cherry picked from commit f100caacf6b5fe6624aa3909ad6cb988d7f22148)

6 years agorec: Don't validate signature for "glue" CNAME
Remi Gacogne [Wed, 3 Jan 2018 11:34:02 +0000 (12:34 +0100)] 
rec: Don't validate signature for "glue" CNAME

Anything else than the initial CNAME can't be considered authoritative.

(cherry picked from commit 933299e88c46fdc1cf8c64ff9bf11e6839686a94)

6 years agorec: Don't stop the reactor in the regression tests 6200/head
Remi Gacogne [Thu, 14 Dec 2017 12:48:28 +0000 (13:48 +0100)] 
rec: Don't stop the reactor in the regression tests

So, there is one and only one global reactor for every test suites,
ever, and you can't restart it if you stop it (see the awful
`ReactorNotRestartable` exception).
That doesn't prevent you from adding new ports to listen on to the
existing one, so let's just start if it isn't already running and
never stop it.

(cherry picked from commit fbfaa4a7ee59829cbf2d3765a3a967edb823bb39)

6 years agorec: Add regression tests for UDP outgoing buffer size
Remi Gacogne [Thu, 14 Dec 2017 10:14:35 +0000 (11:14 +0100)] 
rec: Add regression tests for UDP outgoing buffer size

(cherry picked from commit fb611f07566e08adf31c374e6453a6494df7d696)

6 years agorec: Pass the correct buffer size to arecvfrom()
Remi Gacogne [Tue, 12 Dec 2017 13:56:03 +0000 (14:56 +0100)] 
rec: Pass the correct buffer size to arecvfrom()

The size we used to pass to arecvfrom() along with our buffer was off by
one byte, resulting in the last byte of our buffer to be uninitialized for
answers exactly matching our outgoing buffer size. Since we passed the
correct size to MOADNSParser, we were reading one bye of unitialized
memory for such answers.
This caused issue with some authoritative servers sending an answer of our
exact buffer size, causing a parsing error. We would then retry without EDNS,
causing DNSSEC validation failures for some domains on such authoritative
servers.

(cherry picked from commit 4185f0895fbda41e8ffa21f39721db1f018a3466)

6 years agorec: Switch the exception thrown by `getDenial()` to a `PDNSException` 6199/head
Remi Gacogne [Fri, 15 Dec 2017 13:30:46 +0000 (14:30 +0100)] 
rec: Switch the exception thrown by `getDenial()` to a `PDNSException`

(cherry picked from commit dfbe5d76143f9227b287555ca0df9216f2f544d1)

6 years agorec: Fix the computation of the closest encloser for positive answers
Remi Gacogne [Wed, 13 Dec 2017 14:03:24 +0000 (15:03 +0100)] 
rec: Fix the computation of the closest encloser for positive answers

When the positive answer is expanded from a wildcard with NSEC3,
the closest encloser is not always parent of the qname, depending
on the number of labels in the initial wildcard.

(cherry picked from commit e4894ce07a529e174b542d20eae327a026e171e8)

6 years agorec: Don't process records for another class than IN 6198/head
Remi Gacogne [Wed, 29 Nov 2017 13:59:26 +0000 (14:59 +0100)] 
rec: Don't process records for another class than IN

(cherry picked from commit c5310862fe5d5813d9533e6e1a73ef512ca5044f)

6 years agoMerge pull request #6140 from Habbie/4.1.x-travis-jan2018
Remi Gacogne [Fri, 5 Jan 2018 09:12:10 +0000 (10:12 +0100)] 
Merge pull request #6140 from Habbie/4.1.x-travis-jan2018

rec 4.1.x: travis fixes/improvements

6 years agofix recursor prequery scripts 6140/head
Aki Tuomi [Fri, 7 Jul 2017 15:46:47 +0000 (18:46 +0300)] 
fix recursor prequery scripts

(cherry picked from commit c1feb3a819ac425fe535d8c21c0d0f79c6fbf069)

6 years agolimit builds to recursor only
Peter van Dijk [Thu, 4 Jan 2018 14:53:50 +0000 (15:53 +0100)] 
limit builds to recursor only

6 years agoMerge pull request #6041 from rgacogne/mplexer-time rec-4.1.0
Peter van Dijk [Mon, 4 Dec 2017 11:34:00 +0000 (12:34 +0100)] 
Merge pull request #6041 from rgacogne/mplexer-time

Add the missing <sys/time.h> include to mplexer.hh for struct timeval

6 years agoAdd the missing <sys/time.h> include to mplexer.hh for struct timeval 6041/head
Remi Gacogne [Mon, 4 Dec 2017 08:41:49 +0000 (09:41 +0100)] 
Add the missing <sys/time.h> include to mplexer.hh for struct timeval

6 years agoMerge pull request #6023 from rgacogne/dnsdist-ebpf-doc
Pieter Lexis [Fri, 1 Dec 2017 15:50:40 +0000 (16:50 +0100)] 
Merge pull request #6023 from rgacogne/dnsdist-ebpf-doc

dnsdist: Add missing documentation about ClientState, eBPF dynamic filters

6 years agoMerge pull request #5956 from job/priv_drop
Pieter Lexis [Fri, 1 Dec 2017 15:50:15 +0000 (16:50 +0100)] 
Merge pull request #5956 from job/priv_drop

Priv drop

6 years agoMerge pull request #6034 from Habbie/ragel-path
Peter van Dijk [Fri, 1 Dec 2017 15:16:28 +0000 (16:16 +0100)] 
Merge pull request #6034 from Habbie/ragel-path

centralise ragel check+remove .cc symlink

6 years agoMerge pull request #6032 from rgacogne/rec-getrr-cleanup
bert hubert [Fri, 1 Dec 2017 12:22:41 +0000 (13:22 +0100)] 
Merge pull request #6032 from rgacogne/rec-getrr-cleanup

rec: Use getRR<T>() instead of directly using a dynamic cast

6 years agoremove spurious symlink 6034/head
Peter van Dijk [Fri, 1 Dec 2017 12:10:36 +0000 (13:10 +0100)] 
remove spurious symlink

6 years agocentralise ragel check
Peter van Dijk [Fri, 1 Dec 2017 12:00:10 +0000 (13:00 +0100)] 
centralise ragel check

6 years agoMerge pull request #6020 from rgacogne/auth-testrunner-log
Pieter Lexis [Fri, 1 Dec 2017 11:01:22 +0000 (12:01 +0100)] 
Merge pull request #6020 from rgacogne/auth-testrunner-log

Travis: Display the content of the logs when the auth unit tests fail

6 years agoMerge pull request #6025 from pieterlexis/fix-changelog-blog-url
Pieter Lexis [Fri, 1 Dec 2017 11:01:08 +0000 (12:01 +0100)] 
Merge pull request #6025 from pieterlexis/fix-changelog-blog-url

Fix 4.1.0 changelog blog url

6 years agoMerge pull request #6026 from pieterlexis/update-EOL
Pieter Lexis [Fri, 1 Dec 2017 11:00:54 +0000 (12:00 +0100)] 
Merge pull request #6026 from pieterlexis/update-EOL

[WIP] Update auth EOL statement on Auth

6 years agoMerge pull request #6027 from rgacogne/rec-regression-tests-rpz-ttl
Pieter Lexis [Fri, 1 Dec 2017 11:00:40 +0000 (12:00 +0100)] 
Merge pull request #6027 from rgacogne/rec-regression-tests-rpz-ttl

rec: Normalize the TTLs for default.example.net. in the RPZ tests

6 years agoMerge pull request #6029 from Habbie/alias-nocompress
Pieter Lexis [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)] 
Merge pull request #6029 from Habbie/alias-nocompress

forbid label compression in ALIAS wire format

6 years agorec: Use getRR<T>() instead of directly using a dynamic cast 6032/head
Remi Gacogne [Fri, 1 Dec 2017 10:18:25 +0000 (11:18 +0100)] 
rec: Use getRR<T>() instead of directly using a dynamic cast

6 years agoforbid label compression in ALIAS wire format 6029/head
Peter van Dijk [Thu, 30 Nov 2017 18:20:41 +0000 (19:20 +0100)] 
forbid label compression in ALIAS wire format

fixes #6028

6 years agoMerge pull request #6024 from Habbie/builder-version
Peter van Dijk [Thu, 30 Nov 2017 15:58:37 +0000 (16:58 +0100)] 
Merge pull request #6024 from Habbie/builder-version

add preliminary pdns-builder support

6 years agoadd explicit 3.x statement, clarify we offer commercial support beyond EOL. 6026/head
bert hubert [Thu, 30 Nov 2017 15:47:15 +0000 (16:47 +0100)] 
add explicit 3.x statement, clarify we offer commercial support beyond EOL.

6 years agorec: Normalize the TTLs for default.example.net. in the RPZ tests 6027/head
Remi Gacogne [Thu, 30 Nov 2017 14:29:30 +0000 (15:29 +0100)] 
rec: Normalize the TTLs for default.example.net. in the RPZ tests

Since we ask for several records that are CNAME to default.example.net.
the TTL might have been decreased by the time we get to the last ones.
That's fine, the TTL we are interested in are for other records, so we
can just ignore the TTL for this exact record.

6 years agoFix 4.1.0 changelog blog url 6025/head
Pieter Lexis [Thu, 30 Nov 2017 13:08:53 +0000 (14:08 +0100)] 
Fix 4.1.0 changelog blog url

6 years agoadd preliminary pdns-builder support 6024/head
Peter van Dijk [Thu, 30 Nov 2017 12:34:09 +0000 (13:34 +0100)] 
add preliminary pdns-builder support

6 years agodnsdist: Add missing documentation about ClientState, eBPF dynamic filters 6023/head
Remi Gacogne [Thu, 30 Nov 2017 11:57:37 +0000 (12:57 +0100)] 
dnsdist: Add missing documentation about ClientState, eBPF dynamic filters

6 years agoMerge pull request #6016 from aerique:feature/update-auth-4.1.0-changelog. auth-4.1.0
aerique [Thu, 30 Nov 2017 09:33:09 +0000 (10:33 +0100)] 
Merge pull request #6016 from aerique:feature/update-auth-4.1.0-changelog.

Update changelog and secpoll for 4.1.0.

6 years agoTravis: Display the content of the logs when the auth unit tests fail 6020/head
Remi Gacogne [Wed, 29 Nov 2017 11:09:22 +0000 (12:09 +0100)] 
Travis: Display the content of the logs when the auth unit tests fail

6 years agoMerge pull request #6006 from rgacogne/nixu-5.3.4
aerique [Tue, 28 Nov 2017 20:21:28 +0000 (21:21 +0100)] 
Merge pull request #6006 from rgacogne/nixu-5.3.4

rec: Sanitize values received from the API before writing them to the conf

6 years agoMerge pull request #6011 from ahupowerdns/quote-server-id
aerique [Tue, 28 Nov 2017 15:53:22 +0000 (16:53 +0100)] 
Merge pull request #6011 from ahupowerdns/quote-server-id

quote server-id to hosts with - or . in their name get reported again

6 years agoMerge pull request #6015 from Habbie/id.server
aerique [Tue, 28 Nov 2017 15:53:08 +0000 (16:53 +0100)] 
Merge pull request #6015 from Habbie/id.server

it's id.server, not server.id

6 years agonit 6015/head
Peter van Dijk [Tue, 28 Nov 2017 13:18:44 +0000 (14:18 +0100)] 
nit

6 years agoMerge pull request #6000 from rgacogne/rec-authzone-validation
Pieter Lexis [Tue, 28 Nov 2017 12:33:18 +0000 (13:33 +0100)] 
Merge pull request #6000 from rgacogne/rec-authzone-validation

rec: Skip validation (including cached entries) for auth zones

6 years agoMerge pull request #6001 from zeha/secpoll-servfail
Pieter Lexis [Tue, 28 Nov 2017 12:33:03 +0000 (13:33 +0100)] 
Merge pull request #6001 from zeha/secpoll-servfail

recursor secpoll: improve message on timeout

6 years agoMerge pull request #6009 from rgacogne/rec-zone-part-signer
Pieter Lexis [Tue, 28 Nov 2017 12:32:39 +0000 (13:32 +0100)] 
Merge pull request #6009 from rgacogne/rec-zone-part-signer

rec: When validating DNSKeys, the zone should be part of the signer

6 years agoMerge pull request #6008 from rgacogne/ecdsa-error-leak
Pieter Lexis [Tue, 28 Nov 2017 12:32:26 +0000 (13:32 +0100)] 
Merge pull request #6008 from rgacogne/ecdsa-error-leak

rec:  Don't leak when the loading a public ECDSA key fails

6 years agoMerge pull request #6007 from rgacogne/auth-web-readonly-ops
aerique [Tue, 28 Nov 2017 12:26:56 +0000 (13:26 +0100)] 
Merge pull request #6007 from rgacogne/auth-web-readonly-ops

auth: Deny cache flush, zone retrieve and notify if the API is RO

6 years agofix tab & {} 6011/head
bert hubert [Tue, 28 Nov 2017 10:44:51 +0000 (11:44 +0100)] 
fix tab & {}

6 years agoquote server-id. This stops us from breaking serving chaos txt id.server if your...
bert hubert [Tue, 28 Nov 2017 09:50:24 +0000 (10:50 +0100)] 
quote server-id. This stops us from breaking serving chaos txt id.server if your server has a dash or a dot or an underscore in its name.

6 years agoMerge pull request #5997 from rgacogne/rec-additional-val
Peter van Dijk [Tue, 28 Nov 2017 09:28:17 +0000 (10:28 +0100)] 
Merge pull request #5997 from rgacogne/rec-additional-val

rec: Store additional records as non-auth, even on AA=1 answers

6 years agoMerge pull request #6004 from pieterlexis/rm-old-soa-edit
Peter van Dijk [Tue, 28 Nov 2017 08:54:22 +0000 (09:54 +0100)] 
Merge pull request #6004 from pieterlexis/rm-old-soa-edit

Remove deprecated SOA-EDIT values

6 years agoMerge pull request #5617 from Habbie/ednsflags
Peter van Dijk [Tue, 28 Nov 2017 08:52:49 +0000 (09:52 +0100)] 
Merge pull request #5617 from Habbie/ednsflags

fix reading of ednsflags in recursor testing

6 years agodoc: Fix a typo in PowerDNS Advisory 2017-04
Remi Gacogne [Tue, 28 Nov 2017 08:15:45 +0000 (09:15 +0100)] 
doc: Fix a typo in PowerDNS Advisory 2017-04

6 years agorec: Sanitize values received from the API before writing them to the conf 6006/head
Remi Gacogne [Mon, 17 Jul 2017 17:21:01 +0000 (19:21 +0200)] 
rec: Sanitize values received from the API before writing them to the conf

6 years agoauth: Deny cache flush, zone retrieve and notify if the API is RO 6007/head
Remi Gacogne [Tue, 22 Aug 2017 09:48:07 +0000 (11:48 +0200)] 
auth: Deny cache flush, zone retrieve and notify if the API is RO

6 years agoFix a memory leak when loading an RSA key with an invalid modulus 6008/head
Remi Gacogne [Wed, 11 Oct 2017 13:28:04 +0000 (15:28 +0200)] 
Fix a memory leak when loading an RSA key with an invalid modulus

6 years agoDon't leak when the loading a public ECDSA key fails
Remi Gacogne [Thu, 13 Jul 2017 14:22:30 +0000 (16:22 +0200)] 
Don't leak when the loading a public ECDSA key fails

6 years agorec: When validating DNSKeys, the zone should be part of the signer 6009/head
Remi Gacogne [Thu, 17 Aug 2017 16:05:54 +0000 (18:05 +0200)] 
rec: When validating DNSKeys, the zone should be part of the signer

6 years agodo not demand a DO reply to a non-DO query 5617/head
Peter van Dijk [Wed, 16 Aug 2017 12:08:13 +0000 (14:08 +0200)] 
do not demand a DO reply to a non-DO query

6 years agoRemove deprecated SOA-EDIT values 6004/head
Pieter Lexis [Mon, 27 Nov 2017 12:24:51 +0000 (13:24 +0100)] 
Remove deprecated SOA-EDIT values

6 years agoUpdate auth EOL statement
Pieter Lexis [Mon, 27 Nov 2017 18:37:38 +0000 (19:37 +0100)] 
Update auth EOL statement

6 years agoMerge pull request #5916 from pieterlexis/rm-wiki
Pieter Lexis [Mon, 27 Nov 2017 16:58:49 +0000 (17:58 +0100)] 
Merge pull request #5916 from pieterlexis/rm-wiki

Documentation additions so we can rid of the wiki

6 years agoMerge pull request #5990 from jannyg/patch-2
Pieter Lexis [Mon, 27 Nov 2017 16:58:32 +0000 (17:58 +0100)] 
Merge pull request #5990 from jannyg/patch-2

Adds description of add-record

6 years agorecursor secpoll: improve message on timeout 6001/head
Chris Hofstaedtler [Mon, 27 Nov 2017 16:48:45 +0000 (17:48 +0100)] 
recursor secpoll: improve message on timeout

6 years agoFix secpoll
Pieter Lexis [Mon, 27 Nov 2017 16:01:41 +0000 (17:01 +0100)] 
Fix secpoll

6 years agoFix changelog syntax
Pieter Lexis [Mon, 27 Nov 2017 15:48:04 +0000 (16:48 +0100)] 
Fix changelog syntax

6 years agoMerge pull request #5999 from aerique/advisories-2017
aerique [Mon, 27 Nov 2017 15:35:39 +0000 (16:35 +0100)] 
Merge pull request #5999 from aerique/advisories-2017

Add advisories 2017-03, 2017-04, 2017-05, 2017-06 and 2017-07.

6 years agorec: Skip validation (including cached entries) for auth zones 6000/head
Remi Gacogne [Fri, 24 Nov 2017 16:48:19 +0000 (17:48 +0100)] 
rec: Skip validation (including cached entries) for auth zones

6 years agoUpdate security advisory links in secpoll 5999/head
Pieter Lexis [Mon, 27 Nov 2017 11:56:06 +0000 (12:56 +0100)] 
Update security advisory links in secpoll

6 years agoread ednsflags instead of flags
Peter van Dijk [Wed, 16 Aug 2017 11:44:54 +0000 (13:44 +0200)] 
read ednsflags instead of flags

6 years agorec: Store additional records as non-auth, even on AA=1 answers 5997/head
Remi Gacogne [Mon, 27 Nov 2017 10:21:21 +0000 (11:21 +0100)] 
rec: Store additional records as non-auth, even on AA=1 answers

We used to store additional records in AA=1 answers as auth. In addition
to being wrong, it also broke DNSSEC validation if the record was stored
as Indeterminate because while we take care of not validating additional
records when processing an answer, we have no way of knowing in which
section a record was originally located when we retrieve it from the cache.
When an answer becomes too big to fit in the requester UDP payload,
rfc4035 allows the sender to keep records in the additional section
while omitting the corresponding RRSIGs, without setting the TC bit.

6 years agoAdd release date, security advisories to the changelogs
Remi Gacogne [Mon, 27 Nov 2017 07:15:46 +0000 (08:15 +0100)] 
Add release date, security advisories to the changelogs

6 years agoAdded description of add-record 5990/head
Jan-Arve Nygård [Fri, 24 Nov 2017 12:47:04 +0000 (13:47 +0100)] 
Added description of add-record

Added description of add-record with options to man-pages

6 years agoUpdate secpoll
Remi Gacogne [Fri, 24 Nov 2017 10:10:28 +0000 (11:10 +0100)] 
Update secpoll

6 years agoAdd advisories 2017-03, 2017-04, 2017-05, 2017-06 and 2017-07
Remi Gacogne [Tue, 24 Oct 2017 09:02:57 +0000 (11:02 +0200)] 
Add advisories 2017-03, 2017-04, 2017-05, 2017-06 and 2017-07

6 years agomake notify.cc compile again
bert hubert [Thu, 23 Nov 2017 12:54:49 +0000 (13:54 +0100)] 
make notify.cc compile again

6 years agoMerge pull request #5953 from pieterlexis/auth-405-rec-407-changelog
aerique [Thu, 23 Nov 2017 11:24:15 +0000 (12:24 +0100)] 
Merge pull request #5953 from pieterlexis/auth-405-rec-407-changelog

Add Authoritative Server 4.0.5 and Recursor 4.0.7 changelogs + secpoll

6 years agoclarify that dnsdist latency averages are in microseconds
bert hubert [Wed, 22 Nov 2017 13:24:39 +0000 (14:24 +0100)] 
clarify that dnsdist latency averages are in microseconds

6 years agoMerge pull request #5970 from 42wim/burst
Remi Gacogne [Wed, 22 Nov 2017 11:38:55 +0000 (12:38 +0100)] 
Merge pull request #5970 from 42wim/burst

dnsdist: Add burst option to MaxQPSIPRule

6 years agoUpdate auth 4.0.5 and rec 4.0.7 changelogs with recent backports 5953/head
Remi Gacogne [Wed, 22 Nov 2017 11:17:45 +0000 (12:17 +0100)] 
Update auth 4.0.5 and rec 4.0.7 changelogs with recent backports

6 years agoAdd secpoll for auth 4.0.5 and rec 4.0.7
Pieter Lexis [Tue, 14 Nov 2017 08:45:26 +0000 (09:45 +0100)] 
Add secpoll for auth 4.0.5 and rec 4.0.7

6 years agoAdd Recursor 4.0.7 changelog
Pieter Lexis [Tue, 14 Nov 2017 08:44:09 +0000 (09:44 +0100)] 
Add Recursor 4.0.7 changelog

6 years agoAdd Authoritative Server 4.0.5 changelog
Pieter Lexis [Fri, 3 Nov 2017 15:18:19 +0000 (16:18 +0100)] 
Add Authoritative Server 4.0.5 changelog

6 years agoMerge pull request #5978 from rgacogne/rec-negcache-referral-to-unsigned
Remi Gacogne [Wed, 22 Nov 2017 11:02:17 +0000 (12:02 +0100)] 
Merge pull request #5978 from rgacogne/rec-negcache-referral-to-unsigned

rec: Fix DNSSEC validation of DS denial from the negative cache

6 years agoMerge pull request #5980 from rgacogne/rec-denial-validation-caching
aerique [Wed, 22 Nov 2017 10:11:01 +0000 (11:11 +0100)] 
Merge pull request #5980 from rgacogne/rec-denial-validation-caching

rec: Cache Secure validation state when inserting negcache entries

6 years agoMerge pull request #5964 from pieterlexis/api-crypto-key-consistency
aerique [Wed, 22 Nov 2017 09:15:26 +0000 (10:15 +0100)] 
Merge pull request #5964 from pieterlexis/api-crypto-key-consistency

API: Make the /cryptokeys endpoint consistently use CryptoKey objects

6 years agoMerge pull request #5976 from Habbie/soa-unsetdnsname
aerique [Wed, 22 Nov 2017 08:34:39 +0000 (09:34 +0100)] 
Merge pull request #5976 from Habbie/soa-unsetdnsname

report remote IP when SOA query comes back with empty question section

6 years agoMerge pull request #5954 from pieterlexis/cherry-pick-script
Pieter Lexis [Tue, 21 Nov 2017 16:31:42 +0000 (17:31 +0100)] 
Merge pull request #5954 from pieterlexis/cherry-pick-script

Add two scripts: one to backport PRs and one to generate changelogs

6 years agoMerge pull request #5972 from rgacogne/rec-dump-neg-status
Pieter Lexis [Tue, 21 Nov 2017 16:31:21 +0000 (17:31 +0100)] 
Merge pull request #5972 from rgacogne/rec-dump-neg-status

rec: Dump the validation status of negcache entries, fix DNSSEC type

6 years agoMerge pull request #5968 from pieterlexis/api-rectify-transaction
Pieter Lexis [Tue, 21 Nov 2017 16:30:34 +0000 (17:30 +0100)] 
Merge pull request #5968 from pieterlexis/api-rectify-transaction

Fix hang when PATCHing zone during rectify

6 years agoMerge pull request #5958 from pieterlexis/centos-7-ship-dnsdist-multi-instance
Pieter Lexis [Tue, 21 Nov 2017 16:29:32 +0000 (17:29 +0100)] 
Merge pull request #5958 from pieterlexis/centos-7-ship-dnsdist-multi-instance

Packages: Ship dnsdist multi-instance files

6 years agoFix typo 5970/head
Wim [Tue, 21 Nov 2017 13:17:58 +0000 (14:17 +0100)] 
Fix typo

6 years agorec: Cache Secure validation state when inserting negcache entries 5980/head
Remi Gacogne [Tue, 21 Nov 2017 09:42:43 +0000 (10:42 +0100)] 
rec: Cache Secure validation state when inserting negcache entries

Fix a bug that prevented Secure negative cache entries to be marked
as such when they were first inserted, marking them as Indeterminate
instead. This would require us to validate them a second time for no
valid reason.

6 years agorec: Fix DNSSEC validation of DS denial from the negative cache 5978/head
Remi Gacogne [Mon, 20 Nov 2017 17:12:48 +0000 (18:12 +0100)] 
rec: Fix DNSSEC validation of DS denial from the negative cache

There is two reasons you can get a proper DS denial:
* Secure to insecure cut, and if we are getting a referral with a
DS denial, we know that we have to check that the NS bit is set
as described in section 8.9 of rfc5155
* No zone cut inside a secure zone, and then of course the NS is
not set

When we retrieve the DS denial from the negative cache with a
validation status of Indeterminate, most likely because validation
was not enabled during the query that landed it in the cache, we
don't have enough data to know which case we are looking at, so
let's just skip the NS check.

6 years agoreport remote IP when SOA query comes back with empty question section 5976/head
Peter van Dijk [Mon, 20 Nov 2017 13:32:23 +0000 (14:32 +0100)] 
report remote IP when SOA query comes back with empty question section

this improves the #5974 situation a bit

6 years agoMerge pull request #5971 from rgacogne/rec-getdsrecords-erased-it
bert hubert [Mon, 20 Nov 2017 11:23:45 +0000 (12:23 +0100)] 
Merge pull request #5971 from rgacogne/rec-getdsrecords-erased-it

rec: Fix the use of a deleted iterator in SyncRes::getDSRecords()