]>
granicus.if.org Git - pdns/log
Pieter Lexis [Tue, 26 Jul 2016 11:48:01 +0000 (13:48 +0200)]
RPZ: filter correctly by name
Closes #4086
Pieter Lexis [Fri, 22 Jul 2016 18:49:39 +0000 (20:49 +0200)]
pdns_recursor.cc: Move comment to the right place
Pieter Lexis [Fri, 22 Jul 2016 17:42:41 +0000 (19:42 +0200)]
Recursor: Always log EDNS clientsubnet in trace
Pieter Lexis [Fri, 22 Jul 2016 17:34:28 +0000 (19:34 +0200)]
lua-recursor4.cc: whitespace fixes
Remi Gacogne [Thu, 25 Aug 2016 08:41:21 +0000 (10:41 +0200)]
Merge pull request #4163 from pieterlexis/license-woes
More licensing everywhere
Remi Gacogne [Thu, 25 Aug 2016 08:39:52 +0000 (10:39 +0200)]
Merge pull request #4357 from pieterlexis/root-dnssec-data-to-header
Move the root DNSSEC data to a header file
bert hubert [Thu, 25 Aug 2016 08:39:41 +0000 (10:39 +0200)]
Merge pull request #4288 from rgacogne/rec-async-protobuf-startup
rec: Respect the timeout when connecting to a protobuf server
bert hubert [Thu, 25 Aug 2016 08:36:46 +0000 (10:36 +0200)]
Merge pull request #4318 from rgacogne/rec-anonymize-protobuf-ecs
rec: Anonymize the protobuf ECS value as well
bert hubert [Thu, 25 Aug 2016 08:35:42 +0000 (10:35 +0200)]
Merge pull request #4354 from rgacogne/rec-delegation-only
rec: Fix delegation-only
Remi Gacogne [Thu, 25 Aug 2016 08:32:07 +0000 (10:32 +0200)]
Merge pull request #4351 from pieterlexis/issue-4343-rec-rpz-source-addr
RPZ: Use query-local-address(6) by default
bert hubert [Thu, 25 Aug 2016 06:21:06 +0000 (08:21 +0200)]
Merge pull request #4340 from ahupowerdns/cnamesfirst
Recursor would shuffle CNAME records until after the name they referred to.
bert hubert [Wed, 24 Aug 2016 07:25:30 +0000 (09:25 +0200)]
log expired rrsig on dnskeys
Pieter Lexis [Tue, 23 Aug 2016 15:32:28 +0000 (17:32 +0200)]
Merge pull request #4349 from rgacogne/remove-unused-dnspacket-dqlen
Remove unused `DNSPacket::d_qlen`
Pieter Lexis [Tue, 23 Aug 2016 14:53:40 +0000 (16:53 +0200)]
Move the root DNSSEC data to a header file
Fixes #4253
Remi Gacogne [Tue, 23 Aug 2016 14:00:45 +0000 (16:00 +0200)]
Merge pull request #4175 from skoef/queryLogging
dnsdist: implemented query counting
Reinier Schoof [Tue, 23 Aug 2016 12:44:59 +0000 (14:44 +0200)]
dnsdist: implemented query counting
Pieter Lexis [Tue, 23 Aug 2016 11:40:37 +0000 (13:40 +0200)]
RPZ: Use query-local-address(6) for IXFR as well
Remi Gacogne [Tue, 23 Aug 2016 09:06:51 +0000 (11:06 +0200)]
rec: Fix delegation-only
* use a unordered_set instead of a `SuffixMatchNode`
* allow RRSIG and DNSKEY from delegation-only servers
Pieter Lexis [Tue, 23 Aug 2016 08:46:50 +0000 (10:46 +0200)]
RPZ: Use query-local-address(6) by default
Add localAddress to rpzMaster options to allow override.
Fixes #4343
Remi Gacogne [Mon, 22 Aug 2016 08:50:59 +0000 (10:50 +0200)]
Remove unused `DNSPacket::d_qlen`
Pieter Lexis [Mon, 22 Aug 2016 08:26:56 +0000 (10:26 +0200)]
Merge pull request #4334 from pieterlexis/doc-getRaw
recursor Lua: Document ComboAddress:getRaw()
Pieter Lexis [Mon, 22 Aug 2016 08:25:51 +0000 (10:25 +0200)]
Merge pull request #4335 from mind04/tsig
fix TSIG for single thread distributor
bert hubert [Sun, 21 Aug 2016 13:01:17 +0000 (15:01 +0200)]
so what broke the ordering was the RRSIGs interspersed with the answers. With this commit, RRSIGs get explicitly put at the back, and also not shuffled
within the actual answer records.
bert hubert [Sun, 21 Aug 2016 12:21:28 +0000 (14:21 +0200)]
The PowerDNS Recursor shuffles answers randomly, so no single A record gets overloaded. This logic also took care not to shuffle a CNAME record until after the name it points to, because we theorized this would upset some resolvers.
Our logic however assumed all the CNAMEs would initially be at the front of the packet. We'd start our shuffling after skipping all the CNAMEs up front. It now turns out that sometimes we end up with a 'CNAME A CNAME A' packet to shuffle.
This would happily shuffle the last three records. With this PR, we put the CNAMEs up front explicitly before commencing the shuffle. Closes #4339.
Still to be investigated: why didn't this bite us before?
Remi Gacogne [Fri, 19 Aug 2016 09:33:12 +0000 (11:33 +0200)]
rec: Add a `asyncConnect` option to `protobufServer()`
Remi Gacogne [Fri, 5 Aug 2016 13:06:10 +0000 (15:06 +0200)]
rec: Respect the timeout when connecting to a protobuf server
Pieter Lexis [Fri, 19 Aug 2016 15:07:27 +0000 (17:07 +0200)]
recursor Lua: Document ComboAddress:getRaw()
Remi Gacogne [Fri, 19 Aug 2016 13:05:37 +0000 (15:05 +0200)]
Merge pull request #4325 from pieterlexis/dnsdist-pkg-more-features
Build dnsdist packages with libre2 and DNSCrypt support (where available)
Remi Gacogne [Fri, 19 Aug 2016 09:35:20 +0000 (11:35 +0200)]
Merge pull request #4284 from rgacogne/dnsdist-response-delay
dnsdist: Add RCodeRule(), Allow, Delay and Drop response actions
Pieter Lexis [Fri, 19 Aug 2016 08:36:48 +0000 (10:36 +0200)]
Merge pull request #4326 from zeha/api-example-fix
Fix broken HTTP API example for AAAA
Remi Gacogne [Fri, 19 Aug 2016 07:50:57 +0000 (09:50 +0200)]
Merge pull request #4251 from rgacogne/dnsdist-website-optional-deps
dnsdist: Document protobuf and re2 as optional deps
Remi Gacogne [Fri, 19 Aug 2016 07:49:36 +0000 (09:49 +0200)]
Merge pull request #4068 from rgacogne/dnsdist-ebpf-web
dnsdist: Display the dyn eBPF filters stats in the web interface
Pieter Lexis [Tue, 16 Aug 2016 12:57:01 +0000 (14:57 +0200)]
dnsdist: build pkgs with dnscrypt and re2 support
Only for distros where libsodium and libre2 are recent enough.
Remi Gacogne [Fri, 19 Aug 2016 07:44:06 +0000 (09:44 +0200)]
Merge pull request #4116 from skoef/netmaskGroupRuleLocalAddr
added src boolean to NetmaskGroupRule to match destination address
Remi Gacogne [Thu, 4 Aug 2016 10:37:47 +0000 (12:37 +0200)]
dnsdist: Add RCodeRule(), Allow, Delay and Drop response actions
Remi Gacogne [Fri, 19 Aug 2016 07:37:22 +0000 (09:37 +0200)]
Merge pull request #4286 from rgacogne/dnsdist-response-rules-api
dnsdist: Add response rules to the API and Web status page
Pieter Lexis [Tue, 16 Aug 2016 09:33:47 +0000 (11:33 +0200)]
Standardize license text in all PDNS files
Pieter Lexis [Tue, 12 Jul 2016 15:39:02 +0000 (17:39 +0200)]
More licensing everywhere
Closes #4148
Remi Gacogne [Fri, 19 Aug 2016 07:29:30 +0000 (09:29 +0200)]
Merge pull request #4329 from wessels/master
Add options to LogAction() so it can append (instead of truncate) and…
wessels [Thu, 18 Aug 2016 21:43:21 +0000 (21:43 +0000)]
Forgot to add [append] and [buffered] parameters to LogAppend() description
wessels [Thu, 18 Aug 2016 21:41:53 +0000 (21:41 +0000)]
We don't need to keep d_append and d_buffered around, since they
are only used in the constructor.
bert hubert [Thu, 18 Aug 2016 07:06:03 +0000 (09:06 +0200)]
Merge pull request #4323 from ahupowerdns/dnsname-lowercase
with this change, DNSName can make a lowercase copy of itself, and we use this for speedup
wessels [Wed, 17 Aug 2016 22:34:11 +0000 (18:34 -0400)]
Add options to LogAction() so it can append (instead of truncate) and write without buffering.
Was so happy to discover LogAction() but disappointed that it truncates
the file each time the process starts, and apparently doesn't flush the
file upon exiting. With two new optional args, the file can be appended
rather than truncated and buffering disabled. The defaults remain as
before, which is to say to truncate and to buffer.
Christian Hofstaedtler [Wed, 17 Aug 2016 14:00:36 +0000 (16:00 +0200)]
Fix broken HTTP API example for AAAA
Pieter Lexis [Wed, 17 Aug 2016 10:11:23 +0000 (12:11 +0200)]
dnsdist: Allow re2 detection without .pc file
bert hubert [Wed, 17 Aug 2016 09:12:55 +0000 (11:12 +0200)]
malloctrace would crash if you asked it for more topAllocators than there were
bert hubert [Wed, 17 Aug 2016 09:10:16 +0000 (11:10 +0200)]
with this change, DNSName can make a lowercase copy of itself, and we make dnssecsigner.cc use that instead of round-tripping through human-escape presentation for lowercasing.
Includes a test
bert hubert [Wed, 17 Aug 2016 09:01:28 +0000 (11:01 +0200)]
fix up speedtest compilation
Peter van Dijk [Tue, 16 Aug 2016 14:19:25 +0000 (16:19 +0200)]
Merge pull request #4317 from ahupowerdns/root-performance
Root performance fixes after tests by Anand
Remi Gacogne [Tue, 16 Aug 2016 13:42:24 +0000 (15:42 +0200)]
auth: protobuf now uses CA::truncate(), link dnspcap2protobuf with iputils.cc
Remi Gacogne [Tue, 16 Aug 2016 13:15:33 +0000 (15:15 +0200)]
rec: Anonymize the protobuf ECS value as well
bert hubert [Tue, 16 Aug 2016 12:30:41 +0000 (14:30 +0200)]
limit packet cache cleaning to at most once every 30 seconds
bert hubert [Tue, 16 Aug 2016 11:10:40 +0000 (13:10 +0200)]
fix up attempting to do additional processing on SRV records where we have nothing to resolve. This may in fact be a root SRV issue.
bert hubert [Tue, 16 Aug 2016 10:03:34 +0000 (12:03 +0200)]
fix up AtomicCounter being used unitialized here and there, plus possibly fix clang compilation
bert hubert [Tue, 16 Aug 2016 09:21:51 +0000 (11:21 +0200)]
fix up unit tests for new AtomicCoutnter
bert hubert [Tue, 16 Aug 2016 08:36:08 +0000 (10:36 +0200)]
remove our badly handcrafted AtomicCounter implementation, centralize packetcache cache cleaning interval (ready for further improvement)
bert hubert [Mon, 15 Aug 2016 10:33:57 +0000 (12:33 +0200)]
speed up IPv6 additional processing (on by default) with an ANY query. Also saves a bunch of mallocs. Especially important when running as a root-server. Thanks to Anand Buddhdev for helping us make aware of this issue.
bert hubert [Sun, 14 Aug 2016 18:30:56 +0000 (20:30 +0200)]
pipe timeout was equal to sleep(1) in the backend, leading to excessive brittleness.
bert hubert [Fri, 12 Aug 2016 22:27:44 +0000 (00:27 +0200)]
even longer timeout
bert hubert [Fri, 12 Aug 2016 20:41:17 +0000 (22:41 +0200)]
make test a bit more robust against travis or slow servers
bert hubert [Fri, 12 Aug 2016 19:56:22 +0000 (21:56 +0200)]
add a test for the overload limit in the distributor
Pieter Lexis [Tue, 16 Aug 2016 07:13:07 +0000 (09:13 +0200)]
Merge pull request #4294 from rgacogne/rec-pie-flags
rec: Honor PIE flags
Peter van Dijk [Mon, 15 Aug 2016 19:40:17 +0000 (21:40 +0200)]
Merge pull request #4244 from rgacogne/dnsdist-check-cd
dnsdist: Add a `setCD` parameter to set cd=1 on health check queries
Peter van Dijk [Mon, 15 Aug 2016 19:37:46 +0000 (21:37 +0200)]
Merge pull request #4287 from rgacogne/auth-handle-bad-serial
auth: better handling of invalid serial
Peter van Dijk [Mon, 15 Aug 2016 19:31:53 +0000 (21:31 +0200)]
Merge pull request #4261 from mind04/ptr
strip trailing dot in PTR content
Peter van Dijk [Mon, 15 Aug 2016 19:30:36 +0000 (21:30 +0200)]
Merge pull request #4264 from rgacogne/rec-lua-rcode
rec: Set `dq.rcode` before calling postresolve
Peter van Dijk [Mon, 15 Aug 2016 19:29:45 +0000 (21:29 +0200)]
Merge pull request #4269 from j0ju/master
contrib: simple bash completion for pdnsutil
bert hubert [Mon, 15 Aug 2016 10:51:38 +0000 (12:51 +0200)]
Merge pull request #4309 from RobinGeuze/addShowTCPStats
Add showTCPStats function
bert hubert [Mon, 15 Aug 2016 10:46:30 +0000 (12:46 +0200)]
Merge pull request #4314 from ahupowerdns/overload-fix
Overload fix: make overload-queue-length work as intended again, add test for it. Closes #4311.
Pieter Lexis [Mon, 15 Aug 2016 09:09:39 +0000 (11:09 +0200)]
Merge pull request #4272 from rgacogne/pieterlexis-bind-backend-issues
Bind backend: update status message on reload, keep the existing zone on failure
Pieter Lexis [Mon, 15 Aug 2016 09:05:00 +0000 (11:05 +0200)]
Merge pull request #4268 from 42wim/doc
Small documentation fix
Pieter Lexis [Mon, 15 Aug 2016 09:04:51 +0000 (11:04 +0200)]
Merge pull request #4280 from arjenz/master
Fix broken link
Pieter Lexis [Mon, 15 Aug 2016 09:03:57 +0000 (11:03 +0200)]
Merge pull request #4310 from rgacogne/auth-libressl
Fix build with LibreSSL, for which OPENSSL_VERSION_NUMBER is irrelevant
bert hubert [Sun, 14 Aug 2016 18:30:56 +0000 (20:30 +0200)]
pipe timeout was equal to sleep(1) in the backend, leading to excessive brittleness.
bert hubert [Sat, 13 Aug 2016 15:07:15 +0000 (17:07 +0200)]
improve query logging somewhat for bind backend
bert hubert [Fri, 12 Aug 2016 22:27:44 +0000 (00:27 +0200)]
even longer timeout
bert hubert [Fri, 12 Aug 2016 20:41:17 +0000 (22:41 +0200)]
make test a bit more robust against travis or slow servers
bert hubert [Fri, 12 Aug 2016 19:56:22 +0000 (21:56 +0200)]
add a test for the overload limit in the distributor
bert hubert [Fri, 12 Aug 2016 18:42:53 +0000 (20:42 +0200)]
fix up regression test that got confused by our new counter.
bert hubert [Fri, 12 Aug 2016 17:56:09 +0000 (19:56 +0200)]
fix distributor overload behaviour, closes #4311. Also adds & documents metric overload-drops. Want to add a test too, not there yet.
Robin Geuze [Fri, 12 Aug 2016 09:06:33 +0000 (11:06 +0200)]
Add some documentation
Robin Geuze [Fri, 12 Aug 2016 08:19:29 +0000 (10:19 +0200)]
Add showTCPStats function
Remi Gacogne [Fri, 12 Aug 2016 07:52:08 +0000 (09:52 +0200)]
Fix build with LibreSSL, for which OPENSSL_VERSION_NUMBER is irrelevant
Remi Gacogne [Wed, 29 Jun 2016 13:05:50 +0000 (15:05 +0200)]
dnsdist: Display the dyn eBPF filters stats in the web interface
Dynamic BPF filters need to be registered to appear in the interface,
and unregistered when not needed anymore.
Automatic registration would mean that dangling dynamic BPF filters could
not be garbage collected without being unregistered first.
Peter van Dijk [Thu, 11 Aug 2016 12:39:32 +0000 (14:39 +0200)]
Merge pull request #4301 from Habbie/lua-ds-tostring
expose SMN toString to lua
Peter van Dijk [Thu, 11 Aug 2016 12:38:52 +0000 (14:38 +0200)]
Merge pull request #4300 from Habbie/luacopydnsname
allow newDN to take a DNSName in; document missing methods
Peter van Dijk [Thu, 11 Aug 2016 12:36:24 +0000 (14:36 +0200)]
Merge pull request #4293 from rubenk/remove-selinux-policy
Remove SELinux policy
Peter van Dijk [Thu, 11 Aug 2016 12:35:22 +0000 (14:35 +0200)]
Merge pull request #4302 from rgacogne/dnsdist-help
dnsdist: Add `help()` and `showVersion()`
Peter van Dijk [Thu, 11 Aug 2016 08:48:07 +0000 (10:48 +0200)]
add missing methods to documentation
Peter van Dijk [Mon, 8 Aug 2016 19:06:15 +0000 (21:06 +0200)]
allow newDN to take a DNSName in
Peter van Dijk [Mon, 8 Aug 2016 19:11:06 +0000 (21:11 +0200)]
expose SMN toString to lua
Remi Gacogne [Tue, 9 Aug 2016 14:07:26 +0000 (16:07 +0200)]
dnsdist: Add `help()` and `showVersion()`
Peter van Dijk [Wed, 10 Aug 2016 19:22:59 +0000 (21:22 +0200)]
Merge pull request #4303 from rgacogne/auth-ruby-json-travis
Use ruby-json 1.8.2 instead of 1.8.1 to build on travis
Remi Gacogne [Wed, 10 Aug 2016 08:26:28 +0000 (10:26 +0200)]
Use ruby-json 1.8.2 instead of 1.8.1 to build on travis
Since travis upgraded their trusty image, ruby has been updated to
2.3.1 and doesn't play well with ruby-json 1.8.1.
This should be fixed in 1.8.2 according to
https://github.com/flori/json/issues/229
Kees Monshouwer [Sun, 7 Aug 2016 23:02:48 +0000 (01:02 +0200)]
fix TSIG for single thread distributor
Remi Gacogne [Sun, 7 Aug 2016 15:00:29 +0000 (17:00 +0200)]
rec: Honor PIE flags
Ruben Kerkhof [Sat, 6 Aug 2016 10:23:59 +0000 (12:23 +0200)]
Remove SELinux policy
I wrote new policy from scratch which has been upstreamed a while ago.
Remi Gacogne [Fri, 5 Aug 2016 08:52:04 +0000 (10:52 +0200)]
auth: Remove leftover ERANGE check when parsing serial
bert hubert [Thu, 4 Aug 2016 17:02:10 +0000 (19:02 +0200)]
Update index.md
Remi Gacogne [Thu, 4 Aug 2016 17:01:22 +0000 (19:01 +0200)]
auth: Handle out_of_range exception when parsing serial
Unsure if we can actually get a bad serial here, but we are checking
the number of parts so it looks like it might happen.