]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 months agoMerge pull request #13566 from omoerbeek/rec-qperq-limit
Otto Moerbeek [Fri, 15 Dec 2023 13:02:01 +0000 (14:02 +0100)] 
Merge pull request #13566 from omoerbeek/rec-qperq-limit

rec: lower default max-qperq limit.

5 months agoMove change to version 5.1.0 13566/head
Otto Moerbeek [Fri, 15 Dec 2023 12:14:39 +0000 (13:14 +0100)] 
Move change to version 5.1.0

5 months agoMerge pull request #13578 from omoerbeek/rec-rng-settings
Otto Moerbeek [Fri, 15 Dec 2023 12:04:56 +0000 (13:04 +0100)] 
Merge pull request #13578 from omoerbeek/rec-rng-settings

rec: rng and entropy-source are not longer processed

5 months agoMerge pull request #13567 from omoerbeek/rec-disable-sl-deprecated
Otto Moerbeek [Fri, 15 Dec 2023 12:04:04 +0000 (13:04 +0100)] 
Merge pull request #13567 from omoerbeek/rec-disable-sl-deprecated

rec: Disabling structured logging is deprecated

5 months agoMerge pull request #13153 from cmouse/auth-api-method-check
Peter van Dijk [Fri, 15 Dec 2023 11:29:30 +0000 (12:29 +0100)] 
Merge pull request #13153 from cmouse/auth-api-method-check

auth: Move method checking to Router

5 months agoRemove unused req for prometheusMetrics() 13153/head
Aki Tuomi [Tue, 12 Dec 2023 08:43:29 +0000 (10:43 +0200)] 
Remove unused req for prometheusMetrics()

5 months agows-api: Constify some variables
Aki Tuomi [Sun, 22 Oct 2023 15:50:35 +0000 (18:50 +0300)] 
ws-api: Constify some variables

5 months agoregression-tests.api/test_Basics: Update to match new dynamic CORS handler
Aki Tuomi [Wed, 23 Aug 2023 17:40:53 +0000 (20:40 +0300)] 
regression-tests.api/test_Basics: Update to match new dynamic CORS handler

5 months agowebserver.cc: Add resource aware OPTIONS handler
Aki Tuomi [Wed, 23 Aug 2023 17:12:50 +0000 (20:12 +0300)] 
webserver.cc: Add resource aware OPTIONS handler

5 months agows-api.cc: Remove redundant checks for method
Aki Tuomi [Wed, 23 Aug 2023 13:06:03 +0000 (16:06 +0300)] 
ws-api.cc: Remove redundant checks for method

5 months agows-recursor.cc: Remove redundant checks for method
Aki Tuomi [Wed, 23 Aug 2023 13:05:26 +0000 (16:05 +0300)] 
ws-recursor.cc: Remove redundant checks for method

5 months agows-recursor.cc: Split apiServerZoneDetail to GET, PUT, DELETE variants
Aki Tuomi [Wed, 23 Aug 2023 13:02:51 +0000 (16:02 +0300)] 
ws-recursor.cc: Split apiServerZoneDetail to GET, PUT, DELETE variants

5 months agows-recursor.cc: Split apiServerZones to GET and POST variant
Aki Tuomi [Wed, 23 Aug 2023 12:59:52 +0000 (15:59 +0300)] 
ws-recursor.cc: Split apiServerZones to GET and POST variant

5 months agows-recursor.cc: Split apiServerConfigACL to GET and PUT variant
Aki Tuomi [Wed, 23 Aug 2023 12:57:46 +0000 (15:57 +0300)] 
ws-recursor.cc: Split apiServerConfigACL to GET and PUT variant

5 months agows-recursor.cc: Add methods to routes
Aki Tuomi [Wed, 23 Aug 2023 12:38:18 +0000 (15:38 +0300)] 
ws-recursor.cc: Add methods to routes

5 months agows-auth.cc: Move method checking to router
Aki Tuomi [Fri, 18 Aug 2023 07:14:07 +0000 (10:14 +0300)] 
ws-auth.cc: Move method checking to router

5 months agoext/yahttp: Move route matching to separate function
Aki Tuomi [Wed, 23 Aug 2023 17:13:11 +0000 (20:13 +0300)] 
ext/yahttp: Move route matching to separate function

