]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoAllow all connections to the PG server in Circle CI 8834/head
Remi Gacogne [Mon, 17 Feb 2020 14:11:29 +0000 (15:11 +0100)] 
Allow all connections to the PG server in Circle CI

(cherry picked from commit fed8314d910dbd61f3f3abfbf51f8a316b93001c)

4 years agoMerge pull request #8736 from Habbie/auth-4.2.x-backport-8713
Peter van Dijk [Fri, 14 Feb 2020 21:59:27 +0000 (22:59 +0100)] 
Merge pull request #8736 from Habbie/auth-4.2.x-backport-8713

auth-4.2.x: Enforce a strict maximum size for the packet and records caches

4 years agoauth: Enforce a strict maximum size for the packet and records caches 8736/head
Remi Gacogne [Fri, 17 Jan 2020 13:56:27 +0000 (14:56 +0100)] 
auth: Enforce a strict maximum size for the packet and records caches

Before this change, both the query and packet caches in the authoritative
server can exceed their maximum size by a lot, until the next cleaning
cycle.
This is particularly nasty since the current cleaning algorithm will
never remove entries from the cache until they expire, as opposed to
what we do in the recursor, for example, where we nuke the least-recently
used entries, even if they are still valid, when the cache is full.
This commit changes that by removing the least recently inserted or
updated entry from the cache after inserting a new one when the cache
is full, thus enforcing the maximum size more strictly.

Note that this is really the least recently inserted/updated and not
the least recently used one, as is done in the recursor. Having a
proper LRU in the auth would require acquering a write lock for a
simple lookup, instead of a potentially concurrent read-lock at the
moment. We might want to consider changing that at some point, as
a LRU might be fairer and the lock contention might be very small
since the caches are sharded.

(cherry picked from commit d2814f81c77709d628a3fc036aff96ccc8a74c64)

4 years agoAvoid having to use numbered indexes by given all indexes a tag
Otto Moerbeek [Mon, 25 Nov 2019 11:49:41 +0000 (12:49 +0100)] 
Avoid having to use numbered indexes by given all indexes a tag
and specifying them in the call if needed.

(cherry picked from commit 94306029ae0d112d931e38780591297ec0635423)
(changes in rec skipped)

4 years agoMerge pull request #8817 from Habbie/backport-8737-to-auth-4.2.x
Peter van Dijk [Fri, 14 Feb 2020 19:24:34 +0000 (20:24 +0100)] 
Merge pull request #8817 from Habbie/backport-8737-to-auth-4.2.x

auth-4.2.x: avoid 'git show -s' from starting a pager in CircleCI

4 years agobackport of #8737: avoid 'git show -s' from starting a pager in CircleCI 8817/head
Peter van Dijk [Wed, 12 Feb 2020 20:22:33 +0000 (21:22 +0100)] 
backport of #8737: avoid 'git show -s' from starting a pager in CircleCI

4 years agoMerge pull request #8786 from Habbie/backport-8784-to-auth-4.2.x
Peter van Dijk [Wed, 12 Feb 2020 20:07:57 +0000 (21:07 +0100)] 
Merge pull request #8786 from Habbie/backport-8784-to-auth-4.2.x

auth 4.2.x api: add includerings option to statistics endpoint

4 years agoauth api: add includerings option to statistics endpoint 8786/head
Peter van Dijk [Wed, 5 Feb 2020 16:19:05 +0000 (17:19 +0100)] 
auth api: add includerings option to statistics endpoint

(cherry picked from commit c65b5e12832ac38259f215f084a33b214b117fa8)

4 years agoMerge pull request #8612 from mind04/pdns-42-unserialize
Peter van Dijk [Mon, 9 Dec 2019 11:44:08 +0000 (12:44 +0100)] 
Merge pull request #8612 from mind04/pdns-42-unserialize

Backport fix out-of-bound access for zero length "serialized" string.

4 years agoFix out-of-bound access for zero length "serialized" string. 8612/head
Otto Moerbeek [Tue, 17 Sep 2019 15:05:31 +0000 (17:05 +0200)] 
Fix out-of-bound access for zero length "serialized" string.

