]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
19 months agoBeter default value (saying "it depends") in generated docs for settings 13588/head
Otto Moerbeek [Mon, 11 Dec 2023 08:07:00 +0000 (09:07 +0100)] 
Beter default value (saying "it depends") in generated docs for settings
that are determined by distribution packaging.

19 months agoUse correct compile time values for the NOD and UDR dirs
Otto Moerbeek [Fri, 8 Dec 2023 08:38:24 +0000 (09:38 +0100)] 
Use correct compile time values for the NOD and UDR dirs

19 months agoRespect RUNTIME_DIRECTORY as a default for socket-dir
Otto Moerbeek [Fri, 8 Dec 2023 08:37:08 +0000 (09:37 +0100)] 
Respect RUNTIME_DIRECTORY as a default for socket-dir

This was lost with the conversion to the new settings.

19 months agoMerge pull request #13587 from rgacogne/rec-dangling-ref-udp-callback
Otto Moerbeek [Thu, 7 Dec 2023 16:24:36 +0000 (17:24 +0100)] 
Merge pull request #13587 from rgacogne/rec-dangling-ref-udp-callback

rec: Fix a dangling reference in Lua's UDP Query Response callback

19 months agorec: Fix a dangling reference in Lua's UDP Query Response callback 13587/head
Remi Gacogne [Thu, 7 Dec 2023 15:37:24 +0000 (16:37 +0100)] 
rec: Fix a dangling reference in Lua's UDP Query Response callback

Introduced in 50bd111e3c78e2cc8c2aa916a1f9fc22699f1f60

19 months agoMerge pull request #13529 from Habbie/mssql-credentials
Remi Gacogne [Thu, 7 Dec 2023 10:21:53 +0000 (11:21 +0100)] 
Merge pull request #13529 from Habbie/mssql-credentials

auth CI: clarify that the mssql password is not a secret

19 months agoMerge pull request #13521 from omoerbeek/coverity20231120
Otto Moerbeek [Wed, 6 Dec 2023 10:17:54 +0000 (11:17 +0100)] 
Merge pull request #13521 from omoerbeek/coverity20231120

rec: set of coverity fixes 20231120

19 months agoRemove redundant coverity annotation 13521/head
Otto Moerbeek [Wed, 6 Dec 2023 10:15:53 +0000 (11:15 +0100)] 
Remove redundant coverity annotation

19 months agoMerge pull request #13562 from omoerbeek/rec-prep-5.0.0-rc1
Otto Moerbeek [Wed, 6 Dec 2023 09:43:28 +0000 (10:43 +0100)] 
Merge pull request #13562 from omoerbeek/rec-prep-5.0.0-rc1

rec: prep 5.0.0 rc1

19 months agoUS English 13562/head
Otto Moerbeek [Wed, 6 Dec 2023 09:26:56 +0000 (10:26 +0100)] 
US English

19 months agoMerge pull request #13530 from romeroalx/actions-debian-bookworm
romeroalx [Wed, 6 Dec 2023 06:58:09 +0000 (07:58 +0100)] 
Merge pull request #13530 from romeroalx/actions-debian-bookworm

GH Actions: build-and-test-all workflow on Debian Bookworm

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 agorun build-and-test-test-all workflow on debian bookworm 13530/head
Alexis Romero [Wed, 16 Aug 2023 12:41:23 +0000 (14:41 +0200)] 
run build-and-test-test-all workflow on debian bookworm

simplified package version

19 months agoMerge pull request #13537 from rgacogne/ddist-packetcache-max-size
Remi Gacogne [Tue, 5 Dec 2023 15:25:50 +0000 (16:25 +0100)] 
Merge pull request #13537 from rgacogne/ddist-packetcache-max-size

dnsdist: Make the max size of entries in the packet cache configurable

19 months agoMerge pull request #13533 from rgacogne/ddist-document-responses-metric-changed
Remi Gacogne [Tue, 5 Dec 2023 14:38:16 +0000 (15:38 +0100)] 
Merge pull request #13533 from rgacogne/ddist-document-responses-metric-changed

dnsdist: Document that the `responses` metric changed in 1.8

19 months agoMerge pull request #13506 from rgacogne/ddist-proxy-protocol-ttls-tlv
Remi Gacogne [Tue, 5 Dec 2023 14:35:35 +0000 (15:35 +0100)] 
Merge pull request #13506 from rgacogne/ddist-proxy-protocol-ttls-tlv

dnsdist: Add an option to set the SSL proxy protocol TLV

