]>
granicus.if.org Git - pdns/log
Remi Gacogne [Mon, 30 Jul 2018 12:40:10 +0000 (14:40 +0200)]
auth: Make sure that we use strict weak records ordering in the API
Remi Gacogne [Mon, 30 Jul 2018 07:56:57 +0000 (09:56 +0200)]
Merge pull request #6804 from Habbie/rec-buildbot-no-snmp
skip recursor SNMP testing in buildbot
Remi Gacogne [Mon, 30 Jul 2018 07:54:36 +0000 (09:54 +0200)]
Merge pull request #6812 from Habbie/rec-thread-fixes
rec: load Lua scripts only in worker threads
Peter van Dijk [Thu, 26 Jul 2018 15:05:14 +0000 (17:05 +0200)]
do not load Lua in the distributor thread
Peter van Dijk [Thu, 26 Jul 2018 14:24:06 +0000 (16:24 +0200)]
only load the Lua script in worker threads
Peter van Dijk [Thu, 26 Jul 2018 14:20:26 +0000 (16:20 +0200)]
correct type for getRecursorThreadId
Peter van Dijk [Wed, 25 Jul 2018 16:23:52 +0000 (18:23 +0200)]
Merge pull request #6796 from cmouse/mmdb
geoipbackend: Document that MMDB support has been added in v4.2
Peter van Dijk [Wed, 25 Jul 2018 16:13:04 +0000 (18:13 +0200)]
skip recursor SNMP testing in buildbot
Peter van Dijk [Tue, 24 Jul 2018 15:12:48 +0000 (17:12 +0200)]
Merge pull request #6802 from neilcook/boostfs
Make NOD and Boost FS conditional for compilation based on configure flag
Neil Cook [Tue, 24 Jul 2018 14:07:31 +0000 (16:07 +0200)]
Fix incorrect tests for NOD in configure
Neil Cook [Tue, 24 Jul 2018 12:16:00 +0000 (14:16 +0200)]
Make NOD and Boost FS conditional for compilation based on configure flag
Remi Gacogne [Fri, 20 Jul 2018 08:43:31 +0000 (10:43 +0200)]
Merge pull request #6728 from neilcook/nod
Newly Observed Domain Support
Neil Cook [Tue, 29 May 2018 17:51:35 +0000 (18:51 +0100)]
Newly observed domain support using a stable bloom filter to record previously seen domains.
- Not enabled by default, must be enabled via configure
- Enables new domains to be logged or sent via DNS lookup
- New settings documented
Aki Tuomi [Mon, 16 Jul 2018 14:44:16 +0000 (17:44 +0300)]
geoipbackend: Document that MMDB support has been added in v4.2
Pieter Lexis [Thu, 12 Jul 2018 07:54:19 +0000 (09:54 +0200)]
Merge pull request #6650 from pieterlexis/doc-nits
Fix some doc nits and re-do parts of the Geo IP docs
Pieter Lexis [Thu, 12 Jul 2018 07:45:58 +0000 (09:45 +0200)]
Merge pull request #6694 from zeha/cleanup20180530
Assorted tiny cleanups
Pieter Lexis [Thu, 12 Jul 2018 07:31:15 +0000 (09:31 +0200)]
Merge pull request #6719 from rgacogne/rec-mtasker-container-bounds
rec: Allocate one more stack byte to make _GLIBCXX_ASSERTIONS happy
Pieter Lexis [Thu, 12 Jul 2018 07:30:56 +0000 (09:30 +0200)]
Merge pull request #6738 from rgacogne/auth-tsig-6736
auth: Reset the TSIG state between queries
Pieter Lexis [Thu, 12 Jul 2018 07:29:44 +0000 (09:29 +0200)]
Merge pull request #6774 from wojas/calidns-accurate-target-qps
calidns: accurate qps targets
Pieter Lexis [Thu, 12 Jul 2018 07:29:27 +0000 (09:29 +0200)]
Merge pull request #6780 from Habbie/api-fillzone-merge
avoid concurrent records/comments iteration from running out of sync
Peter van Dijk [Thu, 12 Jul 2018 07:29:12 +0000 (09:29 +0200)]
Merge pull request #6788 from rgacogne/dnsdist-doc-maxnegttl-int
dnsdist: Fix the type of maxNegativeTTL (int, not bool) in the doc
Pieter Lexis [Thu, 12 Jul 2018 07:29:01 +0000 (09:29 +0200)]
Merge pull request #6789 from SvenMW/master
[DOC] fix botan lib link
Pieter Lexis [Thu, 12 Jul 2018 07:28:33 +0000 (09:28 +0200)]
Merge pull request #6783 from rgacogne/changelog-from-pr-auth
Add Basic Auth support to changelog-from-pr.py
SvenMW [Wed, 11 Jul 2018 15:39:26 +0000 (17:39 +0200)]
[DOC] fix botan lib link
also change powerdns Downloadlink from http to https
Remi Gacogne [Wed, 11 Jul 2018 07:43:02 +0000 (09:43 +0200)]
dnsdist: Fix the type of maxNegativeTTL (int, not bool) in the doc
Remi Gacogne [Tue, 10 Jul 2018 12:40:56 +0000 (14:40 +0200)]
Merge pull request #6787 from rgacogne/dnsdist-132-changelog
dnsdist: Add ChangeLog for dnsdist 1.3.2
Remi Gacogne [Tue, 10 Jul 2018 12:38:38 +0000 (14:38 +0200)]
Merge pull request #6785 from rgacogne/dnsdist-cache-dump-build-cinttypes
dnsdist: Add missing include for PRId64, fix build on CentOS 6 / SLES 12
Remi Gacogne [Tue, 10 Jul 2018 12:04:26 +0000 (14:04 +0200)]
dnsdist: Add ChangeLog for dnsdist 1.3.2
Remi Gacogne [Tue, 10 Jul 2018 11:23:46 +0000 (13:23 +0200)]
dnsdist: Add missing include for PRId64, fix build on CentOS 6 / SLES 12
Remi Gacogne [Tue, 10 Jul 2018 10:16:42 +0000 (12:16 +0200)]
Merge pull request #6784 from rgacogne/dnsdist-131-changelog
dnsdist: Add ChangeLog for dnsdist 1.3.1
Remi Gacogne [Tue, 10 Jul 2018 08:30:09 +0000 (10:30 +0200)]
dnsdist: Add ChangeLog for dnsdist 1.3.1
Remi Gacogne [Mon, 9 Jul 2018 19:24:32 +0000 (21:24 +0200)]
Merge pull request #6782 from rgacogne/dnsdist-soaseen-broken
dnsdist: Fix detection of NoData / NXDomain answers in the cache
Remi Gacogne [Mon, 9 Jul 2018 15:50:34 +0000 (17:50 +0200)]
Add Basic Auth support to changelog-from-pr.py
GitHub's API rate limiting is quite aggressive, but is more
permissive for authenticated users.
This PR allows authenticating via username and password, but you can
also submit a personal access tokens instead of a password if, for
example, you have 2-factors authentication enabled on your account.
Remi Gacogne [Mon, 9 Jul 2018 14:29:36 +0000 (16:29 +0200)]
dnsdist: Fix detection of NoData / NXDomain answers in the cache
Checking whether the SOA record is in the right section was broken
because of a misplaced parenthesis, and the unit test checking that
case turned out to be broken too (wrong class) :'(
The broken check was reported by cppcheck (thanks!):
```
Comparison of a boolean expression with an integer.
```
Remi Gacogne [Mon, 9 Jul 2018 13:37:11 +0000 (15:37 +0200)]
Merge pull request #6764 from rgacogne/dnsdist-rotate-certs
dnsdist: Add support for rotating certificates and keys
Remi Gacogne [Mon, 9 Jul 2018 12:42:28 +0000 (14:42 +0200)]
Merge pull request #6769 from rgacogne/luawrapper-maybe-uninitialized
LuaWrapper: Disable maybe uninitialized warnings with boost optional
Peter van Dijk [Fri, 6 Jul 2018 16:47:00 +0000 (18:47 +0200)]
avoid concurrent records/comments iteration from running out of sync
Remi Gacogne [Mon, 9 Jul 2018 10:15:54 +0000 (12:15 +0200)]
Merge pull request #6726 from rgacogne/dnsdist-clean-maxqpsiprule-lru
dnsdist: Use LRU to clean the MaxQPSIPRule's store
Remi Gacogne [Mon, 9 Jul 2018 09:35:54 +0000 (11:35 +0200)]
dnsdist: Rename disableTickets to sessionTickets
Remi Gacogne [Mon, 9 Jul 2018 09:18:53 +0000 (11:18 +0200)]
Merge pull request #6734 from rgacogne/dnsdist-set-ecs
dnsdist: Add SetECSAction to set an arbitrary outgoing ECS value
Remi Gacogne [Mon, 9 Jul 2018 08:54:47 +0000 (10:54 +0200)]
Merge pull request #6773 from rgacogne/dnsdist-reuse-race
dnsdist: Fix an outstanding counter race when reusing states
Remi Gacogne [Mon, 9 Jul 2018 07:29:50 +0000 (09:29 +0200)]
dnsdist: Pass const references to SetECSAction()
Remi Gacogne [Mon, 9 Jul 2018 07:21:14 +0000 (09:21 +0200)]
Merge pull request #6754 from rgacogne/dnsdist-subnet-collision
dnsdist: Detect ECS collisions in the packet cache
Remi Gacogne [Mon, 9 Jul 2018 07:20:06 +0000 (09:20 +0200)]
Merge pull request #6775 from rgacogne/dnsdist-none-action
dnsdist: Implement NoneAction()
Remi Gacogne [Mon, 9 Jul 2018 07:19:47 +0000 (09:19 +0200)]
Merge pull request #6776 from rgacogne/dnsdist-dynblock-noop
dnsdist: Add DNSAction.NoOp to debug Dynamic Blocks
Remi Gacogne [Fri, 6 Jul 2018 14:06:13 +0000 (16:06 +0200)]
dnsdist: Make sure that DynBlock tests do not pass when they shouldn't
Konrad Wojas [Fri, 6 Jul 2018 12:31:13 +0000 (20:31 +0800)]
calidns: accurate qps targets
Instead of a naive fixed sleep between batch sends, check the actual time
passed to determine how long to sleep. This allows calidns to actually
reach qps targets at higher rates.
Remi Gacogne [Fri, 6 Jul 2018 12:27:47 +0000 (14:27 +0200)]
dnsdist: Add DNSAction.NoOp to debug Dynamic Blocks
Setting the dynamic block action to NoOp allows the dynamic rule to
be inserted as usual and show up while looking at the rules,
while not blocking any query and not stopping subsequent rules from
being evaluated.
Remi Gacogne [Fri, 6 Jul 2018 12:26:36 +0000 (14:26 +0200)]
dnsdist: Implement NoneAction()
Remi Gacogne [Fri, 6 Jul 2018 08:18:06 +0000 (10:18 +0200)]
dnsdist: Fix a typo in the documentation of addTLSLocal()'s options
Remi Gacogne [Fri, 6 Jul 2018 08:14:33 +0000 (10:14 +0200)]
Merge pull request #6760 from rgacogne/dnsdist-dynblockrulesgroup-exclusions
dnsdist: Add netmask-based {ex,in}clusions to DynBlockRulesGroup
Remi Gacogne [Thu, 5 Jul 2018 14:26:33 +0000 (16:26 +0200)]
dnsdist: Fix an outstanding counter race when reusing states
Remi Gacogne [Wed, 4 Jul 2018 08:42:49 +0000 (10:42 +0200)]
Merge pull request #6720 from rgacogne/rec-snmp-broadcast
rec: Allow the SNMP thread to retrieve statistics
Remi Gacogne [Wed, 27 Jun 2018 13:21:09 +0000 (15:21 +0200)]
dnsdist: Remove an unused local variable in getEDNSOptionsStart()
Remi Gacogne [Mon, 25 Jun 2018 09:29:31 +0000 (11:29 +0200)]
dnsdist: Detect ECS collisions in the packet cache
We did not detect a collision involving two queries for the same qname,
qtype, qclass and flags but with different ECS values hashing to the same key.
This commit adds an option to the packet cache to parse and keep the ECS value
in order to detect this kind of collisions.
It's not enabled by default because parsing the ECS value has a cost.
Remi Gacogne [Wed, 4 Jul 2018 08:27:05 +0000 (10:27 +0200)]
Merge pull request #6767 from rgacogne/dnsdist-dynblocks-api-lower
dnsdist: Fix duration false positive in the dynblock regression tests
Remi Gacogne [Wed, 4 Jul 2018 08:26:50 +0000 (10:26 +0200)]
Merge pull request #6762 from rgacogne/dnsdist-unorderedmap-table
dnsdist: Fix iterating over the results of exceed*() functions
Remi Gacogne [Wed, 4 Jul 2018 08:26:12 +0000 (10:26 +0200)]
Merge pull request #6749 from rgacogne/dnsdist-cache-dump
dnsdist: Add the ability to dump a summary of the cache content
Remi Gacogne [Tue, 3 Jul 2018 09:59:53 +0000 (11:59 +0200)]
LuaWrapper: Disable maybe uninitialized warnings with boost optional
GCC enables `-Wmaybe-uninitialized` by default with `-Wall`, and it
reports what looks like false positives with boost::optional types
See:
- https://svn.boost.org/trac10/ticket/12513
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044
Remi Gacogne [Mon, 2 Jul 2018 14:16:40 +0000 (16:16 +0200)]
dnsdist: Fix duration false positive in the dynblock regression tests
The number of remaining seconds might also be equal to the minimum
value.
Remi Gacogne [Mon, 2 Jul 2018 06:58:47 +0000 (08:58 +0200)]
Merge pull request #6765 from PowerDNS/doc-bind-api-ro
Document that BIND backend hosted zones can't be altered from the API
bert hubert [Fri, 29 Jun 2018 21:05:40 +0000 (23:05 +0200)]
Document that BIND backend hosted zones can't be altered from the API
Remi Gacogne [Fri, 29 Jun 2018 13:13:25 +0000 (15:13 +0200)]
dnsdist: Fix compilation without DoT support
Remi Gacogne [Fri, 29 Jun 2018 09:02:00 +0000 (11:02 +0200)]
dnsdist: Add an option to disable TLS session resumption via tickets
Remi Gacogne [Thu, 28 Jun 2018 16:48:07 +0000 (18:48 +0200)]
dnsdist: Add support for rotating certificates and keys
Remi Gacogne [Thu, 28 Jun 2018 13:13:51 +0000 (15:13 +0200)]
Merge pull request #6747 from rgacogne/dnsdist-flags-collision
dnsdist: Check the flags to detect collisions in the packet cache
Remi Gacogne [Thu, 28 Jun 2018 13:11:40 +0000 (15:11 +0200)]
Merge pull request #6744 from rgacogne/rec-edns-options-multi-values
rec: Support multiple values for the same EDNS option in gettag
Remi Gacogne [Thu, 28 Jun 2018 10:29:51 +0000 (12:29 +0200)]
dnsdist: Test that we can iterate over the results of exceed*()
Remi Gacogne [Thu, 28 Jun 2018 09:04:49 +0000 (11:04 +0200)]
LuaWrapper: Add support for handling specialized unordered map as tables
Remi Gacogne [Wed, 27 Jun 2018 12:52:37 +0000 (14:52 +0200)]
dnsdist: Add netmask-based {ex,in}clusions to DynBlockRulesGroup
Remi Gacogne [Thu, 21 Jun 2018 10:38:50 +0000 (12:38 +0200)]
dnsdist: Check the flags to detect collisions in the packet cache
In the unlikely but quite real event two queries with the same qname,
qtype and qclass but different EDNS options or flags end up with
the same hash, the packet cache would return a answer that might
not be suitable for the query. Reduce the odds by checking the
flags present in the dns header in addition to the qname, qtype
and qclass.
For the same reason we might need to consider storing the ECS
subnet if any.
Remi Gacogne [Mon, 11 Jun 2018 12:22:25 +0000 (14:22 +0200)]
dnsdist: Use LRU to clean the MaxQPSIPRule's store
This makes it possible to remove expired entries from the store
without having to scan more than a fraction of it. Entries are
ordered by their last usage, with least recently used ones at
the front, so we can stop scanning as soon as we find an entry
still valid. Even so, we will only consider a fraction of the
store during each pass to keep the cleaning fast, even with a
large store.
Remi Gacogne [Mon, 11 Jun 2018 10:53:49 +0000 (12:53 +0200)]
dnsdist: Move rules definitions to a separate header
It makes it easier to test them.
Remi Gacogne [Fri, 22 Jun 2018 07:49:37 +0000 (09:49 +0200)]
dnsdist: Add the ability to dump a summary of the cache content
Pieter Lexis [Thu, 21 Jun 2018 15:49:54 +0000 (17:49 +0200)]
Merge pull request #6697 from jsoref/rec_control_tmp
Recursor: try to document how to handle systemd private tmp
Pieter Lexis [Thu, 21 Jun 2018 15:47:10 +0000 (17:47 +0200)]
Merge pull request #6733 from rgacogne/rec-multi-rpz
rec: Add support for multiple rpz masters as failover
Pieter Lexis [Thu, 21 Jun 2018 15:46:49 +0000 (17:46 +0200)]
Merge pull request #6740 from rgacogne/dnsdist-packetcache-neg-ttl
dnsdist: Add a negative TTL option to the packet cache
Pieter Lexis [Thu, 21 Jun 2018 15:45:21 +0000 (17:45 +0200)]
Merge pull request #6741 from rgacogne/rec-forward-recurse-aa-cache
rec: Don't require authoritative answers for forward-recurse zones
Pieter Lexis [Thu, 21 Jun 2018 15:43:56 +0000 (17:43 +0200)]
Merge pull request #6745 from rubenk/fix-typo-in-recursor-docs
Fix a typo in the recursor docs
Pieter Lexis [Thu, 21 Jun 2018 15:43:45 +0000 (17:43 +0200)]
Merge pull request #6746 from rubenk/document-default-for-pdns-distributes-queries
pdns-distributes-queries is on by default
Ruben Kerkhof [Thu, 21 Jun 2018 09:24:20 +0000 (11:24 +0200)]
pdns-distributes-queries is on by default
Document this
Ruben Kerkhof [Thu, 21 Jun 2018 08:42:12 +0000 (10:42 +0200)]
Fix a typo in the recursor docs
Remi Gacogne [Thu, 21 Jun 2018 07:59:45 +0000 (09:59 +0200)]
Merge pull request #6495 from Habbie/parse-resolvconf-once
only parse resolv.conf once - this avoids race conditions
Remi Gacogne [Thu, 21 Jun 2018 07:58:32 +0000 (09:58 +0200)]
Merge pull request #6713 from mind04/bogus-ring
rec: add bogus ring to make it more easy to detect high profile domains with broken dnssec
Kees Monshouwer [Wed, 20 Jun 2018 11:59:05 +0000 (13:59 +0200)]
rec: update the validation state when we replace an existing entry in the packet cache
Remi Gacogne [Tue, 19 Jun 2018 10:30:57 +0000 (12:30 +0200)]
rec: Add some regression tests for our Lua hooks
Remi Gacogne [Mon, 18 Jun 2018 15:55:07 +0000 (17:55 +0200)]
rec: Support multiple values for the same EDNS option in gettag
And in the FFI version of gettag.
Kees Monshouwer [Mon, 18 Jun 2018 19:32:25 +0000 (21:32 +0200)]
rec: move bogus ring from packet cache to doProcessUDPQuestion()
Remi Gacogne [Fri, 15 Jun 2018 15:01:07 +0000 (17:01 +0200)]
rec: Don't require authoritative answers for forward-recurse zones
Remi Gacogne [Fri, 15 Jun 2018 12:39:47 +0000 (14:39 +0200)]
Merge pull request #6589 from chbruyand/rec-lua-maintenance
rec: Add lua maintenance callback
Remi Gacogne [Fri, 15 Jun 2018 12:31:38 +0000 (14:31 +0200)]
Merge pull request #6692 from Habbie/reorder-subdirs
auth: reorder SUBDIRS
Remi Gacogne [Fri, 15 Jun 2018 12:31:12 +0000 (14:31 +0200)]
Merge pull request #6695 from zeha/doc-dnssec-cd
Tiny Recursor dnssec doc improvements
Remi Gacogne [Fri, 15 Jun 2018 12:30:11 +0000 (14:30 +0200)]
Merge pull request #6725 from zeha/docs-table-size
docs/dnssec: improve HTML rendering of table
Remi Gacogne [Wed, 6 Jun 2018 15:15:51 +0000 (17:15 +0200)]
rec: Add regression tests for SNMP
Remi Gacogne [Wed, 6 Jun 2018 14:05:20 +0000 (16:05 +0200)]
rec: Allow the SNMP thread to retrieve statistics
Peter van Dijk [Thu, 14 Jun 2018 20:38:39 +0000 (22:38 +0200)]
Merge pull request #6739 from ahupowerdns/dedup-rhel6-fix
fix up compilation on rhel6 for dedup speedup in auth
Remi Gacogne [Wed, 13 Jun 2018 08:35:55 +0000 (10:35 +0200)]
dnsdist: Add a negative TTL option to the packet cache
Also add unit tests for the standalone functions in dnsparser.cc
Remi Gacogne [Wed, 13 Jun 2018 16:27:37 +0000 (18:27 +0200)]
dnsdist: Pass the correct section to the 'editTTLs' callback
bert hubert [Thu, 14 Jun 2018 15:08:13 +0000 (17:08 +0200)]
fix up compilation on rhel6 for dedup speedup in auth
Remi Gacogne [Thu, 14 Jun 2018 13:30:09 +0000 (15:30 +0200)]
auth: Reset the TSIG state between queries