]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agorec: Set the start of the stack right away to avoid an ASAN issue 10036/head
Remi Gacogne [Mon, 1 Feb 2021 11:51:44 +0000 (12:51 +0100)] 
rec: Set the start of the stack right away to avoid an ASAN issue

We used to wait until the first invocation of a MTask to set the
start of the stack, but that sometimes resulted in passing the nullptr
address to ASAN when calling a task for the first time.
It resulted in ASAN skipping the stack switch, logging something like:
```
WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x000000020000; bottom 0x7f18f174a000; size: 0xffff80e70e8d6000 (-139745106763776)
False positive error reports may follow
```
Then almost right away complaining about a stack-use-after-scope,
or a stack-based overflow.

This changes sets the end of the memory allocation before the first
invocation, so that we always notify a valid value. A closer
approximation is still set during the first invocation, as before.

4 years agoMerge pull request #10035 from rgacogne/ddist-static-fixes
Remi Gacogne [Mon, 1 Feb 2021 09:36:48 +0000 (10:36 +0100)] 
Merge pull request #10035 from rgacogne/ddist-static-fixes

dnsdist: Fix a few warnings reported by clang's static analyzer and cppcheck

4 years agoMerge pull request #10030 from Habbie/protozero-includes
Peter van Dijk [Mon, 1 Feb 2021 08:38:02 +0000 (09:38 +0100)] 
Merge pull request #10030 from Habbie/protozero-includes

protozero: make internal includes work

4 years agoMerge pull request #10031 from Habbie/test-luawrapper
Peter van Dijk [Mon, 1 Feb 2021 08:28:10 +0000 (09:28 +0100)] 
Merge pull request #10031 from Habbie/test-luawrapper

test luawrapper in make check

4 years agotest luawrapper registerFunction in make check 10031/head
Peter van Dijk [Sun, 31 Jan 2021 00:31:26 +0000 (01:31 +0100)] 
test luawrapper registerFunction in make check

4 years agoprotozero: make internal includes work 10030/head
Peter van Dijk [Fri, 29 Jan 2021 22:51:45 +0000 (23:51 +0100)] 
protozero: make internal includes work

4 years agodnsdist: Silence a 'performance' warning from cppcheck 10035/head
Remi Gacogne [Fri, 29 Jan 2021 16:02:03 +0000 (17:02 +0100)] 
dnsdist: Silence a 'performance' warning from cppcheck

4 years agoWork around false positives from cppcheck
Remi Gacogne [Fri, 29 Jan 2021 16:01:18 +0000 (17:01 +0100)] 
Work around false positives from cppcheck

4 years agodnsdist: Fix a bug when loading the rings from a file
Remi Gacogne [Fri, 29 Jan 2021 16:00:45 +0000 (17:00 +0100)] 
dnsdist: Fix a bug when loading the rings from a file

4 years agodnsdist: Correctly handle numerical web passwords and keys
Remi Gacogne [Fri, 29 Jan 2021 16:00:13 +0000 (17:00 +0100)] 
dnsdist: Correctly handle numerical web passwords and keys

4 years agodnsdist: Remove a construct that cppcheck is choking on
Remi Gacogne [Fri, 29 Jan 2021 15:59:35 +0000 (16:59 +0100)] 
dnsdist: Remove a construct that cppcheck is choking on

4 years agoSilence false positives about unintialized values
Remi Gacogne [Fri, 29 Jan 2021 15:59:21 +0000 (16:59 +0100)] 
Silence false positives about unintialized values

4 years agoSilence warnings about values set but not used
Remi Gacogne [Fri, 29 Jan 2021 15:57:24 +0000 (16:57 +0100)] 
Silence warnings about values set but not used

4 years agoPass strings as const references in exceptions
Remi Gacogne [Fri, 29 Jan 2021 15:56:03 +0000 (16:56 +0100)] 
Pass strings as const references in exceptions

4 years agoMerge pull request #9997 from rgacogne/ddist-concurrent-conns
Remi Gacogne [Fri, 29 Jan 2021 11:46:01 +0000 (12:46 +0100)] 
Merge pull request #9997 from rgacogne/ddist-concurrent-conns

