]>
granicus.if.org Git - pdns/log
Peter van Dijk [Sat, 20 Jul 2019 00:20:29 +0000 (02:20 +0200)]
Merge pull request #8105 from phonedph1/patch-8
Update dnsdist-web.cc
phonedph1 [Fri, 19 Jul 2019 23:38:46 +0000 (17:38 -0600)]
Update dnsdist-web.cc
Per isomer ;)
Peter van Dijk [Fri, 19 Jul 2019 22:09:19 +0000 (00:09 +0200)]
Merge pull request #7872 from Habbie/auth-lua-reuse-docs
LUA record documentation (version number, shared model)
Peter van Dijk [Thu, 18 Jul 2019 10:31:27 +0000 (12:31 +0200)]
Merge pull request #8093 from Habbie/nproxy-whatis
add whatis description to nproxy man page
Peter van Dijk [Wed, 17 Jul 2019 17:20:29 +0000 (19:20 +0200)]
clarify that states are per-thread
Peter van Dijk [Wed, 17 Jul 2019 16:59:13 +0000 (18:59 +0200)]
add whatis description to nproxy man page
Peter van Dijk [Wed, 17 Jul 2019 12:56:51 +0000 (14:56 +0200)]
Merge pull request #8090 from Habbie/lgtm-fewer-features
Revert "enable a bunch of extra features during LGTM builds"
Peter van Dijk [Wed, 17 Jul 2019 12:53:30 +0000 (14:53 +0200)]
Revert "enable a bunch of extra features during LGTM builds"
This reverts commit
8763cf1ca8ba2c7266521272fedc2b130af71f75 .
Remi Gacogne [Wed, 17 Jul 2019 12:02:11 +0000 (14:02 +0200)]
Merge pull request #7927 from rgacogne/dnsdist-doh-timeout
dnsdist: Proper HTTP response for timeouts over DoH
Otto Moerbeek [Wed, 17 Jul 2019 12:01:50 +0000 (14:01 +0200)]
Merge pull request #8089 from omoerbeek/fix_rfc1982_less_than
Fix the rfc1982LessThan template, it only works properly if the cast …
Remi Gacogne [Wed, 17 Jul 2019 08:57:48 +0000 (10:57 +0200)]
Merge pull request #8088 from rgacogne/dnsdist-fix-unbound-wire-regression
dnsdist: Fix local variable 'wire' referenced before assignment
Otto Moerbeek [Wed, 17 Jul 2019 08:57:44 +0000 (10:57 +0200)]
Add static assert to ensure T is unsigned.
Otto Moerbeek [Wed, 17 Jul 2019 08:37:19 +0000 (10:37 +0200)]
Fix the rfc1982LessThan template, it only works properly if the cast is done to a same-sized type.
If we use it for uint8_t or uint64_t it breaks currenty. Add unit tests while there.
Remi Gacogne [Wed, 17 Jul 2019 08:24:55 +0000 (10:24 +0200)]
dnsdist: Drop the response if the IDState has been reused under our feet
Remi Gacogne [Wed, 17 Jul 2019 08:24:10 +0000 (10:24 +0200)]
dnsdist: Fix the DoH (https) response information in verbose mode
Remi Gacogne [Wed, 17 Jul 2019 07:58:33 +0000 (09:58 +0200)]
Merge pull request #8087 from rgacogne/mplexer-test-debug
Don't fail the test right away if we don't have the right number of FDs ready
Remi Gacogne [Wed, 17 Jul 2019 07:57:14 +0000 (09:57 +0200)]
dnsdist: Fix local variable 'wire' referenced before assignment
Peter van Dijk [Tue, 16 Jul 2019 15:04:48 +0000 (17:04 +0200)]
Merge pull request #8071 from cmouse/tsig-key
packethandler: Compare TSIG key name using DNSName
Remi Gacogne [Tue, 16 Jul 2019 13:37:25 +0000 (15:37 +0200)]
dnsdist: Add comments about the use of IDStates and origFD
Remi Gacogne [Tue, 16 Jul 2019 12:05:12 +0000 (14:05 +0200)]
Don't fail the test right away if we don't have the right number of FDs ready
This way we can at least check that the callbacks are called later.
Also, since it looks like the read pipe is always reported as ready,
let's try to write first to see if it blocks.
Pieter Lexis [Tue, 16 Jul 2019 09:40:30 +0000 (11:40 +0200)]
Merge pull request #8034 from pieterlexis/rec-debian-sysv
Ensure Debian SysV users get set{g,u}id
Peter van Dijk [Tue, 16 Jul 2019 09:29:53 +0000 (11:29 +0200)]
Merge pull request #8080 from mnordhoff/patch-4
Clarify XPF support in Auth changelog
Remi Gacogne [Tue, 16 Jul 2019 08:01:03 +0000 (10:01 +0200)]
Merge pull request #8079 from rgacogne/ddist-tcp-fastopen-retries
dnsdist: Fix unlimited retries when TCP Fast Open is enabled
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, 16 Jul 2019 07:46:30 +0000 (09:46 +0200)]
Merge pull request #7933 from rgacogne/dnsdist-doh-http-stats
dnsdist: Add more stats about DoH HTTP responses
Remi Gacogne [Tue, 16 Jul 2019 07:33:53 +0000 (09:33 +0200)]
Merge pull request #8078 from rgacogne/ddist-tcp-answer-exception
dnsdist: Catch exceptions thrown when handling a TCP response
Aki Tuomi [Fri, 12 Jul 2019 09:34:45 +0000 (12:34 +0300)]
packethandler: Compare TSIG key name using DNSName
Fixes #8070
Peter van Dijk [Mon, 15 Jul 2019 19:26:17 +0000 (21:26 +0200)]
Merge pull request #8077 from Habbie/lgtm-more-features
enable a bunch of extra features during LGTM builds
Matt Nordhoff [Mon, 15 Jul 2019 14:27:36 +0000 (14:27 +0000)]
Clarify XPF support in Auth changelog
Reported by @spheron1.
Remi Gacogne [Mon, 15 Jul 2019 13:07:10 +0000 (15:07 +0200)]
dnsdist: Fix unlimited retries when TCP Fast Open is enabled
Using the same flag to indicate whether a connection was reused
after being pulled from the pool AND to know if the TFO flag should
be passed to sendmsg() led to an unlimited number of reconnection
attemps when TFO was enabled and the backend closed the connection
right after a write (sendmsg() succeeds then read() returns 0 right
away).
Remi Gacogne [Mon, 15 Jul 2019 13:59:09 +0000 (15:59 +0200)]
dnsdist: Check that we only retry 'retries' times even with TFO
Pieter Lexis [Mon, 15 Jul 2019 13:32:03 +0000 (15:32 +0200)]
Merge pull request #8069 from omoerbeek/rec-changelog-4.2.0
Changelog and secpoll for upcoming rec-4.2.0 release
Remi Gacogne [Mon, 15 Jul 2019 12:46:41 +0000 (14:46 +0200)]
Merge pull request #8042 from rgacogne/ddist-dnscrypt-certs
dnsdist: Accept more than one certificate in `addDNSCryptBind()`
Remi Gacogne [Mon, 15 Jul 2019 11:02:41 +0000 (13:02 +0200)]
dnsdist: Add a regression test for invalid DNS answer from the backend
Pieter Lexis [Mon, 15 Jul 2019 08:37:57 +0000 (10:37 +0200)]
Merge pull request #8075 from Habbie/raspbian-buster
builder: add raspbian-buster target
Remi Gacogne [Mon, 15 Jul 2019 08:28:01 +0000 (10:28 +0200)]
dnsdist: Catch exceptions thrown when handling a TCP response
We need to handle it gracefully if a function called from
handleResponse() throws, most likely because the answer received
from the backend was not valid.
Peter van Dijk [Sat, 13 Jul 2019 21:37:28 +0000 (23:37 +0200)]
enable a bunch of extra features during LGTM builds
Otto Moerbeek [Sun, 14 Jul 2019 18:11:21 +0000 (20:11 +0200)]
Killed stray newlines
Otto Moerbeek [Fri, 12 Jul 2019 14:53:28 +0000 (16:53 +0200)]
Add 8074
Remi Gacogne [Fri, 12 Jul 2019 13:59:51 +0000 (15:59 +0200)]
Merge pull request #8067 from rgacogne/circular_buffer_nodebug
Make sure we always compile with BOOST_CB_ENABLE_DEBUG set to 0
Peter van Dijk [Fri, 12 Jul 2019 12:52:22 +0000 (14:52 +0200)]
builder: add raspbian-buster target
Otto Moerbeek [Fri, 12 Jul 2019 09:25:38 +0000 (11:25 +0200)]
State the effects of the new support policy.
Remi Gacogne [Fri, 12 Jul 2019 08:35:50 +0000 (10:35 +0200)]
BOOST_CB_ENABLE_DEBUG is overridden before 1.62, set BOOST_CB_DISABLE_DEBUG instead
Otto Moerbeek [Fri, 12 Jul 2019 08:35:30 +0000 (10:35 +0200)]
Change security status of rec 4.2.0 prereleases
Otto Moerbeek [Fri, 12 Jul 2019 08:15:40 +0000 (10:15 +0200)]
Changelog and secpoll for upcoming rec-4.2.0 release
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
Remi Gacogne [Thu, 11 Jul 2019 15:09:05 +0000 (17:09 +0200)]
Make sure we always compile with BOOST_CB_ENABLE_DEBUG set to 0
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:48:09 +0000 (15:48 +0200)]
dnsdist: Accept more than one certificate in `addDNSCryptBind()`
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 .
Pieter Lexis [Mon, 8 Jul 2019 08:25:04 +0000 (10:25 +0200)]
Ensure Debian SysV users get set{g,u}id
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 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