]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 months agodnsdist: Clarify that `TCResponseAction` removes all records 13564/head
Remi Gacogne [Tue, 12 Dec 2023 15:05:41 +0000 (16:05 +0100)] 
dnsdist: Clarify that `TCResponseAction` removes all records

5 months agodnsdist: Fix documentation issues reported by Habbie
Remi Gacogne [Tue, 12 Dec 2023 13:48:11 +0000 (14:48 +0100)] 
dnsdist: Fix documentation issues reported by Habbie

5 months agodnsdist: Fix a clang-tidy warning in the rules unit tests
Remi Gacogne [Thu, 7 Dec 2023 08:47:54 +0000 (09:47 +0100)] 
dnsdist: Fix a clang-tidy warning in the rules unit tests

5 months agodnsdist: Fix a clang-tidy warning
Remi Gacogne [Tue, 5 Dec 2023 14:19:32 +0000 (15:19 +0100)] 
dnsdist: Fix a clang-tidy warning

5 months agodnsdist: Add unit tests for PayloadSizeRule
Remi Gacogne [Tue, 5 Dec 2023 13:59:53 +0000 (14:59 +0100)] 
dnsdist: Add unit tests for PayloadSizeRule

5 months agodnsdist: Implement DNSResponseAction.Truncate and TCResponseAction()
Remi Gacogne [Mon, 7 Nov 2022 16:47:16 +0000 (17:47 +0100)] 
dnsdist: Implement DNSResponseAction.Truncate and TCResponseAction()

To be able to truncate already existing answers.

5 months agodnsdist: Add `PayloadSizeRule`
Remi Gacogne [Thu, 30 Nov 2023 16:09:20 +0000 (17:09 +0100)] 
dnsdist: Add `PayloadSizeRule`

Adding the ability to match on the size of the DNS payload.

5 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

5 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

5 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

5 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

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

5 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

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

5 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

5 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>
5 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

5 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

5 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

5 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

5 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

5 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>
5 months agoFine tune EOL policy
Otto Moerbeek [Tue, 5 Dec 2023 10:33:37 +0000 (11:33 +0100)] 
Fine tune EOL policy

5 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`

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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`

5 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

5 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

5 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).

5 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

5 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.

5 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

5 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

5 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)

5 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>
5 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>
5 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

5 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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>
6 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

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

6 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

6 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

6 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!

6 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

6 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>
6 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>
6 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>
6 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

6 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

6 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`

6 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

6 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

6 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

6 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

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

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

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

6 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

6 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>
6 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

6 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

6 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!)

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

6 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>
6 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

6 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.

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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]

6 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

6 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

6 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

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

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

6 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