]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
19 months agoUS English 13562/head
Otto Moerbeek [Wed, 6 Dec 2023 09:26:56 +0000 (10:26 +0100)] 
US English

19 months agoRemove redundant word
Otto Moerbeek [Wed, 6 Dec 2023 06:38:27 +0000 (07:38 +0100)] 
Remove redundant word

Co-authored-by: Neil Cook <neil.cook@noware.co.uk>
19 months agoApply suggestions from code review
Otto Moerbeek [Tue, 5 Dec 2023 11:25:40 +0000 (12:25 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
19 months agoFine tune EOL policy
Otto Moerbeek [Tue, 5 Dec 2023 10:33:37 +0000 (11:33 +0100)] 
Fine tune EOL policy

19 months agoPrep for rec-5.0.0-rc1
Otto Moerbeek [Tue, 5 Dec 2023 09:54:26 +0000 (10:54 +0100)] 
Prep for rec-5.0.0-rc1

19 months agoMerge pull request #13515 from rgacogne/ddist-suffix-visitor-set-action rec-5.1.0-alpha0
Remi Gacogne [Mon, 4 Dec 2023 14:41:42 +0000 (15:41 +0100)] 
Merge pull request #13515 from rgacogne/ddist-suffix-visitor-set-action

dnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor

19 months agoMerge pull request #13503 from rgacogne/ddist-nmg-add-nmg
Remi Gacogne [Mon, 4 Dec 2023 12:57:20 +0000 (13:57 +0100)] 
Merge pull request #13503 from rgacogne/ddist-nmg-add-nmg

dnsdist: Add `NetmaskGroup:addNMG()` to merge Netmask groups

19 months agoMerge pull request #13509 from rgacogne/ddist-teeaction-proxyprotocol
Remi Gacogne [Mon, 4 Dec 2023 12:56:57 +0000 (13:56 +0100)] 
Merge pull request #13509 from rgacogne/ddist-teeaction-proxyprotocol

dnsdist: Add Proxy Protocol v2 support to `TeeAction`

19 months agoMerge pull request #13557 from omoerbeek/rec-docs-yaml-not-experimental
Otto Moerbeek [Mon, 4 Dec 2023 12:26:25 +0000 (13:26 +0100)] 
Merge pull request #13557 from omoerbeek/rec-docs-yaml-not-experimental

rec: Remove experimental warnings for YAML

19 months agorec: Remove experimental warnings for YAML 13557/head
Otto Moerbeek [Mon, 4 Dec 2023 11:25:55 +0000 (12:25 +0100)] 
rec: Remove experimental warnings for YAML

YAML settings are no longer experimental, but still only used if a `recursor.yml` file is found in the config dir.

19 months agoMerge pull request #13507 from omoerbeek/rec-allow-rd0
Otto Moerbeek [Mon, 4 Dec 2023 10:09:21 +0000 (11:09 +0100)] 
Merge pull request #13507 from omoerbeek/rec-allow-rd0

rec: disallow (by answering Refused) RD=0 by default

19 months agodnsdist: Document the content of proxy payload added via TeeAction 13509/head
Remi Gacogne [Mon, 4 Dec 2023 10:06:59 +0000 (11:06 +0100)] 
dnsdist: Document the content of proxy payload added via TeeAction

19 months agoMerge pull request #13522 from rgacogne/coverity-auto-copy-move-2
Remi Gacogne [Mon, 4 Dec 2023 10:03:10 +0000 (11:03 +0100)] 
Merge pull request #13522 from rgacogne/coverity-auto-copy-move-2

Fix unnecessary copies reported by Coverity (round 2)

19 months agodnsdist: Better description suggested by Otto in the documentation 13503/head
Remi Gacogne [Fri, 1 Dec 2023 13:29:52 +0000 (14:29 +0100)] 
dnsdist: Better description suggested by Otto in the documentation

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
19 months agodnsdist: Fix a spurious whitespace
Remi Gacogne [Fri, 1 Dec 2023 13:29:31 +0000 (14:29 +0100)] 
dnsdist: Fix a spurious whitespace

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
19 months agodnsdist: Add `NetmaskGroup:addNMG()` to merge Netmask groups
Remi Gacogne [Thu, 16 Nov 2023 16:16:14 +0000 (17:16 +0100)] 
dnsdist: Add `NetmaskGroup:addNMG()` to merge Netmask groups

19 months agoAdd test for RD=0 is disallowed by default and basic RD=1 processing 13507/head
Otto Moerbeek [Mon, 4 Dec 2023 08:24:18 +0000 (09:24 +0100)] 
Add test for RD=0 is disallowed by default and basic RD=1 processing

20 months agoMerge pull request #13543 from omoerbeek/rec-aggr-nsec3-empty
Otto Moerbeek [Fri, 1 Dec 2023 18:44:22 +0000 (19:44 +0100)] 
Merge pull request #13543 from omoerbeek/rec-aggr-nsec3-empty

rec: a single NSEC3 record covering everything is a special case

20 months agoMerge pull request #13505 from rgacogne/ddist-getaddressinfo
Remi Gacogne [Fri, 1 Dec 2023 15:25:06 +0000 (16:25 +0100)] 
Merge pull request #13505 from rgacogne/ddist-getaddressinfo

dnsdist: Add `getAddressInfo()` for asynchronous DNS resolution

20 months agoMerge pull request #13527 from rgacogne/ci-coverage-pdns-only
Remi Gacogne [Fri, 1 Dec 2023 15:24:55 +0000 (16:24 +0100)] 
Merge pull request #13527 from rgacogne/ci-coverage-pdns-only

build-and-test-all: Restrict Coveralls code coverage to the main repo

20 months agoMerge pull request #13550 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.18
Peter van Dijk [Fri, 1 Dec 2023 14:51:23 +0000 (15:51 +0100)] 
Merge pull request #13550 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.18

build(deps): bump urllib3 from 1.26.13 to 1.26.18 in /pdns/keyroller

20 months agoMerge pull request #13549 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2023...
Peter van Dijk [Fri, 1 Dec 2023 14:50:36 +0000 (15:50 +0100)] 
Merge pull request #13549 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2023.7.22

build(deps): bump certifi from 2022.12.7 to 2023.7.22 in /pdns/keyroller

20 months agoMerge pull request #13547 from PowerDNS/dependabot/pip/docs/certifi-2023.7.22
Peter van Dijk [Fri, 1 Dec 2023 14:49:03 +0000 (15:49 +0100)] 
Merge pull request #13547 from PowerDNS/dependabot/pip/docs/certifi-2023.7.22

build(deps): bump certifi from 2023.5.7 to 2023.7.22 in /docs

20 months agoMerge pull request #13551 from romeroalx/enable-pkcs11-tests
Peter van Dijk [Fri, 1 Dec 2023 14:44:55 +0000 (15:44 +0100)] 
Merge pull request #13551 from romeroalx/enable-pkcs11-tests

GH Actions: enable back variant bind-dnssec-pkcs11 for auth-backend tests

20 months agoMerge pull request #13536 from rgacogne/dnsdist-detect-truncation-backend-udp-response
Remi Gacogne [Fri, 1 Dec 2023 13:36:06 +0000 (14:36 +0100)] 
Merge pull request #13536 from rgacogne/dnsdist-detect-truncation-backend-udp-response

dnsdist: Detect and dismiss truncated UDP responses from a backend

20 months agodnsdist: Better description for `getAddressInfo()` 13505/head
Remi Gacogne [Fri, 1 Dec 2023 13:32:35 +0000 (14:32 +0100)] 
dnsdist: Better description for `getAddressInfo()`

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
20 months agotcpreceiver: Remove a spurious whitespace spotted by Otto 13522/head
Remi Gacogne [Fri, 1 Dec 2023 13:30:23 +0000 (14:30 +0100)] 
tcpreceiver: Remove a spurious whitespace spotted by Otto

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
20 months agobuild-and-test-all: Enable test bind-dnssec-pkcs11 13551/head
romeroalx [Fri, 1 Dec 2023 10:06:56 +0000 (11:06 +0100)] 
build-and-test-all: Enable test bind-dnssec-pkcs11

20 months agoAdd test 13543/head
Otto Moerbeek [Fri, 1 Dec 2023 09:15:09 +0000 (10:15 +0100)] 
Add test

20 months agorec: a single NSEC3 record covering everything is a special case
Otto Moerbeek [Wed, 29 Nov 2023 15:47:01 +0000 (16:47 +0100)] 
rec: a single NSEC3 record covering everything is a special case

Fixes #13542

20 months agoMerge pull request #13062 from Habbie/auth-loglevel-prefix
Peter van Dijk [Fri, 1 Dec 2023 08:46:48 +0000 (09:46 +0100)] 
Merge pull request #13062 from Habbie/auth-loglevel-prefix

auth: add loglevel-show setting

20 months agobuild-and-test-all: Do not generate coverage info when coverage is disabled 13527/head
Remi Gacogne [Thu, 30 Nov 2023 16:07:15 +0000 (17:07 +0100)] 
build-and-test-all: Do not generate coverage info when coverage is disabled

Many thanks to @romeroalx for spotting this!

20 months agoMerge pull request #13546 from zeha/authtestruntestabort
Peter van Dijk [Thu, 30 Nov 2023 16:06:32 +0000 (17:06 +0100)] 
Merge pull request #13546 from zeha/authtestruntestabort

auth tests: abort if runtests is used incorrectly

20 months agobuild(deps): bump urllib3 from 1.26.13 to 1.26.18 in /pdns/keyroller 13550/head
dependabot[bot] [Thu, 30 Nov 2023 15:10:07 +0000 (15:10 +0000)] 
build(deps): bump urllib3 from 1.26.13 to 1.26.18 in /pdns/keyroller

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.13 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.13...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agobuild(deps): bump certifi from 2022.12.7 to 2023.7.22 in /pdns/keyroller 13549/head
dependabot[bot] [Thu, 30 Nov 2023 15:09:47 +0000 (15:09 +0000)] 
build(deps): bump certifi from 2022.12.7 to 2023.7.22 in /pdns/keyroller

Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agobuild(deps): bump certifi from 2023.5.7 to 2023.7.22 in /docs 13547/head
dependabot[bot] [Thu, 30 Nov 2023 15:08:56 +0000 (15:08 +0000)] 
build(deps): bump certifi from 2023.5.7 to 2023.7.22 in /docs

Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agoMerge pull request #13539 from PowerDNS/dependabot/github_actions/actions/checkout-4
Remi Gacogne [Thu, 30 Nov 2023 15:08:04 +0000 (16:08 +0100)] 
Merge pull request #13539 from PowerDNS/dependabot/github_actions/actions/checkout-4

build(deps): bump actions/checkout from 3 to 4

20 months agoauth tests: abort if runtests is used incorrectly 13546/head
Chris Hofstaedtler [Wed, 29 Nov 2023 23:33:20 +0000 (00:33 +0100)] 
auth tests: abort if runtests is used incorrectly

20 months agoMerge pull request #13538 from fredmorcos/ssqlite3-cleanup
Fred Morcos [Wed, 29 Nov 2023 09:40:23 +0000 (10:40 +0100)] 
Merge pull request #13538 from fredmorcos/ssqlite3-cleanup

Cleanup `ssql` and `ssqlite3`

20 months agoMerge pull request #13072 from Habbie/caa-empty-val
Peter van Dijk [Tue, 28 Nov 2023 14:43:01 +0000 (15:43 +0100)] 
Merge pull request #13072 from Habbie/caa-empty-val

CAA records: handle empty value more gracefully, fixes #13070

20 months agoMerge pull request #13406 from omoerbeek/auth-doc-qname
Peter van Dijk [Tue, 28 Nov 2023 10:43:16 +0000 (11:43 +0100)] 
Merge pull request #13406 from omoerbeek/auth-doc-qname

auth: Give an example Lua record accessing qname

20 months agoCAA records: handle empty value more gracefully, fixes #13070 13072/head
Peter van Dijk [Tue, 25 Jul 2023 09:06:54 +0000 (11:06 +0200)] 
CAA records: handle empty value more gracefully, fixes #13070

20 months agoDon't call virtual methods from SSQLite3 constructor 13538/head
Fred Morcos [Tue, 28 Nov 2023 08:51:39 +0000 (09:51 +0100)] 
Don't call virtual methods from SSQLite3 constructor

20 months agoCleanup ssqlite3
Fred Morcos [Mon, 27 Nov 2023 13:37:25 +0000 (14:37 +0100)] 
Cleanup ssqlite3

20 months agoCleanup ssql
Fred Morcos [Mon, 27 Nov 2023 13:21:47 +0000 (14:21 +0100)] 
Cleanup ssql

20 months agoFormat ssql and ssqlite3
Fred Morcos [Mon, 27 Nov 2023 13:20:51 +0000 (14:20 +0100)] 
Format ssql and ssqlite3

20 months agoMerge pull request #12908 from wwijkander/master
Remi Gacogne [Mon, 27 Nov 2023 16:01:54 +0000 (17:01 +0100)] 
Merge pull request #12908 from wwijkander/master

Add note to pdnsutil manpage on how to remove zone from catalog zone

20 months agobuild(deps): bump actions/checkout from 3 to 4 13539/head
dependabot[bot] [Mon, 27 Nov 2023 15:34:52 +0000 (15:34 +0000)] 
build(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agoMerge pull request #13535 from fredmorcos/cleanup-libssl-ifdef
Fred Morcos [Fri, 24 Nov 2023 19:13:24 +0000 (20:13 +0100)] 
Merge pull request #13535 from fredmorcos/cleanup-libssl-ifdef

Cleanup a `libssl.cc` #ifdef

20 months agodnsdist: Explain to clang-tidy that resizing a moved vector is fine 13536/head
Remi Gacogne [Fri, 24 Nov 2023 15:16:52 +0000 (16:16 +0100)] 
dnsdist: Explain to clang-tidy that resizing a moved vector is fine

20 months agodnsdist: Don't set `AI_V4MAPPED`, as spotted by Otto (thanks!)
Remi Gacogne [Fri, 17 Nov 2023 15:10:37 +0000 (16:10 +0100)] 
dnsdist: Don't set `AI_V4MAPPED`, as spotted by Otto (thanks!)

20 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Fri, 17 Nov 2023 14:10:57 +0000 (15:10 +0100)] 
dnsdist: Fix clang-tidy warnings

20 months agodnsdist: Add a missing word spotted by Habbie in the documentation
Remi Gacogne [Fri, 17 Nov 2023 14:10:16 +0000 (15:10 +0100)] 
dnsdist: Add a missing word spotted by Habbie in the documentation

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
20 months agodnsdist: Add `getAddressInfo()` for asynchronous DNS resolution
Remi Gacogne [Fri, 17 Nov 2023 09:42:29 +0000 (10:42 +0100)] 
dnsdist: Add `getAddressInfo()` for asynchronous DNS resolution

20 months agodnsdist: Detect and dismiss truncated UDP responses from a backend
Remi Gacogne [Fri, 24 Nov 2023 14:30:09 +0000 (15:30 +0100)] 
dnsdist: Detect and dismiss truncated UDP responses from a backend

Until now we would not have detected if the response was larger than
our buffer (4096 bytes or larger in some cases), which could have
led to parsing errors or even forwarding a corrupted response.

20 months agoCleanup libssl.cc #ifdef 13535/head
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)] 
Cleanup libssl.cc #ifdef

