]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 17 Sep 2019 15:05:31 +0000 (17:05 +0200)]
Fix out-of-bound access for zero length "serialized" string.
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
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 )
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
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
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 )
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
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 )
Pieter Lexis [Wed, 20 Nov 2019 14:09:00 +0000 (15:09 +0100)]
YAHTTP: Accept headers without spaces
(cherry picked from commit
48180b07ee949a9ddda1063815ce1da403d63e8a )
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
Peter van Dijk [Fri, 22 Nov 2019 13:09:03 +0000 (14:09 +0100)]
manual backport of #8301
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
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
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
Kees Monshouwer [Thu, 21 Nov 2019 23:05:25 +0000 (00:05 +0100)]
auth: lmdbbackend sync with
780ae3f
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
Kees Monshouwer [Thu, 31 Oct 2019 12:12:44 +0000 (13:12 +0100)]
auth: api: do not run soaedit or rectify for disabled zones
Kees Monshouwer [Thu, 31 Oct 2019 09:32:44 +0000 (10:32 +0100)]
auth: api: patchZone() was ignoring the default-api-rectify setting
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.
Kees Monshouwer [Wed, 23 Oct 2019 12:47:45 +0000 (14:47 +0200)]
auth: api: avoid a large number of new database connections
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
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
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
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
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
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 )
Peter van Dijk [Wed, 30 Oct 2019 12:56:51 +0000 (13:56 +0100)]
improve code readability
(cherry picked from commit
85caeb97256121f58b34fcfaff5dea986050da35 )
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 )
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 )
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
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
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 )
Matti Hiljanen [Tue, 25 Jun 2019 10:51:41 +0000 (13:51 +0300)]
auth: SLAVE-RENOTIFY zone metadata support
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 )
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 )
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 )
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 )
Peter van Dijk [Tue, 5 Nov 2019 09:32:48 +0000 (10:32 +0100)]
add test for dnssec=false
(cherry picked from commit
80e9a5179e8e944af46c48048449c0698b3fc9b0 )
Peter van Dijk [Tue, 5 Nov 2019 09:23:12 +0000 (10:23 +0100)]
document /zones dnssec parameter
(cherry picked from commit
4a3ce69b9c530abb5e73a256867ca446c6cf453b )
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 )
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 )
Peter van Dijk [Wed, 30 Oct 2019 12:39:43 +0000 (13:39 +0100)]
document INCEPTION-EPOCH exception
(cherry picked from commit
98d7e4c8416732e72be3cec1bf529ca42d99dd1a )
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 )
Peter van Dijk [Tue, 10 Sep 2019 10:46:58 +0000 (12:46 +0200)]
add clarifying comment
(cherry picked from commit
38bc3466bc550a66b0df0cd995d80375e7bccdc5 )
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
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 )
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
Otto Moerbeek [Wed, 23 Oct 2019 08:50:33 +0000 (10:50 +0200)]
Basic validation of $GENERATE parameters
(cherry picked from commit
775a673a1798d01e5e259a00cff7a757f5350f40 )
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
Pieter Lexis [Thu, 10 Oct 2019 12:03:21 +0000 (14:03 +0200)]
Add CentOS 8 as builder target
(cherry picked from commit
19293f266cf7bb719bd6975b3e06994f49e0e583 )
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
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
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
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 )
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
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
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
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 )
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
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 )
Pieter Lexis [Wed, 17 Jul 2019 14:50:46 +0000 (16:50 +0200)]
Update boost.m4 to serial 30
(cherry picked from commit
1b88fc23226902839a58f7627a02134e48b53622 )
Pieter Lexis [Wed, 19 Jun 2019 11:35:49 +0000 (13:35 +0200)]
Update boost.m4
(cherry picked from commit
d7a2a52fbf76361a33d73ce1b0e394882ee4a17f )
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 )
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 )
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 )
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
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 )
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
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
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
Peter van Dijk [Fri, 26 Jul 2019 17:10:49 +0000 (19:10 +0200)]
auth lmdb: add schema versioning
(cherry picked from commit
370ae1cd4cd8869e2ba6d6525ac2dd6da5127b78 )
Peter van Dijk [Wed, 31 Jul 2019 14:57:03 +0000 (16:57 +0200)]
remotebackend pipeconnector: stop using select()
(cherry picked from commit
24cc241457124f986e6ab35f2530c8b633408c9c )
Peter van Dijk [Wed, 31 Jul 2019 13:59:54 +0000 (15:59 +0200)]
pipebackend coprocess: stop using select()
(cherry picked from commit
445ec75038e068e5bb1afc8ebe43f7ea1e104a54 )
Chris Hofstaedtler [Sun, 28 Jul 2019 20:38:41 +0000 (22:38 +0200)]
ext/ipcrypt: Ship LICENSE in tarballs
(cherry picked from commit
ca80aa424b89b43cbc3ce11e6f5be5a901c3e2d7 )
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
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
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
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
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 )
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 )
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 )
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
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 )
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
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 )
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
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%
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()
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
Kees Monshouwer [Tue, 9 Jul 2019 19:53:05 +0000 (21:53 +0200)]
auth: prevent new database connections while sending notifies
Kees Monshouwer [Tue, 9 Jul 2019 18:36:48 +0000 (20:36 +0200)]
auth: send notifies only to the nameservers in the zone
Kees Monshouwer [Tue, 9 Jul 2019 16:07:25 +0000 (18:07 +0200)]
auth: make sure the RRSIG freshness check is using the right zone
Kees Monshouwer [Tue, 9 Jul 2019 14:59:42 +0000 (16:59 +0200)]
auth: api, look for pre-existing RRsets in the right zone
Kees Monshouwer [Sat, 6 Jul 2019 20:58:41 +0000 (22:58 +0200)]
auth: prevent the chopOff() loop in lookup(), for SOA queries
without an id, in bind and lmdb backend.
Peter van Dijk [Wed, 17 Jul 2019 13:11:02 +0000 (15:11 +0200)]
Merge pull request #8068 from Habbie/backport-8053-to-auth-4.2.x
pdnsutil: remove unused humanTime function
Peter van Dijk [Fri, 12 Jul 2019 12:52:22 +0000 (14:52 +0200)]
builder: add raspbian-buster target
(cherry picked from commit
cc1a371a2422cac77a90d6a0debbcfe6cadea84a )
Peter van Dijk [Sat, 13 Jul 2019 18:39:50 +0000 (20:39 +0200)]
Merge pull request #8072 from Habbie/auth-4.2.x-lgtm
only LGTM auth on this branch
Peter van Dijk [Fri, 12 Jul 2019 11:04:42 +0000 (13:04 +0200)]
only LGTM auth on this branch
Peter van Dijk [Wed, 10 Jul 2019 10:36:56 +0000 (12:36 +0200)]
pdnsutil: remove unused humanTime function
(cherry picked from commit
85cc3e43d48ac08e23402c46938d3ee92cef3bca )
Peter van Dijk [Thu, 11 Jul 2019 23:20:20 +0000 (01:20 +0200)]
Merge pull request #8056 from Habbie/backport-7999-to-auth-4.2.x
auth 4.2.x: Fix the accounting of servfail-queries in the distributor