5 months agowebserver: Allow specifying supported method
Aki Tuomi [Fri, 18 Aug 2023 07:09:56 +0000 (10:09 +0300)] 
webserver: Allow specifying supported method

If method is not empty and it does not match the request, throw
exception.

5 months agows-auth.cc: Prepare apiZoneCryptokeys for method routing
Aki Tuomi [Fri, 18 Aug 2023 09:43:56 +0000 (12:43 +0300)] 
ws-auth.cc: Prepare apiZoneCryptokeys for method routing

5 months agows-auth.cc: Split apiServerZoneDetail to GET, PATCH, PUT and DELETE variants
Aki Tuomi [Fri, 18 Aug 2023 08:13:54 +0000 (11:13 +0300)] 
ws-auth.cc: Split apiServerZoneDetail to GET, PATCH, PUT and DELETE variants

Enables us to specify method routes for this later.

5 months agows-auth: Add NOLINTs to apiServerZonesPOST()
Aki Tuomi [Thu, 7 Dec 2023 14:35:25 +0000 (16:35 +0200)] 
ws-auth: Add NOLINTs to apiServerZonesPOST()

5 months agows-auth.cc: Split apiServerZones to GET and POST variants
Aki Tuomi [Fri, 18 Aug 2023 08:10:11 +0000 (11:10 +0300)] 
ws-auth.cc: Split apiServerZones to GET and POST variants

Enables us to specify method routes for this later.

5 months agows-auth: Add apiServerAutoprimaryDetailDELETE
Aki Tuomi [Thu, 7 Dec 2023 15:22:31 +0000 (17:22 +0200)] 
ws-auth: Add apiServerAutoprimaryDetailDELETE

5 months agows-auth.cc: Split apiServerAutoprimaries to GET and POST variants
Aki Tuomi [Fri, 18 Aug 2023 08:05:05 +0000 (11:05 +0300)] 
ws-auth.cc: Split apiServerAutoprimaries to GET and POST variants

Enables us to specify method routes for this later.

5 months agows-auth.cc: Split apiServerTSIGKeyDetail to GET, PUT and DELETE variant
Aki Tuomi [Fri, 18 Aug 2023 07:59:54 +0000 (10:59 +0300)] 
ws-auth.cc: Split apiServerTSIGKeyDetail to GET, PUT and DELETE variant

Enables us to specify method routes for this later.

5 months agows-auth.cc: Split apiServerTSIGKeys to GET and POST variant
Aki Tuomi [Fri, 18 Aug 2023 07:51:30 +0000 (10:51 +0300)] 
ws-auth.cc: Split apiServerTSIGKeys to GET and POST variant

Enables us to specify method routes for this later.

5 months agows-auth.cc: Split apiZoneMetadataKind to GET, PUT and DELETE variants
Aki Tuomi [Fri, 18 Aug 2023 07:48:39 +0000 (10:48 +0300)] 
ws-auth.cc: Split apiZoneMetadataKind to GET, PUT and DELETE variants

Enables us to specify method routes for this later.

5 months agows-auth.cc: Split apiZoneMetadata to GET and POST variant
Aki Tuomi [Fri, 18 Aug 2023 07:44:56 +0000 (10:44 +0300)] 
ws-auth.cc: Split apiZoneMetadata to GET and POST variant

Enables us to specify method routes for this later.

5 months agows-auth: Extract zone from ID to macro
Aki Tuomi [Fri, 18 Aug 2023 07:36:24 +0000 (10:36 +0300)] 
ws-auth: Extract zone from ID to macro

Ensures consistent handling.

5 months agoMerge pull request #13552 from mind04/lmdb-timeout
Peter van Dijk [Thu, 14 Dec 2023 12:00:45 +0000 (13:00 +0100)] 
Merge pull request #13552 from mind04/lmdb-timeout

auth: extend the systemd startup timeout during lmdb schema migrations

5 months agoMerge pull request #13619 from nvaatstra/auth-supervisor
Peter van Dijk [Thu, 14 Dec 2023 11:53:58 +0000 (12:53 +0100)] 
Merge pull request #13619 from nvaatstra/auth-supervisor

Add supervisor to Auth container image

5 months agoMerge pull request #13622 from rgacogne/ddist-fix-doc-versionadded-removerange
Remi Gacogne [Thu, 14 Dec 2023 10:51:59 +0000 (11:51 +0100)] 
Merge pull request #13622 from rgacogne/ddist-fix-doc-versionadded-removerange

dnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs

5 months agoone sentence per line 13619/head
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)] 
one sentence per line

5 months agodnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs 13622/head
Remi Gacogne [Thu, 14 Dec 2023 10:10:16 +0000 (11:10 +0100)] 
dnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs

5 months agoMerge pull request #13612 from omoerbeek/rec-13588-followup
Remi Gacogne [Thu, 14 Dec 2023 09:53:04 +0000 (10:53 +0100)] 
Merge pull request #13612 from omoerbeek/rec-13588-followup

rec: Always set the two new vars in the Makefile, followup to 13588

5 months agoMerge pull request #13595 from rgacogne/ddist-190-a4
Remi Gacogne [Thu, 14 Dec 2023 09:51:36 +0000 (10:51 +0100)] 
Merge pull request #13595 from rgacogne/ddist-190-a4

dnsdist: ChangeLog and secpoll update for 1.9.0-alpha4

5 months agoMerge pull request #13620 from PowerDNS/dependabot/github_actions/github/codeql-action-3 dnsdist-1.9.0-alpha4
Remi Gacogne [Thu, 14 Dec 2023 08:36:43 +0000 (09:36 +0100)] 
Merge pull request #13620 from PowerDNS/dependabot/github_actions/github/codeql-action-3

build(deps): bump github/codeql-action from 2 to 3

5 months agoMerge pull request #13618 from fredmorcos/dnsresourcerecord-cleanup
Remi Gacogne [Thu, 14 Dec 2023 08:35:42 +0000 (09:35 +0100)] 
Merge pull request #13618 from fredmorcos/dnsresourcerecord-cleanup

Small cleanup of `DNSResourceRecord`

5 months agoMerge pull request #13614 from fredmorcos/fix-type-qual-warning
Remi Gacogne [Thu, 14 Dec 2023 08:32:55 +0000 (09:32 +0100)] 
Merge pull request #13614 from fredmorcos/fix-type-qual-warning

Fix type qualifier warning

5 months agoMerge pull request #13610 from chbruyand/dnsdist-fix-13609
Remi Gacogne [Thu, 14 Dec 2023 08:29:44 +0000 (09:29 +0100)] 
Merge pull request #13610 from chbruyand/dnsdist-fix-13609

dnsdist: display if DNS over HTTP/3 is enabled or not in the configure report

5 months agobuild(deps): bump github/codeql-action from 2 to 3 13620/head
dependabot[bot] [Wed, 13 Dec 2023 15:51:40 +0000 (15:51 +0000)] 
build(deps): bump github/codeql-action from 2 to 3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoCleanup DNSResourceRecord 13618/head
Fred Morcos [Wed, 13 Dec 2023 13:56:53 +0000 (14:56 +0100)] 
Cleanup DNSResourceRecord

5 months agoMinor docs change regarding supervisord in Kubernetes
Nico Vaatstra [Wed, 13 Dec 2023 14:12:36 +0000 (15:12 +0100)] 
Minor docs change regarding supervisord in Kubernetes

5 months agoFormat DNSResourceRecord
Fred Morcos [Wed, 13 Dec 2023 13:53:53 +0000 (14:53 +0100)] 
Format DNSResourceRecord

5 months agoCleanup dns.hh
Fred Morcos [Wed, 13 Dec 2023 13:52:28 +0000 (14:52 +0100)] 
Cleanup dns.hh

5 months agoSupervisor in Auth container image
Nico Vaatstra [Wed, 13 Dec 2023 14:01:10 +0000 (15:01 +0100)] 
Supervisor in Auth container image

5 months agoFix type qualifier warning 13614/head
Fred Morcos [Wed, 13 Dec 2023 12:31:47 +0000 (13:31 +0100)] 
Fix type qualifier warning

5 months agorec: Always set the two new vars in the Makefile, follow up to 13588 13612/head
Otto Moerbeek [Wed, 13 Dec 2023 11:03:54 +0000 (12:03 +0100)] 
rec: Always set the two new vars in the Makefile, follow up to 13588

Fixes #13611

5 months agodnsdist: display if DNS over HTTP/3 is enabled or not in the configure report 13610/head
Charles-Henri Bruyand [Wed, 13 Dec 2023 08:27:34 +0000 (09:27 +0100)] 
dnsdist: display if DNS over HTTP/3 is enabled or not in the configure report

