]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoMerge pull request #9053 from rgacogne/devpoll-no-naked-pointer
Remi Gacogne [Fri, 24 Apr 2020 08:23:51 +0000 (10:23 +0200)] 
Merge pull request #9053 from rgacogne/devpoll-no-naked-pointer

Get rid of a naked pointer in the /dev/poll event multiplexer

4 years agoMerge pull request #9054 from rgacogne/ddist-more-flags
Remi Gacogne [Fri, 24 Apr 2020 08:23:15 +0000 (10:23 +0200)] 
Merge pull request #9054 from rgacogne/ddist-more-flags

dnsdist: Build with -Wmissing-declarations -Wredundant-decls

4 years agoMerge pull request #9016 from omoerbeek/random-engine
Otto Moerbeek [Fri, 24 Apr 2020 07:31:45 +0000 (09:31 +0200)] 
Merge pull request #9016 from omoerbeek/random-engine

random engine to allow for future ++17 compatibility

4 years agoMerge pull request #9050 from aerique/feature/add-rec-44-to-repo-script
aerique [Thu, 23 Apr 2020 20:03:59 +0000 (22:03 +0200)] 
Merge pull request #9050 from aerique/feature/add-rec-44-to-repo-script

Add `rec-44` to repo test script.

4 years agoGet rid of a naked pointer in the /dev/poll event multiplexer 9053/head
Remi Gacogne [Thu, 23 Apr 2020 15:37:23 +0000 (17:37 +0200)] 
Get rid of a naked pointer in the /dev/poll event multiplexer

4 years agodnsdist: Build with -Wmissing-declarations -Wredundant-decls 9054/head
Remi Gacogne [Thu, 23 Apr 2020 13:42:45 +0000 (15:42 +0200)] 
dnsdist: Build with -Wmissing-declarations -Wredundant-decls

4 years agodnsdist: Fix warnings about dup/missing prototypes
Remi Gacogne [Thu, 23 Apr 2020 13:41:41 +0000 (15:41 +0200)] 
dnsdist: Fix warnings about dup/missing prototypes

Including a wrong FFI prototype.

4 years agoMerge pull request #9052 from cyclops1982/docs
Remi Gacogne [Thu, 23 Apr 2020 08:00:12 +0000 (10:00 +0200)] 
Merge pull request #9052 from cyclops1982/docs

Small doc changes

4 years agoAdd notes on logging ability in dnsdist 9052/head
Ruben d'Arco [Wed, 22 Apr 2020 20:09:52 +0000 (21:09 +0100)] 
Add notes on logging ability in dnsdist

4 years agoMerge pull request #9046 from omoerbeek/rec-prep-4.4.0-alpha1
aerique [Wed, 22 Apr 2020 13:10:23 +0000 (15:10 +0200)] 
Merge pull request #9046 from omoerbeek/rec-prep-4.4.0-alpha1

Prep rec-4.4.0-alpha1

4 years agoAdd `rec-44` to repo test script. 9050/head
aerique [Wed, 22 Apr 2020 13:08:52 +0000 (15:08 +0200)] 
Add `rec-44` to repo test script.

4 years agoIn dnsdist, (which is not a dns_random consumer), use sdt::default_random_engine 9016/head
Otto Moerbeek [Tue, 21 Apr 2020 12:36:12 +0000 (14:36 +0200)] 
In dnsdist, (which is not a dns_random consumer), use sdt::default_random_engine
for shuffle.

4 years agoAvoid self-assignment of DNSName, some version of boost::container::string
Otto Moerbeek [Wed, 8 Apr 2020 13:26:08 +0000 (15:26 +0200)] 
Avoid self-assignment of DNSName, some version of boost::container::string
do not like that and throw an assertion.

4 years agoUtilize std::shuffle and introduce pdns::dns_random_engine
krionbsd [Mon, 6 Apr 2020 10:28:34 +0000 (12:28 +0200)] 
Utilize std::shuffle and introduce pdns::dns_random_engine

std::random_shuffle is deprecated and removed starting from C++17, so we
might better use std::shuffle which uses URBG:
https://en.cppreference.com/w/cpp/named_req/UniformRandomBitGenerator
under the hood for a better random generation.

