]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
7 years agodnsdist: Accept more than one certificate in `addDNSCryptBind()` 8042/head
Remi Gacogne [Mon, 8 Jul 2019 13:48:09 +0000 (15:48 +0200)] 
dnsdist: Accept more than one certificate in `addDNSCryptBind()`

7 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

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

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

7 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.

7 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.

7 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.

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

7 years agodnsdist: Use a separate string for the DoH query and response
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.

7 years agodnsdist: Proper HTTP response for timeouts over DoH
Remi Gacogne [Thu, 13 Jun 2019 13:49:29 +0000 (15:49 +0200)] 
dnsdist: Proper HTTP response for timeouts over DoH

7 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

7 years agodnsdist: Handle ENOTCONN on read() over TCP 8030/head
Remi Gacogne [Fri, 5 Jul 2019 08:19:04 +0000 (10:19 +0200)] 
dnsdist: Handle ENOTCONN on read() over TCP

When a non-blocking connect() has returned `EINPROGRESS`, it looks
like BSD can return `ENOTCONN` on `read()` even after a `write()`
succeeded.

7 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

7 years agoAdd tmpdns.powerdns.com to secpoll NSSet 8026/head
Pieter Lexis [Thu, 4 Jul 2019 20:47:11 +0000 (22:47 +0200)] 
Add tmpdns.powerdns.com to secpoll NSSet

7 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()

7 years agodnsdist: Be a bit more explicit about what failed in testCrypto() 8025/head
Remi Gacogne [Thu, 4 Jul 2019 11:43:11 +0000 (13:43 +0200)] 
dnsdist: Be a bit more explicit about what failed in testCrypto()

7 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()

7 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

7 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>

7 years agodnsname: unbreak el6 build by explicitly including <cinttypes> 8023/head
Peter van Dijk [Thu, 4 Jul 2019 08:58:18 +0000 (10:58 +0200)] 
dnsname: unbreak el6 build by explicitly including <cinttypes>

7 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

7 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

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

7 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

7 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

7 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

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

7 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

7 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()`

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

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

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

7 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()`

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 years agoAnd a sweep of .hh files for stringerror(errno) -> stringerror()
Otto Moerbeek [Mon, 1 Jul 2019 08:07:41 +0000 (10:07 +0200)] 
And a sweep of .hh files for stringerror(errno) -> stringerror()
Plus zap some redundant string conversions.

7 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.

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

7 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

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

7 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).

7 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

7 years agoRemaining strerror(errno) -> stringerror() conversions
Otto Moerbeek [Fri, 28 Jun 2019 14:58:20 +0000 (16:58 +0200)] 
Remaining strerror(errno) -> stringerror() conversions

7 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

7 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

7 years agoauth: Fix the accounting of servfail-queries in the distributor 7999/head
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.

7 years agoauth: Fix a leak on 'Backend reported permanent error which prevented lookup' error 8006/head
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

7 years agoauth: Fix a memory leak when sqlite3_exec() fails 7998/head
Remi Gacogne [Fri, 28 Jun 2019 12:08:10 +0000 (14:08 +0200)] 
auth: Fix a memory leak when sqlite3_exec() fails

7 years agorec: Add tests for outgoing queries/ incoming responses export 7997/head
Remi Gacogne [Fri, 28 Jun 2019 09:47:59 +0000 (11:47 +0200)] 
rec: Add tests for outgoing queries/ incoming responses export

7 years agorec: Fix the export of only outgoing queries or incoming responses
Remi Gacogne [Fri, 28 Jun 2019 09:47:39 +0000 (11:47 +0200)] 
rec: Fix the export of only outgoing queries or incoming responses

7 years agoClear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind. 7996/head
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)] 
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.

7 years agoMerge pull request #7990 from omoerbeek/msgbuf-align
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

7 years agoFix indent. 7990/head
Otto Moerbeek [Fri, 28 Jun 2019 07:38:59 +0000 (09:38 +0200)] 
Fix indent.

7 years agoauth: allow SLAVE-RENOTIFY in API too 7984/head
Matti Hiljanen [Thu, 27 Jun 2019 11:09:52 +0000 (14:09 +0300)] 
auth: allow SLAVE-RENOTIFY in API too

7 years agoMerge pull request #7946 from rgacogne/doc-markup-fixes
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

7 years agoMerge pull request #7974 from rgacogne/ddist-tcp-short-writes
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

7 years agoMerge pull request #7978 from rgacogne/dnsdist-dot-error-msgs
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

7 years agoMerge pull request #7979 from rgacogne/ddist-tcp-backend-failure
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

7 years agoMerge pull request #7992 from pieterlexis/dnsdist-nmg-quiet
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

7 years agodnsdist: Keep the buffer's constness when passing it to write() 7974/head
Remi Gacogne [Wed, 26 Jun 2019 21:17:28 +0000 (23:17 +0200)] 
dnsdist: Keep the buffer's constness when passing it to write()