5 months agoMerge pull request #13564 from rgacogne/ddist-payload-size-rule
Remi Gacogne [Tue, 12 Dec 2023 16:02:51 +0000 (17:02 +0100)] 
Merge pull request #13564 from rgacogne/ddist-payload-size-rule

dnsdist: Add `PayloadSizeRule` and `TCResponseAction`

5 months agoMerge pull request #13594 from rgacogne/ddist-http1
Remi Gacogne [Tue, 12 Dec 2023 15:52:08 +0000 (16:52 +0100)] 
Merge pull request #13594 from rgacogne/ddist-http1

dnsdist: Send a HTTP 400 response to HTTP/1.1 clients

5 months agodnsdist: Add 13564, 13592 and 13594 to the ChangeLog 13595/head
Remi Gacogne [Tue, 12 Dec 2023 15:18:09 +0000 (16:18 +0100)] 
dnsdist: Add 13564, 13592 and 13594 to the ChangeLog

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 agoMerge pull request #13593 from rgacogne/ddist-regression-tests-ffi-dnsheader
Remi Gacogne [Tue, 12 Dec 2023 15:00:44 +0000 (16:00 +0100)] 
Merge pull request #13593 from rgacogne/ddist-regression-tests-ffi-dnsheader

dnsdist: Add regression tests for DNS header set/get via Lua FFI

5 months agoMerge pull request #13592 from rgacogne/qname-suffix-rule
Remi Gacogne [Tue, 12 Dec 2023 14:59:19 +0000 (15:59 +0100)] 
Merge pull request #13592 from rgacogne/qname-suffix-rule

dnsdist: Add `QNameSuffixRule`

5 months agotcpiohandler: Added a comment explaining the HTTP/1.1 addition to ALPN 13594/head
Remi Gacogne [Tue, 12 Dec 2023 14:21:54 +0000 (15:21 +0100)] 
tcpiohandler: Added a comment explaining the HTTP/1.1 addition to ALPN

5 months agodnsdist: Uh, phrasing!
Remi Gacogne [Tue, 12 Dec 2023 14:04:21 +0000 (15:04 +0100)] 
dnsdist: Uh, phrasing!

5 months agodnsdist: Clarify the Lua FFI DNS header set/get regression tests 13593/head
Remi Gacogne [Tue, 12 Dec 2023 13:54:07 +0000 (14:54 +0100)] 
dnsdist: Clarify the Lua FFI DNS header set/get regression tests

5 months agodnsdist: Fix a typo in the documentation 13592/head
Remi Gacogne [Tue, 12 Dec 2023 13:50:22 +0000 (14:50 +0100)] 
dnsdist: Fix a typo in the documentation

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 formatting issues in the documentation
Remi Gacogne [Mon, 11 Dec 2023 15:15:23 +0000 (16:15 +0100)] 
dnsdist: Fix formatting issues in the documentation

5 months agodnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide
Remi Gacogne [Mon, 11 Dec 2023 15:14:44 +0000 (16:14 +0100)] 
dnsdist: Document that `makeRule` and friends are deprecated in the upgrade guide

5 months agodnsdist: ChangeLog and secpoll update for 1.9.0-alpha4
Remi Gacogne [Mon, 20 Nov 2023 13:37:15 +0000 (14:37 +0100)] 
dnsdist: ChangeLog and secpoll update for 1.9.0-alpha4

5 months agodnsdist: Send a HTTP 400 response to HTTP/1.1 clients
Remi Gacogne [Thu, 2 Nov 2023 09:30:19 +0000 (10:30 +0100)] 
dnsdist: Send a HTTP 400 response to HTTP/1.1 clients

Explaining that DNSdist with nghttp2 only supports DNS over HTTP2.

5 months agoMerge pull request #13565 from rgacogne/ddist-more-lua-helpers
Remi Gacogne [Mon, 11 Dec 2023 13:43:13 +0000 (14:43 +0100)] 
Merge pull request #13565 from rgacogne/ddist-more-lua-helpers

dnsdist: Add Lua FFI bindings: hashing arbitrary data and knowing if the query was received over IPv6

5 months agodnsdist: Add regression tests for DNS header set/get via Lua FFI
Remi Gacogne [Mon, 11 Dec 2023 11:52:05 +0000 (12:52 +0100)] 
dnsdist: Add regression tests for DNS header set/get via Lua FFI