4 years agoPrep rec-4.4.0-alpha1 9046/head
Otto Moerbeek [Mon, 20 Apr 2020 14:45:50 +0000 (16:45 +0200)] 
Prep rec-4.4.0-alpha1

4 years agoMerge pull request #8910 from omoerbeek/rec-routing-tag rec-4.4.0-alpha1
Otto Moerbeek [Mon, 20 Apr 2020 14:26:56 +0000 (16:26 +0200)] 
Merge pull request #8910 from omoerbeek/rec-routing-tag

Rec: routing tag

4 years agoTest tweaks 8910/head
Otto Moerbeek [Fri, 17 Apr 2020 09:14:27 +0000 (09:14 +0000)] 
Test tweaks

4 years agoSimpify 'variable' condition: it boils down to having a reply from
Otto Moerbeek [Fri, 17 Apr 2020 08:17:09 +0000 (10:17 +0200)] 
Simpify 'variable' condition: it boils down to having a reply from
the auth including an ednsmask, routingTag does not play a role.

4 years agoProcess rgacogne's comments wrt entryMatches().
Otto Moerbeek [Fri, 17 Apr 2020 08:08:56 +0000 (10:08 +0200)] 
Process rgacogne's comments wrt entryMatches().

This simplifies the code, but has the silent assumption that
entryMatches() only gets fed matching routingTags (if present).
The getEntries() code does guarrantee this so we should be safe.

4 years agoBasic routing tag test
Otto Moerbeek [Tue, 14 Apr 2020 12:50:55 +0000 (12:50 +0000)] 
Basic routing tag test

4 years agoRoutingtag is now handled by gettag() and not part of dq anymore.
Otto Moerbeek [Tue, 7 Apr 2020 11:19:30 +0000 (13:19 +0200)] 
Routingtag is now handled by gettag() and not part of dq anymore.

ffi interface to be done. Includes attempt at documenting the return
value of gettag() a bit better.

4 years agoProcess comments from rcagogne; mostly better unit tests.
Otto Moerbeek [Mon, 9 Mar 2020 09:09:11 +0000 (10:09 +0100)] 
Process comments from rcagogne; mostly better unit tests.

entryMatches() logic not yet adapted.

4 years agoIntroduce routingTag, settable from lua and passed to SyncRes if set.
Otto Moerbeek [Wed, 12 Feb 2020 10:55:56 +0000 (11:55 +0100)] 
Introduce routingTag, settable from lua and passed to SyncRes if set.

SyncRes passes it on to the record cache methods that do not use
it yet.

4 years agoMerge pull request #9043 from omoerbeek/github-do-not-use-depracted-api
Otto Moerbeek [Mon, 20 Apr 2020 12:38:21 +0000 (14:38 +0200)] 
Merge pull request #9043 from omoerbeek/github-do-not-use-depracted-api

Do not use github deprecated API for changelog script

4 years agoDo not use github deprecated API for changelog script 9043/head
Otto Moerbeek [Mon, 20 Apr 2020 11:07:29 +0000 (13:07 +0200)] 
Do not use github deprecated API for changelog script

See https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/

4 years agoMerge pull request #9042 from rgacogne/ddist-clang-10
Remi Gacogne [Mon, 20 Apr 2020 10:46:12 +0000 (12:46 +0200)] 
Merge pull request #9042 from rgacogne/ddist-clang-10

dnsdist: Avoid copies in for loops

4 years agoMerge pull request #9034 from aerique/feature/dnsdist-support-for-repo-script
aerique [Mon, 20 Apr 2020 10:19:29 +0000 (12:19 +0200)] 
Merge pull request #9034 from aerique/feature/dnsdist-support-for-repo-script

Add support for dnsdist-15 to repo script.

4 years agoMerge pull request #9041 from rgacogne/ddist-changelog-year
Remi Gacogne [Mon, 20 Apr 2020 09:58:58 +0000 (11:58 +0200)] 
Merge pull request #9041 from rgacogne/ddist-changelog-year