dnsdist: Limit the number of concurrent console and web connections

4 years agodnsdist: Add unit tests for the connection management code 9997/head
Remi Gacogne [Fri, 29 Jan 2021 10:24:30 +0000 (11:24 +0100)] 
dnsdist: Add unit tests for the connection management code

4 years agodnsdist: Limit the number of concurrent web connections
Remi Gacogne [Thu, 21 Jan 2021 13:43:37 +0000 (14:43 +0100)] 
dnsdist: Limit the number of concurrent web connections

4 years agodnsdist: Limit the number of concurrent console connections
Remi Gacogne [Thu, 21 Jan 2021 12:58:29 +0000 (13:58 +0100)] 
dnsdist: Limit the number of concurrent console connections

4 years agoMerge pull request #9950 from pieterlexis/maxtcpclient-error
Remi Gacogne [Thu, 28 Jan 2021 11:09:16 +0000 (12:09 +0100)] 
Merge pull request #9950 from pieterlexis/maxtcpclient-error

dnsdist: Improve error with a hint on how to fix it

4 years agoddist: improve error with a hint on how to fix it 9950/head
Pieter Lexis [Tue, 12 Jan 2021 08:58:50 +0000 (09:58 +0100)] 
ddist: improve error with a hint on how to fix it

4 years agoMerge pull request #10011 from pieterlexis/ddist-doc-deprecation
Remi Gacogne [Thu, 28 Jan 2021 09:26:12 +0000 (10:26 +0100)] 
Merge pull request #10011 from pieterlexis/ddist-doc-deprecation

dnsdist: clean up docs for 1.6.0

4 years agoMerge pull request #10023 from omoerbeek/dnsdist-vdt-BasicQPSLimiter
Otto Moerbeek [Wed, 27 Jan 2021 16:28:17 +0000 (17:28 +0100)] 
Merge pull request #10023 from omoerbeek/dnsdist-vdt-BasicQPSLimiter

dnsdist: Silence clang 12 warning

4 years agoTitle underline too short
Otto Moerbeek [Wed, 27 Jan 2021 15:52:28 +0000 (16:52 +0100)] 
Title underline too short

4 years agoMerge pull request #10004 from omoerbeek/rec-2038-unit-tests
Otto Moerbeek [Wed, 27 Jan 2021 15:35:21 +0000 (16:35 +0100)] 
Merge pull request #10004 from omoerbeek/rec-2038-unit-tests

rec: fix recursor caches to handle timestamps > 2038

4 years agoSilence clang 12 warning: destructor called on non-final 'QPSLimiter' that has virtual 10023/head
Otto [Wed, 27 Jan 2021 15:22:14 +0000 (16:22 +0100)] 
Silence clang 12 warning: destructor called on non-final 'QPSLimiter' that has virtual
functions but non-virtual destructor

4 years agoMerge pull request #10014 from omoerbeek/rec-validate-after-2038
Otto Moerbeek [Wed, 27 Jan 2021 14:25:09 +0000 (15:25 +0100)] 
Merge pull request #10014 from omoerbeek/rec-validate-after-2038

Rec: validate signatures after 2038 and more

4 years agoUse named qtype 10004/head
Otto Moerbeek [Wed, 27 Jan 2021 14:24:01 +0000 (15:24 +0100)] 
Use named qtype

Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
4 years agoRemove functions deprecated before 1.4.0 10011/head
Pieter Lexis [Tue, 26 Jan 2021 11:14:11 +0000 (12:14 +0100)] 
Remove functions deprecated before 1.4.0

4 years agoremove all pre-1.4.0 versionchanged tags
Pieter Lexis [Tue, 26 Jan 2021 11:11:33 +0000 (12:11 +0100)] 
remove all pre-1.4.0 versionchanged tags

4 years agoremove all pre-1.4.0 versionadded tags
Pieter Lexis [Tue, 26 Jan 2021 11:08:56 +0000 (12:08 +0100)] 
remove all pre-1.4.0 versionadded tags

