]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 22 Sep 2017 12:26:04 +0000 (14:26 +0200)]
auth: Use a unique pointer for bind backend's `d_of`
Pieter Lexis [Fri, 22 Sep 2017 08:17:12 +0000 (10:17 +0200)]
Auth: Publish inactive KSK/CSK as CDNSKEY/CDS
Closes #5721
Remi Gacogne [Thu, 21 Sep 2017 14:49:18 +0000 (16:49 +0200)]
rec: NS-consistency check is only when we expect an insecure delegation
Peter van Dijk [Thu, 21 Sep 2017 11:38:28 +0000 (13:38 +0200)]
Merge pull request #5702 from cmouse/update-fixes
bindbackend: Fix transaction to return false on failure
Remi Gacogne [Thu, 21 Sep 2017 09:17:29 +0000 (11:17 +0200)]
rec: Correctly handle a CNAME answer when looking for a DS
Remi Gacogne [Mon, 18 Sep 2017 13:01:39 +0000 (15:01 +0200)]
rec: Handle direct NSEC queries
Remi Gacogne [Wed, 20 Sep 2017 14:28:34 +0000 (16:28 +0200)]
Merge pull request #5710 from Habbie/secpoll-unquote
remove "" around secpoll result. Fixes #5692
Remi Gacogne [Fri, 15 Sep 2017 08:52:37 +0000 (10:52 +0200)]
rec: Skip looking for cuts once we are Insecure or Bogus, just (N)TA
Remi Gacogne [Wed, 13 Sep 2017 09:10:52 +0000 (11:10 +0200)]
rec: Detect zone cuts by asking for DS instead of NS
bert hubert [Wed, 20 Sep 2017 13:28:01 +0000 (15:28 +0200)]
Merge pull request #5711 from ahupowerdns/dnsdist-proba
add ProbaRule to dnsdist: match with given probability
bert hubert [Tue, 19 Sep 2017 20:22:57 +0000 (22:22 +0200)]
add ProbaRule to dnsdist: match with given probability
This adds a ProbaRule, ProbaRule(1.0) means 'match always', 0.1 '10%'. Useful for TeeAction.
Pieter Lexis [Tue, 19 Sep 2017 14:28:16 +0000 (16:28 +0200)]
Fix doc and message nits
Remi Gacogne [Tue, 12 Sep 2017 12:34:09 +0000 (14:34 +0200)]
rec: Separate the actual code checking if a cut exists for refactoring
Peter van Dijk [Tue, 19 Sep 2017 10:19:37 +0000 (12:19 +0200)]
remove "" around secpoll result. Fixes #5692
Pieter Lexis [Tue, 19 Sep 2017 08:34:57 +0000 (10:34 +0200)]
Merge pull request #5700 from Habbie/seperate
doc nit: s/seperate/separate/
Pieter Lexis [Tue, 19 Sep 2017 08:34:39 +0000 (10:34 +0200)]
Merge pull request #5706 from Habbie/man-virtualenv-fail
actually abort when virtualenv is missing. Fixes #5701
Peter van Dijk [Mon, 18 Sep 2017 15:25:40 +0000 (17:25 +0200)]
actually abort when virtualenv is missing. Fixes #5701
Pieter Lexis [Mon, 18 Sep 2017 07:28:59 +0000 (09:28 +0200)]
auth API: use default options for cryptokeys
Pieter Lexis [Mon, 18 Sep 2017 08:14:28 +0000 (10:14 +0200)]
auth: Warn on startup if default key size is req'd
Pieter Lexis [Fri, 15 Sep 2017 14:08:48 +0000 (16:08 +0200)]
auth: make default-{k,z}sk-algorithms singular
Aki Tuomi [Mon, 18 Sep 2017 09:58:25 +0000 (12:58 +0300)]
bindbackend: Add missing safeGetBBDomainInfo return value checks
Aki Tuomi [Mon, 18 Sep 2017 09:56:02 +0000 (12:56 +0300)]
bindbackend: Move throw to correct place in startTransaction
The cleanup code wasn't being executed due to premature throw
Aki Tuomi [Mon, 18 Sep 2017 06:43:57 +0000 (09:43 +0300)]
bindbackend: Return false if domain_id is negative
It should return false, because it has effectively failed.
Returning true can cause several problems later on as
various functions assume they have valid file handle pointer
and valid domain ID to look up, which they don't.
bert hubert [Mon, 18 Sep 2017 09:21:52 +0000 (11:21 +0200)]
add dynamic cache size metrics & documentation
Aki Tuomi [Mon, 18 Sep 2017 06:22:59 +0000 (09:22 +0300)]
bindbackend: Return false if startTransaction fails
Peter van Dijk [Sat, 16 Sep 2017 00:46:09 +0000 (02:46 +0200)]
doc nit: s/seperate/separate/
bert hubert [Fri, 15 Sep 2017 15:56:47 +0000 (17:56 +0200)]
so I had to fill out "did you compile and test this code" and I nearly lied. So I tried it and it sucked. Better now.
bert hubert [Fri, 15 Sep 2017 15:42:51 +0000 (17:42 +0200)]
implement dynamic cache sizeing for recursor
With this commit, the number of (packet)cache entries can be changed at runtime, although the effect may not be immediate in case of shrinking the cache.
Peter van Dijk [Fri, 15 Sep 2017 08:45:43 +0000 (10:45 +0200)]
Merge pull request #5696 from wojas/auth-api-patch-serial
auth api: return new serial in header after PATCH
Pieter Lexis [Thu, 14 Sep 2017 13:39:35 +0000 (15:39 +0200)]
pkgs: print test suite log on failure
Konrad Wojas [Fri, 15 Sep 2017 06:39:32 +0000 (14:39 +0800)]
auth api: also return old serial from PATCH
This adds the old serial as X-PDNS-Old-Serial and renames the header of
the new one to match.
The old serial is useful to verify that no other PATCH happened in the
meantime.
Konrad Wojas [Fri, 15 Sep 2017 05:56:38 +0000 (13:56 +0800)]
auth api: return new serial in header after PATCH
For zone PATCH requests, this adds a new `X-PDNS-Zone-Serial` response
header with the new zone serial.
Ideally this would be returned in a response JSON object, but this API
currently return 204 No Content and I did not want to break any clients
that might rely on this.
Remi Gacogne [Thu, 14 Sep 2017 13:13:21 +0000 (15:13 +0200)]
Merge pull request #5691 from pieterlexis/boost.m4-gcc-7.2
boost.m4: detect gcc 7.2
Pieter Lexis [Thu, 14 Sep 2017 12:17:55 +0000 (14:17 +0200)]
Merge pull request #5597 from pieterlexis/dnsdist-signed-unsigned-arm
dnsdist: Fix several signed/unsigned comparison warnings on ARM
Pieter Lexis [Thu, 14 Sep 2017 12:17:27 +0000 (14:17 +0200)]
Merge pull request #5659 from Habbie/gettag-docs
gettag doc nits
Pieter Lexis [Thu, 14 Sep 2017 11:24:53 +0000 (13:24 +0200)]
boost.m4: detect gcc 7.2
aerique [Thu, 14 Sep 2017 10:44:39 +0000 (12:44 +0200)]
Merge pull request #5689 from Habbie/check-parts
verify parts.size(). Fixes #5688
Peter van Dijk [Thu, 14 Sep 2017 09:31:26 +0000 (11:31 +0200)]
explicitly warn when no hostname can be gathered
Peter van Dijk [Thu, 14 Sep 2017 08:08:54 +0000 (10:08 +0200)]
verify parts.size(). Fixes #5688
aerique [Wed, 13 Sep 2017 13:58:10 +0000 (15:58 +0200)]
Merge pull request #5584 from eehakkin/ldapbackend/new-record-types
ldapbackend: Add support for new record types
aerique [Wed, 13 Sep 2017 13:03:33 +0000 (15:03 +0200)]
Merge pull request #5678 from rgacogne/auth-requestor-payload
auth: Treat requestor's payload size lower than 512 as equal to 512
aerique [Wed, 13 Sep 2017 12:09:52 +0000 (14:09 +0200)]
Merge pull request #5684 from Habbie/5673
be more specific about trailing dot handling, fixes #5673
aerique [Wed, 13 Sep 2017 11:15:26 +0000 (13:15 +0200)]
Merge pull request #5666 from pieterlexis/doc-nits
Fix some doc nits
Remi Gacogne [Wed, 13 Sep 2017 09:33:19 +0000 (11:33 +0200)]
dnsdist: Add missing QPSAction
In 1.2.0 we deprecated the `addQPSLimit()` function, suggesting the
use of `QPSAction()` as a replacement, but the Lua binding for
`QPSAction()` was missing. In addition the documenration was referring
to `QPSLimitAction()` instead of `QPSAction()`.
aerique [Wed, 13 Sep 2017 09:30:22 +0000 (11:30 +0200)]
Merge pull request #5665 from pieterlexis/auth-enable-pkcs11
Enable PKCS#11 in authoritative packages
aerique [Wed, 13 Sep 2017 07:44:34 +0000 (09:44 +0200)]
Merge pull request #5670 from rgacogne/rec-5648-root-denial
rec: Fix erroneous check for section 4.1 of rfc6840
Pieter Lexis [Tue, 12 Sep 2017 16:17:02 +0000 (18:17 +0200)]
Fix Zone object rendering
Remi Gacogne [Wed, 6 Sep 2017 14:51:50 +0000 (16:51 +0200)]
rec: Add unit tests for rfc6840 section 4.1
Remi Gacogne [Tue, 5 Sep 2017 14:10:33 +0000 (16:10 +0200)]
rec: Fix erroneous check for section 4.1 of rfc6840
Remi Gacogne [Tue, 5 Sep 2017 10:23:12 +0000 (12:23 +0200)]
rec: Go Bogus if the name exists but retrieving the DS results in NXD
Pieter Lexis [Tue, 12 Sep 2017 14:29:08 +0000 (16:29 +0200)]
Add missing recursor 4.0.6 changelog
aerique [Tue, 12 Sep 2017 14:24:04 +0000 (16:24 +0200)]
Merge pull request #5671 from rgacogne/rec-nsec-wrap-around
rec: Handle NSEC wrap-around
Pieter Lexis [Mon, 11 Sep 2017 11:03:25 +0000 (13:03 +0200)]
Fix link
Pieter Lexis [Mon, 11 Sep 2017 11:02:36 +0000 (13:02 +0200)]
Add upgrades notes on new LDAP record types
for #5584
ALso, fix layout
Pieter Lexis [Mon, 11 Sep 2017 10:53:58 +0000 (12:53 +0200)]
Mention the need for krb5.h
Closes #5674
Pieter Lexis [Mon, 11 Sep 2017 10:53:53 +0000 (12:53 +0200)]
Add removed recursion opts to upgrade guide
Pieter Lexis [Wed, 6 Sep 2017 12:43:35 +0000 (14:43 +0200)]
Fix some refs
Pieter Lexis [Wed, 6 Sep 2017 12:41:03 +0000 (14:41 +0200)]
Fix render error (no more bold text)
Pieter Lexis [Wed, 6 Sep 2017 12:40:42 +0000 (14:40 +0200)]
Link to the stats from StatisticsItem
Pieter Lexis [Tue, 5 Sep 2017 14:58:27 +0000 (16:58 +0200)]
Fix a nit in the dnsdist docs
Pieter Lexis [Tue, 5 Sep 2017 14:22:00 +0000 (16:22 +0200)]
Fix some doc nits
aerique [Tue, 12 Sep 2017 13:38:01 +0000 (15:38 +0200)]
Merge pull request #5672 from rgacogne/rec-nxtrust-denial-nsec
rec: Add NSEC records on nx-trust cache hits
Peter van Dijk [Tue, 12 Sep 2017 09:13:36 +0000 (11:13 +0200)]
make sure we actually have parts
Peter van Dijk [Tue, 12 Sep 2017 09:05:45 +0000 (11:05 +0200)]
fix double dot on PTR & co
Peter van Dijk [Mon, 11 Sep 2017 15:30:02 +0000 (17:30 +0200)]
be more specific about trailing dot handling, fixes #5673
Remi Gacogne [Thu, 7 Sep 2017 07:43:53 +0000 (09:43 +0200)]
auth: Treat requestor's payload size lower than 512 as equal to 512
Peter van Dijk [Fri, 8 Sep 2017 19:29:20 +0000 (21:29 +0200)]
Merge pull request #5679 from rgacogne/auth-empty-java-options
auth: Unset _JAVA_OPTIONS before using jdnssec
Remi Gacogne [Fri, 8 Sep 2017 15:29:16 +0000 (17:29 +0200)]
auth: Unset _JAVA_OPTIONS before using jdnssec
Travis now [1] defaults to _JAVA_OPTIONS="-Xmx2048m -Xms512m". We wouldn't
care much, except that every Java command now outputs the following line
to stderr, breaking our jdnssec diffs:
"Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m"
[1]: https://docs.travis-ci.com/user/build-environment-updates/2017-09-06/
Remi Gacogne [Wed, 6 Sep 2017 14:20:25 +0000 (16:20 +0200)]
rec: Add unit tests for NSEC authenticated denial of existence
Remi Gacogne [Wed, 6 Sep 2017 14:19:13 +0000 (16:19 +0200)]
rec: An exact NSEC{,3} match can't deny the domain
Johan Jatko [Tue, 5 Sep 2017 16:22:16 +0000 (18:22 +0200)]
Restructure fix and conform to convention
Johan Jatko [Tue, 5 Sep 2017 15:59:55 +0000 (17:59 +0200)]
Handle AFSDB record separately due to record structure.
Closes #4703.
AFSDB records has two elements, <subtype> <hostname>,
as per RFC1183, and needs special treatment when parsing.
Remi Gacogne [Tue, 1 Aug 2017 16:29:41 +0000 (18:29 +0200)]
dnsdist: Add console completion and docs for the new additions:
* CPU pinning
* Cache sharding / deferred locking
* `recvmmsg()` use
Remi Gacogne [Fri, 28 Jul 2017 14:14:39 +0000 (16:14 +0200)]
dnsdist: Use `accept4()` to set the socket non-blocking, when available
Remi Gacogne [Fri, 28 Jul 2017 13:38:29 +0000 (15:38 +0200)]
dnsdist: Don't generate a fresh UUID until we really need it
Remi Gacogne [Fri, 28 Jul 2017 13:37:33 +0000 (15:37 +0200)]
We don't need to copy the header in `ageDNSPacket()`
Remi Gacogne [Fri, 28 Jul 2017 13:36:29 +0000 (15:36 +0200)]
dnsdist: Only call `toDNSString()` once when retrieving from the cache
Remi Gacogne [Fri, 28 Jul 2017 13:34:03 +0000 (15:34 +0200)]
Lock: Don't access and even less write to errno unless we have to
POSIX.1c made `errno` a thread-local, meaning its performance is
far worse than the one of a local variable.
Remi Gacogne [Wed, 26 Jul 2017 16:44:30 +0000 (18:44 +0200)]
dnsdist: Add support for handling UDP queries via recvmmsg() and sendmmsg()
Remi Gacogne [Wed, 12 Jul 2017 22:05:50 +0000 (00:05 +0200)]
dnsdist: Add support for pinning backend threads to specific CPUs
Remi Gacogne [Wed, 12 Jul 2017 20:46:43 +0000 (22:46 +0200)]
dnsdist: Add support for pinning listener threads to specific CPUs
Remi Gacogne [Tue, 11 Jul 2017 14:30:58 +0000 (16:30 +0200)]
dnsdist: Add support for sharding the packet cache
Also make the cache insert lock optionally deferrable.
Remi Gacogne [Tue, 5 Sep 2017 14:27:03 +0000 (16:27 +0200)]
rec: Add NSEC records on nx-trust cache hits
Remi Gacogne [Tue, 5 Sep 2017 14:18:41 +0000 (16:18 +0200)]
rec: Handle NSEC wrap-around
Pieter Lexis [Tue, 5 Sep 2017 12:54:51 +0000 (14:54 +0200)]
Document the SoftHSM/Botan interaction
Pieter Lexis [Tue, 5 Sep 2017 12:49:41 +0000 (14:49 +0200)]
Document enabling of PKCS#11 in changelog
Pieter Lexis [Tue, 5 Sep 2017 09:32:58 +0000 (11:32 +0200)]
Report PKCS#11 support in configure and --version
Pieter Lexis [Tue, 5 Sep 2017 09:16:28 +0000 (11:16 +0200)]
Enable PKCS#11 in auth builds
bert hubert [Fri, 1 Sep 2017 11:21:21 +0000 (13:21 +0200)]
Merge pull request #5662 from RvdE/patch-6
[PATCH]: Recursor 4.1.0 alpha 1 fails to build on FreeBSD
RvdE [Fri, 1 Sep 2017 07:38:41 +0000 (09:38 +0200)]
Hopefully fix compilation error on linux
RvdE [Thu, 31 Aug 2017 18:58:31 +0000 (20:58 +0200)]
[PATCH]: Recursor 4.1.0 alpha 1 fails to build on FreeBSD
This fixes compilation on FreeBSD, which requires an extra include file and defines a slightly different type.
aerique [Thu, 31 Aug 2017 11:58:46 +0000 (13:58 +0200)]
auth: Fix two mistakes in 4.1 changelog.
Peter van Dijk [Tue, 29 Aug 2017 13:22:57 +0000 (15:22 +0200)]
Merge pull request #5646 from neilcook/deviceid
Support for identifying devices by id such as mac address
aerique [Tue, 29 Aug 2017 13:07:27 +0000 (15:07 +0200)]
Merge pull request #5658 from aerique/feature/update-auth-changelog
auth: Update the ChangeLog for 4.1.0.
Erik Winkels [Tue, 29 Aug 2017 10:56:13 +0000 (12:56 +0200)]
Update secpoll for auth 4.1.0-rc1.
Erik Winkels [Mon, 28 Aug 2017 13:19:35 +0000 (15:19 +0200)]
auth: Update the ChangeLog for 4.1.0.
Neil Cook [Tue, 29 Aug 2017 09:55:28 +0000 (10:55 +0100)]
Add missing requestorId and deviceId to summary print statement
Peter van Dijk [Mon, 28 Aug 2017 15:05:46 +0000 (17:05 +0200)]
gettag doc nits
Peter van Dijk [Mon, 28 Aug 2017 14:38:35 +0000 (16:38 +0200)]
Merge pull request #5636 from mind04/luabackend-test
Fix and hook up luabackend tests
bert hubert [Mon, 28 Aug 2017 08:51:32 +0000 (10:51 +0200)]
Merge pull request #5647 from ahupowerdns/dnsdist-dyntrunk-tcp
Make dnsdist dynamic truncate do right thing on TCP/IP