20 months agoMerge pull request #13156 from rgacogne/ddist-log-level
Remi Gacogne [Fri, 24 Nov 2023 10:24:50 +0000 (11:24 +0100)] 
Merge pull request #13156 from rgacogne/ddist-log-level

dnsdist: Add a structured log-like logging option

20 months agoMerge pull request #13453 from omoerbeek/rec-yaml-transition-docs
Otto Moerbeek [Fri, 24 Nov 2023 10:02:13 +0000 (11:02 +0100)] 
Merge pull request #13453 from omoerbeek/rec-yaml-transition-docs

rec: describe the YAML transition plan in three phases

20 months agoAdd a ref to the new style docs in the old-style docs 13453/head
Otto Moerbeek [Fri, 24 Nov 2023 10:00:26 +0000 (11:00 +0100)] 
Add a ref to the new style docs in the old-style docs

20 months agotcpreceiver: Better handling of "clock moved backward" events
Remi Gacogne [Fri, 24 Nov 2023 09:57:37 +0000 (10:57 +0100)] 
tcpreceiver: Better handling of "clock moved backward" events

20 months agoMerge pull request #13434 from omoerbeek/rec-tidy-syncres
Otto Moerbeek [Fri, 24 Nov 2023 09:52:47 +0000 (10:52 +0100)] 
Merge pull request #13434 from omoerbeek/rec-tidy-syncres

