]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoproxyMapping: a table based approach to let the recursor know the actual IP address... 11396/head
Otto Moerbeek [Tue, 1 Mar 2022 14:32:59 +0000 (15:32 +0100)] 
proxyMapping: a table based approach to let the recursor know the actual IP address it should use for ACLS etc

3 years agoMerge pull request #11405 from omoerbeek/rec-perm-vs-timeout
Otto Moerbeek [Mon, 14 Mar 2022 20:53:36 +0000 (21:53 +0100)] 
Merge pull request #11405 from omoerbeek/rec-perm-vs-timeout

rec: Distinguish between unreachable and timeout for throttling

3 years agoMerge pull request #11397 from omoerbeek/rec-clean-tcp
Otto Moerbeek [Mon, 14 Mar 2022 20:38:07 +0000 (21:38 +0100)] 
Merge pull request #11397 from omoerbeek/rec-clean-tcp

rec: Wrong task was used to clean outgoing TCP

3 years agoMerge pull request #11376 from omoerbeek/rec-refresh-qm-ns-interaction
Otto Moerbeek [Mon, 14 Mar 2022 20:37:44 +0000 (21:37 +0100)] 
Merge pull request #11376 from omoerbeek/rec-refresh-qm-ns-interaction

rec: Be more careful using refresh mode only for the record asked.

3 years agoMerge pull request #11377 from fredmorcos/documentation-devenv
Fred Morcos [Mon, 14 Mar 2022 15:06:37 +0000 (16:06 +0100)] 
Merge pull request #11377 from fredmorcos/documentation-devenv

Documentation for a PowerDNS development environment based on a language server

3 years agoAdd instructions to use `compiledb`. 11377/head
Otto Moerbeek [Fri, 4 Mar 2022 08:03:00 +0000 (09:03 +0100)] 
Add instructions to use `compiledb`.

3 years agoDocumentation: Add section about minimal Emacs devenv with Eglot
Fred Morcos [Wed, 2 Mar 2022 12:57:49 +0000 (13:57 +0100)] 
Documentation: Add section about minimal Emacs devenv with Eglot

3 years agoDocumentation: Add section on debugging
Fred Morcos [Sun, 27 Feb 2022 03:43:29 +0000 (04:43 +0100)] 
Documentation: Add section on debugging

3 years agoDocumentation: Add document about devenv with a language server
Fred Morcos [Sat, 26 Feb 2022 14:49:54 +0000 (15:49 +0100)] 
Documentation: Add document about devenv with a language server

Also adds documentation on setting up Emacs to work with `clangd` and
`clang-tidy` using `lsp-mode`.

3 years agoDocumentation: Add section on code checkers and `clang-tidy`
Fred Morcos [Sat, 26 Feb 2022 14:49:41 +0000 (15:49 +0100)] 
Documentation: Add section on code checkers and `clang-tidy`

3 years agoMerge pull request #11415 from Habbie/dnsdist-newserver-default-port
Peter van Dijk [Mon, 14 Mar 2022 14:01:00 +0000 (15:01 +0100)] 
Merge pull request #11415 from Habbie/dnsdist-newserver-default-port

dnsdist: more useful default ports for DoT/DoH backends

3 years agoDocumentation: Small cleanup of the `clang-format` section
Fred Morcos [Sat, 26 Feb 2022 14:49:17 +0000 (15:49 +0100)] 
Documentation: Small cleanup of the `clang-format` section

3 years agodnsdist: more useful default ports for DoT/DoH backends 11415/head
Peter van Dijk [Mon, 14 Mar 2022 13:00:25 +0000 (14:00 +0100)] 
dnsdist: more useful default ports for DoT/DoH backends

3 years agoMerge pull request #11411 from tykling/patch-1
Peter van Dijk [Sun, 13 Mar 2022 15:47:00 +0000 (16:47 +0100)] 
Merge pull request #11411 from tykling/patch-1

