]>
granicus.if.org Git - pdns/log
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
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
JP Mens [Fri, 10 Nov 2017 12:54:35 +0000 (13:54 +0100)]
mention API key required for access
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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.
bert hubert [Wed, 8 Nov 2017 13:09:12 +0000 (14:09 +0100)]
add missing Debian security poll status
Remi Gacogne [Wed, 8 Nov 2017 11:23:12 +0000 (12:23 +0100)]
rec: Don't crash when asked to run with zero threads
Remi Gacogne [Wed, 8 Nov 2017 10:07:48 +0000 (11:07 +0100)]
auth: Add back missing output details to rectifyZone
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
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
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
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
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…
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
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
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
Chris Hofstaedtler [Tue, 7 Nov 2017 15:21:19 +0000 (16:21 +0100)]
API docs: fix old field reference
Chris Hofstaedtler [Tue, 7 Nov 2017 15:20:59 +0000 (16:20 +0100)]
API docs: rename Record -> RREntry to avoid confusion
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
Remi Gacogne [Tue, 7 Nov 2017 14:49:49 +0000 (15:49 +0100)]
rec: Add unit tests for DNSSEC validation of cached CNAME answers
Konrad Wojas [Tue, 7 Nov 2017 14:41:13 +0000 (22:41 +0800)]
rec: reformat web UI code
Reformat web UI code before refactoring.
Remi Gacogne [Tue, 7 Nov 2017 10:40:30 +0000 (11:40 +0100)]
rec: Don't retry security polling too often when it fails
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
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
Pieter Lexis [Tue, 7 Nov 2017 09:28:15 +0000 (10:28 +0100)]
Merge pull request #5919 from jpmens/patch-9
typo
JP Mens [Tue, 7 Nov 2017 09:27:29 +0000 (10:27 +0100)]
Update index.rst
Pieter Lexis [Tue, 7 Nov 2017 09:25:05 +0000 (10:25 +0100)]
Merge pull request #5918 from jpmens/patch-8
typo
JP Mens [Tue, 7 Nov 2017 09:24:10 +0000 (10:24 +0100)]
typo
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)
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.
Remi Gacogne [Mon, 6 Nov 2017 16:24:26 +0000 (17:24 +0100)]
dnsdist: Add regression tests for TeeAction
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
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
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
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
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
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.
Remi Gacogne [Mon, 6 Nov 2017 11:27:04 +0000 (12:27 +0100)]
rec: Fix going Insecure on NSEC3 hashes with too many iterations
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
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
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
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
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.
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'
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.
Pieter Lexis [Thu, 2 Nov 2017 17:28:29 +0000 (18:28 +0100)]
Use new HAVE_BOTAN define
Pieter Lexis [Thu, 2 Nov 2017 16:28:56 +0000 (17:28 +0100)]
Add multi-instance unit file
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.
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.
Remi Gacogne [Thu, 2 Nov 2017 14:05:18 +0000 (15:05 +0100)]
rec: Remove unneeded speed variable
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
aerique [Thu, 2 Nov 2017 11:22:47 +0000 (12:22 +0100)]
Merge pull request #5810 from pieterlexis/b2b-migrate-bind-fixes
BIND backend: Several improvements for b2b-migrate
aerique [Thu, 2 Nov 2017 10:06:54 +0000 (11:06 +0100)]
Merge pull request #5838 from mind04/axfr-presigned
auth: stop doing individual RRSIG queries during outbound AXFR
Remi Gacogne [Thu, 2 Nov 2017 09:27:18 +0000 (10:27 +0100)]
rec: Add the DNSSEC validation state to the DNSQuestion Lua object
aerique [Thu, 2 Nov 2017 09:20:34 +0000 (10:20 +0100)]
Merge pull request #5893 from pieterlexis/auth-41-logwarn-algo-5-7
auth: Warn about algo 5 -> 7 upgrade in log
bert hubert [Thu, 2 Nov 2017 08:34:39 +0000 (09:34 +0100)]
Merge pull request #5498 from rgacogne/botan-2
Add support for Botan 2.x
bert hubert [Wed, 1 Nov 2017 18:39:09 +0000 (19:39 +0100)]
Merge pull request #5877 from rgacogne/rec-nsip-speed-tracking
rec: Sort NS addresses by speed, remove old ones
bert hubert [Wed, 1 Nov 2017 17:40:01 +0000 (18:40 +0100)]
fix issue where we would submit nameserver performance stats for an empty DNSName for authoritative zones, which would trip up dump-nsstats. Fixed it in depth.
Also added some error messages in case dump-nsspeeds ever throws an exception again.
Kees Monshouwer [Mon, 23 Oct 2017 08:41:07 +0000 (10:41 +0200)]
auth: stop doing individual RRSIG queries during outbound AXFR
Pieter Lexis [Wed, 1 Nov 2017 13:56:04 +0000 (14:56 +0100)]
auth: Warn about algo 5 -> 7 upgrade in log
One step toward #3267
Pieter Lexis [Wed, 1 Nov 2017 13:46:52 +0000 (14:46 +0100)]
Merge pull request #5892 from pieterlexis/make-travis-happy
Make travis happy
Kees Monshouwer [Wed, 1 Nov 2017 09:37:23 +0000 (10:37 +0100)]
make travis happy
(cherry picked from commit
664135769af13364a4de0ed9e3efc6cd281a52b2 )
aerique [Wed, 1 Nov 2017 09:49:48 +0000 (10:49 +0100)]
Merge pull request #5890 from aerique/bugfix/bump-soa
Bump SOA record for rec-4.1.0-rc2.
aerique [Wed, 1 Nov 2017 09:39:22 +0000 (10:39 +0100)]
Bump SOA record for rec-4.1.0-rc2.
We (I) forgot to bump the SOA record when adding the info for
rec-4.1.0-rc2.
Fixes #5887.
Remi Gacogne [Tue, 31 Oct 2017 13:55:25 +0000 (14:55 +0100)]
rec: Split NODATA/NXDOMAIN NSEC wildcard denial proof of existence
Otherwise there is a very real risk that a NSEC will cover a more
specific wildcard and we end up with what looks like a NXDOMAIN
proof but is a NODATA one.
Remi Gacogne [Tue, 31 Oct 2017 13:49:55 +0000 (14:49 +0100)]
Merge pull request #5880 from dmccombs/ipbindaddrnoport
Add configuration option to disable IP_BIND_ADDRESS_NO_PORT.
Pieter Lexis [Tue, 31 Oct 2017 13:06:26 +0000 (14:06 +0100)]
pdnsutil: fix indenting in generate-tsig-key
Pieter Lexis [Tue, 31 Oct 2017 13:05:56 +0000 (14:05 +0100)]
pdnsutil: Fix messages for generate-tsig-key
Closes #5849
Pieter Lexis [Tue, 31 Oct 2017 12:53:40 +0000 (13:53 +0100)]
pdnsutil: Add add-meta function
Closes #5853
Remi Gacogne [Tue, 31 Oct 2017 10:06:00 +0000 (11:06 +0100)]
rec: Add EDNS to truncated, servfail answers
Dan McCombs [Tue, 31 Oct 2017 10:27:47 +0000 (06:27 -0400)]
Update ipBindAddrNoPort documentation to include default value.
Dan McCombs [Mon, 30 Oct 2017 22:50:55 +0000 (18:50 -0400)]
Add configuration option to disable IP_BIND_ADDRESS_NO_PORT.
Pieter Lexis [Mon, 30 Oct 2017 17:37:49 +0000 (18:37 +0100)]
pdnsutil: Support DNAME in occlusion check
Rename eclipsed to occluded.
Pieter Lexis [Mon, 30 Oct 2017 16:10:03 +0000 (17:10 +0100)]
Merge pull request #5878 from aerique/feature/fix-release-date
Fix release date.
Erik Winkels [Mon, 30 Oct 2017 16:08:36 +0000 (17:08 +0100)]
Fix release date.
Pieter Lexis [Mon, 30 Oct 2017 15:50:34 +0000 (16:50 +0100)]
pdnsutil: Warn if records in a zone are eclipsed
Fixes #3059
Remi Gacogne [Mon, 30 Oct 2017 13:52:13 +0000 (14:52 +0100)]
rec: Sort NS addresses by speed, remove old ones
We used to not sort the different addresses we had for a given NS
by speed, only taking care of placing the first one in front.
However we also didn't remove existing entries for a given NS,
meaning that if a given IP stopped being advertised it would stay
in our NS speeds map and keep being used to determine the fastest
NS, even if we would only send queries to the new IPs after the
selection. Since we didn't send any query to the old IP anymore,
its latency would only keep decaying meaning the computed latency
of the corresponding NS would only keep decreasing, completely
uncorrelated from its real latency.
This commit removes old entries from the NS speeds map if they are
no longer present when we refresh the addresses of a given NS.
In addition, it orders all NS IPs by decaying latency, meaning new
ones will have a fair chance of being picked up.
aerique [Mon, 30 Oct 2017 11:23:32 +0000 (12:23 +0100)]
Merge pull request #5869 from aerique:feature/update-rec-changelog
Update the ChangeLog and secpoll for Recursor 4.1.0 RC2.
bert hubert [Mon, 30 Oct 2017 10:15:15 +0000 (11:15 +0100)]
--trace logging with more details about trust anchors, plus ttl of auth data
Print more details of trust anchors. In addition, the --trace output that mentions if data from authoritative servers gets accepted now also prints the TTL and clarifies the 'place' number previously printed.
Pieter Lexis [Mon, 30 Oct 2017 08:54:43 +0000 (09:54 +0100)]
Merge pull request #5799 from rgacogne/rec-shadow-variables
Fix shadowed variables
Pieter Lexis [Mon, 30 Oct 2017 08:54:24 +0000 (09:54 +0100)]
Merge pull request #5871 from zeha/gsqldocs
Sync gmysql/gpgsql default settings and docs
Pieter Lexis [Mon, 30 Oct 2017 08:54:10 +0000 (09:54 +0100)]
Merge pull request #5872 from mnordhoff/set-nsec3_-
Document pdnsutil set-nsec3 with no salt ("1 0 0 -")
bert hubert [Sun, 29 Oct 2017 19:37:35 +0000 (20:37 +0100)]
Merge pull request #5873 from ahupowerdns/rootdns-init-order
With this commit, the root-anchor provisioning machinery no longer uses g_rootdnsname
bert hubert [Sun, 29 Oct 2017 15:23:21 +0000 (16:23 +0100)]
With this commit, the root-anchor provisioning machinery no longer uses g_rootdnsname which might not yet have been initialized. This broke DNSSEC validation with -flto.
Remi Gacogne [Sun, 29 Oct 2017 10:43:08 +0000 (11:43 +0100)]
Merge pull request #5860 from rgacogne/dnsdist-tee-action-fix
dnsdist: Fix TeeAction() with EDNS Client Subnet
bert hubert [Sat, 28 Oct 2017 20:33:20 +0000 (22:33 +0200)]
fix typo in docs
Matt Nordhoff [Sat, 28 Oct 2017 08:18:17 +0000 (08:18 +0000)]
Document pdnsutil set-nsec3 with no salt ("1 0 0 -")
Chris Hofstaedtler [Fri, 27 Oct 2017 15:36:59 +0000 (17:36 +0200)]
Sync gmysql/gpgsql default settings and docs