]> granicus.if.org Git - pdns/log
pdns
7 years agopush luarecord into maturity, protect it with flags, metadata, fix up documentation
bert hubert [Sun, 10 Dec 2017 18:50:36 +0000 (19:50 +0100)]
push luarecord into maturity, protect it with flags, metadata, fix up documentation

7 years agomake sure we open tmp file with O_CREAT!
bert hubert [Sun, 10 Dec 2017 18:50:21 +0000 (19:50 +0100)]
make sure we open tmp file with O_CREAT!

7 years agotypo
bert hubert [Sun, 10 Dec 2017 16:53:12 +0000 (17:53 +0100)]
typo

7 years agomake geobackend optional, but function with it, even when loaded as a .so
bert hubert [Sun, 10 Dec 2017 13:12:39 +0000 (14:12 +0100)]
make geobackend optional, but function with it, even when loaded as a .so

7 years agoimplement 'weak' geobackend dependency, abstract out functionality
bert hubert [Sat, 9 Dec 2017 22:43:17 +0000 (23:43 +0100)]
implement 'weak' geobackend dependency, abstract out functionality

7 years agoLOC fun
bert hubert [Sat, 9 Dec 2017 15:37:07 +0000 (16:37 +0100)]
LOC fun

7 years agodocumentation + cleanup
bert hubert [Fri, 8 Dec 2017 22:25:33 +0000 (23:25 +0100)]
documentation + cleanup

7 years agowip
bert hubert [Fri, 8 Dec 2017 19:45:17 +0000 (20:45 +0100)]
wip

7 years agowip
bert hubert [Tue, 5 Dec 2017 23:36:15 +0000 (00:36 +0100)]
wip

7 years agowip on
bert hubert [Mon, 27 Nov 2017 20:29:54 +0000 (21:29 +0100)]
wip on

7 years agoimprove cache miss behaviour for LUA records
bert hubert [Wed, 22 Nov 2017 07:17:38 +0000 (08:17 +0100)]
improve cache miss behaviour for LUA records

7 years agoadd realwho
bert hubert [Mon, 20 Nov 2017 11:13:19 +0000 (12:13 +0100)]
add realwho

7 years agoimplement timeouts and ifurlup and cnames
bert hubert [Thu, 10 Nov 2016 22:10:58 +0000 (23:10 +0100)]
implement timeouts and ifurlup and cnames

7 years agomake entries uncacheable, fix locking, add multi-line syntax, add options for ifupurl
bert hubert [Tue, 1 Nov 2016 14:18:33 +0000 (15:18 +0100)]
make entries uncacheable, fix locking, add multi-line syntax, add options for ifupurl

7 years agointerim commit that goes with https://gist.github.com/ahupowerdns/1e8bfbba95a277a4fac...
bert hubert [Mon, 31 Oct 2016 23:06:43 +0000 (00:06 +0100)]
interim commit that goes with https://gist.github.com/ahupowerdns/1e8bfbba95a277a4fac09cb3654eb2ac

7 years agoinitial hookup of lua
bert hubert [Mon, 31 Oct 2016 16:09:41 +0000 (17:09 +0100)]
initial hookup of lua

7 years agoMerge pull request #5969 from giganteous/rec-correct-documentation-typo
bert hubert [Fri, 17 Nov 2017 16:09:54 +0000 (17:09 +0100)]
Merge pull request #5969 from giganteous/rec-correct-documentation-typo

Fix reference to the wrong product

7 years agoFix reference to the wrong product
Kai Storbeck [Fri, 17 Nov 2017 16:04:37 +0000 (17:04 +0100)]
Fix reference to the wrong product

7 years agoMerge pull request #5965 from aerique:feature/update-rec-4.1.0-rc3-changelog rec-4.1.0-rc3
aerique [Fri, 17 Nov 2017 13:05:40 +0000 (14:05 +0100)]
Merge pull request #5965 from aerique:feature/update-rec-4.1.0-rc3-changelog

