]>
granicus.if.org Git - pdns/log
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
Peter van Dijk [Thu, 11 Jul 2019 22:23:10 +0000 (00:23 +0200)]
Merge pull request #8057 from Habbie/auth-4.2-circleci-ixfrdist
auth 4.2.x: ixfrdist: test in CircleCI; remove useless error
Peter van Dijk [Thu, 11 Jul 2019 09:22:42 +0000 (11:22 +0200)]
Merge pull request #8064 from miesi/rel/auth-4.2.x
pdns/devpollmplexer: remove unused syncres.hh include
Thomas Mieslinger [Thu, 11 Jul 2019 09:16:13 +0000 (02:16 -0700)]
pdns/devpollmplexer: remove unused syncres.hh include
Mark Zealey [Wed, 10 Jul 2019 11:17:32 +0000 (14:17 +0300)]
Fix SERVFAIL when backend returns empty DNSName
According to the documentation on UeberBackend::getAuth(), a backend
returning an empty DNSName should signal that no matching parent zone
exists in this backend. However commit
ae14c1f36a raises an exception if
isPartOf() is called on an empty DNSName so we need to switch the order
of the logic to prevent a SERVFAIL as a result.
(cherry picked from commit
41147d678b30612d2431b59a898879368f1c4b06 )
Peter van Dijk [Wed, 10 Jul 2019 19:26:18 +0000 (21:26 +0200)]
backport #8049: ixfrdist: test in CircleCI; remove useless error
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.
(cherry picked from commit
5c293d1139b0a730c7193ff956b59eb3fc109fb7 )
Peter van Dijk [Wed, 10 Jul 2019 14:39:23 +0000 (16:39 +0200)]
Merge pull request #7975 from Habbie/auth-4.2.x-backports
Auth 4.2.x backports
Peter van Dijk [Wed, 10 Jul 2019 11:33:38 +0000 (13:33 +0200)]
Backport #8051
Peter van Dijk [Wed, 10 Jul 2019 08:01:25 +0000 (10:01 +0200)]
ixfrdist: limit XFR chunk size to 16k
(cherry picked from commit
a66a8f7171092733b7491b14c09d0e4fc5965006 )
Peter van Dijk [Wed, 10 Jul 2019 08:07:25 +0000 (10:07 +0200)]
Backport #8028
Peter van Dijk [Tue, 9 Jul 2019 09:27:18 +0000 (11:27 +0200)]
centralise constant
(cherry picked from commit
43f038d7d1931bf499d8b03435b99feecea4d170 )
Peter van Dijk [Mon, 8 Jul 2019 15:39:35 +0000 (17:39 +0200)]
actually honour the startRecord compress parameter
(cherry picked from commit
02e7763f2c7f4d2c9d7bab3a3319df1724065ef2 )
Peter van Dijk [Fri, 5 Jul 2019 09:46:25 +0000 (11:46 +0200)]
limit compression pointers to 14 bits
(cherry picked from commit
d26fa3154031ee9ece21f1d1b47faa5d177e34ef )
Peter van Dijk [Tue, 9 Jul 2019 09:10:07 +0000 (11:10 +0200)]
Backport #8037
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)
(cherry picked from commit
410f8bd398245ed12c5620f6eed62262729ac257 )
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 .
(cherry picked from commit
c079ae340c02a16f1b0128185bb0ceef1a09bd8b )
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 .
(cherry picked from commit
73428b7a2ff4824176bdcf1edd271d9888c3dd4d )
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 .
(cherry picked from commit
35b942fe32cee111a6dec5025ff06b27a58696b5 )
Peter van Dijk [Tue, 9 Jul 2019 09:08:43 +0000 (11:08 +0200)]
Backport #7998
Remi Gacogne [Fri, 28 Jun 2019 12:08:10 +0000 (14:08 +0200)]
auth: Fix a memory leak when sqlite3_exec() fails
(cherry picked from commit
a955a0100b081d1c6c1f5a267c790bcd0edd2252 )
Peter van Dijk [Mon, 8 Jul 2019 08:44:15 +0000 (10:44 +0200)]
Backport #7976: Make pdnsutil set-publish-cds default to SHA-256 only
Peter van Dijk [Wed, 3 Jul 2019 20:16:13 +0000 (22:16 +0200)]
Backport #8019
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
(cherry picked from commit
331d3d27ba270d5124ee4466decc4dcbc0b406b6 )
Peter van Dijk [Mon, 1 Jul 2019 20:39:48 +0000 (22:39 +0200)]
Backport #8006
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
(cherry picked from commit
f4ea75a9bd112419e111f867b3b868864fbd322d )
Peter van Dijk [Mon, 1 Jul 2019 20:36:48 +0000 (22:36 +0200)]
Backport #7969
fwsmit [Fri, 21 Jun 2019 09:33:24 +0000 (11:33 +0200)]
removed unused variables
(cherry picked from commit
17e300d77b3f68367e8f7b76dbf629c45e8604cc )
Peter van Dijk [Mon, 1 Jul 2019 20:35:20 +0000 (22:35 +0200)]
Backport #7996
Otto Moerbeek [Fri, 28 Jun 2019 09:25:32 +0000 (11:25 +0200)]
Clear CMSG_SPACE(sizeof(data)) in cmsghdr to appease valgrind.
(cherry picked from commit
20b22895546a3e7fb7760940599dfb1e29a00777 )
Peter van Dijk [Mon, 1 Jul 2019 20:33:01 +0000 (22:33 +0200)]
Backport #7550
Peter van Dijk [Mon, 24 Jun 2019 09:06:22 +0000 (11:06 +0200)]
move settings doc from rec to auth
(cherry picked from commit
ca609038ef48739ca14e0c166a621070601b2318 )
Remi Gacogne [Tue, 7 May 2019 10:45:20 +0000 (12:45 +0200)]
webserver-max-bodysize is new in 4.2.0
Co-Authored-By: Habbie <peter.van.dijk@powerdns.com>
(cherry picked from commit
ffb7aefdd7e988ae4a5cf3f2d727b6a6bc48c4bd )
Peter van Dijk [Fri, 8 Mar 2019 14:20:26 +0000 (15:20 +0100)]
bump auth api request buffer size
(cherry picked from commit
bfde2d10cb0dec42b9a3661e176ce551055f0f3e )
Peter van Dijk [Fri, 8 Mar 2019 13:58:22 +0000 (14:58 +0100)]
auth web: make max request/response body size configurable
(cherry picked from commit
214b034e99eee03ab9c364fab11921be61942b15 )
Peter van Dijk [Mon, 1 Jul 2019 20:31:43 +0000 (22:31 +0200)]
Backport #7980
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
(cherry picked from commit
7ac0df2a59ddd6e92ede2bca590ec0c76eb67559 )
Peter van Dijk [Mon, 1 Jul 2019 15:12:14 +0000 (17:12 +0200)]
remove recursor/dnsdist travis testing
Peter van Dijk [Mon, 1 Jul 2019 10:42:49 +0000 (12:42 +0200)]
remove recursor circleci testing
Peter van Dijk [Mon, 1 Jul 2019 08:34:31 +0000 (10:34 +0200)]
Backport #7977
Pieter Lexis [Mon, 24 Jun 2019 12:16:33 +0000 (14:16 +0200)]
Add LMDB backend to centos-7
(cherry picked from commit
d0d9195b07dfefd04de778b8c69a94c8fa68f317 )
Peter van Dijk [Mon, 1 Jul 2019 08:33:50 +0000 (10:33 +0200)]
Backport #7918
Kees Monshouwer [Tue, 25 Jun 2019 14:02:42 +0000 (16:02 +0200)]
doc: add a depreation warning to the SOA autocomplete settings
(cherry picked from commit
d57f0fa60d384a8157aedd4e0aad99b64ff9ff3e )
Kees Monshouwer [Wed, 12 Jun 2019 13:35:26 +0000 (15:35 +0200)]
auth: deprecate SOA autocomplete
(cherry picked from commit
5018693961b51601f1123d55d1ae8ae4e9e383ec )
Peter van Dijk [Mon, 1 Jul 2019 08:27:41 +0000 (10:27 +0200)]
Backport #7889
Pieter Lexis [Fri, 7 Jun 2019 09:46:58 +0000 (11:46 +0200)]
auth: move /var/lib/pdns to pdns-server debian package
(cherry picked from commit
7334a7f56362d3e182a252bf82b83add285fdf20 )
Peter van Dijk [Mon, 1 Jul 2019 08:26:56 +0000 (10:26 +0200)]
Backport #7890