4 years agoMerge pull request #8602 from Habbie/backport-8350-to-auth-4.2.x
Peter van Dijk [Thu, 5 Dec 2019 09:58:00 +0000 (10:58 +0100)] 
Merge pull request #8602 from Habbie/backport-8350-to-auth-4.2.x

auth 4.2x: bind backend: pthread_mutex_t should be inited and destroyed and not be copied

4 years agobind backend: pthread_mutex_t should be inited and destroyed and not be copied 8602/head
Otto Moerbeek [Fri, 27 Sep 2019 12:40:24 +0000 (14:40 +0200)] 
bind backend: pthread_mutex_t should be inited and destroyed and not be copied

To make our live easier, use a native C++ mutex.
Fixes #8161

(cherry picked from commit 7fff09acbd57c41b28d6dfba7a55e561167ace1a)

4 years agoMerge pull request #8578 from Habbie/backport-8577-to-auth-4.2.x
Peter van Dijk [Tue, 3 Dec 2019 09:24:49 +0000 (10:24 +0100)] 
Merge pull request #8578 from Habbie/backport-8577-to-auth-4.2.x

auth 4.2.x: root zone tests: do not ask the internet about domain.net

4 years agoMerge pull request #8589 from Habbie/backport-8575-to-auth-4.2.x auth-4.2.1
Peter van Dijk [Thu, 28 Nov 2019 11:44:50 +0000 (12:44 +0100)] 
Merge pull request #8589 from Habbie/backport-8575-to-auth-4.2.x

auth-4.2.x: LUA view: do not crash on empty IP list, fixes #8572

4 years agoLUA view: do not crash on empty IP list, fixes #8572 8589/head
Peter van Dijk [Mon, 25 Nov 2019 12:05:22 +0000 (13:05 +0100)] 
LUA view: do not crash on empty IP list, fixes #8572

(cherry picked from commit 28beeb0f76f2ba0dcea0def88fe46dbce51d06eb)

4 years agoMerge pull request #8576 from pieterlexis/backport-8562-to-auth-4.2.x
Peter van Dijk [Mon, 25 Nov 2019 18:56:31 +0000 (19:56 +0100)] 
Merge pull request #8576 from pieterlexis/backport-8562-to-auth-4.2.x

auth 4.2.x: YAHTTP: Accept headers without spaces

4 years agoauth root zone tests: do not ask the internet about domain.net 8578/head
Peter van Dijk [Mon, 25 Nov 2019 14:44:27 +0000 (15:44 +0100)] 
auth root zone tests: do not ask the internet about domain.net

(cherry picked from commit 2631b61dfb888934a28212230b32a2dbbcb2a2f0)

4 years agoYAHTTP: Accept headers without spaces 8576/head
Pieter Lexis [Wed, 20 Nov 2019 14:09:00 +0000 (15:09 +0100)] 
YAHTTP: Accept headers without spaces

(cherry picked from commit 48180b07ee949a9ddda1063815ce1da403d63e8a)

4 years agoMerge pull request #8570 from Habbie/backport-8301-to-auth-4.2.x
Peter van Dijk [Fri, 22 Nov 2019 15:05:46 +0000 (16:05 +0100)] 
Merge pull request #8570 from Habbie/backport-8301-to-auth-4.2.x

auth-4.2.x: on luaSynth exception, drain db output

4 years agomanual backport of #8301 8570/head
Peter van Dijk [Fri, 22 Nov 2019 13:09:03 +0000 (14:09 +0100)] 
manual backport of #8301

4 years agoMerge pull request #8568 from mind04/pdns-lmdb-backport
Peter van Dijk [Fri, 22 Nov 2019 09:36:42 +0000 (10:36 +0100)] 
Merge pull request #8568 from mind04/pdns-lmdb-backport

Backport lmdb backend from 780ae3f to 4.2.x

4 years agoauth api: after a db lookup, always finish the get cycle 8568/head
Peter van Dijk [Fri, 15 Nov 2019 14:29:51 +0000 (15:29 +0100)] 
auth api: after a db lookup, always finish the get cycle