dnsdist: Fix the year (2010 -> 2020) of the latest changelog entries

4 years agoAdd Remi's usage example. 9034/head
aerique [Mon, 20 Apr 2020 08:31:28 +0000 (10:31 +0200)] 
Add Remi's usage example.

4 years agodnsdist: Avoid copies in for loops 9042/head
Remi Gacogne [Mon, 20 Apr 2020 08:17:07 +0000 (10:17 +0200)] 
dnsdist: Avoid copies in for loops

Reported by clang's '-Wrange-loop-construct' since version 10.

4 years agoMerge pull request #9024 from Habbie/mysql-errors
Remi Gacogne [Mon, 20 Apr 2020 07:46:18 +0000 (09:46 +0200)] 
Merge pull request #9024 from Habbie/mysql-errors

auth smysql: mimic error message format from mysql tooling

4 years agodnsdist: Fix the year (2010 -> 2020) of the latest changelog entries 9041/head
Remi Gacogne [Mon, 20 Apr 2020 07:36:23 +0000 (09:36 +0200)] 
dnsdist: Fix the year (2010 -> 2020) of the latest changelog entries

4 years agoSmall note around Spoof and TTL
Ruben d'Arco [Sun, 19 Apr 2020 15:29:25 +0000 (16:29 +0100)] 
Small note around Spoof and TTL

4 years agoSmall note on ACL editing
Ruben d'Arco [Sun, 19 Apr 2020 15:08:07 +0000 (16:08 +0100)] 
Small note on ACL editing

4 years agoMerge pull request #9031 from rgacogne/ports-event-fix
Remi Gacogne [Fri, 17 Apr 2020 10:31:04 +0000 (12:31 +0200)] 
Merge pull request #9031 from rgacogne/ports-event-fix

Fix compilation of the ports event multiplexer

4 years agoMerge pull request #9033 from pieterlexis/el8-mariadb-dep
Peter van Dijk [Fri, 17 Apr 2020 08:24:55 +0000 (10:24 +0200)] 
Merge pull request #9033 from pieterlexis/el8-mariadb-dep

EL8 pkgs: Build mysql backend against mariadb-connector-c-devel

4 years agoFix `dnsdist-15` on CentOS 8.
aerique [Thu, 16 Apr 2020 15:28:32 +0000 (17:28 +0200)] 
Fix `dnsdist-15` on CentOS 8.

Generate proper Docker files for `dnsdist-15` on CentOS 8.

4 years agoMerge pull request #9028 from rgacogne/ddist-150-rc1
Remi Gacogne [Thu, 16 Apr 2020 13:37:22 +0000 (15:37 +0200)] 
Merge pull request #9028 from rgacogne/ddist-150-rc1

dnsdist: Update ChangeLog and secpoll for 1.5.0-rc1

4 years agoAdd support for dnsdist-15 to repo script.
aerique [Thu, 16 Apr 2020 12:05:05 +0000 (14:05 +0200)] 
Add support for dnsdist-15 to repo script.

4 years agoEL8 pkgs: Build mysql backend against mariadb-connector-c-devel 9033/head
Pieter Lexis [Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)] 
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel

This matches EPEL downstream.

Closes: #9026
4 years agodnsdist: Document the cert/key permissions in DoT and DoH guides 9028/head
Remi Gacogne [Thu, 16 Apr 2020 08:09:26 +0000 (10:09 +0200)] 
dnsdist: Document the cert/key permissions in DoT and DoH guides

4 years agodnsdist: Document that permissions on external files need to be fixed
Remi Gacogne [Thu, 16 Apr 2020 08:02:15 +0000 (10:02 +0200)] 
dnsdist: Document that permissions on external files need to be fixed

4 years agoFix compilation of test-dns_random_hh.cc w/ getrandom AND arc4random 9031/head
Remi Gacogne [Wed, 15 Apr 2020 15:47:12 +0000 (17:47 +0200)] 
Fix compilation of test-dns_random_hh.cc w/ getrandom AND arc4random

4 years agoFix compilation of the ports event multiplexer
Remi Gacogne [Wed, 15 Apr 2020 15:42:11 +0000 (17:42 +0200)] 
Fix compilation of the ports event multiplexer

