]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agoMerge pull request #7582 from rgacogne/auth40-remotebackend auth-4.0.7
Remi Gacogne [Mon, 18 Mar 2019 08:21:09 +0000 (09:21 +0100)] 
Merge pull request #7582 from rgacogne/auth40-remotebackend

auth-4.0.x: remotebackend: http connector - Properly escape parameters

5 years agoauth: Parse the HTTP URL when the remote backend is initialized 7582/head
Remi Gacogne [Wed, 13 Mar 2019 16:46:27 +0000 (17:46 +0100)] 
auth: Parse the HTTP URL when the remote backend is initialized

(cherry picked from commit a11a87c8eacb146b2c4a036f9a0817d704c8e925)
(cherry picked from commit ab14ef998c76b5efe8fcc807bb96c2c4ffbb982f)

5 years agoremotebackend: http connector - Properly escape parameters
Aki Tuomi [Wed, 13 Mar 2019 18:06:09 +0000 (20:06 +0200)] 
remotebackend: http connector - Properly escape parameters

(cherry picked from commit 6de3be832cbab7805ab5215dce503d11d8769414)
(cherry picked from commit 4f3c2b32894bcc5fb394c32d23a58f4ea2ec025f)

5 years agoMerge pull request #7324 from rgacogne/auth40-travis-rubygems-issue
Remi Gacogne [Fri, 4 Jan 2019 08:42:43 +0000 (09:42 +0100)] 
Merge pull request #7324 from rgacogne/auth40-travis-rubygems-issue

auth-4.0.x: Update rubygems in travis (for bundler)

5 years agoUpdate rubygems in travis (for bundler) 7324/head
Pieter Lexis [Thu, 3 Jan 2019 10:08:32 +0000 (11:08 +0100)] 
Update rubygems in travis (for bundler)

(cherry picked from commit 2a5c0b379f0bc256cb92920e3be56139f5bcdc29)

5 years agoMerge pull request #7216 from Habbie/backport-7212
Remi Gacogne [Thu, 22 Nov 2018 08:59:30 +0000 (09:59 +0100)] 
Merge pull request #7216 from Habbie/backport-7212

auth 4.0.x: upgrade to jdnssec-tools 0.14

5 years agoupgrade to jdnssec-tools 0.14 7216/head
Peter van Dijk [Fri, 16 Nov 2018 16:07:42 +0000 (17:07 +0100)] 
upgrade to jdnssec-tools 0.14

(cherry picked from commit 20445e6958184a6ca1e1eb7339434f6e77a8bb45)

5 years agoMerge pull request #7198 from Habbie/auth-4.0.x-jdnssec
Peter van Dijk [Thu, 15 Nov 2018 12:41:40 +0000 (13:41 +0100)] 
Merge pull request #7198 from Habbie/auth-4.0.x-jdnssec

auth-4.0.x: switch to patched jdnssec from more reliable web server

5 years agoswitch to patched jdnssec from more reliable web server 7198/head
Peter van Dijk [Thu, 15 Nov 2018 11:38:51 +0000 (12:38 +0100)] 
switch to patched jdnssec from more reliable web server

5 years agoMerge pull request #7150 from aerique/auth40-dnsrecord-shared-pointers auth-4.0.6
aerique [Tue, 6 Nov 2018 14:26:54 +0000 (15:26 +0100)] 
Merge pull request #7150 from aerique/auth40-dnsrecord-shared-pointers

PowerDNS Authoritative Server 4.0.6

5 years agoMerge pull request #7146 from pieterlexis/auth-40-el6-missing-files
aerique [Tue, 6 Nov 2018 08:58:26 +0000 (09:58 +0100)] 
Merge pull request #7146 from pieterlexis/auth-40-el6-missing-files

Package missing files.

5 years agopackage missing files 7146/head
Pieter Lexis [Tue, 6 Nov 2018 08:01:30 +0000 (09:01 +0100)] 
package missing files

5 years agoMerge pull request #7135 from pieterlexis/auth-40-el6-boost-build-fix
Pieter Lexis [Fri, 2 Nov 2018 15:07:54 +0000 (16:07 +0100)] 
Merge pull request #7135 from pieterlexis/auth-40-el6-boost-build-fix

