]>
granicus.if.org Git - pdns/log
Remi Gacogne [Tue, 16 Jul 2019 07:59:14 +0000 (09:59 +0200)]
dnsdist: Fix timeout handling when reusing an IDS from DoH
Remi Gacogne [Tue, 25 Jun 2019 14:08:48 +0000 (16:08 +0200)]
dnsdist: Use a separate string for the DoH query and response
In rare cases, the responder thread might get a response _before_
the send() call of the DoH client thread has returned, resulting
in ASAN reporting a use-after-free since the response was written
into the now useless query object.
Remi Gacogne [Thu, 13 Jun 2019 13:49:29 +0000 (15:49 +0200)]
dnsdist: Proper HTTP response for timeouts over DoH
Remi Gacogne [Mon, 8 Jul 2019 07:40:57 +0000 (09:40 +0200)]
Merge pull request #7917 from rgacogne/dnsdist-http-codes
dnsdist: Send better HTTP status codes, handle ACL drops earlier
bert hubert [Thu, 4 Jul 2019 21:33:11 +0000 (23:33 +0200)]
Merge pull request #8026 from pieterlexis/add-tmpdns
Add tmpdns.powerdns.com to secpoll NSSet
Pieter Lexis [Thu, 4 Jul 2019 20:47:11 +0000 (22:47 +0200)]
Add tmpdns.powerdns.com to secpoll NSSet
Remi Gacogne [Thu, 4 Jul 2019 15:00:09 +0000 (17:00 +0200)]
Merge pull request #8025 from rgacogne/dnsdist-test-crypto
dnsdist: Be a bit more explicit about what failed in testCrypto()
Remi Gacogne [Thu, 4 Jul 2019 11:43:11 +0000 (13:43 +0200)]
dnsdist: Be a bit more explicit about what failed in testCrypto()
Remi Gacogne [Thu, 4 Jul 2019 09:54:24 +0000 (11:54 +0200)]
Merge pull request #8023 from Habbie/dnsname-cinttypes
dnsname: unbreak el6 build by explicitly including <cinttypes>
Peter van Dijk [Thu, 4 Jul 2019 08:58:18 +0000 (10:58 +0200)]
dnsname: unbreak el6 build by explicitly including <cinttypes>
Peter van Dijk [Wed, 3 Jul 2019 14:55:56 +0000 (16:55 +0200)]
Merge pull request #8019 from James-TR/patch-4
auth: correct syntax for GLIBC detection
Otto Moerbeek [Wed, 3 Jul 2019 13:53:59 +0000 (15:53 +0200)]
Merge pull request #8000 from rgacogne/rec-outgoing-timeouts
rec: Export a protobuf incoming response message for timeouts
Otto Moerbeek [Wed, 3 Jul 2019 13:48:40 +0000 (15:48 +0200)]
Merge branch 'master' into rec-outgoing-timeouts
Otto Moerbeek [Wed, 3 Jul 2019 12:09:59 +0000 (14:09 +0200)]
Merge pull request #8010 from rgacogne/faster-syncres
rec: Small speed improvements in the SyncRes
Otto Moerbeek [Wed, 3 Jul 2019 12:08:20 +0000 (14:08 +0200)]
Merge pull request #8013 from rgacogne/dnsname-escapelabel-faster
Don't create temporary strings to escape DNSName labels
Otto Moerbeek [Wed, 3 Jul 2019 12:01:12 +0000 (14:01 +0200)]
Merge pull request #8001 from chbruyand/protobuf-devicename-field
recursor: add deviceName field to protobuf messages
James Taylor [Wed, 3 Jul 2019 10:31:19 +0000 (20:31 +1000)]
auth: correct syntax for GLIBC detection
This commit fixes invalid syntax introduced in #7980 which caused build failures on some platforms
Remi Gacogne [Tue, 2 Jul 2019 22:05:51 +0000 (00:05 +0200)]
Merge pull request #8003 from rgacogne/dnsdist-fix-crash-ringuffer-insertion
dnsdist: Insert the response into the ringbuffer right after sending it
Remi Gacogne [Tue, 2 Jul 2019 22:05:31 +0000 (00:05 +0200)]
Merge pull request #8015 from rgacogne/ddist-fix-showdnscryptbinds-crash
dnsdist: Skip non-DNSCrypt binds in `showDNSCryptBinds()`
Charles-Henri Bruyand [Tue, 2 Jul 2019 15:44:25 +0000 (17:44 +0200)]
docs: fix version numbers
Remi Gacogne [Tue, 2 Jul 2019 15:07:34 +0000 (17:07 +0200)]
dnsdist: De-duplicate DNSCrypt binds in `showDNSCryptBinds()`
Remi Gacogne [Tue, 2 Jul 2019 12:37:02 +0000 (14:37 +0200)]
Insert the new DNSRecord last in MOADNSParser so we can move it
Remi Gacogne [Tue, 2 Jul 2019 09:06:42 +0000 (11:06 +0200)]
dnsdist: Skip non-DNSCrypt binds in `showDNSCryptBinds()`
Peter van Dijk [Mon, 1 Jul 2019 20:39:31 +0000 (22:39 +0200)]
Merge pull request #8006 from rgacogne/auth-backend-permanent-error-leak
auth: Fix a leak on 'Backend reported permanent error which prevented looukp' error
Peter van Dijk [Mon, 1 Jul 2019 18:25:59 +0000 (20:25 +0200)]
Merge pull request #7980 from James-TR/patch-3
auth: make sure we really are using glibc
Remi Gacogne [Mon, 1 Jul 2019 16:49:37 +0000 (18:49 +0200)]
Don't create temporary strings to escape DNSName labels
Remi Gacogne [Mon, 1 Jul 2019 16:44:00 +0000 (18:44 +0200)]
Merge pull request #8008 from rgacogne/rec-test_auth_zone_delegation-fixed-time
rec: Don't go Bogus if the auth zone delegation test takes too long
Remi Gacogne [Mon, 1 Jul 2019 16:43:39 +0000 (18:43 +0200)]
Merge pull request #8007 from rgacogne/ctrl-msg-buffer-size-assertion
Add static assertions for the size of the src address control buffer
Remi Gacogne [Mon, 1 Jul 2019 16:08:04 +0000 (18:08 +0200)]
rec: Compare PacketID's sockets and IDs before DNSNames
Remi Gacogne [Mon, 1 Jul 2019 12:57:47 +0000 (14:57 +0200)]
rec: Small speed improvements in the SyncRes
Remi Gacogne [Mon, 1 Jul 2019 10:03:55 +0000 (12:03 +0200)]
rec: Don't go Bogus if the auth zone delegation test takes too long
Peter van Dijk [Mon, 1 Jul 2019 09:49:18 +0000 (11:49 +0200)]
Merge pull request #8004 from Habbie/cherry-pick-merge
cherry-pick-pr: fix branch name in merge command
Peter van Dijk [Mon, 1 Jul 2019 09:45:37 +0000 (11:45 +0200)]
Merge pull request #7969 from fwSmit/fixWarnings
removed unused variables in lua-record.cc
Remi Gacogne [Mon, 1 Jul 2019 09:24:55 +0000 (11:24 +0200)]
Merge pull request #7999 from rgacogne/auth-servfail-accounting
auth: Fix the accounting of servfail-queries in the distributor
Peter van Dijk [Mon, 1 Jul 2019 08:33:36 +0000 (10:33 +0200)]
Merge pull request #7918 from mind04/soacomplete
auth: deprecate SOA autocomplete in pdnsutil check-zone
Peter van Dijk [Mon, 1 Jul 2019 08:20:46 +0000 (10:20 +0200)]
cherry-pick-pr: fix branch name in merge command
Otto Moerbeek [Mon, 1 Jul 2019 08:07:08 +0000 (10:07 +0200)]
Merge pull request #7996 from omoerbeek/valgrind-memset-cmsg-space
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
Remi Gacogne [Mon, 1 Jul 2019 08:00:35 +0000 (10:00 +0200)]
Add static assertions for the size of the src address control buffer
Charles-Henri Bruyand [Mon, 1 Jul 2019 07:50:46 +0000 (09:50 +0200)]
lua: DNSQuestion, actually export deviceName and deviceId attributes
Remi Gacogne [Sat, 29 Jun 2019 20:30:20 +0000 (22:30 +0200)]
dnsdist: Don't add cache hits to the response ringbuffer
Remi Gacogne [Sat, 29 Jun 2019 17:21:05 +0000 (19:21 +0200)]
dnsdist: Insert the response into the ringbuffer right after sending it
The current code could have tried to read a new query before coming
back to the insertion, resetting the state in the process and leading
to recording a wrong backend or worse, to a NULL-pointer dereference
if the new query was dropped or self-answered (no backend then).
Charles-Henri Bruyand [Wed, 19 Jun 2019 09:48:42 +0000 (11:48 +0200)]
recursor: add new deviceName field to the dnsmessage protobuf export
Remi Gacogne [Fri, 28 Jun 2019 14:47:25 +0000 (16:47 +0200)]
rec: Export a protobuf incoming response message for timeouts
Remi Gacogne [Fri, 28 Jun 2019 14:09:40 +0000 (16:09 +0200)]
Merge pull request #7997 from rgacogne/rec-outgoing-queries-responses
rec: Fix the export of only outgoing queries or incoming responses
Remi Gacogne [Fri, 28 Jun 2019 14:08:18 +0000 (16:08 +0200)]
auth: Fix the accounting of servfail-queries in the distributor
This was broken since
eb029b8efe0217b39c5cf34235b565b4c8d6e95e
which introduced a specific type of DNSName,qtype ring.
Remi Gacogne [Fri, 28 Jun 2019 13:21:12 +0000 (15:21 +0200)]
auth: Fix a leak on 'Backend reported permanent error which prevented lookup' error
Remi Gacogne [Fri, 28 Jun 2019 09:47:59 +0000 (11:47 +0200)]
rec: Add tests for outgoing queries/ incoming responses export
Remi Gacogne [Fri, 28 Jun 2019 09:47:39 +0000 (11:47 +0200)]
rec: Fix the export of only outgoing queries or incoming responses
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)]
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
Otto Moerbeek [Fri, 28 Jun 2019 07:40:13 +0000 (09:40 +0200)]
Merge pull request #7990 from omoerbeek/msgbuf-align
Explicitly align the buffer used for cmsgs
Otto Moerbeek [Fri, 28 Jun 2019 07:38:59 +0000 (09:38 +0200)]
Fix indent.
Remi Gacogne [Thu, 27 Jun 2019 09:33:42 +0000 (11:33 +0200)]
Merge pull request #7946 from rgacogne/doc-markup-fixes
Fix a few markup issues in our documentation
Remi Gacogne [Thu, 27 Jun 2019 08:05:50 +0000 (10:05 +0200)]
Merge pull request #7974 from rgacogne/ddist-tcp-short-writes
dnsdist: Fix short IOs over TCP
Remi Gacogne [Thu, 27 Jun 2019 08:05:02 +0000 (10:05 +0200)]
Merge pull request #7978 from rgacogne/dnsdist-dot-error-msgs
dnsdist: Improve error messages for DoT issues
Remi Gacogne [Thu, 27 Jun 2019 08:04:16 +0000 (10:04 +0200)]
Merge pull request #7979 from rgacogne/ddist-tcp-backend-failure
dnsdist: Fix handling of backend connection failing over TCP
Remi Gacogne [Thu, 27 Jun 2019 08:04:00 +0000 (10:04 +0200)]
Merge pull request #7992 from pieterlexis/dnsdist-nmg-quiet
dnsdist: Add `quiet` parameter to NetmaskGroupRule
Remi Gacogne [Wed, 26 Jun 2019 21:17:28 +0000 (23:17 +0200)]
dnsdist: Keep the buffer's constness when passing it to write()
Remi Gacogne [Wed, 26 Jun 2019 20:52:59 +0000 (22:52 +0200)]
Merge pull request #7985 from pieterlexis/dnsdist-smn-from-string
SuffixMatchNode:add: Accept more types
Pieter Lexis [Wed, 26 Jun 2019 15:39:31 +0000 (17:39 +0200)]
Merge pull request #7947 from pieterlexis/secpoll-fix-0.0.0
Secpoll code: fixes and clean-ups
Pieter Lexis [Wed, 26 Jun 2019 14:53:10 +0000 (16:53 +0200)]
dnsdist: Update doc wording for `quiet`
Pieter Lexis [Wed, 26 Jun 2019 14:35:23 +0000 (16:35 +0200)]
dnsdist: Add `quiet` parameter to NetmaskGroupRule
Remi Gacogne [Wed, 26 Jun 2019 14:25:21 +0000 (16:25 +0200)]
dnsdist: Add tests for short reads and writes over TCP and DoT
Otto Moerbeek [Wed, 26 Jun 2019 09:14:25 +0000 (11:14 +0200)]
Comment on cmsgbuf_aligned in the proper place.
Otto Moerbeek [Wed, 26 Jun 2019 08:44:39 +0000 (10:44 +0200)]
Exact string returned is lib dependent. So only check prefix.
Otto Moerbeek [Wed, 26 Jun 2019 08:04:22 +0000 (10:04 +0200)]
Merge branch 'msgbuf-align' of github.com:omoerbeek/pdns into msgbuf-align
Otto Moerbeek [Wed, 26 Jun 2019 08:03:07 +0000 (10:03 +0200)]
Fixerror: flexible array member 'cmsghdr::__cmsg_data' not at end of 'struct MMReceiver'
Otto Moerbeek [Tue, 25 Jun 2019 14:04:43 +0000 (16:04 +0200)]
typo
Kees Monshouwer [Tue, 25 Jun 2019 14:02:42 +0000 (16:02 +0200)]
doc: add a depreation warning to the SOA autocomplete settings
Pieter Lexis [Tue, 25 Jun 2019 13:36:31 +0000 (15:36 +0200)]
SuffixMatchNode:add: Accept more types
The SuffixMatchNode now also accepts a table of DNSNames, a table of
string, and singular strings.
Otto Moerbeek [Tue, 25 Jun 2019 12:27:00 +0000 (14:27 +0200)]
Align cmsg aux data, as recommended by OpenBSD manpage.
Peter van Dijk [Tue, 25 Jun 2019 10:34:08 +0000 (12:34 +0200)]
Merge pull request #7550 from Habbie/auth-web-bodysize
auth web: make max request/response body size configurable
Peter van Dijk [Tue, 25 Jun 2019 10:02:10 +0000 (12:02 +0200)]
Merge pull request #7910 from mind04/disable-packetcache
auth: completely disable the packet when cache-ttl=0
Peter van Dijk [Tue, 25 Jun 2019 09:39:35 +0000 (11:39 +0200)]
Merge pull request #7976 from mnordhoff/set-publish-cds-2-rebase
Make pdnsutil set-publish-cds default to SHA-256 only
Otto Moerbeek [Tue, 25 Jun 2019 09:33:48 +0000 (11:33 +0200)]
Merge pull request #7966 from omoerbeek/rec-4.2.0-rc2-changelog
Changelog and secpoll for upcoming rec-4.2.0-rc2 release.
James Taylor [Tue, 25 Jun 2019 09:33:04 +0000 (19:33 +1000)]
auth: make sure we really are using glibc
Make sure we're using glibc and not uclibc pretending to be glibc
Remi Gacogne [Tue, 25 Jun 2019 08:42:59 +0000 (10:42 +0200)]
dnsdist: Fix handling of backend connection failing over TCP
- The creation of the Socket object can throw if we run out of file
descriptors ;
- Catch exceptions thrown from setupTCPDownstream() earlier, we don't
care why it failed later, only that it did.
Matt Nordhoff [Mon, 24 Jun 2019 18:45:28 +0000 (18:45 +0000)]
Merge branch 'master' into set-publish-cds-2-rebase
Remi Gacogne [Thu, 13 Jun 2019 12:22:06 +0000 (14:22 +0200)]
dnsdist: Return HTTP/403 for ACL drops instead of closing the conn
Remi Gacogne [Wed, 12 Jun 2019 13:15:14 +0000 (15:15 +0200)]
dnsdist: Send better HTTP status codes, handle ACL drops earlier
Remi Gacogne [Mon, 24 Jun 2019 14:12:28 +0000 (16:12 +0200)]
Merge pull request #7911 from rgacogne/dnsdist-doh-server-header
dnsdist: Properly override the HTTP Server header for DoH
Pieter Lexis [Mon, 24 Jun 2019 14:06:24 +0000 (16:06 +0200)]
secpoll: set to unknown when OK before throwing
Otto Moerbeek [Mon, 24 Jun 2019 13:32:59 +0000 (15:32 +0200)]
Add a few secpoll unit tests.
Remi Gacogne [Mon, 24 Jun 2019 13:45:37 +0000 (15:45 +0200)]
dnsdist: Improve error messages for DoT issues
Peter van Dijk [Mon, 24 Jun 2019 12:48:35 +0000 (14:48 +0200)]
Merge pull request #7977 from pieterlexis/centos7-lmdb-backend
Add LMDB backend to centos-7
Remi Gacogne [Mon, 24 Jun 2019 12:31:01 +0000 (14:31 +0200)]
dnsdist: Add checks for invalid position / buffer size on try*
Peter van Dijk [Mon, 24 Jun 2019 12:23:06 +0000 (14:23 +0200)]
Merge pull request #7962 from pieterlexis/auth-add-edited-serial-to-Zone
auth: add edited_serial to Zone object
Pieter Lexis [Mon, 24 Jun 2019 12:16:33 +0000 (14:16 +0200)]
Add LMDB backend to centos-7
Peter van Dijk [Mon, 24 Jun 2019 11:57:37 +0000 (13:57 +0200)]
Merge pull request #7890 from pieterlexis/auth-new-features
Show newer features in configure output and --version
Pieter Lexis [Mon, 24 Jun 2019 11:42:14 +0000 (13:42 +0200)]
auth+rec secpoll: Combine secpoll result parsing code
bert hubert [Mon, 24 Jun 2019 09:58:37 +0000 (11:58 +0200)]
Merge pull request #7943 from ahupowerdns/non-slave-better-error
Improve error when notification comes in for non-slave zone
Matt Nordhoff [Tue, 19 Mar 2019 17:57:18 +0000 (17:57 +0000)]
Make pdnsutil set-publish-cds default to SHA-256 only
Peter van Dijk [Mon, 24 Jun 2019 09:06:22 +0000 (11:06 +0200)]
move settings doc from rec to auth
Peter van Dijk [Mon, 24 Jun 2019 08:46:12 +0000 (10:46 +0200)]
Merge pull request #7889 from pieterlexis/auth-pkg-chown-var-lib
auth: move /var/lib/pdns to pdns-server debian package
Remi Gacogne [Mon, 24 Jun 2019 08:13:53 +0000 (10:13 +0200)]
dnsdist: Fix short IOs over TCP
Otto Moerbeek [Mon, 24 Jun 2019 07:59:46 +0000 (09:59 +0200)]
And a missing change::
Remi Gacogne [Mon, 24 Jun 2019 07:33:15 +0000 (09:33 +0200)]
Merge pull request #7972 from hlindqvist/dnsdist-minor-doc-fixes
Minor fixes to dnsdist docs
Otto Moerbeek [Mon, 24 Jun 2019 06:05:44 +0000 (08:05 +0200)]
Fix missing .. changelog:: line
Håkan Lindqvist [Thu, 20 Jun 2019 20:57:45 +0000 (22:57 +0200)]
Minor fixes to dnsdist docs
DNSQType was introduced in 1.4.0, not 1.3.0
Typo in AXFR example (DNSQTypeIXFR)
Otto Moerbeek [Fri, 21 Jun 2019 11:05:01 +0000 (13:05 +0200)]
Merge pull request #7967 from fwSmit/changes
Silence unused lambda warning (retry)
Otto Moerbeek [Fri, 21 Jun 2019 10:20:12 +0000 (12:20 +0200)]
Merge pull request #5758 from pieterlexis/trustanchor.server
rec: support trustanchor.server CH TXT queries