4 years agoregression-tests: update docker run postgres line
Peter van Dijk [Wed, 15 Apr 2020 14:45:11 +0000 (16:45 +0200)] 
regression-tests: update docker run postgres line

4 years agodnsdist: Remove 8985 from the changelog, it did not impact dnsdist
Remi Gacogne [Wed, 15 Apr 2020 13:45:50 +0000 (15:45 +0200)] 
dnsdist: Remove 8985 from the changelog, it did not impact dnsdist

4 years agodnsdist: Update ChangeLog and secpoll for 1.5.0-rc1
Remi Gacogne [Wed, 15 Apr 2020 12:43:05 +0000 (14:43 +0200)] 
dnsdist: Update ChangeLog and secpoll for 1.5.0-rc1

4 years agoMerge pull request #9027 from omoerbeek/rec-internals-qname-min
Otto Moerbeek [Wed, 15 Apr 2020 11:51:14 +0000 (13:51 +0200)] 
Merge pull request #9027 from omoerbeek/rec-internals-qname-min

rec: Tell a bit about qname minimization

4 years agoApply suggestions from code review 9027/head
Otto Moerbeek [Wed, 15 Apr 2020 11:50:50 +0000 (13:50 +0200)] 
Apply suggestions from code review

Typos

Co-Authored-By: Remi Gacogne <rgacogne+github@valombre.net>
4 years agoTell a bit about qname minimization
Otto Moerbeek [Wed, 15 Apr 2020 11:31:58 +0000 (13:31 +0200)] 
Tell a bit about qname minimization

4 years agoauth smysql: mimic error message format from mysql tooling 9024/head
Peter van Dijk [Sat, 11 Apr 2020 19:47:43 +0000 (21:47 +0200)] 
auth smysql: mimic error message format from mysql tooling

4 years agoMerge pull request #9017 from Habbie/prefixe-s dnsdist-1.5.0-rc1
Peter van Dijk [Thu, 9 Apr 2020 10:47:33 +0000 (12:47 +0200)] 
Merge pull request #9017 from Habbie/prefixe-s

rec: fix typo (prefixe -> prefixes)

4 years agoMerge pull request #9005 from Habbie/auth-4.2.2-docs
aerique [Thu, 9 Apr 2020 10:19:52 +0000 (12:19 +0200)] 
Merge pull request #9005 from Habbie/auth-4.2.2-docs

changelog&secpoll for auth 4.2.2

4 years agofix typo 9017/head
Peter van Dijk [Wed, 8 Apr 2020 14:00:17 +0000 (16:00 +0200)] 
fix typo

4 years agoMerge pull request #8853 from jsoref/spelling
Peter van Dijk [Wed, 8 Apr 2020 12:36:50 +0000 (14:36 +0200)] 
Merge pull request #8853 from jsoref/spelling

Spelling

4 years agospelling: [API] deserialize 8853/head
Josh Soref [Sun, 23 Feb 2020 11:13:15 +0000 (06:13 -0500)] 
spelling: [API] deserialize

spelling: across

spelling: acted

spelling: added

spelling: address

spelling: advantageous

spelling: against

spelling: algorithms

spelling: answers

spelling: authoritative

spelling: availability

spelling: boundaries

spelling: boundary

spelling: cannot

spelling: canonical

spelling: capability

spelling: choices

spelling: combination

spelling: comboring

spelling: comparison

spelling: constraints

spelling: constructor

spelling: contain

spelling: convenience

spelling: current

spelling: delegation

spelling: dependency

spelling: distribution

spelling: doesnotexist

spelling: dropping

spelling: everything

spelling: example

spelling: existence

spelling: explicitly

spelling: extremely

spelling: from

spelling: housekeeping

spelling: idonotexist

spelling: ipfilter

spelling: issuing

spelling: logging

spelling: message

spelling: method

spelling: modified

spelling: must

spelling: name

spelling: negative

spelling: obtaining

spelling: occurred

spelling: omitted

spelling: overridden

spelling: password

spelling: policy

spelling: positives