19 months agodnsdist: Remove left-over commented code in test_Caching.py 13537/head
Remi Gacogne [Tue, 5 Dec 2023 14:20:52 +0000 (15:20 +0100)] 
dnsdist: Remove left-over commented code in test_Caching.py

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 agoMerge pull request #13500 from rgacogne/ddist-addaction-makerule-magic
Remi Gacogne [Tue, 5 Dec 2023 10:02:38 +0000 (11:02 +0100)] 
Merge pull request #13500 from rgacogne/ddist-addaction-makerule-magic

dnsdist: Improve `NetmaskGroupRule`/`SuffixMatchNodeRule`, deprecate `makeRule`

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 agodnsdist: Add regression tests for deprecated but not yet removed items 13500/head
Remi Gacogne [Mon, 4 Dec 2023 10:31:38 +0000 (11:31 +0100)] 
dnsdist: Add regression tests for deprecated but not yet removed items

19 months agodnsdist: Clarify the passing a string/list of strings to add*Action() is deprecated
Remi Gacogne [Mon, 4 Dec 2023 10:20:02 +0000 (11:20 +0100)] 
dnsdist: Clarify the passing a string/list of strings to add*Action() is deprecated

19 months agodnsdist: Update the example configuration, as suggested by @phonedph1
Remi Gacogne [Thu, 16 Nov 2023 15:33:55 +0000 (16:33 +0100)] 
dnsdist: Update the example configuration, as suggested by @phonedph1

19 months agodnsdist: Add regression tests for the new multiple strings syntax
Remi Gacogne [Thu, 16 Nov 2023 14:47:21 +0000 (15:47 +0100)] 
dnsdist: Add regression tests for the new multiple strings syntax

19 months agodnsdist: Apply clang-tidy comments
Remi Gacogne [Thu, 16 Nov 2023 13:50:01 +0000 (14:50 +0100)] 
dnsdist: Apply clang-tidy comments

19 months agodnsdist: Document that passing a string to add*Action is deprecated
Remi Gacogne [Thu, 16 Nov 2023 13:49:34 +0000 (14:49 +0100)] 
dnsdist: Document that passing a string to add*Action is deprecated

19 months agodnsdist: Stop using `makeRule` in our tests
Remi Gacogne [Thu, 16 Nov 2023 12:38:18 +0000 (13:38 +0100)] 
dnsdist: Stop using `makeRule` in our tests

19 months agodnsdist: Improve `NetmaskGroupRule`/`SuffixMatchNodeRule`, deprecate `makeRule`
Remi Gacogne [Thu, 16 Nov 2023 12:05:31 +0000 (13:05 +0100)] 
dnsdist: Improve `NetmaskGroupRule`/`SuffixMatchNodeRule`, deprecate `makeRule`

- `NetmaskGroupRule` now accepts a string or list of strings, instead of requiring the use of `newNMG`
- `SuffixMatchNodeRule` also accepts a string or list of strings, instead of requiring the use of `newSuffixMatchNode`
- Passing a string or list of strings to `addAction` is now deprecated
- `makeRule` is now deprecated

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 agodnsdist: Delint test-dnsdistpacketcache_cc.cc a bit more
Remi Gacogne [Mon, 27 Nov 2023 13:17:01 +0000 (14:17 +0100)] 
dnsdist: Delint test-dnsdistpacketcache_cc.cc a bit more

19 months agodnsdist: Delint test-dnsdistpacketcache_cc.cc
Remi Gacogne [Fri, 24 Nov 2023 15:56:30 +0000 (16:56 +0100)] 
dnsdist: Delint test-dnsdistpacketcache_cc.cc

19 months agodnsdist: Make the max size of entries in the packet cache configurable
Remi Gacogne [Fri, 24 Nov 2023 14:48:24 +0000 (15:48 +0100)] 
dnsdist: Make the max size of entries in the packet cache configurable

It used to be set to 4096 bytes, which is also a hard limit for UDP
responses anyway, because of the internal buffer size, but the limit
can now be raised for responses received over TCP (including DoT and
DoH).

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 agoSometimes, coverity and clang-tidy do not agree
Otto Moerbeek [Fri, 24 Nov 2023 10:20:19 +0000 (11:20 +0100)] 
Sometimes, coverity and clang-tidy do not agree

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 agodnsdist: Document that the `responses` metric changed in 1.8 13533/head
Remi Gacogne [Fri, 24 Nov 2023 08:52:03 +0000 (09:52 +0100)] 
dnsdist: Document that the `responses` metric changed in 1.8

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 agoclarify that the mssql password is not a secret 13529/head
Peter van Dijk [Thu, 23 Nov 2023 12:55:13 +0000 (13:55 +0100)] 
clarify that the mssql password is not a secret

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