Update ChangeLog and secpoll for rec-4.1.0-rc3.

7 years agoMerge pull request #5961 from jake2184/master
aerique [Fri, 17 Nov 2017 11:27:31 +0000 (12:27 +0100)]
Merge pull request #5961 from jake2184/master

Edit configname definition to include the 'config-name' argument

7 years agoMerge pull request #5955 from Habbie/macos-build
bert hubert [Thu, 16 Nov 2017 16:13:02 +0000 (17:13 +0100)]
Merge pull request #5955 from Habbie/macos-build

macOS build fixes

7 years agoMerge pull request #5963 from aerique/bugfix/remove-5938-from-auth-docs auth-4.1.0-rc3
aerique [Thu, 16 Nov 2017 13:01:58 +0000 (14:01 +0100)]
Merge pull request #5963 from aerique/bugfix/remove-5938-from-auth-docs

Remove #5938 from auth-4.1.0-rc3 ChangeLog.

7 years agoRemove #5938 from auth-4.1.0-rc3 ChangeLog.
Erik Winkels [Thu, 16 Nov 2017 12:43:18 +0000 (13:43 +0100)]
Remove #5938 from auth-4.1.0-rc3 ChangeLog.

It was accidentally labeled as "auth" but was only for "rec".

7 years agoMerge pull request #5962 from aerique:feature/update-auth-4.1.0-rc3-changelog
aerique [Thu, 16 Nov 2017 12:36:22 +0000 (13:36 +0100)]
Merge pull request #5962 from aerique:feature/update-auth-4.1.0-rc3-changelog

Update ChangeLog and secpoll for auth-4.1.0-rc3.

7 years agoMerge pull request #5936 from pieterlexis/api-allow-deactivate-dnssec
aerique [Thu, 16 Nov 2017 11:49:44 +0000 (12:49 +0100)]
Merge pull request #5936 from pieterlexis/api-allow-deactivate-dnssec

API: Allow disabling DNSSEC

7 years agoMerge pull request #5933 from pieterlexis/issue-5931-tsig-crash
aerique [Thu, 16 Nov 2017 10:24:54 +0000 (11:24 +0100)]
Merge pull request #5933 from pieterlexis/issue-5931-tsig-crash

Check return value for all getTSIGKey calls

7 years agoMerge pull request #5943 from pieterlexis/pdnsutil-man-missing-command
Pieter Lexis [Thu, 16 Nov 2017 10:13:07 +0000 (11:13 +0100)]
Merge pull request #5943 from pieterlexis/pdnsutil-man-missing-command

document missing pdnsutil list-tsig-key command

7 years agoMerge pull request #5949 from rgacogne/auth-5948
aerique [Thu, 16 Nov 2017 09:17:10 +0000 (10:17 +0100)]
Merge pull request #5949 from rgacogne/auth-5948

auth: Don't complain that glues are occluded by a delegation

7 years agoEdit configname to include the 'config-name' argument
Jake Reynolds [Wed, 15 Nov 2017 14:59:43 +0000 (14:59 +0000)]
Edit configname to include the 'config-name' argument

7 years agodocument libcrypto usage for recent macOS
Peter van Dijk [Tue, 14 Nov 2017 09:18:10 +0000 (10:18 +0100)]
document libcrypto usage for recent macOS

7 years agorecent Apple Xcode headers need this
Peter van Dijk [Tue, 14 Nov 2017 09:17:58 +0000 (10:17 +0100)]
recent Apple Xcode headers need this

reference: https://github.com/arvidn/libtorrent/issues/2364#issuecomment-336175406

7 years agoauth: Don't complain that glues are occluded by a delegation
Remi Gacogne [Mon, 13 Nov 2017 11:42:22 +0000 (12:42 +0100)]
auth: Don't complain that glues are occluded by a delegation

7 years agodocument missing pdnsutil list-tsig-key command
Pieter Lexis [Fri, 10 Nov 2017 15:48:35 +0000 (16:48 +0100)]
document missing pdnsutil list-tsig-key command

