]>
granicus.if.org Git - pdns/log
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.
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.
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
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:49:55 +0000 (14:49 +0100)]
Merge pull request #5880 from dmccombs/ipbindaddrnoport
Add configuration option to disable IP_BIND_ADDRESS_NO_PORT.
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 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.
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.
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
Remi Gacogne [Fri, 27 Oct 2017 14:03:28 +0000 (16:03 +0200)]
Merge branch 'master' into botan-2
Remi Gacogne [Fri, 27 Oct 2017 14:02:13 +0000 (16:02 +0200)]
Merge pull request #4 from mind04/botan
Drop botan 1.x support
aerique [Fri, 27 Oct 2017 13:44:43 +0000 (15:44 +0200)]
Merge pull request #5868 from rgacogne/rec-denial-fixes
rec: Fix validation of denial proofs
Remi Gacogne [Fri, 27 Oct 2017 12:06:29 +0000 (14:06 +0200)]
Fix case-sensitive comparison in DNSName::getCommonLabels()
Pieter Lexis [Fri, 27 Oct 2017 08:44:41 +0000 (10:44 +0200)]
Merge pull request #5858 from rgacogne/sodium-cflags
Use libsodium's CFLAGS, we might need them to find the includes
Pieter Lexis [Fri, 27 Oct 2017 08:37:33 +0000 (10:37 +0200)]
Merge pull request #5762 from pieterlexis/5439-initscript-socket-dir
Rec: create socket-dir from init-script
Remi Gacogne [Fri, 27 Oct 2017 08:34:38 +0000 (10:34 +0200)]
rec: Fix validation of denial proofs
Remi Gacogne [Fri, 27 Oct 2017 07:58:20 +0000 (09:58 +0200)]
Merge pull request #5866 from zeha/help
dnsdist: accept help for help()
Remi Gacogne [Fri, 27 Oct 2017 07:57:53 +0000 (09:57 +0200)]
Merge pull request #5847 from rgacogne/dnsdist-client-remote-logger
dnsdist: Don't create a Remote Logger in client mode
Remi Gacogne [Fri, 27 Oct 2017 07:57:33 +0000 (09:57 +0200)]
Merge pull request #5865 from zeha/clientdoc
dnsdist: fix console connection guide
Remi Gacogne [Fri, 27 Oct 2017 07:56:41 +0000 (09:56 +0200)]
Merge pull request #5863 from zeha/getShowBind
dnsdist: showBind, getBind console improvements
Remi Gacogne [Fri, 27 Oct 2017 07:54:26 +0000 (09:54 +0200)]
Merge pull request #5864 from zeha/noresponse
dnsdist: Fix log message in no-downstream-server case
Chris Hofstaedtler [Fri, 27 Oct 2017 00:01:32 +0000 (02:01 +0200)]
dnsdist: accept help for help()
Chris Hofstaedtler [Thu, 26 Oct 2017 22:07:46 +0000 (00:07 +0200)]
dnsdist: fix ports used in console guide
Chris Hofstaedtler [Thu, 26 Oct 2017 22:06:36 +0000 (00:06 +0200)]
dnsdist: fix client key option in console guide
Chris Hofstaedtler [Thu, 26 Oct 2017 21:43:37 +0000 (23:43 +0200)]
dnsdist: avoid crash when printing nullptr retvals
Chris Hofstaedtler [Thu, 26 Oct 2017 21:13:04 +0000 (23:13 +0200)]
dnsdist: make getBind() retval printable
Chris Hofstaedtler [Thu, 26 Oct 2017 21:24:23 +0000 (23:24 +0200)]
dnsdist: Fix log message in no-downstream-server case
Chris Hofstaedtler [Thu, 26 Oct 2017 21:13:25 +0000 (23:13 +0200)]
dnsdist: print WrongTypeException details in local console, too
Chris Hofstaedtler [Thu, 26 Oct 2017 21:01:03 +0000 (23:01 +0200)]
dnsdist: Add showBinds, getBind to completion/help
Pieter Lexis [Thu, 26 Oct 2017 12:36:04 +0000 (14:36 +0200)]
Merge pull request #5837 from jpmens/patch-3
fix markup for warning
Pieter Lexis [Thu, 26 Oct 2017 12:35:50 +0000 (14:35 +0200)]
Merge pull request #5846 from RvdE/patch-1
Update compiling.rst
Pieter Lexis [Thu, 26 Oct 2017 12:35:40 +0000 (14:35 +0200)]
Merge pull request #5848 from ffledgling/api-server-doc-fix
Add missing config option in HTTP API docs
Pieter Lexis [Thu, 26 Oct 2017 12:35:26 +0000 (14:35 +0200)]
Merge pull request #5851 from jpmens/patch-4
Attempt to clarify use of TSIG key and ALLOW-DNSUPDATE-FROM
Pieter Lexis [Thu, 26 Oct 2017 12:35:12 +0000 (14:35 +0200)]
Merge pull request #5852 from jpmens/patch-5
Show use of pdnsutil generate-tsig-key
Pieter Lexis [Thu, 26 Oct 2017 12:34:57 +0000 (14:34 +0200)]
Merge pull request #5856 from jpmens/patch-6
dnsupdate default for allow-dnsupdate-from
Pieter Lexis [Thu, 26 Oct 2017 12:34:49 +0000 (14:34 +0200)]
Merge pull request #5857 from jpmens/patch-7
docs: clarify settings for allow-dnsupdate-from
Remi Gacogne [Thu, 26 Oct 2017 12:12:36 +0000 (14:12 +0200)]
dnsdist: Fix TeeAction() with EDNS Client Subnet
Since
0beaa5c825059986d3ce108a4bd2578a08d6d1d0 we checked the space
available against the current length, instead of the real capacity,
resulting in the query being dropped because it looked like there
was not enough room to add the ECS value.
aerique [Thu, 26 Oct 2017 11:42:40 +0000 (13:42 +0200)]
Merge pull request #5842 from pieterlexis/log-timestamps
4.1 polish: Add log-timestamp option
Remi Gacogne [Thu, 26 Oct 2017 10:10:15 +0000 (12:10 +0200)]
Use libsodium's CFLAGS, we might need them to find the includes
JP Mens [Thu, 26 Oct 2017 09:13:26 +0000 (11:13 +0200)]
Update dnsupdate.rst
JP Mens [Thu, 26 Oct 2017 08:40:10 +0000 (10:40 +0200)]
Update settings.rst
JP Mens [Thu, 26 Oct 2017 08:22:12 +0000 (10:22 +0200)]
docs: clarify settings for allow-dnsupdate-from
JP Mens [Thu, 26 Oct 2017 08:11:54 +0000 (10:11 +0200)]
dnsupdate default for allow-dnsupdate-from
Kees Monshouwer [Wed, 25 Oct 2017 23:06:54 +0000 (01:06 +0200)]
replace depricated botan.h include
Kees Monshouwer [Wed, 25 Oct 2017 20:43:35 +0000 (22:43 +0200)]
drop botan 1.x support
JP Mens [Thu, 26 Oct 2017 05:42:38 +0000 (07:42 +0200)]
Show use of pdnsutil generate-tsig-key
JP Mens [Thu, 26 Oct 2017 05:26:53 +0000 (07:26 +0200)]
Attempt to clarify use of TSIG key and ALLOW-DNSUPDATE-FROM
Clarify association between use of TSIG key and ALLOW-DNSUPDATE-FROM. Previous description sounded like AND
Anhad Jai Singh [Wed, 25 Oct 2017 17:28:32 +0000 (22:58 +0530)]
Add missing config option in API docs
- Add `api=yes` required to enable API
- Change ports in examples from 8082 to 8081 to reflect default port in
configs for Authoritative DNS
Remi Gacogne [Wed, 25 Oct 2017 15:27:05 +0000 (17:27 +0200)]
dnsdist: Don't create a Remote Logger in client mode
RvdE [Wed, 25 Oct 2017 15:23:32 +0000 (17:23 +0200)]
Update compiling.rst
fix libdecaf configure option (was probably copied from the libsodium paragraph)
bert hubert [Wed, 25 Oct 2017 13:41:28 +0000 (15:41 +0200)]
Merge pull request #5835 from rgacogne/rec-disable-validation-for-infra
rec: Disable validation for infra queries, validate entries from the negcache
Remi Gacogne [Wed, 25 Oct 2017 12:53:13 +0000 (14:53 +0200)]
rec: Place CacheEntry and CacheKey into a unique namespace
aerique [Wed, 25 Oct 2017 11:54:29 +0000 (13:54 +0200)]
Merge pull request #5774 from ahupowerdns/our-latency-metric
Implement experimental metric tracking time spent within PowerDNS per query
bert hubert [Wed, 25 Oct 2017 10:46:41 +0000 (12:46 +0200)]
also account for network latency when talking to hardcoded servers
bert hubert [Wed, 25 Oct 2017 10:40:20 +0000 (12:40 +0200)]
remove whitespace
Remi Gacogne [Fri, 20 Oct 2017 13:42:07 +0000 (15:42 +0200)]
rec: Validate entries retrieved from the negcache if needed
This happens if validation was not requested during the first query
but is requested when we retrieve a negatively cached entry.
This is useful when running with dnssec=process, and also especially
so now that we don't validate infra queries anymore.
Remi Gacogne [Thu, 19 Oct 2017 15:34:22 +0000 (17:34 +0200)]
rec: Don't validate infrastructure queries
Also require authoritative answer when looking for a cut, since we
use `DS` queries and not `NS` queries anymore.
Pieter Lexis [Wed, 25 Oct 2017 09:17:58 +0000 (11:17 +0200)]
Add log-timestamp option
This option can be used to disable printing timestamps to stdout, this
is useful when using systemd-journald or another supervisor that
timestamps stdout by itself. As the logs will not have 2 timestamps.
aerique [Tue, 24 Oct 2017 11:28:36 +0000 (13:28 +0200)]
Merge pull request #5834 from rgacogne/rec-dont-cache-nsec3
rec: Don't directly store NSEC3 records in the positive cache
Pieter Lexis [Tue, 24 Oct 2017 10:08:51 +0000 (12:08 +0200)]
BIND: re-instate also-notify behaviour
@mind04 noticed the behaviour introduced in
bc67ec22 was not the same as
before.
aerique [Mon, 23 Oct 2017 15:03:48 +0000 (17:03 +0200)]
Merge pull request #5822 from mind04/ldap-timeout
auth: ldapbackend, use the timeout setting in the PowerLDAP class
bert hubert [Mon, 23 Oct 2017 11:01:14 +0000 (13:01 +0200)]
add annotation to documentation, fix unrelated RST-warning
bert hubert [Mon, 23 Oct 2017 10:30:42 +0000 (12:30 +0200)]
Merge pull request #5832 from rgacogne/travis-list-repos
Remove all custom repositories
Remi Gacogne [Sat, 21 Oct 2017 11:09:06 +0000 (13:09 +0200)]
Fix a shadowed variable wrt EINTR handling in isTCPSocketUsable()
This would have prevented us from looping as long as we keep getting
interrupted.
Reported by GCC with -Wshadow enabled.
Remi Gacogne [Mon, 23 Oct 2017 10:16:52 +0000 (12:16 +0200)]
rec: Don't shadow variables
Peter van Dijk [Mon, 23 Oct 2017 09:42:43 +0000 (11:42 +0200)]
Merge pull request #5833 from rgacogne/auth-add-key
auth: Fix Coverity warnings in apiZoneCryptokeysPOST and BindDomainInfo
Remi Gacogne [Mon, 23 Oct 2017 08:47:17 +0000 (10:47 +0200)]
Merge pull request #5625 from rgacogne/dnsdist-set-status-on-auto
dnsdist: Add an optional `status` parameter to `setAuto()`
Remi Gacogne [Mon, 23 Oct 2017 08:45:48 +0000 (10:45 +0200)]
Merge pull request #5686 from rgacogne/dnsdist-qps-action
dnsdist: Add missing QPSAction
aerique [Mon, 23 Oct 2017 08:25:14 +0000 (10:25 +0200)]
Merge pull request #5836 from mind04/axfr-dnsname
auth: more DNSName in doAXFR()
aerique [Mon, 23 Oct 2017 07:20:48 +0000 (09:20 +0200)]
Merge pull request #5777 from rgacogne/auth-signing-pipe-std-thread
auth: Handle a signing pipe worker dying with work still pending
JP Mens [Mon, 23 Oct 2017 07:20:05 +0000 (09:20 +0200)]
fix markup for warning
Kees Monshouwer [Fri, 20 Oct 2017 22:38:45 +0000 (00:38 +0200)]
auth: more DNSName in doAXFR()
Remi Gacogne [Thu, 19 Oct 2017 09:57:32 +0000 (11:57 +0200)]
rec: Don't directly store NSEC3 records in the positive cache
Remi Gacogne [Thu, 19 Oct 2017 09:14:00 +0000 (11:14 +0200)]
auth: Make sure hadFileDirective is initialized in BindDomainInfo
It should be initialized after BindParser::commit() has been called,
but let's make sure it still is if this function is not called.
Reported by Coverity.
Remi Gacogne [Thu, 19 Oct 2017 09:13:24 +0000 (11:13 +0200)]
auth: Handle addKey() returning false in apiZoneCryptokeysPOST
Reported by Coverity.
Remi Gacogne [Thu, 19 Oct 2017 08:45:23 +0000 (10:45 +0200)]
auth: Fix Bind2Backend::addDomainKey return value without SQLite3
Since
82cc07611d23c5e815d8673ae070cf0e421351ad changed the return value
from an `int` to a `bool`, it would return `true` instead of `false`
when SQLite3 support was not available.
Remi Gacogne [Wed, 18 Oct 2017 16:06:53 +0000 (18:06 +0200)]
Remove all custom repositories
Pieter Lexis [Wed, 18 Oct 2017 10:56:17 +0000 (12:56 +0200)]
Merge pull request #5825 from pieterlexis/default-zsk-algorithm-empty-is-ok
Auth: Don't warn on empty default-{k,z}sk-algorithm
Pieter Lexis [Wed, 18 Oct 2017 10:55:30 +0000 (12:55 +0200)]
Merge pull request #5826 from pieterlexis/jpmens-issues-edition-2017
Fix some of the issues found by @jpmens