5 months agoMerge pull request #13560 from rgacogne/ddist-spoof-raw-any
Remi Gacogne [Mon, 11 Dec 2023 09:58:49 +0000 (10:58 +0100)] 
Merge pull request #13560 from rgacogne/ddist-spoof-raw-any

dnsdist: Spoof a raw response for ANY queries

5 months agodnsdist: Add `QNameSuffixRule`
Remi Gacogne [Mon, 11 Dec 2023 09:55:30 +0000 (10:55 +0100)] 
dnsdist: Add `QNameSuffixRule`

An easier to type alias to `SuffixMatchNodeRule`, as suggested
by HÃ¥kan Lindqvist.

5 months agoMerge pull request #13492 from rgacogne/ddist-dbrg-cache-miss-ratio
Remi Gacogne [Mon, 11 Dec 2023 09:51:07 +0000 (10:51 +0100)] 
Merge pull request #13492 from rgacogne/ddist-dbrg-cache-miss-ratio

dnsdist: Add a cache-miss ratio dynamic block rule

5 months agoMerge pull request #13588 from omoerbeek/rec-dir-defaults
Otto Moerbeek [Mon, 11 Dec 2023 08:56:21 +0000 (09:56 +0100)] 
Merge pull request #13588 from omoerbeek/rec-dir-defaults

Rec: correct defaults of various dirs

5 months agodnsdist: No need to multiply 1.0 in cache-miss ratio dynblocks 13492/head
Remi Gacogne [Fri, 8 Dec 2023 16:19:12 +0000 (17:19 +0100)] 
dnsdist: No need to multiply 1.0 in cache-miss ratio dynblocks

As suggested by Charles-Henri, thanks!

5 months agodnsdist: Yet more delinting
Remi Gacogne [Mon, 20 Nov 2023 19:16:34 +0000 (20:16 +0100)] 
dnsdist: Yet more delinting

5 months agodnsdist: Format dnsdist-dynblocks.hh
Remi Gacogne [Mon, 20 Nov 2023 16:01:09 +0000 (17:01 +0100)] 
dnsdist: Format dnsdist-dynblocks.hh

5 months agodnsdist: More delinting
Remi Gacogne [Fri, 17 Nov 2023 08:33:54 +0000 (09:33 +0100)] 
dnsdist: More delinting

5 months agodnsdist: Require a minimum cache-hit ratio in `DynBlockRulesGroup:setCacheMissRatio()`
Remi Gacogne [Thu, 16 Nov 2023 09:53:42 +0000 (10:53 +0100)] 
dnsdist: Require a minimum cache-hit ratio in `DynBlockRulesGroup:setCacheMissRatio()`

5 months agodnsdist: Delint test-dnsdistdynblocks_hh.cc
Remi Gacogne [Thu, 16 Nov 2023 09:53:20 +0000 (10:53 +0100)] 
dnsdist: Delint test-dnsdistdynblocks_hh.cc

5 months agodnsdist: Add a cache-miss ratio dynamic block rule
Remi Gacogne [Tue, 14 Nov 2023 15:42:14 +0000 (16:42 +0100)] 
dnsdist: Add a cache-miss ratio dynamic block rule

This PR adds the `DynBlockRulesGroup:setCacheMissRatio()` method
which can be used to throttle clients exceeding a ratio of cache misses
for a minimum number of queries over a period of time.

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

5 months agoMerge pull request #13591 from rgacogne/ddist-unbreak
Otto Moerbeek [Mon, 11 Dec 2023 08:11:05 +0000 (09:11 +0100)] 
Merge pull request #13591 from rgacogne/ddist-unbreak

dnsdist: Fix compilation issue

5 months agoMerge pull request #13423 from phonedph1/patch-3
Otto Moerbeek [Mon, 11 Dec 2023 07:14:18 +0000 (08:14 +0100)] 
Merge pull request #13423 from phonedph1/patch-3

rec: Update performance.rst

5 months agodnsdist: Fix compilation issue 13591/head
Remi Gacogne [Fri, 8 Dec 2023 17:01:06 +0000 (18:01 +0100)] 
dnsdist: Fix compilation issue

Introduced by a conflict between #12922 and #13556.

5 months agoMerge pull request #13517 from rgacogne/ddist-proxy-protocol-per-bind
Remi Gacogne [Fri, 8 Dec 2023 16:14:24 +0000 (17:14 +0100)] 
Merge pull request #13517 from rgacogne/ddist-proxy-protocol-per-bind