4 years agoMerge pull request #10020 from omoerbeek/rec-taskqueue-metrics
Otto Moerbeek [Wed, 27 Jan 2021 12:23:05 +0000 (13:23 +0100)] 
Merge pull request #10020 from omoerbeek/rec-taskqueue-metrics

rec: Document taskqueue metrics and add them to SNMP MIB

4 years agoMerge pull request #10019 from omoerbeek/rec-dnssec-cd-docs
Otto Moerbeek [Wed, 27 Jan 2021 10:42:44 +0000 (11:42 +0100)] 
Merge pull request #10019 from omoerbeek/rec-dnssec-cd-docs

rec: Document CD bit better, reference detailed DNSSEC docs from settings

4 years agoTypos and spelling 10020/head
Otto [Wed, 27 Jan 2021 10:30:12 +0000 (11:30 +0100)] 
Typos and spelling

4 years agoDocument taskqueue metrics and add them to SNMP MIB
Otto [Wed, 27 Jan 2021 10:19:41 +0000 (11:19 +0100)] 
Document taskqueue metrics and add them to SNMP MIB

4 years agoDocument CD bit better, reference detailed DNSSEC docs from settings 10019/head
Otto [Wed, 27 Jan 2021 08:46:16 +0000 (09:46 +0100)] 
Document CD bit better, reference detailed DNSSEC docs from settings
and reformat two item lists.

4 years agoMerge pull request #10015 from rgacogne/ddist-nmg-exclude
Remi Gacogne [Wed, 27 Jan 2021 08:41:24 +0000 (09:41 +0100)] 
Merge pull request #10015 from rgacogne/ddist-nmg-exclude

dnsdist: Accept a NMG to fill DynBlockRulesGroup ranges

4 years agodnsdist: Accept a NMG to fill DynBlockRulesGroup ranges 10015/head
Remi Gacogne [Tue, 26 Jan 2021 16:39:00 +0000 (17:39 +0100)] 
dnsdist: Accept a NMG to fill DynBlockRulesGroup ranges

4 years agoMerge pull request #9974 from rgacogne/ddist-rename-non-terminal-actions
Remi Gacogne [Tue, 26 Jan 2021 15:59:21 +0000 (16:59 +0100)] 
Merge pull request #9974 from rgacogne/ddist-rename-non-terminal-actions

dnsdist: Unify non-terminal actions as SetXXXAction()

4 years agoAllow testing at a specific point in time for SyncRes and primeHints. 10014/head
Otto [Tue, 26 Jan 2021 14:54:23 +0000 (15:54 +0100)] 
Allow testing at a specific point in time for SyncRes and primeHints.

Use this to test various signature validation cases at interesting
moments in time. Beyond 2106 fails atm.

4 years agoMention rfc4034.tx in comments, marking the spots something has to be done in the...
Otto [Tue, 26 Jan 2021 14:53:18 +0000 (15:53 +0100)] 
Mention rfc4034.tx in comments, marking the spots something has to be done in the future.

4 years agoMerge pull request #9998 from rgacogne/dnsdist-aligned-atomics
Remi Gacogne [Tue, 26 Jan 2021 13:41:04 +0000 (14:41 +0100)] 
Merge pull request #9998 from rgacogne/dnsdist-aligned-atomics

dnsdist: aligned atomics

4 years agoMerge pull request #10012 from rgacogne/ddist-fix-edns-servfail-no-server
Remi Gacogne [Tue, 26 Jan 2021 13:06:57 +0000 (14:06 +0100)] 
Merge pull request #10012 from rgacogne/ddist-fix-edns-servfail-no-server

dnsdist: Fix EDNS in ServFail generated when no server is available

4 years agodnsdist: Fix EDNS in ServFail generated when no server is available 10012/head
Remi Gacogne [Tue, 26 Jan 2021 11:53:59 +0000 (12:53 +0100)] 
dnsdist: Fix EDNS in ServFail generated when no server is available

4 years agodnsdist: Fix issues and comments from the code review 9974/head
Remi Gacogne [Tue, 26 Jan 2021 11:43:12 +0000 (12:43 +0100)] 
dnsdist: Fix issues and comments from the code review

4 years agoFormatting
Otto [Tue, 26 Jan 2021 10:02:34 +0000 (11:02 +0100)] 
Formatting