Fix small typo in docs/domainmetadata.rst, s/recording/record/

3 years agotweak wording some more 11411/head
Peter van Dijk [Sun, 13 Mar 2022 15:46:45 +0000 (16:46 +0100)] 
tweak wording some more

3 years agoFix small typo, s/recording/record/
Thomas Steen Rasmussen [Sun, 13 Mar 2022 06:53:43 +0000 (07:53 +0100)] 
Fix small typo, s/recording/record/

While recordings are also fun I think the intended word here is "record" :)

3 years agoMerge pull request #11389 from Habbie/auth-api-fetch-rrset
Peter van Dijk [Fri, 11 Mar 2022 15:50:52 +0000 (16:50 +0100)] 
Merge pull request #11389 from Habbie/auth-api-fetch-rrset

auth API: fetch individual rrsets

3 years agoDistinguish between unreachable and timeout for throttling 11405/head
Otto Moerbeek [Fri, 11 Mar 2022 14:24:22 +0000 (15:24 +0100)] 
Distinguish between unreachable and timeout for throttling

Git history shows this was converted wrongly when hardcoded values were replaced by enum values

3 years agoReinstate refresh mode for {C,D}NAME cache lookups 11376/head
Otto Moerbeek [Fri, 11 Mar 2022 13:15:50 +0000 (14:15 +0100)] 
Reinstate refresh mode for {C,D}NAME cache lookups

3 years agoMerge pull request #11372 from aerique/feature/add-rec-47-to-repo-script
Otto Moerbeek [Fri, 11 Mar 2022 12:19:06 +0000 (13:19 +0100)] 
Merge pull request #11372 from aerique/feature/add-rec-47-to-repo-script

Add rec-47 to repo test script.

3 years agoMerge pull request #11398 from omoerbeek/deprecate-xpf
Otto Moerbeek [Fri, 11 Mar 2022 11:30:08 +0000 (12:30 +0100)] 
Merge pull request #11398 from omoerbeek/deprecate-xpf

Document that XPF is deprecated and wil be removed

3 years agoMerge pull request #11314 from mind04/auth-stats
Peter van Dijk [Fri, 11 Mar 2022 10:26:30 +0000 (11:26 +0100)] 
Merge pull request #11314 from mind04/auth-stats

auth: fix proxy protocol query statistics

3 years agoMerge pull request #11403 from jacobbunk/fix-typo-in-query-description
Peter van Dijk [Fri, 11 Mar 2022 09:55:08 +0000 (10:55 +0100)] 
Merge pull request #11403 from jacobbunk/fix-typo-in-query-description

Fix query description to say "first" when searching for first ordername.

3 years agoauth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A 11389/head
Peter van Dijk [Thu, 3 Mar 2022 10:42:58 +0000 (11:42 +0100)] 
auth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A

3 years agows-auth: small refactor to pass full req to fillZone
Peter van Dijk [Thu, 3 Mar 2022 10:18:56 +0000 (11:18 +0100)] 
ws-auth: small refactor to pass full req to fillZone

3 years agoMerge pull request #11388 from Habbie/dnsdist-log-timestamps
Peter van Dijk [Thu, 10 Mar 2022 16:52:35 +0000 (17:52 +0100)] 
Merge pull request #11388 from Habbie/dnsdist-log-timestamps

dnsdist: add --log-timestamps flag

3 years agoauth, rec, dnsdist: check strftime return value for logging timestamps 11388/head
Peter van Dijk [Thu, 10 Mar 2022 16:35:59 +0000 (17:35 +0100)] 
auth, rec, dnsdist: check strftime return value for logging timestamps

3 years agodnsdist: add --log-timestamps flag
Peter van Dijk [Thu, 3 Mar 2022 14:04:11 +0000 (15:04 +0100)] 
dnsdist: add --log-timestamps flag