7 years agoMerge pull request #5935 from pieterlexis/no-metadata-on-non-existent-zone
Pieter Lexis [Fri, 10 Nov 2017 13:03:11 +0000 (14:03 +0100)]
Merge pull request #5935 from pieterlexis/no-metadata-on-non-existent-zone

API: Throw exception in metadata endpoint w/ wrong zone

7 years agoMerge pull request #5941 from jpmens/patch-8
Pieter Lexis [Fri, 10 Nov 2017 13:01:38 +0000 (14:01 +0100)]
Merge pull request #5941 from jpmens/patch-8

mention API key required for access

7 years agomention API key required for access
JP Mens [Fri, 10 Nov 2017 12:54:35 +0000 (13:54 +0100)]
mention API key required for access

7 years agoCheck return of getTSIGKey and B64Decode in the Slave Communicator
Pieter Lexis [Thu, 9 Nov 2017 11:01:32 +0000 (12:01 +0100)]
Check return of getTSIGKey and B64Decode in the Slave Communicator

7 years agoCheck return of getTSIGKey and B64Decode in the TCPReceiver
Pieter Lexis [Thu, 9 Nov 2017 10:24:36 +0000 (11:24 +0100)]
Check return of getTSIGKey and B64Decode in the TCPReceiver

7 years agoCheck return value of getTSIGKey and B64Decode
Pieter Lexis [Thu, 9 Nov 2017 10:09:32 +0000 (11:09 +0100)]
Check return value of getTSIGKey and B64Decode

This would lead to crashes if the TSIG key was referenced in
TSIG-ALLOW-FROM but the key was not in the tsigkeys table.

Closes #5931

7 years agoMerge pull request #5937 from rgacogne/rec-self-resolving-ns
bert hubert [Fri, 10 Nov 2017 11:39:42 +0000 (12:39 +0100)]
Merge pull request #5937 from rgacogne/rec-self-resolving-ns

rec: Allow the use of a 'self-resolving' NS if cached A/AAAA exists

7 years agoMerge pull request #5939 from rgacogne/rec-forward-rd-cname
bert hubert [Fri, 10 Nov 2017 09:33:00 +0000 (10:33 +0100)]
Merge pull request #5939 from rgacogne/rec-forward-rd-cname

rec: Only accept types not matching the query if we asked for ANY

7 years agoMerge pull request #5938 from rgacogne/rec-zero-threads
bert hubert [Fri, 10 Nov 2017 09:31:15 +0000 (10:31 +0100)]
Merge pull request #5938 from rgacogne/rec-zero-threads

rec: Don't crash when asked to run with zero threads

7 years agorec: Only accept types not matching the query if we asked for ANY
Remi Gacogne [Thu, 9 Nov 2017 16:16:04 +0000 (17:16 +0100)]
rec: Only accept types not matching the query if we asked for ANY

Even from forward-recurse servers.

7 years agoAPI: Allow disabling DNSSEC
Pieter Lexis [Thu, 9 Nov 2017 15:56:30 +0000 (16:56 +0100)]
API: Allow disabling DNSSEC

Closes #5909
Closes #5910

7 years agorec: Allow the use of a 'self-resolving' NS if cached A/AAAA exists
Remi Gacogne [Thu, 9 Nov 2017 15:31:11 +0000 (16:31 +0100)]
rec: Allow the use of a 'self-resolving' NS if cached A/AAAA exists

We just have to take care not to try to contact that NS to learn
its own IP addresses, because that does not make sense.
Before this, we could skip a perfectly valid NS for which we had
retrieved the A and/or AAAA entries, for example via a glue.
Also get rid of a flawed calculation based on whether IPv6 was
enabled whereas we were only dealing with NS at this point.

7 years agoMerge pull request #5879 from pieterlexis/issue-3059-check-zone-warn-eclipse
Pieter Lexis [Thu, 9 Nov 2017 15:04:27 +0000 (16:04 +0100)]
Merge pull request #5879 from pieterlexis/issue-3059-check-zone-warn-eclipse