4 years agopdnsutil add/replace record: do not end transaction before we are done with it
Peter van Dijk [Fri, 15 Nov 2019 12:01:24 +0000 (13:01 +0100)] 
pdnsutil add/replace record: do not end transaction before we are done with it

4 years agoauth: lmdbbackend sync with 780ae3f
Kees Monshouwer [Thu, 21 Nov 2019 23:05:25 +0000 (00:05 +0100)] 
auth: lmdbbackend sync with 780ae3f

4 years agoMerge pull request #8503 from mind04/pdns-42-api
Peter van Dijk [Thu, 21 Nov 2019 14:37:41 +0000 (15:37 +0100)] 
Merge pull request #8503 from mind04/pdns-42-api

Backport #8457 and #8497

4 years agoauth: api: do not run soaedit or rectify for disabled zones 8503/head
Kees Monshouwer [Thu, 31 Oct 2019 12:12:44 +0000 (13:12 +0100)] 
auth: api: do not run soaedit or rectify for disabled zones

4 years agoauth: api: patchZone() was ignoring the default-api-rectify setting
Kees Monshouwer [Thu, 31 Oct 2019 09:32:44 +0000 (10:32 +0100)] 
auth: api: patchZone() was ignoring the default-api-rectify setting

4 years agoauth: api: purge the entire zone from the cache after a patch operation.
Kees Monshouwer [Thu, 31 Oct 2019 08:13:39 +0000 (09:13 +0100)] 
auth: api: purge the entire zone from the cache after a patch operation.

4 years agoauth: api: avoid a large number of new database connections
Kees Monshouwer [Wed, 23 Oct 2019 12:47:45 +0000 (14:47 +0200)] 
auth: api: avoid a large number of new database connections

4 years agoMerge pull request #8546 from Habbie/backport-8095-to-auth-4.2.x
Peter van Dijk [Thu, 21 Nov 2019 08:15:15 +0000 (09:15 +0100)] 
Merge pull request #8546 from Habbie/backport-8095-to-auth-4.2.x

auth 4.2.x: register a few known types and remove an unknown one

4 years agoMerge pull request #8549 from Habbie/backport-7984-to-auth-4.2.x
Peter van Dijk [Thu, 21 Nov 2019 08:14:01 +0000 (09:14 +0100)] 
Merge pull request #8549 from Habbie/backport-7984-to-auth-4.2.x

auth 4.2.x: Add SLAVE-RENOTIFY zone metadata support

4 years agoMerge pull request #8507 from Habbie/backport-8235-to-auth-4.2.x
Peter van Dijk [Thu, 21 Nov 2019 08:12:39 +0000 (09:12 +0100)] 
Merge pull request #8507 from Habbie/backport-8235-to-auth-4.2.x

auth-4.2.x: rfc2136, pdnsutil: somewhat improve duplicate record handling

4 years agoMerge pull request #8548 from Habbie/backport-7989-to-auth-4.2.x
Peter van Dijk [Wed, 20 Nov 2019 20:48:44 +0000 (21:48 +0100)] 
Merge pull request #8548 from Habbie/backport-7989-to-auth-4.2.x

auth 4.2.x: bindbackend: use metadata for also-notifies as well

4 years agoMerge pull request #8508 from Habbie/backport-8289-to-auth-4.2.x
Peter van Dijk [Wed, 20 Nov 2019 20:45:16 +0000 (21:45 +0100)] 
Merge pull request #8508 from Habbie/backport-8289-to-auth-4.2.x

auth-4.2.x: pdnsutil increase-serial: under SOA-EDIT=INCEPTION-EPOCH, bump as if it is EPOCH

4 years agocasemix test: ignore SOA content because it changes every day 8507/head
Peter van Dijk [Wed, 30 Oct 2019 14:11:58 +0000 (15:11 +0100)] 
casemix test: ignore SOA content because it changes every day

(cherry picked from commit 1a171faaeb0a2a60aed5198d00344585740c98b4)