3 years agoFix query description to say "first" when searching for first ordername. 11403/head
Jacob Bunk Nielsen [Wed, 9 Mar 2022 14:15:40 +0000 (15:15 +0100)] 
Fix query description to say "first" when searching for first ordername.

3 years agoMerge pull request #11375 from rgacogne/ddist-check-interval-timeouts
Remi Gacogne [Wed, 9 Mar 2022 09:27:55 +0000 (10:27 +0100)] 
Merge pull request #11375 from rgacogne/ddist-check-interval-timeouts

dnsdist: The check interval applies to health-check, not timeouts

3 years agoMerge pull request #11374 from rgacogne/ddist-release-udp-state
Remi Gacogne [Wed, 9 Mar 2022 09:27:16 +0000 (10:27 +0100)] 
Merge pull request #11374 from rgacogne/ddist-release-udp-state

dnsdist: Properly release UDP states when using random IDs

3 years agoMerge pull request #11395 from Habbie/launch-wait
Peter van Dijk [Tue, 8 Mar 2022 15:43:38 +0000 (16:43 +0100)] 
Merge pull request #11395 from Habbie/launch-wait

auth deb test: upstream more lenient startup wait

3 years agoDocument that XPF is deprecated and wil be removed. 11398/head
Otto Moerbeek [Mon, 7 Mar 2022 15:39:21 +0000 (16:39 +0100)] 
Document that XPF is deprecated and wil be removed.

3 years agoWrong task was used 11397/head
Otto Moerbeek [Mon, 7 Mar 2022 14:10:51 +0000 (15:10 +0100)] 
Wrong task was used

3 years agoauth deb test: upstream more lenient startup wait 11395/head
Peter van Dijk [Mon, 7 Mar 2022 08:09:51 +0000 (09:09 +0100)] 
auth deb test: upstream more lenient startup wait

3 years agoMerge pull request #11385 from stirnim/patch-1
Peter van Dijk [Thu, 3 Mar 2022 12:06:33 +0000 (13:06 +0100)] 
Merge pull request #11385 from stirnim/patch-1

fix doc of SVCParams alpn description

3 years agofix doc of SVCParams alpn description 11385/head
Daniel Stirnimann [Wed, 2 Mar 2022 12:51:43 +0000 (13:51 +0100)] 
fix doc of SVCParams alpn description

"doh" is not a valid alpn value. it's likely a typo and is meant to say "dot"

3 years agoMerge pull request #11365 from omoerbeek/rec-find-not-boolean
Otto Moerbeek [Tue, 1 Mar 2022 08:29:23 +0000 (09:29 +0100)] 
Merge pull request #11365 from omoerbeek/rec-find-not-boolean

rec: string::find(char) returns a size_type, not a boolean; coverity CID 1475294

3 years agoMerge pull request #11379 from Habbie/manual-package-builds
Peter van Dijk [Mon, 28 Feb 2022 15:44:58 +0000 (16:44 +0100)] 
Merge pull request #11379 from Habbie/manual-package-builds

GH actions: add manual dispatch for package building

3 years agoGH actions: add manual dispatch for package building 11379/head
Peter van Dijk [Mon, 28 Feb 2022 14:19:14 +0000 (15:19 +0100)] 
GH actions: add manual dispatch for package building

3 years agoBe more careful using refresh mode only for the record asked.
Otto Moerbeek [Mon, 28 Feb 2022 13:27:30 +0000 (14:27 +0100)] 
Be more careful using refresh mode only for the record asked.
Otherwise we get bad interaction with QM, as newly discovered
delegation points are stored in the cache, but not seen the QM
algorithm. Might/should fix #11371.

3 years agodnsdist: The check interval applies to health-check, not timeouts 11375/head
Remi Gacogne [Mon, 28 Feb 2022 12:21:53 +0000 (13:21 +0100)] 
dnsdist: The check interval applies to health-check, not timeouts