4 years agodnsdist: Unify non-terminal actions as SetXXXAction()
Remi Gacogne [Thu, 14 Jan 2021 15:34:28 +0000 (16:34 +0100)] 
dnsdist: Unify non-terminal actions as SetXXXAction()

4 years agoMerge pull request #9999 from rgacogne/ddist-qps-cache-hits
Remi Gacogne [Tue, 26 Jan 2021 09:07:25 +0000 (10:07 +0100)] 
Merge pull request #9999 from rgacogne/ddist-qps-cache-hits

dnsdist: Don't apply QPS to backend server on cache hits

4 years agodnsdist: Fix source files order in Makefile.am 9998/head
Remi Gacogne [Tue, 26 Jan 2021 08:44:11 +0000 (09:44 +0100)] 
dnsdist: Fix source files order in Makefile.am

4 years agoMerge pull request #10003 from pieterlexis/rec-spec-fixes
Pieter Lexis [Mon, 25 Jan 2021 15:14:54 +0000 (16:14 +0100)] 
Merge pull request #10003 from pieterlexis/rec-spec-fixes

Two spec-file fixes for the recursor

4 years agoBasic test for negcache.
Otto [Mon, 25 Jan 2021 15:11:21 +0000 (16:11 +0100)] 
Basic test for negcache.

This one seems to be safe from code inspection. All timestamps are time_t.

4 years agorec rpms: pull in fstrm unconditionally 10003/head
Pieter Lexis [Mon, 25 Jan 2021 09:43:25 +0000 (10:43 +0100)] 
rec rpms: pull in fstrm unconditionally

4 years agoMore elaborate unit tests for recursor cache and fix implemantation.
Otto [Mon, 25 Jan 2021 12:44:42 +0000 (13:44 +0100)] 
More elaborate unit tests for recursor cache and fix implemantation.

There remain cases where a time_t is assigned to a uint32_t. This is wrong
but cannot be avoided atm due to swicthing back and forth between ttl and ttd
in records. This will cause trouble when time causes uint32_t to wrap.

4 years agoAdd/modify test so the timestamps involved pass the 2038 high cliff.
Otto [Mon, 25 Jan 2021 10:00:53 +0000 (11:00 +0100)] 
Add/modify test so the timestamps involved pass the 2038 high cliff.

Recursor cache one is currently failing, a few functions return
int32_t instead of time_t.

4 years agorec rpms: stop pulling in protobuf build depends
Pieter Lexis [Mon, 25 Jan 2021 09:43:06 +0000 (10:43 +0100)] 
rec rpms: stop pulling in protobuf build depends

4 years agoMerge pull request #10001 from wopfel/carbon_instance_help_text
Pieter Lexis [Fri, 22 Jan 2021 13:36:39 +0000 (14:36 +0100)] 
Merge pull request #10001 from wopfel/carbon_instance_help_text

Fix help text for carbon-instance

4 years agoMerge pull request #9996 from pieterlexis/rec-rfc6761-localhost
Otto Moerbeek [Fri, 22 Jan 2021 13:15:18 +0000 (14:15 +0100)] 
Merge pull request #9996 from pieterlexis/rec-rfc6761-localhost

rec: treat the .localhost domain as special

4 years agoFix help text for carbon-instance 10001/head
Bernd Arnold [Fri, 22 Jan 2021 12:11:08 +0000 (13:11 +0100)] 
Fix help text for carbon-instance

"the the"

When running `pdns_recursor --help`, or `pdns_server --help`:

  --carbon-instance=...
If set overwrites the the instance name default

4 years agodnsdist: Don't apply QPS to backend server on cache hits 9999/head
Remi Gacogne [Thu, 21 Jan 2021 16:25:51 +0000 (17:25 +0100)] 
dnsdist: Don't apply QPS to backend server on cache hits

4 years agoSeparate out stat_h into a .hh file and make it a template in the pdns namespace.
Otto Moerbeek [Fri, 11 Sep 2020 09:53:15 +0000 (11:53 +0200)] 
Separate out stat_h into a .hh file and make it a template in the pdns namespace.

