]> granicus.if.org Git - pdns/log
pdns
5 years agoMerge pull request #8034 from pieterlexis/rec-debian-sysv
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

5 years agoMerge pull request #8080 from mnordhoff/patch-4
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

5 years agoMerge pull request #8079 from rgacogne/ddist-tcp-fastopen-retries
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

5 years agoMerge pull request #7933 from rgacogne/dnsdist-doh-http-stats
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

5 years agoMerge pull request #8078 from rgacogne/ddist-tcp-answer-exception
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

5 years agoMerge pull request #8077 from Habbie/lgtm-more-features
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

5 years agoClarify XPF support in Auth changelog
Matt Nordhoff [Mon, 15 Jul 2019 14:27:36 +0000 (14:27 +0000)]
Clarify XPF support in Auth changelog

Reported by @spheron1.

5 years agodnsdist: Fix unlimited retries when TCP Fast Open is enabled
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).

5 years agodnsdist: Check that we only retry 'retries' times even with TFO
Remi Gacogne [Mon, 15 Jul 2019 13:59:09 +0000 (15:59 +0200)]
dnsdist: Check that we only retry 'retries' times even with TFO

5 years agoMerge pull request #8069 from omoerbeek/rec-changelog-4.2.0
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

5 years agoMerge pull request #8042 from rgacogne/ddist-dnscrypt-certs
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()`

5 years agodnsdist: Add a regression test for invalid DNS answer from the backend
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

5 years agoMerge pull request #8075 from Habbie/raspbian-buster
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

5 years agodnsdist: Catch exceptions thrown when handling a TCP response
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.

5 years agoenable a bunch of extra features during LGTM builds
Peter van Dijk [Sat, 13 Jul 2019 21:37:28 +0000 (23:37 +0200)]
enable a bunch of extra features during LGTM builds

5 years agoKilled stray newlines
Otto Moerbeek [Sun, 14 Jul 2019 18:11:21 +0000 (20:11 +0200)]
Killed stray newlines

5 years agoAdd 8074
Otto Moerbeek [Fri, 12 Jul 2019 14:53:28 +0000 (16:53 +0200)]
Add 8074

5 years agoMerge pull request #8067 from rgacogne/circular_buffer_nodebug
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

5 years agobuilder: add raspbian-buster target
Peter van Dijk [Fri, 12 Jul 2019 12:52:22 +0000 (14:52 +0200)]
builder: add raspbian-buster target

5 years agoState the effects of the new support policy.
Otto Moerbeek [Fri, 12 Jul 2019 09:25:38 +0000 (11:25 +0200)]
State the effects of the new support policy.

5 years agoBOOST_CB_ENABLE_DEBUG is overridden before 1.62, set BOOST_CB_DISABLE_DEBUG instead
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

5 years agoChange security status of rec 4.2.0 prereleases
Otto Moerbeek [Fri, 12 Jul 2019 08:35:30 +0000 (10:35 +0200)]
Change security status of rec 4.2.0 prereleases

5 years agoChangelog and secpoll for upcoming rec-4.2.0 release
Otto Moerbeek [Fri, 12 Jul 2019 08:15:40 +0000 (10:15 +0200)]
Changelog and secpoll for upcoming rec-4.2.0 release

5 years agoMerge pull request #8053 from Habbie/pdnsutil-dead-code
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

5 years agoMake sure we always compile with BOOST_CB_ENABLE_DEBUG set to 0
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

5 years agoMerge pull request #8066 from franklouwers/master
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

5 years agoUpdate index.rst
Frank Louwers [Thu, 11 Jul 2019 10:25:30 +0000 (12:25 +0200)]
Update index.rst

5 years agoMerge pull request #8065 from miesi/master
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

5 years agopdns/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

5 years agoMerge pull request #8054 from mzealey/ueberbackend-fix-short-circuit
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

5 years agoMerge pull request #8051 from Habbie/ixfrdist-chunksize
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

5 years agoFix SERVFAIL when backend returns empty DNSName
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.

5 years agopdnsutil: remove unused humanTime function
Peter van Dijk [Wed, 10 Jul 2019 10:36:56 +0000 (12:36 +0200)]
pdnsutil: remove unused humanTime function

5 years agoMerge pull request #8049 from Habbie/ixfrdist-circle
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

5 years agoixfrdist: limit XFR chunk size to 16k
Peter van Dijk [Wed, 10 Jul 2019 08:01:25 +0000 (10:01 +0200)]
ixfrdist: limit XFR chunk size to 16k

5 years agotest ixfrdist in CircleCI
Peter van Dijk [Tue, 9 Jul 2019 14:19:53 +0000 (16:19 +0200)]
test ixfrdist in CircleCI

5 years agoMerge pull request #8028 from Habbie/compress-16k
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

5 years agostop running xfrserver twice in ixfrdist testing
Peter van Dijk [Tue, 9 Jul 2019 17:44:08 +0000 (19:44 +0200)]
stop running xfrserver twice in ixfrdist testing

5 years agoMerge pull request #8043 from rgacogne/circle-flags
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

5 years agoAdd -Wformat=2 since -Wformat is required for -Wformat-security
Remi Gacogne [Tue, 9 Jul 2019 10:44:17 +0000 (12:44 +0200)]
Add -Wformat=2 since -Wformat is required for -Wformat-security

5 years agoMerge pull request #8047 from omoerbeek/fix-another-fixedNow
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.

5 years agocentralise constant
Peter van Dijk [Tue, 9 Jul 2019 09:27:18 +0000 (11:27 +0200)]
centralise constant

5 years agoactually honour the startRecord compress parameter
Peter van Dijk [Mon, 8 Jul 2019 15:39:35 +0000 (17:39 +0200)]
actually honour the startRecord compress parameter

5 years agolimit compression pointers to 14 bits
Peter van Dijk [Fri, 5 Jul 2019 09:46:25 +0000 (11:46 +0200)]
limit compression pointers to 14 bits

5 years agoMerge pull request #7998 from rgacogne/sqlite3-exec-leak
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

5 years agoAnother time sensistive test fixed with a fixedNow construct.
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.

5 years agoMerge pull request #8037 from Habbie/master-7964
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

5 years agoadd -Wformat for buster
Peter van Dijk [Mon, 8 Jul 2019 19:29:47 +0000 (21:29 +0200)]
add -Wformat for buster

5 years agoAdd -Werror=format-security and -D_GLIBCXX_ASSERTIONS on CircleCI
Remi Gacogne [Mon, 8 Jul 2019 14:58:02 +0000 (16:58 +0200)]
Add -Werror=format-security and -D_GLIBCXX_ASSERTIONS on CircleCI

5 years agodnsdist: Accept more than one certificate in `addDNSCryptBind()`
Remi Gacogne [Mon, 8 Jul 2019 13:48:09 +0000 (15:48 +0200)]
dnsdist: Accept more than one certificate in `addDNSCryptBind()`

5 years agoMerge pull request #8024 from rgacogne/dnsdist-opcode-tcp-info
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

5 years agoMark the static vector of opcode names as const
Remi Gacogne [Mon, 8 Jul 2019 09:56:20 +0000 (11:56 +0200)]
Mark the static vector of opcode names as const

5 years agocatch name & IP parse errors during outgoing notify preparations
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)

5 years agoRevert "A way to fix https://github.com/PowerDNS/pdns/issues/7646. It might"
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.

5 years agoRevert "Rearrange; to avoid uninitialized var and bail out after exception,"
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.

5 years agoRevert "Better logging, so the operator knows where to look."
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.

5 years agoEnsure Debian SysV users get set{g,u}id
Pieter Lexis [Mon, 8 Jul 2019 08:25:04 +0000 (10:25 +0200)]
Ensure Debian SysV users get set{g,u}id

5 years agoMerge pull request #7917 from rgacogne/dnsdist-http-codes
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

5 years agoMerge pull request #8026 from pieterlexis/add-tmpdns
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

5 years agoAdd 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

5 years agoMerge pull request #8025 from rgacogne/dnsdist-test-crypto
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()

5 years agodnsdist: 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()

5 years agodnsdist: Display non-zero opcodes in grepq()
Remi Gacogne [Thu, 4 Jul 2019 11:41:01 +0000 (13:41 +0200)]
dnsdist: Display non-zero opcodes in grepq()

5 years agodnsdist: Display queries and responses received over DoT/TCP in verbose mode
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

5 years agoMerge pull request #8023 from Habbie/dnsname-cinttypes
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>

5 years agodnsname: 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>

5 years agoMerge pull request #8019 from James-TR/patch-4
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

5 years agoMerge pull request #8000 from rgacogne/rec-outgoing-timeouts
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

5 years agoMerge branch 'master' into rec-outgoing-timeouts
Otto Moerbeek [Wed, 3 Jul 2019 13:48:40 +0000 (15:48 +0200)]
Merge branch 'master' into rec-outgoing-timeouts

5 years agoMerge pull request #8010 from rgacogne/faster-syncres
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

5 years agoMerge pull request #8013 from rgacogne/dnsname-escapelabel-faster
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

5 years agoMerge pull request #8001 from chbruyand/protobuf-devicename-field
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

5 years agoauth: correct syntax for GLIBC detection
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

5 years agoMerge pull request #8003 from rgacogne/dnsdist-fix-crash-ringuffer-insertion
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

5 years agoMerge pull request #8015 from rgacogne/ddist-fix-showdnscryptbinds-crash
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()`