pdnsutil: Warn if records in a zone are eclipsed

7 years agoMerge pull request #5924 from rgacogne/rec-cname-cache-validation
Pieter Lexis [Thu, 9 Nov 2017 15:04:13 +0000 (16:04 +0100)]
Merge pull request #5924 from rgacogne/rec-cname-cache-validation

rec: Add unit tests for DNSSEC validation of cached CNAME answers

7 years agoMerge pull request #5925 from wojas/recursor-cleanup-webui
Pieter Lexis [Thu, 9 Nov 2017 15:04:00 +0000 (16:04 +0100)]
Merge pull request #5925 from wojas/recursor-cleanup-webui

rec: cleanup web UI

7 years agoMerge pull request #5928 from rgacogne/auth-rectify-log-5903
Pieter Lexis [Thu, 9 Nov 2017 15:03:44 +0000 (16:03 +0100)]
Merge pull request #5928 from rgacogne/auth-rectify-log-5903

auth: Add back missing output details to rectifyZone

7 years agoAPI: Throw exception in metadata endpoint w/ wrong zone
Pieter Lexis [Thu, 9 Nov 2017 13:53:00 +0000 (14:53 +0100)]
API: Throw exception in metadata endpoint w/ wrong zone

Before, We would happily accept this POST

7 years agoMerge pull request #5883 from pieterlexis/issue-5853-pdnsutil-clobber-metadata
Peter van Dijk [Thu, 9 Nov 2017 10:46:21 +0000 (11:46 +0100)]
Merge pull request #5883 from pieterlexis/issue-5853-pdnsutil-clobber-metadata

pdnsutil: Add add-meta function

7 years agoMerge pull request #5930 from ahupowerdns/secpoll-order-agnostic
bert hubert [Wed, 8 Nov 2017 16:25:33 +0000 (17:25 +0100)]
Merge pull request #5930 from ahupowerdns/secpoll-order-agnostic

in the recursor secpoll code, we ASSumed the TXT record would be the first record

7 years agocatch all exceptions coming from secpoll, this was a regression of this PR
bert hubert [Wed, 8 Nov 2017 14:57:05 +0000 (15:57 +0100)]
catch all exceptions coming from secpoll, this was a regression of this PR

7 years agoin the recursor secpoll code, we ASSumed the TXT record would be the first record...
bert hubert [Wed, 8 Nov 2017 14:33:45 +0000 (15:33 +0100)]
in the recursor secpoll code, we ASSumed the TXT record would be the first record we received. Sometimes it was the RRSIG, leading to a silent error, and no secpoll check. Fixed the assumption, added an error.

7 years agoadd missing Debian security poll status
bert hubert [Wed, 8 Nov 2017 13:09:12 +0000 (14:09 +0100)]
add missing Debian security poll status

7 years agorec: Don't crash when asked to run with zero threads
Remi Gacogne [Wed, 8 Nov 2017 11:23:12 +0000 (12:23 +0100)]
rec: Don't crash when asked to run with zero threads

7 years agoauth: Add back missing output details to rectifyZone
Remi Gacogne [Wed, 8 Nov 2017 10:07:48 +0000 (11:07 +0100)]
auth: Add back missing output details to rectifyZone

7 years agoMerge pull request #5895 from rgacogne/rec-lua-validationstate
Remi Gacogne [Wed, 8 Nov 2017 08:56:25 +0000 (09:56 +0100)]
Merge pull request #5895 from rgacogne/rec-lua-validationstate

rec: Add the DNSSEC validation state to the DNSQuestion Lua object

7 years agoMerge pull request #5926 from zeha/apidocrrset
Pieter Lexis [Tue, 7 Nov 2017 21:37:43 +0000 (22:37 +0100)]
Merge pull request #5926 from zeha/apidocrrset

API docs: reduce RRSets/Records confusion