Fix el6 builds

5 years agoFix el6 builds 7135/head
Pieter Lexis [Fri, 2 Nov 2018 09:04:34 +0000 (10:04 +0100)] 
Fix el6 builds

Boost 1.48 does not play nice with the storage used for dnsname.

5 years agoMerge pull request #7119 from pieterlexis/auth-40-el6-fix
Pieter Lexis [Wed, 31 Oct 2018 22:16:24 +0000 (23:16 +0100)] 
Merge pull request #7119 from pieterlexis/auth-40-el6-fix

auth 4.0 el6: switch to devtoolset-7

5 years agoauth 4.1 el6: switch to devtoolset-7 7119/head
Pieter Lexis [Wed, 31 Oct 2018 14:00:41 +0000 (15:00 +0100)] 
auth 4.1 el6: switch to devtoolset-7

See #7040

5 years agoMerge pull request #7052 from rgacogne/auth40-boost-L 7113/head
Remi Gacogne [Thu, 11 Oct 2018 10:25:15 +0000 (12:25 +0200)] 
Merge pull request #7052 from rgacogne/auth40-boost-L

auth-4.0.x: Move includes around to avoid a 'L' conflict with newer boost

5 years agoauth-4.0.x: Use a mirror for the dnsperf package 7052/head
Remi Gacogne [Thu, 11 Oct 2018 09:34:19 +0000 (11:34 +0200)] 
auth-4.0.x: Use a mirror for the dnsperf package

5 years agoauth: Move includes around to avoid a 'L' conflict with newer boost
Remi Gacogne [Wed, 10 Oct 2018 16:01:48 +0000 (18:01 +0200)] 
auth: Move includes around to avoid a 'L' conflict with newer boost

5 years agoAllocate DNSRecord objects as smart pointers right away 7150/head
Remi Gacogne [Thu, 7 Jun 2018 09:21:04 +0000 (11:21 +0200)] 
Allocate DNSRecord objects as smart pointers right away

(cherry picked from commit 1339125af5afe6d6ecfe0a500c5fdc76d790459d)

6 years agoMerge pull request #6315 from pieterlexis/auth-40-backport-6276
Pieter Lexis [Thu, 1 Mar 2018 08:38:59 +0000 (09:38 +0100)] 
Merge pull request #6315 from pieterlexis/auth-40-backport-6276

Backport #6276 (auth 4.0.x): Prevent CNAME + other data with DNSUpdate

6 years agodyndns: Add tests for the CNAME-with-other-data issue 6315/head
Pieter Lexis [Fri, 16 Feb 2018 16:16:54 +0000 (17:16 +0100)] 
dyndns: Add tests for the CNAME-with-other-data issue

(cherry picked from commit e07c665fba49183eafafffc493c6c0e7c36fd4ab)

6 years agodnsupdate: Refuse updates for records with CNAMEs
Pieter Lexis [Fri, 16 Feb 2018 15:24:14 +0000 (16:24 +0100)] 
dnsupdate: Refuse updates for records with CNAMEs

Also, refuse updates for CNAMES when other records exist and send
FORMERR to queries that add a CNAME and other data in the same update.

(cherry picked from commit 6f604952dcd8f4bbd9e884c9029039ef915cac24)

6 years agoMerge pull request #6013 from aerique/backport/5590-skip-v6-dependent-test
Peter van Dijk [Thu, 30 Nov 2017 16:07:52 +0000 (17:07 +0100)] 
Merge pull request #6013 from aerique/backport/5590-skip-v6-dependent-test

Backport #5590: skip v6-dependent test when PDNS_TEST_NO_IPV6 is set in environment.

6 years agoskip v6-dependent test when PDNS_TEST_NO_IPV6 is set in environment 6013/head
Peter van Dijk [Thu, 10 Aug 2017 09:34:50 +0000 (11:34 +0200)] 
skip v6-dependent test when PDNS_TEST_NO_IPV6 is set in environment

(cherry picked from commit 2ff8d3d1913f80d72e4584a957aa89cead69dd81)