4 years agoimprove code readability
Peter van Dijk [Wed, 30 Oct 2019 12:56:51 +0000 (13:56 +0100)] 
improve code readability

(cherry picked from commit 85caeb97256121f58b34fcfaff5dea986050da35)

4 years agorfc2136: ignore case when checking PTR/MX/SRV content for duplicates
Peter van Dijk [Tue, 27 Aug 2019 18:39:38 +0000 (20:39 +0200)] 
rfc2136: ignore case when checking PTR/MX/SRV content for duplicates

(cherry picked from commit bcdf6537ea957f2928e5cfc929cee9ecb1c7146e)

4 years agopdnsutil: don't lowercase TXT in comparisons
Peter van Dijk [Tue, 27 Aug 2019 18:36:13 +0000 (20:36 +0200)] 
pdnsutil: don't lowercase TXT in comparisons

(cherry picked from commit d9b0dad4fe3c5eecf32e383e314118d08fdac27c)

4 years agoMerge pull request #8547 from Habbie/backport-8271-to-auth-4.2.x
Peter van Dijk [Tue, 19 Nov 2019 09:37:36 +0000 (10:37 +0100)] 
Merge pull request #8547 from Habbie/backport-8271-to-auth-4.2.x

auth 4.2.x: add configurable timeout for inbound AXFR

4 years agoMerge pull request #8541 from Habbie/backport-4628-to-auth-4.2.x
Peter van Dijk [Tue, 19 Nov 2019 09:32:50 +0000 (10:32 +0100)] 
Merge pull request #8541 from Habbie/backport-4628-to-auth-4.2.x

auth 4.2.x: API: do not return dnssec info in domain list

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

(cherry picked from commit c750c26ee83867250fd24b1184898a321e55347b)

4 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

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

(cherry picked from commit 97ed14cd4efebd044ae824aac73fdc76aa6b9ed6)

4 years agoauth: add configurable timeout for inbound AXFR 8547/head
Matti Hiljanen [Tue, 3 Sep 2019 13:10:04 +0000 (16:10 +0300)] 
auth: add configurable timeout for inbound AXFR

(cherry picked from commit e3619f5766c37598579fd6d8d58d7160d31db34f)

4 years agoauth: register a few known types and remove an unknown one 8546/head
Kees Monshouwer [Thu, 7 Feb 2019 13:52:59 +0000 (14:52 +0100)] 
auth: register a few known types and remove an unknown one

(cherry picked from commit fa23972a8cadfd648ae75c0a47f7a514b30293c8)

4 years agodon't apply /zones dnssec=false test to recursor 8541/head
Peter van Dijk [Tue, 5 Nov 2019 09:37:07 +0000 (10:37 +0100)] 
don't apply /zones dnssec=false test to recursor

(cherry picked from commit a25bc5e9110261443978c60798c11755cf0de0d9)

4 years agoadd test for dnssec=false
Peter van Dijk [Tue, 5 Nov 2019 09:32:48 +0000 (10:32 +0100)] 
add test for dnssec=false

(cherry picked from commit 80e9a5179e8e944af46c48048449c0698b3fc9b0)

4 years agodocument /zones dnssec parameter
Peter van Dijk [Tue, 5 Nov 2019 09:23:12 +0000 (10:23 +0100)] 
document /zones dnssec parameter

(cherry picked from commit 4a3ce69b9c530abb5e73a256867ca446c6cf453b)

4 years agoSupport optional ?dnssec=false flag on listing zones
Chris Hofstaedtler [Sun, 13 Oct 2019 19:06:45 +0000 (21:06 +0200)] 
Support optional ?dnssec=false flag on listing zones

Defaults to true, so the behaviour is unchanged in 4.x.

(cherry picked from commit 07a32d18e7df4cdfa43e88e774f3123415ddff35)

4 years agoAPI: do not return dnssec info in domain list
Chris Hofstaedtler [Fri, 5 Oct 2018 11:29:29 +0000 (13:29 +0200)] 
API: do not return dnssec info in domain list