4 years agoUse atomics aligned to CPU_LEVEL1_DCACHE_LINESIZE for stats
Otto Moerbeek [Wed, 9 Sep 2020 12:34:51 +0000 (14:34 +0200)] 
Use atomics aligned to CPU_LEVEL1_DCACHE_LINESIZE for stats

4 years agorec: treat the .localhost domain as special 9996/head
Pieter Lexis [Thu, 21 Jan 2021 10:10:19 +0000 (11:10 +0100)] 
rec: treat the .localhost domain as special

This satisfies the SHOULD in RFC6761 section 6.3 point 4.

4 years agoMerge pull request #9993 from rgacogne/ddist-offensive-terms
Remi Gacogne [Wed, 20 Jan 2021 10:54:09 +0000 (11:54 +0100)] 
Merge pull request #9993 from rgacogne/ddist-offensive-terms

dnsdist: Replace offensive terms in our code and documentation

4 years agoMerge pull request #9991 from rgacogne/ddist-notimp-empty-queries
Remi Gacogne [Wed, 20 Jan 2021 09:50:39 +0000 (10:50 +0100)] 
Merge pull request #9991 from rgacogne/ddist-notimp-empty-queries

dnsdist: Send a NotImp answer on empty (qdcount=0) queries

4 years agoMerge pull request #9992 from rgacogne/ddist-rule-truncated-counters
Remi Gacogne [Wed, 20 Jan 2021 09:48:25 +0000 (10:48 +0100)] 
Merge pull request #9992 from rgacogne/ddist-rule-truncated-counters

dnsdist: Add a counter for queries truncated because of a rule

4 years agodnsdist: Replace offensive terms in our code and documentation 9993/head
Remi Gacogne [Wed, 20 Jan 2021 09:45:15 +0000 (10:45 +0100)] 
dnsdist: Replace offensive terms in our code and documentation

4 years agodnsdist: Add a counter for queries truncated because of a rule 9992/head
Remi Gacogne [Tue, 19 Jan 2021 18:23:46 +0000 (19:23 +0100)] 
dnsdist: Add a counter for queries truncated because of a rule

4 years agodnsdist: Send a NotImp answer on empty (qdcount=0) queries 9991/head
Remi Gacogne [Tue, 19 Jan 2021 15:33:21 +0000 (16:33 +0100)] 
dnsdist: Send a NotImp answer on empty (qdcount=0) queries

4 years agoMerge pull request #9957 from rgacogne/ddist-tcp-worker-threads
Remi Gacogne [Tue, 19 Jan 2021 10:00:53 +0000 (11:00 +0100)] 
Merge pull request #9957 from rgacogne/ddist-tcp-worker-threads

dnsdist: Start all TCP worker threads on startup

4 years agoMerge pull request #9972 from rgacogne/ddist-stats-no-auth
Remi Gacogne [Tue, 19 Jan 2021 10:00:22 +0000 (11:00 +0100)] 
Merge pull request #9972 from rgacogne/ddist-stats-no-auth

dnsdist: Deprecate parameters to webserver(), add 'statsRequireAuthentication' parameter

4 years agoMerge pull request #9984 from rgacogne/ddist-dynblock-response-count-as-query
Remi Gacogne [Tue, 19 Jan 2021 09:59:31 +0000 (10:59 +0100)] 
Merge pull request #9984 from rgacogne/ddist-dynblock-response-count-as-query

dnsdist: Add a test for "Dynamic Block RCode rules messing up the queries count"

4 years agoMerge pull request #9989 from rgacogne/ddist-named-facilities
Remi Gacogne [Tue, 19 Jan 2021 09:59:14 +0000 (10:59 +0100)] 
Merge pull request #9989 from rgacogne/ddist-named-facilities

dnsdist: Handle syslog facility as string, document the numerical one

4 years agoMerge pull request #9986 from rgacogne/ddist-cert-ocsp-reloading
Remi Gacogne [Tue, 19 Jan 2021 09:58:34 +0000 (10:58 +0100)] 
Merge pull request #9986 from rgacogne/ddist-cert-ocsp-reloading