7 years agoMerge pull request #5917 from ahupowerdns/die-better
Pieter Lexis [Tue, 7 Nov 2017 20:30:25 +0000 (21:30 +0100)]
Merge pull request #5917 from ahupowerdns/die-better

use _exit() when we really really want to exit, for example after a fatal error

7 years agoMerge pull request #5921 from rgacogne/rec-secpoll-loop
Pieter Lexis [Tue, 7 Nov 2017 20:30:02 +0000 (21:30 +0100)]
Merge pull request #5921 from rgacogne/rec-secpoll-loop

rec: Don't retry security polling too often when it fails

7 years agoMerge pull request #5911 from job/improve_error_readability
Pieter Lexis [Tue, 7 Nov 2017 19:57:25 +0000 (20:57 +0100)]
Merge pull request #5911 from job/improve_error_readability

Add quotation chars to make erroneous end of line whitespace easier t…

7 years agoMerge pull request #5616 from rgacogne/nmt-cleanup-from-weakforced
Pieter Lexis [Tue, 7 Nov 2017 19:49:03 +0000 (20:49 +0100)]
Merge pull request #5616 from rgacogne/nmt-cleanup-from-weakforced

Better support for deleting entries in NetmaskTree and NetmaskGroup

7 years agoMerge pull request #5881 from rgacogne/rec-edns-truncated-servfail
Pieter Lexis [Tue, 7 Nov 2017 19:38:05 +0000 (20:38 +0100)]
Merge pull request #5881 from rgacogne/rec-edns-truncated-servfail

rec: Add EDNS to truncated, servfail answers

7 years agoMerge pull request #5914 from rgacogne/dnsdist-tee-tests
bert hubert [Tue, 7 Nov 2017 18:34:10 +0000 (19:34 +0100)]
Merge pull request #5914 from rgacogne/dnsdist-tee-tests

dnsdist: Add regression tests for TeeAction

7 years agoAPI docs: fix old field reference
Chris Hofstaedtler [Tue, 7 Nov 2017 15:21:19 +0000 (16:21 +0100)]
API docs: fix old field reference

7 years agoAPI docs: rename Record -> RREntry to avoid confusion
Chris Hofstaedtler [Tue, 7 Nov 2017 15:20:59 +0000 (16:20 +0100)]
API docs: rename Record -> RREntry to avoid confusion

7 years agorec: cleanup web UI
Konrad Wojas [Tue, 7 Nov 2017 14:50:21 +0000 (22:50 +0800)]
rec: cleanup web UI

- Switch to Handlebars templating
- Slightly cleaner look
- Slightly cleaner and more mobile friendly HTML

7 years agorec: Add unit tests for DNSSEC validation of cached CNAME answers
Remi Gacogne [Tue, 7 Nov 2017 14:49:49 +0000 (15:49 +0100)]
rec: Add unit tests for DNSSEC validation of cached CNAME answers

7 years agorec: reformat web UI code
Konrad Wojas [Tue, 7 Nov 2017 14:41:13 +0000 (22:41 +0800)]
rec: reformat web UI code

Reformat web UI code before refactoring.

7 years agorec: Don't retry security polling too often when it fails
Remi Gacogne [Tue, 7 Nov 2017 10:40:30 +0000 (11:40 +0100)]
rec: Don't retry security polling too often when it fails

7 years agoMerge pull request #5912 from rgacogne/rec-too-many-nsec3-iterations
Pieter Lexis [Tue, 7 Nov 2017 09:34:09 +0000 (10:34 +0100)]
Merge pull request #5912 from rgacogne/rec-too-many-nsec3-iterations

rec: Fix going Insecure on NSEC3 hashes with too many iterations

7 years agoMerge pull request #5904 from rgacogne/rec-validate-cached-insecure
Pieter Lexis [Tue, 7 Nov 2017 09:33:51 +0000 (10:33 +0100)]
Merge pull request #5904 from rgacogne/rec-validate-cached-insecure

rec: Fix incomplete validation of cached entries