6 years agoMerge pull request #5996 from rgacogne/auth40-web-readonly-ops auth-4.0.5
aerique [Mon, 27 Nov 2017 08:39:09 +0000 (09:39 +0100)] 
Merge pull request #5996 from rgacogne/auth40-web-readonly-ops

auth-4.0.x: Deny cache flush, zone retrieve and notify if the API is RO

6 years agoauth: Deny cache flush, zone retrieve and notify if the API is RO 5996/head
Remi Gacogne [Tue, 22 Aug 2017 09:48:07 +0000 (11:48 +0200)] 
auth: Deny cache flush, zone retrieve and notify if the API is RO

(cherry picked from commit 64337a2fef53883a1962e36ae047b3a595951a42)

6 years agoMerge pull request #5951 from pieterlexis/auth-405-backports
aerique [Thu, 23 Nov 2017 11:22:47 +0000 (12:22 +0100)] 
Merge pull request #5951 from pieterlexis/auth-405-backports

Authoritative Server 4.0.5 backports

6 years agoauth: Fix erroneous merge in zoneparser-tng 5951/head
Remi Gacogne [Tue, 21 Nov 2017 19:18:56 +0000 (20:18 +0100)] 
auth: Fix erroneous merge in zoneparser-tng

6 years agoBackport #5933
Remi Gacogne [Tue, 21 Nov 2017 16:07:39 +0000 (17:07 +0100)] 
Backport #5933

6 years agoBackport #5730
Remi Gacogne [Tue, 21 Nov 2017 16:07:04 +0000 (17:07 +0100)] 
Backport #5730

6 years agoAdd AFSDB record to unit.test. zone.
Erik Winkels [Mon, 25 Sep 2017 13:10:01 +0000 (15:10 +0200)] 
Add AFSDB record to unit.test. zone.

(cherry picked from commit 9ced192483aeed2847a971dffb8bfec1ca5e686d)

6 years agoRestructure fix and conform to convention
Johan Jatko [Tue, 5 Sep 2017 16:22:16 +0000 (18:22 +0200)] 
Restructure fix and conform to convention

(cherry picked from commit 9f067a158e6741bc14c5dbc25df81e0b2f8630a0)

6 years agoHandle AFSDB record separately due to record structure.
Johan Jatko [Tue, 5 Sep 2017 15:59:55 +0000 (17:59 +0200)] 
Handle AFSDB record separately due to record structure.

Closes #4703.

AFSDB records has two elements, <subtype> <hostname>,
as per RFC1183, and needs special treatment when parsing.

(cherry picked from commit 319d6e47e219ec2fb0b829943040457cbb22ff30)

6 years agoCheck return of getTSIGKey and B64Decode in the Slave Communicator
Pieter Lexis [Thu, 9 Nov 2017 11:01:32 +0000 (12:01 +0100)] 
Check return of getTSIGKey and B64Decode in the Slave Communicator

(cherry picked from commit 40920298b1342affae194d77b229dc0a335a90a6)

6 years agoCheck return of getTSIGKey and B64Decode in the TCPReceiver
Pieter Lexis [Thu, 9 Nov 2017 10:24:36 +0000 (11:24 +0100)] 
Check return of getTSIGKey and B64Decode in the TCPReceiver

(cherry picked from commit 53ace5d500563c3a5156b496898e5e2b1d6cbcfb)

6 years agoCheck return value of getTSIGKey and B64Decode
Pieter Lexis [Thu, 9 Nov 2017 10:09:32 +0000 (11:09 +0100)] 
Check return value of getTSIGKey and B64Decode

This would lead to crashes if the TSIG key was referenced in
TSIG-ALLOW-FROM but the key was not in the tsigkeys table.

Closes #5931

(cherry picked from commit fba65bff16fd5decaa80df08938873725cbdfe45)

6 years agoBackport #5161
Pieter Lexis [Mon, 13 Nov 2017 18:52:04 +0000 (19:52 +0100)] 
Backport #5161

6 years agoImplement test for #5083
Arthur Gautier [Mon, 10 Apr 2017 20:34:18 +0000 (20:34 +0000)] 
Implement test for #5083