dnsdist: Add regression tests for certificates and OCSP reloading

4 years agodnsdist: Handle syslog facility as string, document the numerical one 9989/head
Remi Gacogne [Mon, 18 Jan 2021 16:55:24 +0000 (17:55 +0100)] 
dnsdist: Handle syslog facility as string, document the numerical one

4 years agodnsdist: Add regression tests for certificates and OCSP reloading 9986/head
Remi Gacogne [Mon, 18 Jan 2021 14:41:10 +0000 (15:41 +0100)] 
dnsdist: Add regression tests for certificates and OCSP reloading

4 years agoMerge pull request #9885 from RobinGeuze/clearLMDBCacheMaster
Peter van Dijk [Mon, 18 Jan 2021 10:55:57 +0000 (11:55 +0100)] 
Merge pull request #9885 from RobinGeuze/clearLMDBCacheMaster

Clear the LMDB set state when performing a new lookup or list to prevent corruption cases

4 years agodnsdist: Add a debugging function to load a grepq into the rings 9984/head
Remi Gacogne [Mon, 18 Jan 2021 10:19:56 +0000 (11:19 +0100)] 
dnsdist: Add a debugging function to load a grepq into the rings

4 years agodnsdist: Add a test for "Dynamic Block RCode rules messing up the queries count"
Remi Gacogne [Mon, 18 Jan 2021 10:19:40 +0000 (11:19 +0100)] 
dnsdist: Add a test for "Dynamic Block RCode rules messing up the queries count"

4 years agoMerge pull request #9966 from Habbie/auth-4.4-docs-ipseckey
Peter van Dijk [Mon, 18 Jan 2021 07:52:49 +0000 (08:52 +0100)] 
Merge pull request #9966 from Habbie/auth-4.4-docs-ipseckey

auth upgrade notes: IPSECKEY did not make it into 4.4

4 years agoMerge pull request #9962 from rgacogne/ddist-doh-sub-paths
Remi Gacogne [Mon, 18 Jan 2021 07:19:43 +0000 (08:19 +0100)] 
Merge pull request #9962 from rgacogne/ddist-doh-sub-paths

dnsdist: Add an option to allow sub-paths for DoH

4 years agoMerge pull request #9976 from rgacogne/ddist-more-dynblock-unit-tests
Remi Gacogne [Mon, 18 Jan 2021 07:19:09 +0000 (08:19 +0100)] 
Merge pull request #9976 from rgacogne/ddist-more-dynblock-unit-tests

dnsdist: More tests for the dynamic block's sliding window

4 years agoMerge pull request #9959 from omoerbeek/rec-docs-plusassign
Peter van Dijk [Sat, 16 Jan 2021 19:32:59 +0000 (20:32 +0100)] 
Merge pull request #9959 from omoerbeek/rec-docs-plusassign

rec: Mention += in the docs plus an example

4 years agoMerge pull request #9969 from zeha/doc-nit-alias
Peter van Dijk [Sat, 16 Jan 2021 19:27:33 +0000 (20:27 +0100)] 
Merge pull request #9969 from zeha/doc-nit-alias

auth: Document resolver setting

4 years agoMerge pull request #9975 from aerique/feature/add-rec-45-to-repo-script
Peter van Dijk [Sat, 16 Jan 2021 19:26:40 +0000 (20:26 +0100)] 
Merge pull request #9975 from aerique/feature/add-rec-45-to-repo-script

Add rec-45 to repo test script.

4 years agoMerge pull request #9981 from franklouwers/feature/update-lmdb-schema-docs
Peter van Dijk [Sat, 16 Jan 2021 19:25:12 +0000 (20:25 +0100)] 
Merge pull request #9981 from franklouwers/feature/update-lmdb-schema-docs

Document LMDB backend schema versions

4 years agoMerge pull request #9983 from omoerbeek/dist-tar-ustar
Otto Moerbeek [Sat, 16 Jan 2021 19:23:48 +0000 (20:23 +0100)] 
Merge pull request #9983 from omoerbeek/dist-tar-ustar

Move to ustar format for dist tarballs.