rec: tidy syncres

20 months agosyncres.cc:5161:45: error: declaration of ‘DoTStatus& status’ shadows a parameter... 13434/head
Otto Moerbeek [Fri, 24 Nov 2023 09:06:32 +0000 (10:06 +0100)] 
syncres.cc:5161:45: error: declaration of ‘DoTStatus& status’ shadows a parameter [-Werror=shadow]

20 months agoProcess suggestions from reviews: rename a few vars
Otto Moerbeek [Fri, 24 Nov 2023 08:21:03 +0000 (09:21 +0100)] 
Process suggestions from reviews: rename a few vars

20 months agoRefactor to fix a few clang-tiny readability-function-cognitive-complexity cases
Otto Moerbeek [Mon, 30 Oct 2023 14:28:35 +0000 (15:28 +0100)] 
Refactor to fix a few clang-tiny readability-function-cognitive-complexity cases

20 months agoReformat
Otto Moerbeek [Mon, 30 Oct 2023 09:27:57 +0000 (10:27 +0100)] 
Reformat

20 months agoTidy syncres.??
Otto Moerbeek [Wed, 25 Oct 2023 14:04:19 +0000 (16:04 +0200)] 
Tidy syncres.??

20 months agoMerge pull request #13528 from fredmorcos/various-cleanups-and-fixes
Peter van Dijk [Thu, 23 Nov 2023 20:56:42 +0000 (21:56 +0100)] 
Merge pull request #13528 from fredmorcos/various-cleanups-and-fixes