Signed-off-by: Arthur Gautier <baloo@gandi.net>
(cherry picked from commit 3adde0d28e84b90ca628209e8fb4dc065b8d857f)

6 years agominor cleanup in the afxr-rectify code
Kees Monshouwer [Thu, 23 Feb 2017 23:37:05 +0000 (00:37 +0100)] 
minor cleanup in the afxr-rectify code

(cherry picked from commit 9f70b77ace3cb0d4654ceccbdfcb5470adad853b)

6 years agoBackport #4922
Pieter Lexis [Mon, 13 Nov 2017 16:24:21 +0000 (17:24 +0100)] 
Backport #4922

6 years agoadd ldap-strict to list of testable targets
Peter van Dijk [Thu, 19 Jan 2017 18:33:18 +0000 (19:33 +0100)] 
add ldap-strict to list of testable targets

(cherry picked from commit 30c3104d4237e7283c407ad30fe4f5382fb04b27)

6 years agofix strict mode autoptr
Peter van Dijk [Sun, 21 Feb 2016 21:17:00 +0000 (22:17 +0100)] 
fix strict mode autoptr

(cherry picked from commit c7478be41df2089f0eff0ddec4bbcee14b900301)

6 years agoadd autoptr test
Peter van Dijk [Thu, 19 Jan 2017 13:41:13 +0000 (14:41 +0100)] 
add autoptr test

(cherry picked from commit c1e583e5441045a06feae2b20103bf433a22be60)

6 years agoadd host+zone for auto ptr testing
Peter van Dijk [Sun, 21 Feb 2016 12:58:01 +0000 (13:58 +0100)] 
add host+zone for auto ptr testing

(cherry picked from commit ff2c5a4a5c0aaab016dda92252b0052595c9750d)

6 years agoBackport #5320
Pieter Lexis [Mon, 13 Nov 2017 15:01:24 +0000 (16:01 +0100)] 
Backport #5320

6 years agoTogether with Mukund Sivaraman we found out PowerDNS sdig does not truncate
bert hubert [Fri, 12 May 2017 19:25:16 +0000 (21:25 +0200)] 
Together with Mukund Sivaraman we found out PowerDNS sdig does not truncate
trailing bits of EDNS Client Subnet mask.  So if you'd truncate something as
a /9, we'd have to use 2 bytes anyhow, but we would not zero the last 7 bits.

We do now. Thanks Mukund & ISC!

(cherry picked from commit d7da15c560946cadaadfc173b8964dd6b40932ed)

6 years agoBackport #5112
Pieter Lexis [Mon, 13 Nov 2017 14:01:53 +0000 (15:01 +0100)] 
Backport #5112

6 years agoBackport #5766
Pieter Lexis [Mon, 13 Nov 2017 13:59:33 +0000 (14:59 +0100)] 
Backport #5766

6 years agoBackport #5723
Pieter Lexis [Mon, 13 Nov 2017 13:59:27 +0000 (14:59 +0100)] 
Backport #5723

6 years agoRevert "API: url in zone info should be absolute"
Pieter Lexis [Mon, 13 Nov 2017 13:12:30 +0000 (14:12 +0100)] 
Revert "API: url in zone info should be absolute"

This reverts commit 9df0238e1b567cdd7c48185b00160fb952c3e9f4.

See #5030

6 years agoauth: Purge the caches after a successful IXFR
Remi Gacogne [Thu, 5 Oct 2017 10:24:56 +0000 (12:24 +0200)] 
auth: Purge the caches after a successful IXFR

(cherry picked from commit 1d0995bcc15528415409fe42d64b863b5c921ff9)

6 years agoStubresolver: Use only `resolver` setting if given
Pieter Lexis [Mon, 6 Mar 2017 14:06:26 +0000 (15:06 +0100)] 
Stubresolver: Use only `resolver` setting if given

Use resolv.conf otherwise. Also, do not use 127.0.0.1:53 as fallback,
as this could be ourselves.

Closes #4655

(cherry picked from commit 2b78726c6c9edd48c0905e44af9f88b5299dad75)

6 years agoBackport #5826
Pieter Lexis [Mon, 13 Nov 2017 11:54:10 +0000 (12:54 +0100)] 
Backport #5826