(cherry picked from commit 0ce25a64688b83ef636e0dc8d87453596c55e9e7)

4 years agodocument INCEPTION-EPOCH exception 8508/head
Peter van Dijk [Wed, 30 Oct 2019 12:39:43 +0000 (13:39 +0100)] 
document INCEPTION-EPOCH exception

(cherry picked from commit 98d7e4c8416732e72be3cec1bf529ca42d99dd1a)

4 years agopdnsutil increase-serial: under SOA-EDIT=INCEPTION-EPOCH, bump as if it is EPOCH...
Peter van Dijk [Tue, 10 Sep 2019 10:53:29 +0000 (12:53 +0200)] 
pdnsutil increase-serial: under SOA-EDIT=INCEPTION-EPOCH, bump as if it is EPOCH, fixes #8218

(cherry picked from commit 865d5504f6cf1aeb317765f15d0fc3cfe0ca76df)

4 years agoadd clarifying comment
Peter van Dijk [Tue, 10 Sep 2019 10:46:58 +0000 (12:46 +0200)] 
add clarifying comment

(cherry picked from commit 38bc3466bc550a66b0df0cd995d80375e7bccdc5)

4 years agoMerge pull request #8501 from Habbie/backport-8445-to-auth-4.2.x
Peter van Dijk [Mon, 18 Nov 2019 10:05:43 +0000 (11:05 +0100)] 
Merge pull request #8501 from Habbie/backport-8445-to-auth-4.2.x

auth 4.2.x: ds-at-apex-noerror test: do not run unbound-host

4 years agoauth ds-at-apex-noerror test: do not run unbound-host 8501/head
Peter van Dijk [Mon, 21 Oct 2019 22:41:31 +0000 (00:41 +0200)] 
auth ds-at-apex-noerror test: do not run unbound-host

(cherry picked from commit bfc7b0274b157803ed572f4e7dbd0bd690b25647)

4 years agoMerge pull request #8454 from omoerbeek/backport-8451-to-auth-4.2.x
Pieter Lexis [Fri, 25 Oct 2019 07:08:17 +0000 (09:08 +0200)] 
Merge pull request #8454 from omoerbeek/backport-8451-to-auth-4.2.x

auth: Backport 8451 to auth 4.2.x: Basic validation of $GENERATE parameters

4 years agoBasic validation of $GENERATE parameters 8453/head 8454/head
Otto Moerbeek [Wed, 23 Oct 2019 08:50:33 +0000 (10:50 +0200)] 
Basic validation of $GENERATE parameters

(cherry picked from commit 775a673a1798d01e5e259a00cff7a757f5350f40)

4 years agoMerge pull request #8428 from pieterlexis/backport-8400
Peter van Dijk [Thu, 17 Oct 2019 19:37:31 +0000 (21:37 +0200)] 
Merge pull request #8428 from pieterlexis/backport-8400

Auth 42: Add CentOS 8 as builder target

4 years agoAdd CentOS 8 as builder target 8428/head
Pieter Lexis [Thu, 10 Oct 2019 12:03:21 +0000 (14:03 +0200)] 
Add CentOS 8 as builder target

(cherry picked from commit 19293f266cf7bb719bd6975b3e06994f49e0e583)

4 years agoMerge pull request #8341 from mind04/pdns-mysql-ssl-42
Peter van Dijk [Tue, 24 Sep 2019 08:53:45 +0000 (10:53 +0200)] 
Merge pull request #8341 from mind04/pdns-mysql-ssl-42

auth: backport of #8328

4 years agoauth: gmysql backend, add an option to send the SSL capability flag to the server 8341/head
Kees Monshouwer [Wed, 28 Aug 2019 10:07:02 +0000 (12:07 +0200)] 
auth: gmysql backend, add an option to send the SSL capability flag to the server

4 years agoMerge pull request #8229 from Habbie/backport-8219-to-auth-4.2.x auth-4.2.0
Peter van Dijk [Tue, 27 Aug 2019 13:34:17 +0000 (15:34 +0200)] 
Merge pull request #8229 from Habbie/backport-8219-to-auth-4.2.x