Various cleanups and fixes

20 months agocalidns: Fix lints in sendmsg call 13528/head
Fred Morcos [Thu, 23 Nov 2023 18:39:01 +0000 (19:39 +0100)] 
calidns: Fix lints in sendmsg call

20 months agoWhitespace cleanup in tests
Fred Morcos [Thu, 23 Nov 2023 09:55:35 +0000 (10:55 +0100)] 
Whitespace cleanup in tests

20 months agoFix test warnings regarding boost dynamic linking define
Fred Morcos [Thu, 23 Nov 2023 09:54:19 +0000 (10:54 +0100)] 
Fix test warnings regarding boost dynamic linking define

Meson passes BOOST_TEST_DYN_LINK through the command line so there's no need to re-define
it in each test file. Otherwise the compiler warns about the redefinition.

warning: "BOOST_TEST_DYN_LINK" redefined
    1 | #define BOOST_TEST_DYN_LINK
      |
<command-line>: note: this is the location of the previous definition

20 months agoSilence deprecated copy ctor warnings when including decaf.hxx
Fred Morcos [Mon, 20 Nov 2023 15:29:28 +0000 (16:29 +0100)] 
Silence deprecated copy ctor warnings when including decaf.hxx

20 months agoFix warning silencer pragmas
Fred Morcos [Mon, 20 Nov 2023 15:28:13 +0000 (16:28 +0100)] 
Fix warning silencer pragmas

