]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoone sentence per line 13619/head
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)] 
one sentence per line

2 years 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

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

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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`

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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!

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

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

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

2 years 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()`

2 years 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

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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'

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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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

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

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years agodnsdist: add some words about doh3 in documentation
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:15:35 +0000 (09:15 +0100)] 
dnsdist: add some words about doh3 in documentation

2 years agodnsdist: refactor some common code between doq/doh3
Charles-Henri Bruyand [Fri, 24 Nov 2023 16:59:55 +0000 (17:59 +0100)] 
dnsdist: refactor some common code between doq/doh3

2 years agodnsdist: doh3 clarify fin usage
Charles-Henri Bruyand [Thu, 23 Nov 2023 13:43:29 +0000 (14:43 +0100)] 
dnsdist: doh3 clarify fin usage

2 years agodnsdist: Handle HTTP/3 error responses
Remi Gacogne [Thu, 23 Nov 2023 13:36:48 +0000 (14:36 +0100)] 
dnsdist: Handle HTTP/3 error responses

2 years agodnsdist: Refactor QUIC tests so that they can be used for DoQ and DoH3
Remi Gacogne [Thu, 23 Nov 2023 13:35:56 +0000 (14:35 +0100)] 
dnsdist: Refactor QUIC tests so that they can be used for DoQ and DoH3

2 years agodnsdist: enable doh3 in our CI
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:17:35 +0000 (11:17 +0100)] 
dnsdist: enable doh3 in our CI

2 years agodnsdist: doh3, fix formating and clang-tidy warnings
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:13:00 +0000 (11:13 +0100)] 
dnsdist: doh3, fix formating and clang-tidy warnings

2 years agodnsdist: add basic DoHTTP/3 test
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:03:16 +0000 (11:03 +0100)] 
dnsdist: add basic DoHTTP/3 test

2 years agodnsdist: add beta support for incoming DNS over HTTP/3
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:49:35 +0000 (23:49 +0100)] 
dnsdist: add beta support for incoming DNS over HTTP/3

2 years agodnsdist: add doh3 protocol
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:42:13 +0000 (23:42 +0100)] 
dnsdist: add doh3 protocol

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years agodnsdist: Fix a race in the async regression tests 13583/head
Remi Gacogne [Thu, 7 Dec 2023 14:05:43 +0000 (15:05 +0100)] 
dnsdist: Fix a race in the async regression tests

We need to make sure the listener is alive during the duration of
the test, and not destroyed by the garbage collector.

2 years agodnsdist: Delint dnsdist-lua-network.cc 13584/head
Remi Gacogne [Thu, 7 Dec 2023 15:54:37 +0000 (16:54 +0100)] 
dnsdist: Delint dnsdist-lua-network.cc

2 years agodnsdist: Fix a small race in the NetworkListener
Remi Gacogne [Thu, 7 Dec 2023 14:08:37 +0000 (15:08 +0100)] 
dnsdist: Fix a small race in the NetworkListener

The main thread needs to be able to access the data even if the
NetworkListener object has been destroyed first, which usually only
happens when DNSdist is exiting, but could also happen earlier if
the Lua handle is garbage collected.

2 years agodnsdist: Fix a clang-tidy warning 13565/head
Remi Gacogne [Thu, 7 Dec 2023 08:38:05 +0000 (09:38 +0100)] 
dnsdist: Fix a clang-tidy warning

2 years agodnsdist: Add a helper to hash arbitrary data from Lua FFI
Remi Gacogne [Mon, 7 Nov 2022 16:54:52 +0000 (17:54 +0100)] 
dnsdist: Add a helper to hash arbitrary data from Lua FFI

2 years agodnsdist: Add a Lua FFI way to know if the query was received over v6
Remi Gacogne [Mon, 7 Nov 2022 16:54:10 +0000 (17:54 +0100)] 
dnsdist: Add a Lua FFI way to know if the query was received over v6

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Tue, 5 Dec 2023 09:54:37 +0000 (10:54 +0100)] 
dnsdist: Fix clang-tidy warnings

2 years agodnsdist: Spoof a raw response for ANY queries
Remi Gacogne [Mon, 4 Dec 2023 16:09:52 +0000 (17:09 +0100)] 
dnsdist: Spoof a raw response for ANY queries

This PR adds the ability to spoof a raw response for ``ANY`` queries, as
it would not make sense to use ``ANY`` for the type of the response record.

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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

2 years 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