spelling: possibility

spelling: preresolve

spelling: probabilistic

spelling: prohibitively

spelling: protocol

spelling: provider

spelling: public

spelling: repeatedly

spelling: repositories

spelling: responding

spelling: response

spelling: several

spelling: should

spelling: sizing

spelling: supplied

spelling: support

spelling: synthesized

spelling: the

spelling: transaction

spelling: usually

spelling: visitor

4 years agochangelog&secpoll for auth 4.2.2 9005/head
Peter van Dijk [Mon, 6 Apr 2020 11:48:36 +0000 (13:48 +0200)] 
changelog&secpoll for auth 4.2.2

4 years agoMerge pull request #9014 from Habbie/ixfr-upgrade-notes
Peter van Dijk [Wed, 8 Apr 2020 10:16:00 +0000 (12:16 +0200)] 
Merge pull request #9014 from Habbie/ixfr-upgrade-notes

auth: document IXFR corruption and correction

4 years agoMerge pull request #8994 from rgacogne/ddist-listen-queue-size
Remi Gacogne [Wed, 8 Apr 2020 07:38:03 +0000 (09:38 +0200)] 
Merge pull request #8994 from rgacogne/ddist-listen-queue-size

dnsdist: Add an option to control the size of the TCP listen queue

4 years agoauth: document IXFR corruption and correction 9014/head
Peter van Dijk [Tue, 7 Apr 2020 21:34:01 +0000 (23:34 +0200)] 
auth: document IXFR corruption and correction

4 years agoMerge pull request #9011 from Habbie/auth-4.0-eol
Peter van Dijk [Tue, 7 Apr 2020 19:14:10 +0000 (21:14 +0200)] 
Merge pull request #9011 from Habbie/auth-4.0-eol

auth docs: shift EOL generations

4 years agoMerge pull request #9012 from zeha/install-bind-schema
Peter van Dijk [Tue, 7 Apr 2020 19:10:16 +0000 (21:10 +0200)] 
Merge pull request #9012 from zeha/install-bind-schema

Install bind SQL schema files as part of bindbackend

4 years agoInstall bind SQL schema files as part of bindbackend 9012/head
Chris Hofstaedtler [Tue, 7 Apr 2020 15:55:59 +0000 (17:55 +0200)] 
Install bind SQL schema files as part of bindbackend

4 years agoauth docs: shift EOL generations 9011/head
Peter van Dijk [Tue, 7 Apr 2020 14:42:11 +0000 (16:42 +0200)] 
auth docs: shift EOL generations

4 years agoMerge pull request #8982 from Habbie/auth-4.3.0-docs
aerique [Tue, 7 Apr 2020 13:23:28 +0000 (15:23 +0200)] 
Merge pull request #8982 from Habbie/auth-4.3.0-docs

auth 4.3.0 docs, upgrade notes, secpoll

4 years agoMerge pull request #8967 from rgacogne/rec-dns64-prefix
Remi Gacogne [Tue, 7 Apr 2020 09:37:58 +0000 (11:37 +0200)] 
Merge pull request #8967 from rgacogne/rec-dns64-prefix

rec: Implement native DNS64 support, without Lua

4 years agoMerge pull request #9009 from Habbie/circleci-local-resolver
Peter van Dijk [Tue, 7 Apr 2020 08:46:21 +0000 (10:46 +0200)] 
Merge pull request #9009 from Habbie/circleci-local-resolver

circleci auth: use recursor on localhost for resolving ALIAS

4 years agoauth 4.3.0 docs, upgrade notes, secpoll 8982/head
Peter van Dijk [Mon, 30 Mar 2020 15:59:51 +0000 (17:59 +0200)] 
auth 4.3.0 docs, upgrade notes, secpoll

4 years agoMerge pull request #9008 from omoerbeek/rec-test-cache-simple
Remi Gacogne [Tue, 7 Apr 2020 07:39:50 +0000 (09:39 +0200)] 
Merge pull request #9008 from omoerbeek/rec-test-cache-simple

rec: test what's I believe was intended for test_RecursorCacheSimple