20 months agoWhitespace cleanup
Fred Morcos [Mon, 20 Nov 2023 15:28:06 +0000 (16:28 +0100)] 
Whitespace cleanup

20 months agoSilence -Wshadow warnings when including spongerng
Fred Morcos [Fri, 17 Nov 2023 13:45:57 +0000 (14:45 +0100)] 
Silence -Wshadow warnings when including spongerng

20 months agoCleanup dnsscope.cc #ifdef
Fred Morcos [Fri, 17 Nov 2023 11:54:50 +0000 (12:54 +0100)] 
Cleanup dnsscope.cc #ifdef

20 months agoSilence overloaded-virtual warnings when including yahttp
Fred Morcos [Fri, 17 Nov 2023 11:54:27 +0000 (12:54 +0100)] 
Silence overloaded-virtual warnings when including yahttp

20 months agoCleanup calidns.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:18:16 +0000 (10:18 +0100)] 
Cleanup calidns.cc #ifdef

20 months agoCleanup calidns.cc whitespace
Fred Morcos [Mon, 6 Nov 2023 09:18:08 +0000 (10:18 +0100)] 
Cleanup calidns.cc whitespace

20 months agoCleanup libssl.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)] 
Cleanup libssl.cc #ifdef

20 months agoCleanup tcpiohandler.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:17:36 +0000 (10:17 +0100)] 
Cleanup tcpiohandler.cc #ifdef