3 years agodnsdist: Properly release UDP states when using random IDs 11374/head
Remi Gacogne [Mon, 28 Feb 2022 12:20:40 +0000 (13:20 +0100)] 
dnsdist: Properly release UDP states when using random IDs

3 years agoAdd rec-47 to repo test script. 11372/head
Erik Winkels [Mon, 28 Feb 2022 09:35:28 +0000 (10:35 +0100)] 
Add rec-47 to repo test script.

3 years agoMerge pull request #11355 from omoerbeek/rec-prep-4.7.0-alpha1
Otto Moerbeek [Mon, 28 Feb 2022 09:33:19 +0000 (10:33 +0100)] 
Merge pull request #11355 from omoerbeek/rec-prep-4.7.0-alpha1

rec: Prep for rec-4.7.0-alpha1

3 years agoDocumentation: Formatting
Fred Morcos [Fri, 25 Feb 2022 12:48:18 +0000 (13:48 +0100)] 
Documentation: Formatting

3 years agoGitIgnore .gdb_history
Fred Morcos [Sun, 27 Feb 2022 03:49:15 +0000 (04:49 +0100)] 
GitIgnore .gdb_history

3 years agoMerge pull request #11364 from omoerbeek/rec-dnsheader-align
Otto Moerbeek [Fri, 25 Feb 2022 13:42:48 +0000 (14:42 +0100)] 
Merge pull request #11364 from omoerbeek/rec-dnsheader-align

rec: Introduce dnsheader_aligned: a helper class to access dnsheader data

3 years agostring::find(char) returns a size_type, not a bool; coverity CID 1475294 11365/head
Otto Moerbeek [Fri, 25 Feb 2022 13:16:47 +0000 (14:16 +0100)] 
string::find(char) returns a size_type, not a bool; coverity CID 1475294