7 years agoMerge pull request #7985 from pieterlexis/dnsdist-smn-from-string
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

7 years agoMerge pull request #7947 from pieterlexis/secpoll-fix-0.0.0
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

7 years agotypo
Otto Moerbeek [Wed, 26 Jun 2019 15:28:17 +0000 (17:28 +0200)] 
typo

7 years agoAnother batch
Otto Moerbeek [Wed, 26 Jun 2019 14:55:19 +0000 (16:55 +0200)] 
Another batch

7 years agodnsdist: Update doc wording for `quiet` 7992/head
Pieter Lexis [Wed, 26 Jun 2019 14:53:10 +0000 (16:53 +0200)] 
dnsdist: Update doc wording for `quiet`

7 years agodnsdist: Add `quiet` parameter to NetmaskGroupRule
Pieter Lexis [Wed, 26 Jun 2019 14:35:23 +0000 (16:35 +0200)] 
dnsdist: Add `quiet` parameter to NetmaskGroupRule

7 years agodnsdist: Add tests for short reads and writes over TCP and DoT
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

7 years agoMerge remote-tracking branch 'origin/master' into errno-review
Otto Moerbeek [Wed, 26 Jun 2019 14:12:28 +0000 (16:12 +0200)] 
Merge remote-tracking branch 'origin/master' into errno-review

7 years agoComment on cmsgbuf_aligned in the proper place.
Otto Moerbeek [Wed, 26 Jun 2019 09:14:25 +0000 (11:14 +0200)] 
Comment on cmsgbuf_aligned in the proper place.

7 years agoExact string returned is lib dependent. So only check prefix. 7947/head
Otto Moerbeek [Wed, 26 Jun 2019 08:44:39 +0000 (10:44 +0200)] 
Exact string returned is lib dependent. So only check prefix.

7 years agoMerge branch 'msgbuf-align' of github.com:omoerbeek/pdns into msgbuf-align
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

7 years agoFixerror: flexible array member 'cmsghdr::__cmsg_data' not at end of 'struct MMReceiver'
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'

7 years agoauth: SLAVE-RENOTIFY zone metadata support
Matti Hiljanen [Tue, 25 Jun 2019 10:51:41 +0000 (13:51 +0300)] 
auth: SLAVE-RENOTIFY zone metadata support

7 years agotypo
Otto Moerbeek [Tue, 25 Jun 2019 14:04:43 +0000 (16:04 +0200)] 
typo

7 years agodoc: add a depreation warning to the SOA autocomplete settings 7918/head
Kees Monshouwer [Tue, 25 Jun 2019 14:02:42 +0000 (16:02 +0200)] 
doc: add a depreation warning to the SOA autocomplete settings

7 years agoSuffixMatchNode:add: Accept more types 7985/head
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.

7 years agoauth: bindbackend: use metadata for also-notifies as well 7989/head
Matti Hiljanen [Tue, 25 Jun 2019 13:18:00 +0000 (16:18 +0300)] 
auth: bindbackend: use metadata for also-notifies as well

7 years agoAlign cmsg aux data, as recommended by OpenBSD manpage.
Otto Moerbeek [Tue, 25 Jun 2019 12:27:00 +0000 (14:27 +0200)] 
Align cmsg aux data, as recommended by OpenBSD manpage.

7 years agoMerge pull request #7550 from Habbie/auth-web-bodysize
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

7 years agoMerge pull request #7910 from mind04/disable-packetcache
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

7 years agoAdd script for generating repo files. 7983/head
Erik Winkels [Tue, 25 Jun 2019 09:44:19 +0000 (11:44 +0200)] 
Add script for generating repo files.

This is mainly used for quickly testing new releases by starting up a Docker
container for each of our repositories.

7 years agoMerge pull request #7976 from mnordhoff/set-publish-cds-2-rebase
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

7 years agoMerge pull request #7966 from omoerbeek/rec-4.2.0-rc2-changelog
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.

7 years agoauth: make sure we really are using glibc 7980/head
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

7 years agodnsdist: Fix handling of backend connection failing over TCP 7979/head
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.

7 years agoMerge branch 'master' into set-publish-cds-2-rebase 7976/head
Matt Nordhoff [Mon, 24 Jun 2019 18:45:28 +0000 (18:45 +0000)] 
Merge branch 'master' into set-publish-cds-2-rebase

7 years agodnsdist: Return HTTP/403 for ACL drops instead of closing the conn 7917/head
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

7 years agodnsdist: Send better HTTP status codes, handle ACL drops earlier
Remi Gacogne [Wed, 12 Jun 2019 13:15:14 +0000 (15:15 +0200)] 
dnsdist: Send better HTTP status codes, handle ACL drops earlier

7 years agoMerge pull request #7911 from rgacogne/dnsdist-doh-server-header
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