20 months agobuild-and-test-all: Restrict Coveralls code coverage to the main repo
Remi Gacogne [Thu, 23 Nov 2023 09:04:51 +0000 (10:04 +0100)] 
build-and-test-all: Restrict Coveralls code coverage to the main repo

We are not interested in the coverage of forks, and it is confusing
since relative coverage for forks does not really make sense.

20 months agoMerge pull request #13525 from rgacogne/test-ci
Remi Gacogne [Wed, 22 Nov 2023 14:45:07 +0000 (15:45 +0100)] 
Merge pull request #13525 from rgacogne/test-ci

build-and-test-all: Fix the CI on non-pdns named forks

20 months agobuild-and-test-all: Fix the CI on non-pdns/ named forks 13525/head
Remi Gacogne [Tue, 21 Nov 2023 17:00:57 +0000 (18:00 +0100)] 
build-and-test-all: Fix the CI on non-pdns/ named forks

20 months agodnsdist: Capitalize the priority value in log messages 13156/head
Remi Gacogne [Tue, 21 Nov 2023 16:18:09 +0000 (17:18 +0100)] 
dnsdist: Capitalize the priority value in log messages

20 months agodnsdist: Be careful about `tv_usec`, it might be an `int32_t`
Remi Gacogne [Tue, 21 Nov 2023 16:17:22 +0000 (17:17 +0100)] 
dnsdist: Be careful about `tv_usec`, it might be an `int32_t`

20 months agodnsdist: Use 'ts', not 'tm', for the timestamp in structured-like log messages
Remi Gacogne [Tue, 21 Nov 2023 16:16:53 +0000 (17:16 +0100)] 
dnsdist: Use 'ts', not 'tm', for the timestamp in structured-like log messages