7 years agoMerge pull request #5919 from jpmens/patch-9
Pieter Lexis [Tue, 7 Nov 2017 09:28:15 +0000 (10:28 +0100)]
Merge pull request #5919 from jpmens/patch-9

typo

7 years agoUpdate index.rst
JP Mens [Tue, 7 Nov 2017 09:27:29 +0000 (10:27 +0100)]
Update index.rst

7 years agoMerge pull request #5918 from jpmens/patch-8
Pieter Lexis [Tue, 7 Nov 2017 09:25:05 +0000 (10:25 +0100)]
Merge pull request #5918 from jpmens/patch-8

typo

7 years agotypo
JP Mens [Tue, 7 Nov 2017 09:24:10 +0000 (10:24 +0100)]
typo

7 years agoand two exits() should really be _exit() in distributor.hh too (fixed the other ones...
bert hubert [Tue, 7 Nov 2017 08:50:35 +0000 (09:50 +0100)]
and two exits() should really be _exit() in distributor.hh too (fixed the other ones too for good measure)

7 years agouse _exit() when we really really want to exit, for example after a fatal error....
bert hubert [Tue, 7 Nov 2017 08:21:30 +0000 (09:21 +0100)]
use _exit() when we really really want to exit, for example after a fatal error. Stops is dying while we die.

7 years agodnsdist: Add regression tests for TeeAction
Remi Gacogne [Mon, 6 Nov 2017 16:24:26 +0000 (17:24 +0100)]
dnsdist: Add regression tests for TeeAction

7 years agoMerge pull request #5884 from pieterlexis/issue-5849-pdnsutil-generate-tsig-key-issues
Pieter Lexis [Mon, 6 Nov 2017 15:34:55 +0000 (16:34 +0100)]
Merge pull request #5884 from pieterlexis/issue-5849-pdnsutil-generate-tsig-key-issues

pdnsutil: Fix messages created by generate-tsig-key

7 years agoMerge pull request #5885 from rgacogne/rec-nodata-nsec-wildcard
Pieter Lexis [Mon, 6 Nov 2017 15:34:29 +0000 (16:34 +0100)]
Merge pull request #5885 from rgacogne/rec-nodata-nsec-wildcard

rec: Split NODATA/NXDOMAIN NSEC wildcard denial proof of existence

7 years agoMerge pull request #5876 from ahupowerdns/dnssec-ttl-log-improv
Pieter Lexis [Mon, 6 Nov 2017 15:33:54 +0000 (16:33 +0100)]
Merge pull request #5876 from ahupowerdns/dnssec-ttl-log-improv

--trace logging with more details about trust anchors, plus ttl of auth data

7 years agoMerge pull request #5889 from pieterlexis/rec-41-prevent-downgrade
Pieter Lexis [Mon, 6 Nov 2017 15:33:31 +0000 (16:33 +0100)]
Merge pull request #5889 from pieterlexis/rec-41-prevent-downgrade

Prevent possible downgrade attacks in the recursor

7 years agoMerge pull request #5898 from pieterlexis/dnsdist-multi-instance
Pieter Lexis [Mon, 6 Nov 2017 15:32:27 +0000 (16:32 +0100)]
Merge pull request #5898 from pieterlexis/dnsdist-multi-instance

Add multi-instance unit file

7 years agoMerge pull request #5901 from mind04/retry-once
Pieter Lexis [Mon, 6 Nov 2017 15:32:03 +0000 (16:32 +0100)]
Merge pull request #5901 from mind04/retry-once

auth: retry once is not an error condition.

7 years agorec: Fix going Insecure on NSEC3 hashes with too many iterations
Remi Gacogne [Mon, 6 Nov 2017 11:27:04 +0000 (12:27 +0100)]
rec: Fix going Insecure on NSEC3 hashes with too many iterations

7 years agoAdd quotation chars to make erroneous end of line whitespace easier to spot
Job Snijders [Mon, 6 Nov 2017 10:57:53 +0000 (11:57 +0100)]
Add quotation chars to make erroneous end of line whitespace easier to spot

7 years agoMerge pull request #5905 from mind04/302
Remi Gacogne [Sat, 4 Nov 2017 12:06:04 +0000 (13:06 +0100)]
Merge pull request #5905 from mind04/302

auth: use 302 redirects in the webserver for ringbuffer reset or resize

7 years agoMerge pull request #5896 from rgacogne/rec-nsip-speed-purge-one
Remi Gacogne [Sat, 4 Nov 2017 12:03:50 +0000 (13:03 +0100)]
Merge pull request #5896 from rgacogne/rec-nsip-speed-purge-one

rec: Purge nsSpeeds entries even if we get less than 2 new entries

7 years agoauth: use 302 redirects in the webserver for ringbuffer reset or resize
Kees Monshouwer [Fri, 3 Nov 2017 17:52:14 +0000 (18:52 +0100)]
auth: use 302 redirects in the webserver for ringbuffer reset or resize

7 years agorec: Fix incomplete validation of cached entries
Remi Gacogne [Fri, 3 Nov 2017 16:20:57 +0000 (17:20 +0100)]
rec: Fix incomplete validation of cached entries

When an entry retrieved from the cache or the negative cache has
not been previously validated because the initial query did not
ask for validation, we only validate answers if the current zone
state was Secure. This is fine, but we also need to update the
state of the current query if the current zone is Insecure or Bogus,
even though we don't need to validate the records.

7 years agoauth: retry once is not an error condition. this is just PowerDNS telling you 'hey...
Kees Monshouwer [Fri, 3 Nov 2017 11:16:08 +0000 (12:16 +0100)]
auth: retry once is not an error condition. this is just PowerDNS telling you 'hey something is wrong with my connection to the db server, let me fix this for you'

7 years agoMerge pull request #5897 from aerique:feature/update-auth-4.1.0-rc2-changelog auth-4.1.0-rc2
aerique [Fri, 3 Nov 2017 09:34:35 +0000 (10:34 +0100)]
Merge pull request #5897 from aerique:feature/update-auth-4.1.0-rc2-changelog

Update ChangeLog and secpoll for auth-4.1.0-rc2.

7 years agoUse new HAVE_BOTAN define
Pieter Lexis [Thu, 2 Nov 2017 17:28:29 +0000 (18:28 +0100)]
Use new HAVE_BOTAN define

7 years agoAdd multi-instance unit file
Pieter Lexis [Thu, 2 Nov 2017 16:28:56 +0000 (17:28 +0100)]
Add multi-instance unit file

7 years agoAdd tests for DS downgrade protection
Pieter Lexis [Tue, 31 Oct 2017 21:59:54 +0000 (22:59 +0100)]
Add tests for DS downgrade protection

Adds an ugly hack to be able to test private functions in the syncres as
well.

7 years agorecursor: Prevent DNSSEC downgrade attacks
Pieter Lexis [Tue, 31 Oct 2017 21:57:46 +0000 (22:57 +0100)]
recursor: Prevent DNSSEC downgrade attacks

RFC 4509 section 3: "Validator implementations SHOULD ignore DS RR
containing SHA-1 digests if DS RRs with SHA-256 digests are present in the
DS RRset."

As SHA348 is specified as well, the spirit of the this line is "use the
best algorithm".

This also means that if a delegation has DS records for multiple keys
(and algos) and only a subset have stronger digests, we will discard the
DS records for the weaker digests.

7 years agorec: Remove unneeded speed variable
Remi Gacogne [Thu, 2 Nov 2017 14:05:18 +0000 (15:05 +0100)]
rec: Remove unneeded speed variable

7 years agorec: Purge nsSpeeds entries even if we get less than 2 new entries
Remi Gacogne [Thu, 2 Nov 2017 13:54:46 +0000 (14:54 +0100)]
rec: Purge nsSpeeds entries even if we get less than 2 new entries