3 years agoApply suggestions from code review 11355/head
Otto Moerbeek [Fri, 25 Feb 2022 10:56:07 +0000 (11:56 +0100)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoMerge pull request #11353 from rgacogne/ddist-doc-fixes
Remi Gacogne [Fri, 25 Feb 2022 09:07:57 +0000 (10:07 +0100)] 
Merge pull request #11353 from rgacogne/ddist-doc-fixes

dnsdist: Fix typos in the documentation

3 years agoPrep for rec-4.7.0-alpha1
Otto Moerbeek [Wed, 23 Feb 2022 10:22:10 +0000 (11:22 +0100)] 
Prep for rec-4.7.0-alpha1

3 years agoMerge pull request #11351 from PowerDNS/mention-C++17-support-instead-of-c++11 rec-4.7.0-alpha1
Otto Moerbeek [Thu, 24 Feb 2022 19:34:02 +0000 (20:34 +0100)] 
Merge pull request #11351 from PowerDNS/mention-C++17-support-instead-of-c++11

Update README.md for c++17 support

3 years agoFix FreeBSD part 11351/head
Otto Moerbeek [Thu, 24 Feb 2022 19:29:40 +0000 (20:29 +0100)] 
Fix FreeBSD part

3 years agoIntroduce dnsheader_aligned: a help class to access dnsheaders data 11364/head
Otto Moerbeek [Thu, 24 Feb 2022 19:18:13 +0000 (20:18 +0100)] 
Introduce dnsheader_aligned: a help class to access dnsheaders data
in a potentially unaligned buffer

3 years agoMerge pull request #11354 from Habbie/lmdb-random-ids-intrange
Peter van Dijk [Thu, 24 Feb 2022 18:37:48 +0000 (19:37 +0100)] 
Merge pull request #11354 from Habbie/lmdb-random-ids-intrange

auth lmdb random-ids: stop generating negative numbers

3 years agoMerge pull request #11352 from fredmorcos/clang-tidy
Fred Morcos [Thu, 24 Feb 2022 18:28:28 +0000 (19:28 +0100)] 
Merge pull request #11352 from fredmorcos/clang-tidy

Clang-tidy config files

3 years agoauth lmdb random-ids: stop generating negative numbers 11354/head
Peter van Dijk [Thu, 24 Feb 2022 16:19:21 +0000 (17:19 +0100)] 
auth lmdb random-ids: stop generating negative numbers

regression testing now happens with random IDs, except for HTTP API testing

3 years agoAdd clang-tidy config files 11352/head
Fred Morcos [Tue, 22 Feb 2022 10:11:53 +0000 (11:11 +0100)] 
Add clang-tidy config files

This adds two configuration files for clang-tidy. One `clang-tidy.full`
which enables all useful checks and the other `clang-tidy.bugs` which
only enables the bugprone-* and concurrency-* sets of checks.

To enable either one, symlink them to `.clang-tidy` in the top-level
directory.

3 years agoGitignore clangd cache dir and compilation db
Fred Morcos [Wed, 16 Feb 2022 08:10:19 +0000 (09:10 +0100)] 
Gitignore clangd cache dir and compilation db

3 years agodnsdist: Fix typos in the documentation 11353/head
Remi Gacogne [Thu, 24 Feb 2022 15:00:07 +0000 (16:00 +0100)] 
dnsdist: Fix typos in the documentation

3 years agoUpdate README.md
Otto Moerbeek [Thu, 24 Feb 2022 10:59:51 +0000 (11:59 +0100)] 
Update README.md

3 years agoMerge pull request #11349 from omoerbeek/rec-alias-lua
Otto Moerbeek [Wed, 23 Feb 2022 11:22:10 +0000 (12:22 +0100)] 
Merge pull request #11349 from omoerbeek/rec-alias-lua

Rec: do not tread qtype ALIAS and LUA special

3 years agoCreate a rec specific example.com test zone as rec does not know ALIAS now 11349/head
Otto Moerbeek [Wed, 23 Feb 2022 10:29:01 +0000 (11:29 +0100)] 
Create a rec specific example.com test zone as rec does not know ALIAS now

3 years agoMerge pull request #11348 from rgacogne/ddist-fix-compilation-coverity
Remi Gacogne [Wed, 23 Feb 2022 09:55:17 +0000 (10:55 +0100)] 
Merge pull request #11348 from rgacogne/ddist-fix-compilation-coverity

dnsdist: Fix broken compilation, issues reported by Coverity

3 years agoMake sure rec does not know ALIAS and LUA
Otto Moerbeek [Wed, 23 Feb 2022 09:18:48 +0000 (10:18 +0100)] 
Make sure rec does not know ALIAS and LUA

3 years agoDo not special case ALIAS and LUA, rec has should have no special knowledge of those
Otto Moerbeek [Wed, 23 Feb 2022 09:18:03 +0000 (10:18 +0100)] 
Do not special case ALIAS and LUA, rec has should have no special knowledge of those

3 years agodnsdist: Make Coverity happy 11348/head
Remi Gacogne [Wed, 23 Feb 2022 09:00:30 +0000 (10:00 +0100)] 
dnsdist: Make Coverity happy

- Test that a TCP response has a valid connection
- Remove a temporary when constructing the ring buffers

3 years agodnsdist: Fix a 'use after move' in newServer()
Remi Gacogne [Wed, 23 Feb 2022 08:59:23 +0000 (09:59 +0100)] 
dnsdist: Fix a 'use after move' in newServer()

Reported by Coverity (CID 376518).

3 years agodnsdist: Fix compilation issue resulting from a conflict between changes in #11293...
Remi Gacogne [Wed, 23 Feb 2022 08:57:50 +0000 (09:57 +0100)] 
dnsdist: Fix compilation issue resulting from a conflict between changes in #11293 and #11334

3 years agoMerge pull request #11338 from omoerbeek/rec-addrtask
Otto Moerbeek [Wed, 23 Feb 2022 08:35:45 +0000 (09:35 +0100)] 
Merge pull request #11338 from omoerbeek/rec-addrtask

rec: QType ADDR is supposed to be used internally only.

3 years agoMerge pull request #11334 from rgacogne/ddist-fix-xfr-error-crash
Remi Gacogne [Wed, 23 Feb 2022 08:34:43 +0000 (09:34 +0100)] 
Merge pull request #11334 from rgacogne/ddist-fix-xfr-error-crash

dnsdist: Fix a use-after-free in case of a network error in the middle of a XFR query

3 years agoUse structured logging 11338/head
Otto Moerbeek [Wed, 23 Feb 2022 06:44:45 +0000 (07:44 +0100)] 
Use structured logging

3 years agoDrop queries with packet types we do not like.
Otto Moerbeek [Mon, 21 Feb 2022 15:11:37 +0000 (16:11 +0100)] 
Drop queries with packet types we do not like.

While working on this, I noticed inconsistencies between UDP and TDP logging:
1 uses g_quiet, the other g_logCommonErrors. This needs to be revisited.

Also: the use of MT->getTid() seems strange, as it is used in places where
no mthread has been started yet in doProcessUDPQuestion() and handleRunningTCPQuestion().
That is, unless I'm missing something.

3 years agoChange log level to DEBUG, as the condition is externally triggerable.
Otto Moerbeek [Mon, 21 Feb 2022 08:21:07 +0000 (09:21 +0100)] 
Change log level to DEBUG, as the condition is externally triggerable.

3 years agoFormatting
Otto Moerbeek [Fri, 18 Feb 2022 16:53:15 +0000 (17:53 +0100)] 
Formatting

3 years agoLog error on wrong task push
Otto Moerbeek [Fri, 18 Feb 2022 16:38:00 +0000 (17:38 +0100)] 
Log error on wrong task push

3 years agoQType ADDR is supposed to be used internally only.
Otto Moerbeek [Fri, 18 Feb 2022 15:24:11 +0000 (16:24 +0100)] 
QType ADDR is supposed to be used internally only.

Should fix #11337

3 years agoMerge pull request #11347 from omoerbeek/rec-murmur-unaligned
Otto Moerbeek [Tue, 22 Feb 2022 19:53:15 +0000 (20:53 +0100)] 
Merge pull request #11347 from omoerbeek/rec-murmur-unaligned

rec: fix unaligned access is murmur hash code used by NOD

3 years agoMerge pull request #11302 from omoerbeek/rec-additional
Otto Moerbeek [Tue, 22 Feb 2022 18:37:38 +0000 (19:37 +0100)] 
Merge pull request #11302 from omoerbeek/rec-additional

Rec: add Additonal records to query results if appropriate

3 years agofix innocent type mixup 11347/head
Otto Moerbeek [Tue, 22 Feb 2022 18:36:56 +0000 (19:36 +0100)] 
fix innocent type mixup

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #11293 from rgacogne/ddist-backend-discovery-rebased
Remi Gacogne [Tue, 22 Feb 2022 18:09:05 +0000 (19:09 +0100)] 
Merge pull request #11293 from rgacogne/ddist-backend-discovery-rebased

dnsdist: Dynamic discovery and upgrade of backends

3 years agoApply suggestions from code review 11302/head
Otto Moerbeek [Tue, 22 Feb 2022 10:19:51 +0000 (11:19 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoAdd tests for additionals
Otto Moerbeek [Tue, 15 Feb 2022 11:53:07 +0000 (12:53 +0100)] 
Add tests for additionals

3 years agoFor dedupping RRSIGs we need to take into account the type covered.
Otto Moerbeek [Tue, 15 Feb 2022 11:51:51 +0000 (12:51 +0100)] 
For dedupping RRSIGs we need to take into account the type covered.
Fix thinko: even if we' not doing IPvN ourselves, it stil can be interesting for clients

3 years agoAdd docs for addAllowedAdditionalQType()
Otto Moerbeek [Tue, 15 Feb 2022 09:25:07 +0000 (10:25 +0100)] 
Add docs for addAllowedAdditionalQType()

3 years agoAllow not shuffling the Additionals
Otto Moerbeek [Mon, 14 Feb 2022 11:26:20 +0000 (12:26 +0100)] 
Allow not shuffling the Additionals

3 years agoBetter DNSSEC handling: do not add Intermnediates if validation is required.
Otto Moerbeek [Fri, 11 Feb 2022 07:46:03 +0000 (08:46 +0100)] 
Better DNSSEC handling: do not add Intermnediates if validation is required.
Also remember the validation status of the main query.

3 years agoAdd recursion, the records found can be subject to expansion
Otto Moerbeek [Mon, 7 Feb 2022 14:56:03 +0000 (15:56 +0100)] 
Add recursion, the records found can be subject to expansion

3 years agorec: fix unaligned access is murmur hash code used by NOD
Otto Moerbeek [Tue, 22 Feb 2022 13:26:26 +0000 (14:26 +0100)] 
rec: fix unaligned access is murmur hash code used by NOD

3 years agoMerge pull request #11294 from omoerbeek/rec-resolve-aaaa-task
Otto Moerbeek [Tue, 22 Feb 2022 14:32:59 +0000 (15:32 +0100)] 
Merge pull request #11294 from omoerbeek/rec-resolve-aaaa-task

Rec: resolve AAAA for NS in an async task

3 years agodnsdist: Document that whether we upgrade to DoT or DoH depends on the SVCB record 11293/head
Remi Gacogne [Tue, 22 Feb 2022 12:33:19 +0000 (13:33 +0100)] 
dnsdist: Document that whether we upgrade to DoT or DoH depends on the SVCB record

3 years agoAdd unit tests for taskqueue, removing the old stub code and using the real stuff 11294/head
Otto Moerbeek [Tue, 22 Feb 2022 09:50:04 +0000 (10:50 +0100)] 
Add unit tests for taskqueue, removing the old stub code and using the real stuff

3 years agodnsdist: Fix an off-by-one second issue in the health-check interval
Remi Gacogne [Thu, 17 Feb 2022 09:31:12 +0000 (10:31 +0100)] 
dnsdist: Fix an off-by-one second issue in the health-check interval

3 years agodnsdist: Schedule an immediate health-check for upgraded backends
Remi Gacogne [Wed, 16 Feb 2022 16:15:00 +0000 (17:15 +0100)] 
dnsdist: Schedule an immediate health-check for upgraded backends

3 years agodnsdist: Fix backends kept after upgrade no longer working
Remi Gacogne [Wed, 16 Feb 2022 16:14:11 +0000 (17:14 +0100)] 
dnsdist: Fix backends kept after upgrade no longer working

3 years agodnsdist: Remove move-constructor and move copy operator for DownstreamState
Remi Gacogne [Wed, 16 Feb 2022 15:00:07 +0000 (16:00 +0100)] 
dnsdist: Remove move-constructor and move copy operator for DownstreamState

3 years agoiputils: Stop using boost::format for error messages
Remi Gacogne [Fri, 11 Feb 2022 08:45:37 +0000 (09:45 +0100)] 
iputils: Stop using boost::format for error messages

3 years agodnsdist: Wait a bit longer in the Backend Discovery regression tests
Remi Gacogne [Thu, 10 Feb 2022 14:50:54 +0000 (15:50 +0100)] 
dnsdist: Wait a bit longer in the Backend Discovery regression tests

Otherwise TSAN complains about a race in `boost::format` between the
connection error message in `SConnectWithTimeout()` and the output of
`showServers()`..

3 years agodnsdist: Do a second backend upgrade check if the first failed, in the regression...
Remi Gacogne [Thu, 10 Feb 2022 10:40:31 +0000 (11:40 +0100)] 
dnsdist: Do a second backend upgrade check if the first failed, in the regression tests