20 months agodnsdist: Add a structured log-like logging option
Remi Gacogne [Fri, 18 Aug 2023 12:51:53 +0000 (14:51 +0200)] 
dnsdist: Add a structured log-like logging option

20 months agodnsdist: Delint dolog.hh
Remi Gacogne [Fri, 18 Aug 2023 12:24:35 +0000 (14:24 +0200)] 
dnsdist: Delint dolog.hh

20 months agoMerge pull request #13524 from rgacogne/ddist-fix-doq-without-dot-or-doh
Remi Gacogne [Tue, 21 Nov 2023 14:53:50 +0000 (15:53 +0100)] 
Merge pull request #13524 from rgacogne/ddist-fix-doq-without-dot-or-doh

dnsdist: Fix building with DoQ but without DoH or DoT

20 months agodnsdist: Fix building with DoQ but without DoH or DoT 13524/head
Remi Gacogne [Tue, 21 Nov 2023 13:59:22 +0000 (14:59 +0100)] 
dnsdist: Fix building with DoQ but without DoH or DoT

Reported by Oto Šťáva on the mailing-list, thanks!

20 months agoMerge pull request #13520 from rgacogne/ddist-backoff
Remi Gacogne [Tue, 21 Nov 2023 10:18:02 +0000 (11:18 +0100)] 
Merge pull request #13520 from rgacogne/ddist-backoff

dnsdist: Refactor the exponential back-off timer code

20 months agoauth: Fix 'auto causes a copy'/'copy instead of move' warnings from Coverity
Remi Gacogne [Tue, 21 Nov 2023 10:10:35 +0000 (11:10 +0100)] 
auth: Fix 'auto causes a copy'/'copy instead of move' warnings from Coverity

20 months agoauth: Fix use of 32-bit time_t in tcpreceiver.cc
Remi Gacogne [Tue, 21 Nov 2023 07:47:57 +0000 (08:47 +0100)] 
auth: Fix use of 32-bit time_t in tcpreceiver.cc

Reported by Coverity as 1524952

20 months agosdig: Fix Coverity 1524951: copy instead of move
Remi Gacogne [Tue, 21 Nov 2023 07:44:47 +0000 (08:44 +0100)] 
sdig: Fix Coverity 1524951: copy instead of move

20 months agodnsdist: Fix another 'auto causes a copy' warning from Coverity
Remi Gacogne [Tue, 21 Nov 2023 07:41:45 +0000 (08:41 +0100)] 
dnsdist: Fix another 'auto causes a copy' warning from Coverity

20 months agodnsdist: Fix a 'auto causes a copy' warning from Coverity (CID 408612)
Remi Gacogne [Tue, 21 Nov 2023 07:27:45 +0000 (08:27 +0100)] 
dnsdist: Fix a 'auto causes a copy' warning from Coverity (CID 408612)

20 months agoMerge pull request #13518 from rgacogne/follow-up-13513
Remi Gacogne [Tue, 21 Nov 2023 07:30:53 +0000 (08:30 +0100)] 
Merge pull request #13518 from rgacogne/follow-up-13513

Fix a few warnings from clang-tidy that were not fixed in #13513

20 months agodnsdist: Refactor the exponential back-off timer code 13520/head
Remi Gacogne [Mon, 20 Nov 2023 19:38:57 +0000 (20:38 +0100)] 
dnsdist: Refactor the exponential back-off timer code

The existing code could overflow in some cases, leading to a
potentially endless busy-loop.

20 months agodnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor 13515/head
Remi Gacogne [Mon, 20 Nov 2023 14:27:55 +0000 (15:27 +0100)] 
dnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor

This way we can detect more than one kind of behaviour in one pass,
and still have different actions (block truncate, ...) per behaviour.

20 months agodnsdist: Fix a few more clang-tidy warnings 13518/head
Remi Gacogne [Mon, 20 Nov 2023 16:27:33 +0000 (17:27 +0100)] 
dnsdist: Fix a few more clang-tidy warnings