4 years agoMerge pull request #9979 from omoerbeek/calidns-msg_iovlen-type
Peter van Dijk [Sat, 16 Jan 2021 19:22:49 +0000 (20:22 +0100)] 
Merge pull request #9979 from omoerbeek/calidns-msg_iovlen-type

Some platforms actually have an unsigned msghdr.msg_iovlen even though Posix says it should be an int.

4 years agoMerge pull request #9982 from omoerbeek/rm-c++17
Otto Moerbeek [Sat, 16 Jan 2021 16:51:10 +0000 (17:51 +0100)] 
Merge pull request #9982 from omoerbeek/rm-c++17

Rm c++17

4 years agoMove to ustar format for dnsdist dist tarball. 9983/head
Otto [Sat, 16 Jan 2021 14:00:09 +0000 (15:00 +0100)] 
Move to ustar format for dnsdist dist tarball.

Pre-Posix format has too low limit on path length that might
get hit on long branch names.

4 years agoAddding re2 flags wil break c++17, so override 9977/head 9982/head
Otto Moerbeek [Fri, 15 Jan 2021 12:56:36 +0000 (12:56 +0000)] 
Addding re2 flags wil break c++17, so override

4 years agoUpdate docs/backends/lmdb.rst 9981/head
Frank Louwers [Fri, 15 Jan 2021 19:55:22 +0000 (20:55 +0100)] 
Update docs/backends/lmdb.rst

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agoDocument LMDB backend schema versions
Frank Louwers [Fri, 15 Jan 2021 19:50:49 +0000 (20:50 +0100)] 
Document LMDB backend schema versions

4 years agoSome platforms actually have an unsigned msghdr.msg_iovlen even 9979/head
Otto [Fri, 15 Jan 2021 14:59:06 +0000 (15:59 +0100)] 
Some platforms actually have an unsigned msghdr.msg_iovlen even
though Posix says it should be an int.

So use the power of C++ to make the var the same type as msghdr.msg_iovlen.

4 years agoMerge pull request #9978 from Habbie/configure-sanitizers
Peter van Dijk [Fri, 15 Jan 2021 14:26:46 +0000 (15:26 +0100)] 
Merge pull request #9978 from Habbie/configure-sanitizers

auth, rec, dnsdist: always show sanitizers in C[XX]FLAGS in configure output

4 years agoRefer to EOL policy 9959/head
Otto [Fri, 15 Jan 2021 14:16:30 +0000 (15:16 +0100)] 
Refer to EOL policy

4 years agoauth, rec, dnsdist: always show sanitizers in C[XX]FLAGS in configure output 9978/head
Peter van Dijk [Fri, 15 Jan 2021 12:39:42 +0000 (13:39 +0100)] 
auth, rec, dnsdist: always show sanitizers in C[XX]FLAGS in configure output

4 years agoNow that configure adds the -std= flag always, we can stop specifying it manually
Otto [Fri, 15 Jan 2021 11:37:12 +0000 (12:37 +0100)] 
Now that configure adds the -std= flag always, we can stop specifying it manually

4 years agodnsdist: More tests for the dynamic block's sliding window 9976/head
Remi Gacogne [Fri, 15 Jan 2021 11:01:30 +0000 (12:01 +0100)] 
dnsdist: More tests for the dynamic block's sliding window

Check that we do not look at queries older than our sliding window,
but also that we correctly trigger a block with a huge peak of
queries not followed by any more queries.

4 years agoRemove `rec-41` from repo test script. 9975/head
Erik Winkels [Fri, 15 Jan 2021 10:08:13 +0000 (11:08 +0100)] 
Remove `rec-41` from repo test script.

4 years agoMerge pull request #9971 from omoerbeek/rec-prep-450-alpha1
Otto Moerbeek [Fri, 15 Jan 2021 10:01:40 +0000 (11:01 +0100)] 
Merge pull request #9971 from omoerbeek/rec-prep-450-alpha1

rec: Prep for rec-4.5.0-alpha1

4 years agoAdd rec-45 to repo test script.
Erik Winkels [Fri, 15 Jan 2021 09:59:14 +0000 (10:59 +0100)] 
Add rec-45 to repo test script.