4 years agocircleci auth: use recursor on localhost for resolving ALIAS 9009/head
Peter van Dijk [Mon, 6 Apr 2020 15:04:39 +0000 (17:04 +0200)] 
circleci auth: use recursor on localhost for resolving ALIAS

4 years agoTest what's I believe was intended. 9008/head
Otto Moerbeek [Mon, 6 Apr 2020 13:40:59 +0000 (15:40 +0200)] 
Test what's I believe was intended.

Also, zap unneeded clear() calls, get() already does that.

4 years agoMerge pull request #9000 from krionbsd/warns
Otto Moerbeek [Mon, 6 Apr 2020 10:29:00 +0000 (12:29 +0200)] 
Merge pull request #9000 from krionbsd/warns

Fix warnings with llvm10 and -Wrange-loop-construct

4 years agoUpdate pdns/dnssecinfra.cc 9000/head
Kirill Ponomarev [Mon, 6 Apr 2020 09:26:45 +0000 (11:26 +0200)] 
Update pdns/dnssecinfra.cc

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years agoUpdate pdns/dnssecinfra.cc
Kirill Ponomarev [Mon, 6 Apr 2020 09:26:37 +0000 (11:26 +0200)] 
Update pdns/dnssecinfra.cc

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years agomove github issue template config.yml to right path
Peter van Dijk [Mon, 6 Apr 2020 08:20:39 +0000 (10:20 +0200)] 
move github issue template config.yml to right path

4 years agoMerge pull request #9002 from Habbie/issues-new-choose
Peter van Dijk [Mon, 6 Apr 2020 08:03:54 +0000 (10:03 +0200)] 
Merge pull request #9002 from Habbie/issues-new-choose

docs: link to GitHub issue template chooser

4 years agogithub: disable blank issues 9002/head
Peter van Dijk [Mon, 6 Apr 2020 07:53:28 +0000 (09:53 +0200)] 
github: disable blank issues

4 years agodocs: link to GitHub issue template chooser
Peter van Dijk [Mon, 6 Apr 2020 07:51:27 +0000 (09:51 +0200)] 
docs: link to GitHub issue template chooser

4 years agosecurity: update email addresses
Peter van Dijk [Mon, 6 Apr 2020 07:55:42 +0000 (09:55 +0200)] 
security: update email addresses

4 years agoMerge pull request #8996 from rgacogne/ddist-drop-qr-unset-responses
Remi Gacogne [Mon, 6 Apr 2020 07:35:32 +0000 (09:35 +0200)] 
Merge pull request #8996 from rgacogne/ddist-drop-qr-unset-responses

dnsdist: Drop responses with the QR bit set to 0

4 years agoFix warnings with llvm10 and -Wrange-loop-construct
krionbsd [Sun, 5 Apr 2020 21:04:53 +0000 (23:04 +0200)] 
Fix warnings with llvm10 and -Wrange-loop-construct

4 years agoMerge pull request #8977 from Habbie/ixfr-multiple-deltas
Peter van Dijk [Sun, 5 Apr 2020 19:42:18 +0000 (21:42 +0200)] 
Merge pull request #8977 from Habbie/ixfr-multiple-deltas

auth: avoid IXFR-in record duplication

4 years agofix IXFR-in record duplication issue by avoiding the query cache 8977/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

4 years agorec: Fix comments from the review of the dns64-prefix feature 8967/head
Remi Gacogne [Fri, 3 Apr 2020 15:08:20 +0000 (17:08 +0200)] 
rec: Fix comments from the review of the dns64-prefix feature

- remove a temporary copy ;
- only enter the nodata block if needed ;
- catch NetmaskException exceptions during configuration parsing.

4 years agodnsdist: Drop responses with the QR bit set to 0 8996/head
Remi Gacogne [Fri, 3 Apr 2020 14:52:57 +0000 (16:52 +0200)] 
dnsdist: Drop responses with the QR bit set to 0

4 years agoMerge pull request #8987 from omoerbeek/rec-fix-maxdepth-test
Otto Moerbeek [Fri, 3 Apr 2020 12:21:36 +0000 (14:21 +0200)] 
Merge pull request #8987 from omoerbeek/rec-fix-maxdepth-test