5 years agodocs: fix version numbers
Charles-Henri Bruyand [Tue, 2 Jul 2019 15:44:25 +0000 (17:44 +0200)]
docs: fix version numbers

5 years agodnsdist: De-duplicate DNSCrypt binds in `showDNSCryptBinds()`
Remi Gacogne [Tue, 2 Jul 2019 15:07:34 +0000 (17:07 +0200)]
dnsdist: De-duplicate DNSCrypt binds in `showDNSCryptBinds()`

5 years agoInsert the new DNSRecord last in MOADNSParser so we can move it
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

5 years agodnsdist: Skip non-DNSCrypt binds in `showDNSCryptBinds()`
Remi Gacogne [Tue, 2 Jul 2019 09:06:42 +0000 (11:06 +0200)]
dnsdist: Skip non-DNSCrypt binds in `showDNSCryptBinds()`

5 years agoMerge pull request #8006 from rgacogne/auth-backend-permanent-error-leak
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

5 years agoMerge pull request #7980 from James-TR/patch-3
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

5 years agoDon't create temporary strings to escape DNSName labels
Remi Gacogne [Mon, 1 Jul 2019 16:49:37 +0000 (18:49 +0200)]
Don't create temporary strings to escape DNSName labels

5 years agoMerge pull request #8008 from rgacogne/rec-test_auth_zone_delegation-fixed-time
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