6 years agoBackport #5815
Pieter Lexis [Mon, 13 Nov 2017 11:53:53 +0000 (12:53 +0100)] 
Backport #5815

6 years agoBackport #5722
Pieter Lexis [Mon, 13 Nov 2017 11:52:58 +0000 (12:52 +0100)] 
Backport #5722

6 years agoBackport #5678
Pieter Lexis [Mon, 13 Nov 2017 11:52:30 +0000 (12:52 +0100)] 
Backport #5678

6 years agoBackport #5641
Pieter Lexis [Mon, 13 Nov 2017 11:52:10 +0000 (12:52 +0100)] 
Backport #5641

6 years agoBackport #5599
Pieter Lexis [Mon, 13 Nov 2017 11:51:58 +0000 (12:51 +0100)] 
Backport #5599

6 years agoBackport #5598
Pieter Lexis [Mon, 13 Nov 2017 11:51:49 +0000 (12:51 +0100)] 
Backport #5598

6 years agoBackport #5523
Pieter Lexis [Mon, 13 Nov 2017 11:51:40 +0000 (12:51 +0100)] 
Backport #5523

6 years agoBackport #5509
Pieter Lexis [Mon, 13 Nov 2017 11:51:28 +0000 (12:51 +0100)] 
Backport #5509

6 years agoBackport #5498
Pieter Lexis [Mon, 13 Nov 2017 11:51:15 +0000 (12:51 +0100)] 
Backport #5498

6 years agoBackport #5408
Pieter Lexis [Mon, 13 Nov 2017 11:50:59 +0000 (12:50 +0100)] 
Backport #5408

6 years agoBackport #5349
Pieter Lexis [Mon, 13 Nov 2017 11:50:39 +0000 (12:50 +0100)] 
Backport #5349

6 years agoBackport #5309
Pieter Lexis [Mon, 13 Nov 2017 11:50:12 +0000 (12:50 +0100)] 
Backport #5309

6 years agoBackport #5277
Pieter Lexis [Mon, 13 Nov 2017 11:50:01 +0000 (12:50 +0100)] 
Backport #5277

6 years agoBackport #5147
Pieter Lexis [Mon, 13 Nov 2017 11:49:37 +0000 (12:49 +0100)] 
Backport #5147

6 years agoBackport #5125
Pieter Lexis [Mon, 13 Nov 2017 11:49:21 +0000 (12:49 +0100)] 
Backport #5125

6 years agoBackport #5043
Pieter Lexis [Mon, 13 Nov 2017 11:48:40 +0000 (12:48 +0100)] 
Backport #5043

6 years agoBackport #4997
Pieter Lexis [Mon, 13 Nov 2017 11:48:22 +0000 (12:48 +0100)] 
Backport #4997

6 years agoBackport #4929
Pieter Lexis [Mon, 13 Nov 2017 11:48:12 +0000 (12:48 +0100)] 
Backport #4929

6 years agoBackport #4751
Pieter Lexis [Mon, 13 Nov 2017 11:47:17 +0000 (12:47 +0100)] 
Backport #4751

6 years agoBackport #4650
Pieter Lexis [Mon, 13 Nov 2017 11:47:00 +0000 (12:47 +0100)] 
Backport #4650

6 years agoBackport #4526
Pieter Lexis [Mon, 13 Nov 2017 11:46:41 +0000 (12:46 +0100)] 
Backport #4526

6 years agoMerge pull request #5778 from rgacogne/auth40-signing-pipe
Pieter Lexis [Fri, 10 Nov 2017 13:02:24 +0000 (14:02 +0100)] 
Merge pull request #5778 from rgacogne/auth40-signing-pipe

auth 4.0.x: Handle a signing pipe worker dying with work still pending

6 years agoBIND: reject zones without 'file' stanza
Pieter Lexis [Mon, 16 Oct 2017 15:20:38 +0000 (17:20 +0200)] 
BIND: reject zones without 'file' stanza

Closes #5786

(cherry picked from commit 6808f3b5faf6ffc4bea8f78107be99766d2be75c)