auth backport: bind getAllDomains: ignore per-zone exceptions

4 years agobind getAllDomains: ignore per-zone exceptions 8229/head
Peter van Dijk [Tue, 20 Aug 2019 08:42:23 +0000 (10:42 +0200)] 
bind getAllDomains: ignore per-zone exceptions

(cherry picked from commit 4d6afd412afd1999fba810ab2b2dabbbf3eb9258)

4 years agoMerge pull request #8168 from Habbie/backport-8071-to-auth-4.2.x auth-4.2.0-rc3
Peter van Dijk [Wed, 7 Aug 2019 22:59:20 +0000 (00:59 +0200)] 
Merge pull request #8168 from Habbie/backport-8071-to-auth-4.2.x

auth 4.2.x: packethandler: Compare TSIG key name using DNSName

4 years agoMerge pull request #8172 from Habbie/backport-7951-to-auth-4.2.x
Peter van Dijk [Wed, 7 Aug 2019 22:58:34 +0000 (00:58 +0200)] 
Merge pull request #8172 from Habbie/backport-7951-to-auth-4.2.x

auth-4.2.x: update boost.m4

4 years agoMerge pull request #8173 from Habbie/backport-8081-to-auth-4.2.x
Peter van Dijk [Wed, 7 Aug 2019 22:58:13 +0000 (00:58 +0200)] 
Merge pull request #8173 from Habbie/backport-8081-to-auth-4.2.x

auth-4.2.x: m4/systemd.m4: Fail when systemctl is not available

4 years agom4/systemd.m4: Fail when systemctl is not available 8173/head
Pieter Lexis [Mon, 15 Jul 2019 18:15:24 +0000 (20:15 +0200)] 
m4/systemd.m4: Fail when systemctl is not available

We use systemctl to determine the version as to find out what features
to enable in the unit file.

(cherry picked from commit 1f988403108ef7454006fcd995574d89f83aef7f)

4 years agoMerge pull request #8169 from Habbie/backport-8067-to-auth-4.2.x
Peter van Dijk [Wed, 7 Aug 2019 13:52:39 +0000 (15:52 +0200)] 
Merge pull request #8169 from Habbie/backport-8067-to-auth-4.2.x

auth-4.2.x:  Make sure we always compile with BOOST_CB_ENABLE_DEBUG set to 0

4 years agoUse the boost.m4 boost::context detection 8172/head
Pieter Lexis [Wed, 17 Jul 2019 15:03:15 +0000 (17:03 +0200)] 
Use the boost.m4 boost::context detection

(cherry picked from commit 4c75f0296b691362cc8e706a83a21460269e0ef7)

4 years agoUpdate boost.m4 to serial 30
Pieter Lexis [Wed, 17 Jul 2019 14:50:46 +0000 (16:50 +0200)] 
Update boost.m4 to serial 30

(cherry picked from commit 1b88fc23226902839a58f7627a02134e48b53622)

4 years agoUpdate boost.m4
Pieter Lexis [Wed, 19 Jun 2019 11:35:49 +0000 (13:35 +0200)] 
Update boost.m4

(cherry picked from commit d7a2a52fbf76361a33d73ce1b0e394882ee4a17f)

4 years agoBOOST_CB_ENABLE_DEBUG is overridden before 1.62, set BOOST_CB_DISABLE_DEBUG instead 8169/head
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

(cherry picked from commit 7fa225c362a6e009775a1978d54adfe383b29ab8)

4 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

(cherry picked from commit 9f6a31fffe1f4bd77fd402f997a5f37a58f72fc5)

4 years agopackethandler: Compare TSIG key name using DNSName 8168/head
Aki Tuomi [Fri, 12 Jul 2019 09:34:45 +0000 (12:34 +0300)] 
packethandler: Compare TSIG key name using DNSName

Fixes #8070

(cherry picked from commit 6da24c839a957f0f9866d8025a6bf35256b2e451)