5 years agoMerge pull request #8007 from rgacogne/ctrl-msg-buffer-size-assertion
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

5 years agorec: Compare PacketID's sockets and IDs before DNSNames
Remi Gacogne [Mon, 1 Jul 2019 16:08:04 +0000 (18:08 +0200)]
rec: Compare PacketID's sockets and IDs before DNSNames

5 years agorec: Small speed improvements in the SyncRes
Remi Gacogne [Mon, 1 Jul 2019 12:57:47 +0000 (14:57 +0200)]
rec: Small speed improvements in the SyncRes

5 years agorec: Don't go Bogus if the auth zone delegation test takes too long
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

5 years agoMerge pull request #8004 from Habbie/cherry-pick-merge
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

5 years agoMerge pull request #7969 from fwSmit/fixWarnings
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

5 years agoMerge pull request #7999 from rgacogne/auth-servfail-accounting
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

5 years agoMerge pull request #7918 from mind04/soacomplete
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

5 years agocherry-pick-pr: fix branch name in merge command
Peter van Dijk [Mon, 1 Jul 2019 08:20:46 +0000 (10:20 +0200)]
cherry-pick-pr: fix branch name in merge command

5 years agoMerge pull request #7996 from omoerbeek/valgrind-memset-cmsg-space
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.

5 years agoAdd static assertions for the size of the src address control buffer
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

5 years agolua: DNSQuestion, actually export deviceName and deviceId attributes
Charles-Henri Bruyand [Mon, 1 Jul 2019 07:50:46 +0000 (09:50 +0200)]
lua: DNSQuestion, actually export deviceName and deviceId attributes

5 years agodnsdist: Don't add cache hits to the response ringbuffer
Remi Gacogne [Sat, 29 Jun 2019 20:30:20 +0000 (22:30 +0200)]
dnsdist: Don't add cache hits to the response ringbuffer

5 years agodnsdist: Insert the response into the ringbuffer right after sending it
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).

5 years agorecursor: add new deviceName field to the dnsmessage protobuf export
Charles-Henri Bruyand [Wed, 19 Jun 2019 09:48:42 +0000 (11:48 +0200)]
recursor: add new deviceName field to the dnsmessage protobuf export

5 years agorec: Export a protobuf incoming response message for timeouts
Remi Gacogne [Fri, 28 Jun 2019 14:47:25 +0000 (16:47 +0200)]
rec: Export a protobuf incoming response message for timeouts

5 years agoMerge pull request #7997 from rgacogne/rec-outgoing-queries-responses
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