6 years agopdnsutil: Check for domain before setting metadata
Pieter Lexis [Mon, 16 Oct 2017 13:00:35 +0000 (15:00 +0200)] 
pdnsutil: Check for domain before setting metadata

Closes #5787

(cherry picked from commit ed99fac4e9bb61c360e68cc71056cfb9f5c80a21)

6 years agoignore SOA-EDIT for PRESIGNED zones. Fixes #5814
Peter van Dijk [Thu, 12 Oct 2017 10:26:37 +0000 (12:26 +0200)] 
ignore SOA-EDIT for PRESIGNED zones. Fixes #5814

(cherry picked from commit 3ba1065625b2067da6058fa3e213fbb501b2b536)

6 years agoauth: Use a unique pointer for bind backend's `d_of`
Remi Gacogne [Fri, 22 Sep 2017 12:26:04 +0000 (14:26 +0200)] 
auth: Use a unique pointer for bind backend's `d_of`

(cherry picked from commit 7cfe0cc38e6db211da1b880bf24cfe9a9e6914cd)

6 years agoAuth: Publish inactive KSK/CSK as CDNSKEY/CDS
Pieter Lexis [Fri, 22 Sep 2017 08:17:12 +0000 (10:17 +0200)] 
Auth: Publish inactive KSK/CSK as CDNSKEY/CDS

Closes #5721

(cherry picked from commit c74f51e221b8ef9194604afa1aeabc46a5dd7018)

6 years agoauth: Treat requestor's payload size lower than 512 as equal to 512
Remi Gacogne [Thu, 7 Sep 2017 07:43:53 +0000 (09:43 +0200)] 
auth: Treat requestor's payload size lower than 512 as equal to 512

(cherry picked from commit 7a9b7c95891deddb1f907b743f30df82fad84ffd)

6 years agoCatch DNSName exception in the Zoneparser
Pieter Lexis [Tue, 22 Aug 2017 12:10:27 +0000 (14:10 +0200)] 
Catch DNSName exception in the Zoneparser

This wraps all calls to `toCanonic` in try/catch and rethrows it as a
PDNSException with more information.

Closes #5520.

(cherry picked from commit 1293f91eac4810769b88b6cfc404c60b1d5abee0)

6 years agoFix libatomic detection on ppc64
Pieter Lexis [Fri, 11 Aug 2017 12:37:01 +0000 (14:37 +0200)] 
Fix libatomic detection on ppc64

Thanks @tjikkun!

Closes #5456

(cherry picked from commit b16f46605d86a62e4f37bc1e2caab0c52fa9f75c)

6 years agoAdd help text on autodetecting systemd support
Pieter Lexis [Fri, 11 Aug 2017 11:54:21 +0000 (13:54 +0200)] 
Add help text on autodetecting systemd support

Closes #5524

(cherry picked from commit 56d30a9c8a1c1754b478de79e823e015e103b5b0)

6 years agoFix typo in two log messages
Ruben Kerkhof [Fri, 14 Jul 2017 17:55:53 +0000 (19:55 +0200)] 
Fix typo in two log messages

(cherry picked from commit 59d26fc8d63fd2ff924be2fa5b3bda3699081914)

6 years agoShip ldapbackend schema files in tarball
Christian Hofstaedtler [Mon, 10 Jul 2017 08:59:31 +0000 (10:59 +0200)] 
Ship ldapbackend schema files in tarball

(cherry picked from commit 38f5336f54caee29566368564b7ad518d1f71f9c)

6 years agoreplace depricated botan.h include
Kees Monshouwer [Wed, 25 Oct 2017 23:06:54 +0000 (01:06 +0200)] 
replace depricated botan.h include

(cherry picked from commit 00f1924bb1900e8c6eab1bd0fe03ff21d41f38eb)

6 years agodrop botan 1.x support
Kees Monshouwer [Wed, 25 Oct 2017 20:43:35 +0000 (22:43 +0200)] 
drop botan 1.x support

(cherry picked from commit e11963ce69059d1fa47e92927ed48bd744b95348)

6 years agotravis: Build the rec with Botan and libsodium
Remi Gacogne [Wed, 5 Jul 2017 10:02:17 +0000 (12:02 +0200)] 
travis: Build the rec with Botan and libsodium

