]>
granicus.if.org Git - pdns/log
Remi Gacogne [Tue, 6 Dec 2016 09:14:53 +0000 (10:14 +0100)]
Merge pull request #4742 from rgacogne/dnsdist-tcp-queued-counter
dnsdist: Decrement the queued TCP conn count if writing to the pipe fails
Remi Gacogne [Mon, 5 Dec 2016 17:01:55 +0000 (18:01 +0100)]
dnsdist: Decrement the queued TCP conn count if writing to the pipe fails
Otherwise we might end up refusing every new TCP connection until
we are restarted.
Peter van Dijk [Mon, 5 Dec 2016 16:23:25 +0000 (17:23 +0100)]
Merge pull request #4740 from Habbie/fix-show-zone-ds
avoid undefined behaviour in clang vs. gcc
Peter van Dijk [Mon, 5 Dec 2016 15:29:49 +0000 (16:29 +0100)]
avoid undefined behaviour in clang vs. gcc
Peter van Dijk [Mon, 5 Dec 2016 14:06:40 +0000 (15:06 +0100)]
Merge pull request #4696 from ju5t/doc-rectify-secure-all-zones
Add rectify- and secure-all-zones documentation
Pieter Lexis [Mon, 5 Dec 2016 13:53:06 +0000 (13:53 +0000)]
Make export-zone-ds output similar to export-zone-dnskey
Pieter Lexis [Mon, 5 Dec 2016 11:44:32 +0000 (11:44 +0000)]
Merge branch 'horazont-feature/pdnsutil-export-zone-ds-showZone'
Pieter Lexis [Mon, 5 Dec 2016 11:40:04 +0000 (11:40 +0000)]
Merge branch 'feature/pdnsutil-export-zone-ds-showZone' of https://github.com/horazont/pdns into horazont-feature/pdnsutil-export-zone-ds-showZone
bert hubert [Sun, 4 Dec 2016 22:36:54 +0000 (23:36 +0100)]
Merge pull request #4734 from rgacogne/dnsdist-tcp-ssocket-exception
dnsdist: Add the TCP socket to the map only if the connection succeeds. Closes #4733.
Remi Gacogne [Sun, 4 Dec 2016 20:09:37 +0000 (21:09 +0100)]
dnsdist: Add the TCP socket to the map only if the connection succeeds
Otherwise we create a value-initialized (to 0) entry in the map and
try to use it later.
bert hubert [Sat, 3 Dec 2016 19:51:14 +0000 (19:51 +0000)]
Merge pull request #4722 from rgacogne/dnsname-4718
Fix incorrect length check in `DNSName` when extracting qtype or qclass
Peter van Dijk [Fri, 2 Dec 2016 19:05:33 +0000 (20:05 +0100)]
Merge pull request #4725 from Habbie/travis-update
conform to updated travis image
Remi Gacogne [Fri, 2 Dec 2016 16:05:42 +0000 (17:05 +0100)]
MySQL 5.6 is now installed by default in travis images
See https://github.com/travis-ci/travis-ci/issues/6961
Peter van Dijk [Fri, 2 Dec 2016 13:01:57 +0000 (14:01 +0100)]
stop auto-started pdns with 0.0.0.0 bind, to allow individual binds
Remi Gacogne [Thu, 1 Dec 2016 12:10:55 +0000 (13:10 +0100)]
Merge pull request #4721 from rgacogne/dnsdist-exceptions-responder-thread
dnsdist: Handle exceptions in the UDP responder thread
Remi Gacogne [Thu, 1 Dec 2016 12:00:13 +0000 (13:00 +0100)]
Fix incorrect length check in `DNSName` when extracting qtype or qclass
In `DNSName::packetParser()`, the length check might have been incorrect
when the caller asked for the `qtype` and/or the `qclass` to be extracted.
The `pos + labellen + 2 > end` check was wrong because `pos` might have already
been incremented by `labellen`. There are 3 ways to exit the main loop:
* `labellen` is 0, the most common case, and in that case the check is valid
* `pos >= end`, meaning that `pos + labellen + 2 > end` will be true regardless
of the value of `labellen` since it cannot be negative
* if `uncompress` is set and a compressed label is found, the main loop is
broken out of, and `labellen` still holds a now irrelevant, possibly non-zero value
corresponding to the first byte of the compressed label length & ~0xc0.
In that last case, if the compressed label points to a position > 255 the check
is wrong and might have rejected a valid packet.
A quick look throught the code didn't show any place where we request decompression
and ask for `qtype` and/or `qclass` in a response, but I might have missed one.
Reported by Houssam El Hajoui (thanks!).
Remi Gacogne [Thu, 1 Dec 2016 10:39:40 +0000 (11:39 +0100)]
dnsdist: Handle exceptions in the UDP responder thread
Since we now have response rules, it makes sense to gracefully handle
exceptions in the UDP responder thread as well.
Peter van Dijk [Thu, 1 Dec 2016 10:13:34 +0000 (11:13 +0100)]
Merge pull request #4720 from Habbie/stalettl
doc nit
Peter van Dijk [Thu, 1 Dec 2016 10:10:54 +0000 (11:10 +0100)]
nit
Peter van Dijk [Wed, 30 Nov 2016 18:38:36 +0000 (19:38 +0100)]
Merge pull request #4622 from tuxis-ie/no.more.dots.ever
According to IRC, this should fix #4621
Remi Gacogne [Wed, 30 Nov 2016 13:19:07 +0000 (14:19 +0100)]
Merge pull request #4716 from rgacogne/remove-debug-dq-setrecords
rec: Remove leftover debug msg in `RecursorLua4::DNSQuestion::setRecords()`
Remi Gacogne [Tue, 29 Nov 2016 08:51:13 +0000 (09:51 +0100)]
rec: Remove leftover debug msg in `RecursorLua4::DNSQuestion::setRecords()`
Remi Gacogne [Fri, 18 Nov 2016 13:50:19 +0000 (14:50 +0100)]
dnsdist: Fix a typo in the dynamic blocks regression tests
ju5t [Fri, 18 Nov 2016 13:01:28 +0000 (14:01 +0100)]
Add rectify- and secure-all-zones documentation
Remi Gacogne [Fri, 18 Nov 2016 10:36:58 +0000 (11:36 +0100)]
Merge pull request #4578 from rgacogne/dnsdist-protobuf-fix-dest-addr
dnsdist: Fix destination address reporting
Remi Gacogne [Fri, 18 Nov 2016 10:34:32 +0000 (11:34 +0100)]
Merge pull request #4693 from rgacogne/dnsdist-flexible-dynblocks-tests
dnsdist: Be more flexible in the DynBlocks regression tests
Remi Gacogne [Fri, 18 Nov 2016 10:33:52 +0000 (11:33 +0100)]
Merge pull request #4658 from rgacogne/dnsdist-set-acl
dnsdist: Allow editing the ACL via the API
Remi Gacogne [Fri, 18 Nov 2016 09:36:43 +0000 (10:36 +0100)]
dnsdist: Allow editing the ACL via the API
Remi Gacogne [Thu, 17 Nov 2016 14:19:49 +0000 (15:19 +0100)]
Merge pull request #4694 from rgacogne/dnsdist-no-const-iterator-erase
dnsdist: Don't use a const_iterator for erasing
Pieter Lexis [Thu, 17 Nov 2016 13:42:57 +0000 (14:42 +0100)]
Merge pull request #4691 from rgacogne/rec-lua-conf-daemon
rec: Wait until after daemonizing to start the RPZ and protobuf threads
Remi Gacogne [Thu, 17 Nov 2016 13:35:30 +0000 (14:35 +0100)]
dnsdist: Don't use a const_iterator for erasing
Some versions of gcc don't support that, even though it's required by
C++11. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57158
Remi Gacogne [Thu, 17 Nov 2016 10:44:55 +0000 (11:44 +0100)]
dnsdist: Be more flexible in the DynBlocks regression tests
We might get blocked earlier than I initially expected if the
maintenance function runs while we are sending our queries.
Remi Gacogne [Wed, 16 Nov 2016 14:37:04 +0000 (15:37 +0100)]
rec: Wait until after daemonizing to start the RPZ and protobuf threads
Otherwise they are killed when we call `fork()`.
We still want to actually parse the configuration to check for syntax
errors before daemonizing to be able to report any error, so when
`daemon` is set to `yes`, we parse the Lua configuration early
without starting any threads, and then again, starting the threads
that time, after daemonizing.
Peter van Dijk [Mon, 14 Nov 2016 14:18:17 +0000 (15:18 +0100)]
Merge pull request #4679 from Habbie/odbcfixes
unbreak godbc
Peter van Dijk [Fri, 11 Nov 2016 19:29:16 +0000 (20:29 +0100)]
build and test godbc backend in travis
Peter van Dijk [Fri, 11 Nov 2016 18:21:17 +0000 (19:21 +0100)]
actually prepare statements
Peter van Dijk [Fri, 11 Nov 2016 17:58:32 +0000 (18:58 +0100)]
throw actual exceptions instead of strings so that they get caught and reported properly
Peter van Dijk [Fri, 11 Nov 2016 17:03:22 +0000 (18:03 +0100)]
update odbc-sqlite3 queries in regression tests
Peter van Dijk [Fri, 11 Nov 2016 19:41:51 +0000 (20:41 +0100)]
Merge pull request #4650 from zeha/api-multibackend-serial0
bindbackend: do not corrupt data supplied by other backends in getAllDomains
Peter van Dijk [Fri, 11 Nov 2016 19:37:29 +0000 (20:37 +0100)]
Merge pull request #4585 from tuxis-ie/pdnsutil-show-owner
Show the owner of a zone, if it has one
Peter van Dijk [Fri, 11 Nov 2016 19:36:39 +0000 (20:36 +0100)]
Merge pull request #4625 from rgacogne/auth-utility-random
auth: Unify usage of randomness source by using `dns_random()`
Peter van Dijk [Fri, 11 Nov 2016 19:34:38 +0000 (20:34 +0100)]
Merge pull request #4635 from rgacogne/rec-stats-ringbuffer-4633
rec: Don't crash on an empty query ring
Peter van Dijk [Fri, 11 Nov 2016 19:33:52 +0000 (20:33 +0100)]
Merge pull request #4657 from rgacogne/dnsdist-include-dir
dnsdist: Add `includeDirectory(dir)`
Peter van Dijk [Fri, 11 Nov 2016 19:32:29 +0000 (20:32 +0100)]
Merge pull request #4664 from rgacogne/switch-to-https-whenever-possible
Switch from HTTP to HTTPS whenever possible
Peter van Dijk [Fri, 11 Nov 2016 19:32:04 +0000 (20:32 +0100)]
Merge pull request #4665 from Watnuss/patch-1
Clarification and Pointer to the Master/Slave setup
Peter van Dijk [Fri, 11 Nov 2016 17:56:17 +0000 (18:56 +0100)]
Merge pull request #4676 from rwfeldmann/master
Update dnsupdate.md
Pieter Lexis [Fri, 11 Nov 2016 17:08:12 +0000 (18:08 +0100)]
Merge pull request #4674 from pieterlexis/centos-6-recursor-protobuf
Enable Protobuf in CentOS 6 packages
rwfeldmann [Fri, 11 Nov 2016 16:49:14 +0000 (09:49 -0700)]
Update dnsupdate.md
Added the SQL statements for adding the ALLOW-DNSUPDATE-FROM for the reverse zone. This was needed to make dnsupdate work completely on my personal PowerDNS server when updated remotely from my Sophos UTM. Without it, no records were added to the reverse lookup zone when dhcpd pushed updates.
Pieter Lexis [Fri, 11 Nov 2016 14:14:45 +0000 (15:14 +0100)]
Merge pull request #4672 from pieterlexis/prime-root
On (re-)priming, fetch the root NS records
Pieter Lexis [Fri, 11 Nov 2016 13:24:02 +0000 (14:24 +0100)]
Update boost requirement for DNSName
This version is known to work (CentOS 7)
Pieter Lexis [Fri, 11 Nov 2016 12:41:28 +0000 (13:41 +0100)]
Add protobuf support to EL6 packages
Pieter Lexis [Thu, 10 Nov 2016 12:56:58 +0000 (13:56 +0100)]
On (re-)priming, fetch the root NS records
Peter van Dijk [Wed, 9 Nov 2016 10:23:24 +0000 (11:23 +0100)]
Merge pull request #4646 from Habbie/lua-except-unnest
extract nested exception from Luawrapper
Remi Gacogne [Wed, 9 Nov 2016 09:10:28 +0000 (10:10 +0100)]
Merge pull request #4632 from ahupowerdns/newserver-bloody-error
improve dnsdist error message on a common typo/config mistake
Remi Gacogne [Wed, 9 Nov 2016 09:08:22 +0000 (10:08 +0100)]
Merge pull request #4640 from pieterlexis/dnsdist-no-shutdown-on-maintenance-error
Don't exit dnsdist on an exception in maintenance
Remi Gacogne [Wed, 9 Nov 2016 09:01:20 +0000 (10:01 +0100)]
Merge pull request #4659 from Habbie/docnit
nit
Peter van Dijk [Tue, 8 Nov 2016 09:58:15 +0000 (10:58 +0100)]
Merge pull request #4668 from ton31337/Fix/return_instead_of_thrown_an_error
Do not thrown an error for get() if zone was not found (master)
Remi Gacogne [Tue, 8 Nov 2016 09:52:30 +0000 (10:52 +0100)]
dnsdist: Document that `MacAddrAction()` is only supported on Linux
Donatas Abraitis [Tue, 8 Nov 2016 08:52:12 +0000 (10:52 +0200)]
Do not thrown an error for get() if zone was not found
Watnuss [Mon, 7 Nov 2016 15:34:06 +0000 (16:34 +0100)]
Clarification and Pointer to the Master/Slave setup
Head some troubles getting all the pointers in the documentation for a working master/slave setup. I think there should be a place where all requirements are at least listed. Maybe another location or form of presentation is better, but this page and presentation is something that would have helped me.
bert hubert [Mon, 7 Nov 2016 13:06:36 +0000 (14:06 +0100)]
update dnsdist manpage to remove mention of 'no cache' and 'no thinking'. Thanks J!
Remi Gacogne [Mon, 7 Nov 2016 10:06:39 +0000 (11:06 +0100)]
Switch from HTTP to HTTPS whenever possible
Let's be good citizens. Reported by e3amn2l.
Peter van Dijk [Thu, 3 Nov 2016 13:45:08 +0000 (14:45 +0100)]
nit
Remi Gacogne [Thu, 3 Nov 2016 11:40:25 +0000 (12:40 +0100)]
dnsdist: Add `includeDirectory(dir)`
Remi Gacogne [Wed, 2 Nov 2016 10:44:14 +0000 (11:44 +0100)]
dnsdist: Fix destination address reporting
Over TCP the destination address was "0.0.0.0" when bound to an "any"
address. Over UDP, the destination address what always unset when
processing the response, except when bound to an "any" address.
Remi Gacogne [Wed, 2 Nov 2016 08:56:00 +0000 (09:56 +0100)]
Merge pull request #4518 from rgacogne/dnsdist-dynblock-action
dnsdist: Fix dynblocks over TCP, allow refusing dyn blocked queries
Remi Gacogne [Wed, 2 Nov 2016 08:52:18 +0000 (09:52 +0100)]
Merge pull request #4653 from rgacogne/dnsdist-stats-from-lua
dnsdist: Add `getStatisticsCounters()` to access counters from Lua
Pieter Lexis [Wed, 26 Oct 2016 17:32:23 +0000 (19:32 +0200)]
Don't exit dnsdist on an exception in maintenance
This change logs every minute if the maintenance function throws an
exception.
Remi Gacogne [Mon, 31 Oct 2016 10:49:47 +0000 (11:49 +0100)]
dnsdist: Add `getStatisticsCounters()` to access counters from Lua
Remi Gacogne [Mon, 31 Oct 2016 08:54:24 +0000 (09:54 +0100)]
Merge pull request #4573 from rgacogne/openssl-no-ecdsa-fix
Fix building with ECDSA support disabled in libcrypto
Christian Hofstaedtler [Sat, 29 Oct 2016 14:01:32 +0000 (16:01 +0200)]
bindbackend: do not corrupt data supplied by other backends in getAllDomains
Christian Hofstaedtler [Sat, 29 Oct 2016 13:36:38 +0000 (15:36 +0200)]
Add test demonstrating issue #4328
Where, when bindbackend is loaded, serials show up as zero in domain listing.
Elad Efrat [Fri, 28 Oct 2016 17:04:46 +0000 (20:04 +0300)]
Document dq.data (from @Habbie) (#4648)
Document dq.data (from @Habbie)
Peter van Dijk [Fri, 28 Oct 2016 13:42:44 +0000 (15:42 +0200)]
Merge pull request #4629 from pieterlexis/issue-4466
Handle CNAMEs at the apex of secure zones to other secure zones
Peter van Dijk [Fri, 28 Oct 2016 13:31:53 +0000 (15:31 +0200)]
extract nested exception from Luawrapper
Before:
Oct 28 15:30:34 STL error (www.foobar.com/A from 127.0.0.1): Exception thrown by a callback function called by Lua
After:
Oct 28 15:30:34 STL error (www.foobar.com/A from 127.0.0.1): Exception thrown by a callback function called by Lua. Extra info: Found . in wrong position in DNSName www.foobar.com..internal
reported by @elad, thanks!
Remi Gacogne [Wed, 26 Oct 2016 10:56:22 +0000 (12:56 +0200)]
dnsdist: The configuration file is dnsdist.conf, not dnsdistconf.lua
Remi Gacogne [Wed, 26 Oct 2016 09:48:00 +0000 (11:48 +0200)]
Merge pull request #4577 from rgacogne/rec-protobuf-tcp-query-source-dest
rec: Fix src/dest inversion in the protobuf message for TCP queries
Remi Gacogne [Wed, 26 Oct 2016 09:46:17 +0000 (11:46 +0200)]
Merge pull request #4596 from rgacogne/dnsdist-default-ma-tcp-queued-conns
dnsdist: Change the default max number of queued TCP conns to 1000
Remi Gacogne [Wed, 26 Oct 2016 08:00:39 +0000 (10:00 +0200)]
rec: Don't crash on an empty query ring
It obviously happens if stats-ringbuffer-entries is set to 0.
bert hubert [Tue, 25 Oct 2016 20:45:04 +0000 (22:45 +0200)]
with this commit we pretty up an otherwise bloody useless error on typing: newServer({"1.2.3.4", pool="primary"}). We do so in a pretty ugly way though.
The cause of the error is deep in the bowels of Lua and/or LuaWrapper. Even if we caught/fixed this error in a more karmic place, we'd still want to output
this error message. Also, dragons live there.
Pieter Lexis [Tue, 25 Oct 2016 15:26:32 +0000 (17:26 +0200)]
Fix a DNSSEC trace log message
Pieter Lexis [Tue, 25 Oct 2016 15:25:19 +0000 (17:25 +0200)]
Handle CNAME at secure zone apex to secure zone
Closes #4466
Pieter Lexis [Tue, 25 Oct 2016 15:24:25 +0000 (17:24 +0200)]
Add test for #4466
Pieter Lexis [Tue, 25 Oct 2016 09:09:58 +0000 (11:09 +0200)]
Merge pull request #4589 from ncartron/patch-1
Update download.md
Pieter Lexis [Tue, 25 Oct 2016 09:09:22 +0000 (11:09 +0200)]
Merge pull request #4612 from Habbie/netflix
fix bug in example script
Pieter Lexis [Tue, 25 Oct 2016 09:09:14 +0000 (11:09 +0200)]
Merge pull request #4613 from pieterlexis/no-non-alpha-in-version
Replace all non-alphanumeric chars in gen-version
Pieter Lexis [Tue, 25 Oct 2016 09:09:05 +0000 (11:09 +0200)]
Merge pull request #4619 from phonedph1/doc
Document the -pub- variant rec_control commands
Pieter Lexis [Tue, 25 Oct 2016 09:08:48 +0000 (11:08 +0200)]
Merge pull request #4620 from Habbie/dstypes
a nit for Fusl
Pieter Lexis [Tue, 25 Oct 2016 09:08:13 +0000 (11:08 +0200)]
Merge pull request #4609 from Habbie/dlog
remove broken DLOG statements
Mark Schouten [Tue, 25 Oct 2016 08:48:38 +0000 (10:48 +0200)]
According to IRC, this should fix #4621
Peter van Dijk [Tue, 25 Oct 2016 07:32:07 +0000 (09:32 +0200)]
a nit for Fusl
phonedph1 [Tue, 25 Oct 2016 01:59:23 +0000 (01:59 +0000)]
Update the manpage as well
phonedph1 [Tue, 25 Oct 2016 01:52:13 +0000 (01:52 +0000)]
Document the -pub- variants
Pieter Lexis [Mon, 24 Oct 2016 22:21:49 +0000 (00:21 +0200)]
Merge pull request #4411 from pieterlexis/github-templates
To discuss: GitHub Issue and PR templates
Pieter Lexis [Fri, 2 Sep 2016 13:14:44 +0000 (15:14 +0200)]
Add initial GH templates
Peter van Dijk [Mon, 24 Oct 2016 18:06:02 +0000 (20:06 +0200)]
Merge pull request #4533 from rgacogne/dnsdist-clang-bsd
dnsdist: Fix building with clang on OS X and FreeBSD
Pieter Lexis [Mon, 24 Oct 2016 14:26:45 +0000 (16:26 +0200)]
Replace all non-alphanumeric chars in gen-version
Pieter Lexis [Mon, 24 Oct 2016 14:53:26 +0000 (16:53 +0200)]
Merge pull request #4608 from ton31337/feature/mydns_backend_rpm
Make MyDNS backend rpm
Peter van Dijk [Mon, 24 Oct 2016 14:13:42 +0000 (16:13 +0200)]
fix bug in example script
Peter van Dijk [Mon, 24 Oct 2016 14:00:41 +0000 (16:00 +0200)]
remove broken DLOG statements