dnsdist: Allow enabling incoming PROXY protocol on a per-bind basis

5 months agodnsdist: Apply Otto's suggestion for the qtypeForAny parameter 13560/head
Remi Gacogne [Fri, 8 Dec 2023 15:59:30 +0000 (16:59 +0100)] 
dnsdist: Apply Otto's suggestion for the qtypeForAny parameter

5 months agoMerge pull request #13556 from chbruyand/dnsdist-doh3
Remi Gacogne [Fri, 8 Dec 2023 15:05:02 +0000 (16:05 +0100)] 
Merge pull request #13556 from chbruyand/dnsdist-doh3

dnsdist: add support for incoming DNS over HTTP/3

5 months agoMerge pull request #13583 from rgacogne/ddist-fix-race-async-test
Remi Gacogne [Fri, 8 Dec 2023 15:01:06 +0000 (16:01 +0100)] 
Merge pull request #13583 from rgacogne/ddist-fix-race-async-test

dnsdist: Fix a race in the async regression tests

5 months agoMerge pull request #13584 from rgacogne/ddist-network-listener-data
Remi Gacogne [Fri, 8 Dec 2023 15:00:48 +0000 (16:00 +0100)] 
Merge pull request #13584 from rgacogne/ddist-network-listener-data

dnsdist: Fix a small race in the NetworkListener

5 months agodnsdist: Rename 'allowProxyProtocol' to 'enableProxyProtocol' 13517/head
Remi Gacogne [Thu, 7 Dec 2023 09:33:36 +0000 (10:33 +0100)] 
dnsdist: Rename 'allowProxyProtocol' to 'enableProxyProtocol'

5 months agodnsdist: Delint dnsdist-tcp.cc
Remi Gacogne [Fri, 24 Nov 2023 08:27:39 +0000 (09:27 +0100)] 
dnsdist: Delint dnsdist-tcp.cc

5 months agodnsdist: Fix a few clang-tidy warnings
Remi Gacogne [Mon, 20 Nov 2023 16:23:43 +0000 (17:23 +0100)] 
dnsdist: Fix a few clang-tidy warnings

5 months agodnsdist: Allow enabling incoming PROXY protocol on a per-bind basis
Remi Gacogne [Mon, 20 Nov 2023 15:21:21 +0000 (16:21 +0100)] 
dnsdist: Allow enabling incoming PROXY protocol on a per-bind basis

The per-bind option defaults to `true` as to not break existing
configuration, but setting `allowProxyProtocol=false` on a
`add*Local()` directive disables proxy-protocol handling for this
specific bind.

5 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

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

5 months agodnsdist: More delinting of the DoH3 code 13556/head
Remi Gacogne [Thu, 7 Dec 2023 10:58:06 +0000 (11:58 +0100)] 
dnsdist: More delinting of the DoH3 code

5 months agodnsdist: Split the DoH3 event handling loop off the main one
Remi Gacogne [Tue, 5 Dec 2023 16:03:30 +0000 (17:03 +0100)] 
dnsdist: Split the DoH3 event handling loop off the main one

5 months agodnsdist: Add showDOH3Frontends()
Remi Gacogne [Tue, 5 Dec 2023 16:02:49 +0000 (17:02 +0100)] 
dnsdist: Add showDOH3Frontends()

5 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Tue, 5 Dec 2023 14:50:52 +0000 (15:50 +0100)] 
dnsdist: Fix clang-tidy warnings

5 months agodnsdist: doh3 clean some var names
Charles-Henri Bruyand [Tue, 5 Dec 2023 10:54:11 +0000 (11:54 +0100)] 
dnsdist: doh3 clean some var names

5 months agodnsdist: doh3 add support for post queries
Charles-Henri Bruyand [Mon, 4 Dec 2023 14:58:03 +0000 (15:58 +0100)] 
dnsdist: doh3 add support for post queries

5 months agodnsdist: doh3 fix a few review points
Charles-Henri Bruyand [Mon, 4 Dec 2023 13:04:31 +0000 (14:04 +0100)] 
dnsdist: doh3 fix a few review points

5 months agodnsdist: doh3, appease the CI folks
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:58:18 +0000 (09:58 +0100)] 
dnsdist: doh3, appease the CI folks