(cherry picked from commit 18a93d3812bfbf2e2dbc9b6353e3619d626283fd)

6 years agoAdd support for Botan 2.x
Remi Gacogne [Tue, 4 Jul 2017 19:59:00 +0000 (21:59 +0200)] 
Add support for Botan 2.x

Initial testing indicates that both 2.0.1 and 2.1.0 work fine,
but signature is 10 times slower with 2.1.0, apparently due to
blinding (callgrind reports a lot of CPU spent in the `RNG`).

(cherry picked from commit 13f34f2e0ccff514cbd5f9ec076c220473da347a)

6 years agowhen making a netmask from a comboaddress, we neglected to zero the port. This could...
bert hubert [Thu, 15 Jun 2017 01:14:01 +0000 (03:14 +0200)] 
when making a netmask from a comboaddress, we neglected to zero the port. This could lead to a proliferation of netmasks.

(cherry picked from commit 0bdabe94e6fd873455d34b88f8954d8cc6034a72)

6 years agotypo in the fix, sorry!
bert hubert [Sun, 28 May 2017 08:47:34 +0000 (10:47 +0200)] 
typo in the fix, sorry!

(cherry picked from commit 6d4eca051e68c7cf91b8cf704cca36c766dc5406)

6 years agowe guess which versions of Lua need help with luaL_setfuncs, and then supply our...
bert hubert [Sun, 28 May 2017 08:33:57 +0000 (10:33 +0200)] 
we guess which versions of Lua need help with luaL_setfuncs, and then supply our own. If we guess wrong however, we trample on the Lua namespace.
With this commit, we don't do the trampling, which should close #5348. We can improve on the fix by using the native luaL_setfuncs for LuaJIT 2.1 beta too.

(cherry picked from commit a00713437a40d512976d4688d270c4866123d678)

6 years agotests: Ensure all required tools are available
Arthur Gautier [Fri, 5 May 2017 19:25:06 +0000 (19:25 +0000)] 
tests: Ensure all required tools are available

If one of those tools misses, the test will silently PASS.
We should ensure it is present

Signed-off-by: Arthur Gautier <baloo@gandi.net>
(cherry picked from commit 7e47805b3898cead8418a9933d1592a884842e72)

6 years agosdig: Clarify that the `ednssubnet` option takes "subnet/mask"
Remi Gacogne [Thu, 27 Apr 2017 11:06:06 +0000 (13:06 +0200)] 
sdig: Clarify that the `ednssubnet` option takes "subnet/mask"

The `mask` part is actually optional but it's probably better to
provide it explicitely anyway.

(cherry picked from commit 3fa6cdbb999f5f043f4d710a5f8500938ba8e4e9)

6 years agoLuaWrapper: Allow embedded NULs in strings received from Lua
Peter van Dijk [Fri, 10 Mar 2017 09:48:46 +0000 (10:48 +0100)] 
LuaWrapper: Allow embedded NULs in strings received from Lua

(cherry picked from commit 448990ab9bd7355f42ff8752a973aff20bdaf4e7)

6 years agofor create-slave-zone, actually look at subsequent arguments, and not keep on adding...
bert hubert [Tue, 7 Mar 2017 22:44:28 +0000 (23:44 +0100)] 
for create-slave-zone, actually look at subsequent arguments, and not keep on adding the first one. Closes #5124.

(cherry picked from commit 215464424ca9183dad4eecf7d9605e41ffa3ef2c)

6 years agomydnsbackend: Add getAllDomains
Aki Tuomi [Thu, 16 Feb 2017 13:20:15 +0000 (15:20 +0200)] 
mydnsbackend: Add getAllDomains

(cherry picked from commit cfc5b5c0d05f1a0d13120c2c2bc6087323a214de)

6 years agoremotebackend: Update regression test to notice domain id on do_list
Aki Tuomi [Sun, 12 Feb 2017 09:19:52 +0000 (11:19 +0200)] 
remotebackend: Update regression test to notice domain id on do_list

(cherry picked from commit 2449d3a010df4d8cf63d137bbb382e47a5be3308)