4 years agoMerge pull request #8166 from Habbie/backport-8164-to-auth-4.2.x
Peter van Dijk [Wed, 7 Aug 2019 08:14:29 +0000 (10:14 +0200)] 
Merge pull request #8166 from Habbie/backport-8164-to-auth-4.2.x

auth 4.2.x: pdnsutil increase-serial: set right ordername

4 years agopdnsutil increase-serial: set right ordername 8166/head
Peter van Dijk [Tue, 6 Aug 2019 09:12:05 +0000 (11:12 +0200)] 
pdnsutil increase-serial: set right ordername

(cherry picked from commit 970badd2b07b50e6103570f0ed91a834ac40cb15)

4 years agoMerge pull request #8163 from Habbie/backport-8149-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:47:40 +0000 (16:47 +0200)] 
Merge pull request #8163 from Habbie/backport-8149-to-auth-4.2.x

auth 4.2.x: stop using select() in places where FDs can be >1023

4 years agoMerge pull request #8138 from Habbie/backport-8135-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:34:13 +0000 (16:34 +0200)] 
Merge pull request #8138 from Habbie/backport-8135-to-auth-4.2.x

auth-4.2.x: ext/ipcrypt: Ship LICENSE in tarballs

4 years agoMerge pull request #8165 from Habbie/backport-8129-to-auth-4.2.x
Peter van Dijk [Tue, 6 Aug 2019 14:32:43 +0000 (16:32 +0200)] 
Merge pull request #8165 from Habbie/backport-8129-to-auth-4.2.x

auth 4.2.x lmdb: add schema versioning

4 years agoauth lmdb: add schema versioning 8165/head
Peter van Dijk [Fri, 26 Jul 2019 17:10:49 +0000 (19:10 +0200)] 
auth lmdb: add schema versioning

(cherry picked from commit 370ae1cd4cd8869e2ba6d6525ac2dd6da5127b78)

4 years agoremotebackend pipeconnector: stop using select() 8163/head
Peter van Dijk [Wed, 31 Jul 2019 14:57:03 +0000 (16:57 +0200)] 
remotebackend pipeconnector: stop using select()

(cherry picked from commit 24cc241457124f986e6ab35f2530c8b633408c9c)

4 years agopipebackend coprocess: stop using select()
Peter van Dijk [Wed, 31 Jul 2019 13:59:54 +0000 (15:59 +0200)] 
pipebackend coprocess: stop using select()

(cherry picked from commit 445ec75038e068e5bb1afc8ebe43f7ea1e104a54)

4 years agoext/ipcrypt: Ship LICENSE in tarballs 8138/head
Chris Hofstaedtler [Sun, 28 Jul 2019 20:38:41 +0000 (22:38 +0200)] 
ext/ipcrypt: Ship LICENSE in tarballs

(cherry picked from commit ca80aa424b89b43cbc3ce11e6f5be5a901c3e2d7)

4 years agoMerge pull request #8085 from Habbie/backport-8075-to-auth-4.2.x
Peter van Dijk [Sun, 28 Jul 2019 21:39:35 +0000 (23:39 +0200)] 
Merge pull request #8085 from Habbie/backport-8075-to-auth-4.2.x

builder: add raspbian-buster target

4 years agoMerge pull request #8126 from Habbie/backport-8125-to-auth-4.2.x
Peter van Dijk [Sun, 28 Jul 2019 19:06:00 +0000 (21:06 +0200)] 
Merge pull request #8126 from Habbie/backport-8125-to-auth-4.2.x

backport: auth: add metric for open TCP connections

4 years agoMerge pull request #8058 from Habbie/backport-8054-to-auth-4.2.x
Peter van Dijk [Sat, 27 Jul 2019 21:48:01 +0000 (23:48 +0200)] 
Merge pull request #8058 from Habbie/backport-8054-to-auth-4.2.x

auth 4.2: Fix SERVFAIL when backend returns empty DNSName

4 years agoMerge pull request #8128 from Habbie/backport-8097-to-auth-4.2.x
Peter van Dijk [Fri, 26 Jul 2019 17:33:29 +0000 (19:33 +0200)] 
Merge pull request #8128 from Habbie/backport-8097-to-auth-4.2.x

