]>
granicus.if.org Git - pdns/log
Peter van Dijk [Thu, 11 Jul 2019 23:50:12 +0000 (01:50 +0200)]
Merge pull request #8053 from Habbie/pdnsutil-dead-code
pdnsutil: remove unused humanTime function
Peter van Dijk [Thu, 11 Jul 2019 10:52:00 +0000 (12:52 +0200)]
Merge pull request #8066 from franklouwers/master
Auth-documentation: Fix typo
Frank Louwers [Thu, 11 Jul 2019 10:25:30 +0000 (12:25 +0200)]
Update index.rst
Peter van Dijk [Thu, 11 Jul 2019 09:35:56 +0000 (11:35 +0200)]
Merge pull request #8065 from miesi/master
pdns/devpollmplexer: remove unused syncres.hh include
Thomas Mieslinger [Thu, 11 Jul 2019 09:34:00 +0000 (02:34 -0700)]
pdns/devpollmplexer: remove unused syncres.hh include
Peter van Dijk [Wed, 10 Jul 2019 13:37:59 +0000 (15:37 +0200)]
Merge pull request #8054 from mzealey/ueberbackend-fix-short-circuit
Fix SERVFAIL when backend returns empty DNSName
Peter van Dijk [Wed, 10 Jul 2019 11:33:00 +0000 (13:33 +0200)]
Merge pull request #8051 from Habbie/ixfrdist-chunksize
ixfrdist: limit XFR chunk size to 16k
Mark Zealey [Wed, 10 Jul 2019 11:17:32 +0000 (14:17 +0300)]
Fix SERVFAIL when backend returns empty DNSName
According to the documentation on UeberBackend::getAuth(), a backend
returning an empty DNSName should signal that no matching parent zone
exists in this backend. However commit
ae14c1f36a raises an exception if
isPartOf() is called on an empty DNSName so we need to switch the order
of the logic to prevent a SERVFAIL as a result.
Peter van Dijk [Wed, 10 Jul 2019 10:36:56 +0000 (12:36 +0200)]
pdnsutil: remove unused humanTime function
Peter van Dijk [Wed, 10 Jul 2019 09:54:11 +0000 (11:54 +0200)]
Merge pull request #8049 from Habbie/ixfrdist-circle
ixfrdist: test in CircleCI; remove useless error
Peter van Dijk [Wed, 10 Jul 2019 08:01:25 +0000 (10:01 +0200)]
ixfrdist: limit XFR chunk size to 16k
Peter van Dijk [Tue, 9 Jul 2019 14:19:53 +0000 (16:19 +0200)]
test ixfrdist in CircleCI
Peter van Dijk [Wed, 10 Jul 2019 07:57:01 +0000 (09:57 +0200)]
Merge pull request #8028 from Habbie/compress-16k
limit compression pointers to 14 bits
Peter van Dijk [Tue, 9 Jul 2019 17:44:08 +0000 (19:44 +0200)]
stop running xfrserver twice in ixfrdist testing
Peter van Dijk [Tue, 9 Jul 2019 14:08:32 +0000 (16:08 +0200)]
Merge pull request #8043 from rgacogne/circle-flags
Add -Werror=format-security and -D_GLIBCXX_ASSERTIONS on CircleCI
Remi Gacogne [Tue, 9 Jul 2019 10:44:17 +0000 (12:44 +0200)]
Add -Wformat=2 since -Wformat is required for -Wformat-security
Otto Moerbeek [Tue, 9 Jul 2019 09:33:01 +0000 (11:33 +0200)]
Merge pull request #8047 from omoerbeek/fix-another-fixedNow
Another time sensistive test fixed with a fixedNow construct.
Peter van Dijk [Tue, 9 Jul 2019 09:27:18 +0000 (11:27 +0200)]
centralise constant
Peter van Dijk [Mon, 8 Jul 2019 15:39:35 +0000 (17:39 +0200)]
actually honour the startRecord compress parameter
Peter van Dijk [Fri, 5 Jul 2019 09:46:25 +0000 (11:46 +0200)]
limit compression pointers to 14 bits
Peter van Dijk [Tue, 9 Jul 2019 09:08:11 +0000 (11:08 +0200)]
Merge pull request #7998 from rgacogne/sqlite3-exec-leak
auth: Fix a memory leak when sqlite3_exec() fails
Otto Moerbeek [Tue, 9 Jul 2019 09:03:57 +0000 (11:03 +0200)]
Another time sensistive test fixed with a fixedNow construct.
Fix borrowed from #8008.
But this test also does addRRSIG() calls, these need adaptation as well.
Peter van Dijk [Tue, 9 Jul 2019 08:25:20 +0000 (10:25 +0200)]
Merge pull request #8037 from Habbie/master-7964
forward-port #7964: catch name & IP parse errors during outgoing notify preparations
Peter van Dijk [Mon, 8 Jul 2019 19:29:47 +0000 (21:29 +0200)]
add -Wformat for buster
Remi Gacogne [Mon, 8 Jul 2019 14:58:02 +0000 (16:58 +0200)]
Add -Werror=format-security and -D_GLIBCXX_ASSERTIONS on CircleCI
Remi Gacogne [Mon, 8 Jul 2019 13:13:21 +0000 (15:13 +0200)]
Merge pull request #8024 from rgacogne/dnsdist-opcode-tcp-info
dnsdist: Display TCP/DoT queries and responses in verbose mode, opcode in grepq
Remi Gacogne [Mon, 8 Jul 2019 09:56:20 +0000 (11:56 +0200)]
Mark the static vector of opcode names as const
Peter van Dijk [Thu, 20 Jun 2019 11:04:30 +0000 (13:04 +0200)]
catch name & IP parse errors during outgoing notify preparations
(cherry picked from commit
a53928cb568844a07fc83e1d090fdd1e21ee524d )
(L renamed to g_log)
Peter van Dijk [Mon, 8 Jul 2019 09:16:30 +0000 (11:16 +0200)]
Revert "A way to fix https://github.com/PowerDNS/pdns/issues/7646. It might"
This reverts commit
475fc44ee8d1fc21bb9fe0beffa5fd5b1799277f .
Peter van Dijk [Mon, 8 Jul 2019 09:16:29 +0000 (11:16 +0200)]
Revert "Rearrange; to avoid uninitialized var and bail out after exception,"
This reverts commit
cb22b82e6e97374e0eadcc03c56dd8e7f1328bf3 .
Peter van Dijk [Mon, 8 Jul 2019 09:16:27 +0000 (11:16 +0200)]
Revert "Better logging, so the operator knows where to look."
This reverts commit
c6e6b0559cfcff8537ee95c4f3d7c02477fd81a3 .
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 11:41:01 +0000 (13:41 +0200)]
dnsdist: Display non-zero opcodes in grepq()
Remi Gacogne [Thu, 4 Jul 2019 10:47:02 +0000 (12:47 +0200)]
dnsdist: Display queries and responses received over DoT/TCP in verbose mode
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 12:08:10 +0000 (14:08 +0200)]
auth: Fix a memory leak when sqlite3_exec() fails
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.