rec: fix referral unit test

4 years agoMerge pull request #8991 from kpfleming/improve-metadata-api-docs
Peter van Dijk [Fri, 3 Apr 2020 10:47:18 +0000 (12:47 +0200)] 
Merge pull request #8991 from kpfleming/improve-metadata-api-docs

Improve specification for metadata API endpoint

4 years agoBetter test setup and also log if we hit the limit 8987/head
Otto Moerbeek [Fri, 3 Apr 2020 09:26:18 +0000 (11:26 +0200)] 
Better test setup and also log if we hit the limit

4 years agodeleteMetadata returns 200 OK, not 204 No Content 8991/head
Kevin P. Fleming [Fri, 3 Apr 2020 00:38:32 +0000 (20:38 -0400)] 
deleteMetadata returns 200 OK, not 204 No Content

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
4 years agodnsdist: Add an option to control the size of the TCP listen queue 8994/head
Remi Gacogne [Thu, 2 Apr 2020 16:12:56 +0000 (18:12 +0200)] 
dnsdist: Add an option to control the size of the TCP listen queue

4 years agoMerge pull request #8985 from neheb/nbm
Remi Gacogne [Thu, 2 Apr 2020 08:37:33 +0000 (10:37 +0200)] 
Merge pull request #8985 from neheb/nbm

fix compilation without deprecated OpenSSL APIs

4 years agomodifyMetadata returns the created object
Kevin P. Fleming [Wed, 1 Apr 2020 12:06:18 +0000 (08:06 -0400)] 
modifyMetadata returns the created object

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
4 years agoImprove specification for metadata API endpoint
Kevin P. Fleming [Wed, 1 Apr 2020 10:45:54 +0000 (06:45 -0400)] 
Improve specification for metadata API endpoint

* createMetadata only accepts a single Metadata object, not an array

* getMetadata returns a single Metadata object, not an array

* add descriptions for metadata_kind parameters that were '???'

* note that modifyMetadata removes existing entries of the specified kind

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
4 years agotest_referral_depth is actually hitting the limit in doCNAMECacheCheck()
Otto Moerbeek [Tue, 31 Mar 2020 09:16:13 +0000 (11:16 +0200)] 
test_referral_depth is actually hitting the limit in doCNAMECacheCheck()
and not the generic depth limit. Use one less of referal to fix
that.  Additionally, test and fix the non-limited case.

4 years agoMerge pull request #8957 from Habbie/lua-test-resolve
Peter van Dijk [Tue, 31 Mar 2020 08:11:43 +0000 (10:11 +0200)] 
Merge pull request #8957 from Habbie/lua-test-resolve

auth LUA: add test for resolve() function

4 years agofix compilation without deprecated OpenSSL APIs 8985/head
Rosen Penev [Mon, 30 Mar 2020 20:40:44 +0000 (13:40 -0700)] 
fix compilation without deprecated OpenSSL APIs

This header is normally included with ssl.h.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agoMerge pull request #8975 from mind04/pdns-4.3.0-schema
Peter van Dijk [Mon, 30 Mar 2020 15:32:37 +0000 (17:32 +0200)] 
Merge pull request #8975 from mind04/pdns-4.3.0-schema

auth: improve sql schema updates

4 years agoMerge pull request #8976 from rgacogne/ddist-larger-incoming-buffer-dnscrypt
Remi Gacogne [Fri, 27 Mar 2020 14:59:57 +0000 (15:59 +0100)] 
Merge pull request #8976 from rgacogne/ddist-larger-incoming-buffer-dnscrypt

dnsdist: Accept UDP datagrams larger than 1500 bytes for DNSCrypt

4 years agoauth: remove beta2 schema files 8975/head
Kees Monshouwer [Thu, 26 Mar 2020 21:16:30 +0000 (22:16 +0100)] 
auth: remove beta2 schema files

4 years agoauth: improve sql schema updates
Kees Monshouwer [Sat, 21 Mar 2020 20:41:17 +0000 (21:41 +0100)] 
auth: improve sql schema updates