auth 4.2: use BIGINT for notified_serial in pg schema

4 years agomake test-schema exit(1) on failure; catch setNotified exception 8128/head
Peter van Dijk [Thu, 18 Jul 2019 18:36:10 +0000 (20:36 +0200)] 
make test-schema exit(1) on failure; catch setNotified exception

(cherry picked from commit 2b172ef99afcb661978b589ddc2ebaa930aae71d)

4 years agoadd notified_serial range test to pdnsutil test-schema
Peter van Dijk [Thu, 18 Jul 2019 15:35:35 +0000 (17:35 +0200)] 
add notified_serial range test to pdnsutil test-schema

(cherry picked from commit afdeeff28bfdcbed5ce6fb19190e94ba4b10ccbd)

4 years agouse BIGINT for notified_serial in pg schema; fixes #6815
Peter van Dijk [Wed, 17 Jul 2019 19:06:01 +0000 (21:06 +0200)] 
use BIGINT for notified_serial in pg schema; fixes #6815

(cherry picked from commit 1953ba21c91a8569250f72a3de0efe57eabd7482)

4 years agoMerge pull request #8092 from mind04/nochop-bp
Peter van Dijk [Thu, 25 Jul 2019 12:51:58 +0000 (14:51 +0200)] 
Merge pull request #8092 from mind04/nochop-bp

Auth: backport #8050

4 years agoauth: add metric for open TCP connections 8126/head
Peter van Dijk [Wed, 24 Jul 2019 16:48:33 +0000 (18:48 +0200)] 
auth: add metric for open TCP connections

(cherry picked from commit d322f9312dda0603b0c3bddaa4e2e124990f524e)

4 years agoMerge pull request #8099 from Habbie/backport-8093-to-auth-4.2.x
Peter van Dijk [Thu, 18 Jul 2019 22:48:54 +0000 (00:48 +0200)] 
Merge pull request #8099 from Habbie/backport-8093-to-auth-4.2.x

add whatis description to nproxy man page

4 years agoadd whatis description to nproxy man page 8099/head
Peter van Dijk [Wed, 17 Jul 2019 16:59:13 +0000 (18:59 +0200)] 
add whatis description to nproxy man page

(cherry picked from commit bc91fbab1a599671a9f05e332dd78afe6fe53851)

4 years agoauth: improve the handling of duplicate id's in bindbackend 8092/head
Kees Monshouwer [Mon, 15 Jul 2019 08:55:28 +0000 (10:55 +0200)] 
auth: improve the handling of duplicate id's in bindbackend
duplicate id's are not allowed in powerdns and will still result in undefined behavior

4 years agoauth: bind-backend, improve the domain_id check in lookup()
Kees Monshouwer [Mon, 16 Jan 2017 09:19:47 +0000 (10:19 +0100)] 
auth: bind-backend, improve the domain_id check in lookup()
zone_id was not checked for a root zone and finding the right zone for a specific zone_id was super slow
With this commit, the uncached output of bind backen will increase by approximately 10%

4 years agoauth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized...
Kees Monshouwer [Wed, 10 Jul 2019 10:16:31 +0000 (12:16 +0200)] 
auth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized in this function' warning
id was set in getOne()

4 years agoauth: pdnsutil show zone, make sure the DNSKEY is from the right zone
Kees Monshouwer [Tue, 9 Jul 2019 20:28:45 +0000 (22:28 +0200)] 
auth: pdnsutil show zone, make sure the DNSKEY is from the right zone

4 years agoauth: prevent new database connections while sending notifies
Kees Monshouwer [Tue, 9 Jul 2019 19:53:05 +0000 (21:53 +0200)] 
auth: prevent new database connections while sending notifies

4 years agoauth: send notifies only to the nameservers in the zone
Kees Monshouwer [Tue, 9 Jul 2019 18:36:48 +0000 (20:36 +0200)] 
auth: send notifies only to the nameservers in the zone