]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoMerge pull request #9943 from Habbie/backport-9831-to-auth-4.2.x rel/auth-4.2.x
Peter van Dijk [Tue, 12 Jan 2021 08:47:08 +0000 (09:47 +0100)] 
Merge pull request #9943 from Habbie/backport-9831-to-auth-4.2.x

auth-4.2.x el8: PowerTools is now powertools

3 years agoel8: PowerTools is now powertools 9943/head
Peter van Dijk [Mon, 11 Jan 2021 19:04:35 +0000 (20:04 +0100)] 
el8: PowerTools is now powertools

(cherry picked from commit 26fe120)

3 years agoMerge pull request #9499 from Habbie/auth-4.2.x-2020-05 auth-4.2.3
Peter van Dijk [Tue, 22 Sep 2020 07:30:30 +0000 (09:30 +0200)] 
Merge pull request #9499 from Habbie/auth-4.2.x-2020-05

auth-4.2.x: raise an exception on invalid content in unknown records

3 years agoRaise an exception on invalid first part (!= \#) in unknown records 9499/head
Remi Gacogne [Tue, 11 Aug 2020 12:07:32 +0000 (14:07 +0200)] 
Raise an exception on invalid first part (!= \#) in unknown records

3 years agoRaise an exception on invalid hex content in unknown records
Remi Gacogne [Tue, 11 Aug 2020 09:25:06 +0000 (11:25 +0200)] 
Raise an exception on invalid hex content in unknown records

Otherwise we can end up reading uninitialised memory from the stack,
possibly leaking information.
This is only an issue if the content is read from an untrusted source
and can be passed back to an attacker.

3 years agoMerge pull request #9191 from Habbie/auth-4.2.x-mydns-migrate
Peter van Dijk [Fri, 5 Jun 2020 13:22:34 +0000 (15:22 +0200)] 
Merge pull request #9191 from Habbie/auth-4.2.x-mydns-migrate

auth mydns: add SOA to list() output, fixes #9181

3 years agoinitialise variable 9191/head
Peter van Dijk [Fri, 5 Jun 2020 08:59:53 +0000 (10:59 +0200)] 
initialise variable

3 years agoUpdate modules/mydnsbackend/mydnsbackend.cc
Peter van Dijk [Wed, 3 Jun 2020 07:13:26 +0000 (09:13 +0200)] 
Update modules/mydnsbackend/mydnsbackend.cc

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
3 years agoauth mydns: add SOA to list() output, fixes #9181
Peter van Dijk [Tue, 2 Jun 2020 18:17:44 +0000 (20:17 +0200)] 
auth mydns: add SOA to list() output, fixes #9181

3 years agoMerge pull request #9149 from rgacogne/auth42-no-spellcheck
Remi Gacogne [Mon, 25 May 2020 14:22:18 +0000 (16:22 +0200)] 
Merge pull request #9149 from rgacogne/auth42-no-spellcheck

auth-4.2.x: Suppress PR based spell check

3 years agoSuppress PR based spell check 9149/head
Josh Soref [Tue, 19 May 2020 17:10:37 +0000 (13:10 -0400)] 
Suppress PR based spell check

(cherry picked from commit 16f3f8060ece690049dbf8059cf2f5a2bcc21bc2)

3 years agoMerge pull request #9038 from Habbie/backport-8640-to-auth-4.2.x
Peter van Dijk [Tue, 12 May 2020 15:26:49 +0000 (17:26 +0200)] 
Merge pull request #9038 from Habbie/backport-8640-to-auth-4.2.x

auth-4.2.x: Fix build with gcc-10

4 years agoFix build with gcc-10 9038/head
Sander Hoentjen [Mon, 16 Dec 2019 21:44:43 +0000 (22:44 +0100)] 
Fix build with gcc-10

From an e-mail from Jeff Law <law@redhat.com>:

Subject: Minor problem in pdns, dnsdist and pdns-recursor packages in Fedora

[ All three packages have embedded copies of the same problematic code
and the same patch fixes all three. ]

Red Hat's compiler team continues to try and be proactive in identifying
issues that will arise as a result of the introduction of a new GCC
release into Fedora each spring.

You're being contacted because a package you maintain in Fedora is going
to fail to build with gcc-10 in the spring.  Yes, I know that's a few
months away, but it's far easier to fix this stuff proactively now than
wait.

Fixing it now also means that your package will continue to be built
with testing versions of gcc-10 as we proceed through the development
process thus allowing additional issues to be caught early.

Your particular package will fail due to an uninstantiated template for
AsyncLoader<Request>.  These kinds of problems are relatively common due to
changes in the tuning of the inliner for gcc-10:

> BUILDSTDERR: /usr/bin/ld: webserver.o: in function `WebServer::serveConnection(std::shared_ptr<Socket>) const':
> BUILDSTDERR: /builddir/build/BUILD/pdns-4.2.1/pdns/webserver.cc:373: undefined reference to `YaHTTP::AsyncLoader<YaHTTP::Request>::feed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> BUILDSTDERR: collect2: error: ld returned 1 exit status
> BUILDSTDERR: make[3]: *** [Makefile:2751: ixfrdist] Error 1
>

The attached patch arranges for an instance to be instantiated when
compiling reqresp.cpp and is sufficient to fix this problem.  The
choice of reqresp.cpp fairly arbitrary IIRC.

Ideally you'll with upstream to get this fixed, but a Fedora patch is
clearly OK as well.   I'll install the attached fix into Fedora in a
week or so if I haven't heard from you.

Jeff

(cherry picked from commit ffb885e937c27bb1c62dee8f18c58ae0d5d52d39)

4 years agoMerge pull request #9010 from Habbie/backport-8628-to-auth-4.2.x auth-4.2.2
Peter van Dijk [Tue, 7 Apr 2020 12:36:10 +0000 (14:36 +0200)] 
Merge pull request #9010 from Habbie/backport-8628-to-auth-4.2.x

auth 4.2: make sure get() is always returning the default value for d_place

4 years agoauth: make sure get() is always returning the default value for d_place 9010/head
Kees Monshouwer [Thu, 12 Dec 2019 19:08:25 +0000 (20:08 +0100)] 
auth: make sure get() is always returning the default value for d_place

(cherry picked from commit 2ac9fd56ae88c90bf3c0b858cd1fb5b90e9f1f0b)

4 years agoMerge pull request #9003 from Habbie/backport-8924-to-auth-4.2.x
Peter van Dijk [Mon, 6 Apr 2020 11:37:12 +0000 (13:37 +0200)] 
Merge pull request #9003 from Habbie/backport-8924-to-auth-4.2.x

auth-4.2: make sure we look at 10% of all cached items during cleanup

4 years agoMerge pull request #9001 from Habbie/backport-8977-to-auth-4.2.x
Peter van Dijk [Mon, 6 Apr 2020 11:36:57 +0000 (13:36 +0200)] 
Merge pull request #9001 from Habbie/backport-8977-to-auth-4.2.x

auth 4.2: fix IXFR-in record duplication issue by avoiding the query cache

4 years agoauth: make sure we look at 10% of all cached items during cleanup 9003/head
Kees Monshouwer [Thu, 12 Mar 2020 18:17:19 +0000 (19:17 +0100)] 
auth: make sure we look at 10% of all cached items during cleanup

(cherry picked from commit 0859f17603dc68a0f1dfa8b0fe5112d833e61994)

4 years agofix IXFR-in record duplication issue by avoiding the query cache 9001/head
Peter van Dijk [Fri, 27 Mar 2020 13:00:43 +0000 (14:00 +0100)] 
fix IXFR-in record duplication issue by avoiding the query cache

(cherry picked from commit fce7ba570569aa6e9d5a21e0c4525a50b73789ef)

4 years agoMerge pull request #8834 from Habbie/backport-8833-to-auth-4.2.x
Remi Gacogne [Mon, 24 Feb 2020 09:59:36 +0000 (10:59 +0100)] 
Merge pull request #8834 from Habbie/backport-8833-to-auth-4.2.x

auth-4.2.x: Allow all connections to the PG server in Circle CI

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)