]>
git.ipfire.org Git - thirdparty/pdns.git/log
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>
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`
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
Remi Gacogne [Tue, 12 Dec 2023 15:05:41 +0000 (16:05 +0100)]
dnsdist: Clarify that `TCResponseAction` removes all records
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
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`
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
Remi Gacogne [Tue, 12 Dec 2023 14:04:21 +0000 (15:04 +0100)]
dnsdist: Uh, phrasing!
Remi Gacogne [Tue, 12 Dec 2023 13:54:07 +0000 (14:54 +0100)]
dnsdist: Clarify the Lua FFI DNS header set/get regression tests
Remi Gacogne [Tue, 12 Dec 2023 13:50:22 +0000 (14:50 +0100)]
dnsdist: Fix a typo in the documentation
Remi Gacogne [Tue, 12 Dec 2023 13:48:11 +0000 (14:48 +0100)]
dnsdist: Fix documentation issues reported by Habbie
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.
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
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
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
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.
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
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
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!
Remi Gacogne [Mon, 20 Nov 2023 19:16:34 +0000 (20:16 +0100)]
dnsdist: Yet more delinting
Remi Gacogne [Mon, 20 Nov 2023 16:01:09 +0000 (17:01 +0100)]
dnsdist: Format dnsdist-dynblocks.hh
Remi Gacogne [Fri, 17 Nov 2023 08:33:54 +0000 (09:33 +0100)]
dnsdist: More delinting
Remi Gacogne [Thu, 16 Nov 2023 09:53:42 +0000 (10:53 +0100)]
dnsdist: Require a minimum cache-hit ratio in `DynBlockRulesGroup:setCacheMissRatio()`
Remi Gacogne [Thu, 16 Nov 2023 09:53:20 +0000 (10:53 +0100)]
dnsdist: Delint test-dnsdistdynblocks_hh.cc
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.
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.
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
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
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.
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
Remi Gacogne [Fri, 8 Dec 2023 15:59:30 +0000 (16:59 +0100)]
dnsdist: Apply Otto's suggestion for the qtypeForAny parameter
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
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
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
Remi Gacogne [Thu, 7 Dec 2023 09:33:36 +0000 (10:33 +0100)]
dnsdist: Rename 'allowProxyProtocol' to 'enableProxyProtocol'
Remi Gacogne [Fri, 24 Nov 2023 08:27:39 +0000 (09:27 +0100)]
dnsdist: Delint dnsdist-tcp.cc
Remi Gacogne [Mon, 20 Nov 2023 16:23:43 +0000 (17:23 +0100)]
dnsdist: Fix a few clang-tidy warnings
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.
Otto Moerbeek [Fri, 8 Dec 2023 08:38:24 +0000 (09:38 +0100)]
Use correct compile time values for the NOD and UDR dirs
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.
Remi Gacogne [Thu, 7 Dec 2023 10:58:06 +0000 (11:58 +0100)]
dnsdist: More delinting of the DoH3 code
Remi Gacogne [Tue, 5 Dec 2023 16:03:30 +0000 (17:03 +0100)]
dnsdist: Split the DoH3 event handling loop off the main one
Remi Gacogne [Tue, 5 Dec 2023 16:02:49 +0000 (17:02 +0100)]
dnsdist: Add showDOH3Frontends()
Remi Gacogne [Tue, 5 Dec 2023 14:50:52 +0000 (15:50 +0100)]
dnsdist: Fix clang-tidy warnings
Charles-Henri Bruyand [Tue, 5 Dec 2023 10:54:11 +0000 (11:54 +0100)]
dnsdist: doh3 clean some var names
Charles-Henri Bruyand [Mon, 4 Dec 2023 14:58:03 +0000 (15:58 +0100)]
dnsdist: doh3 add support for post queries
Charles-Henri Bruyand [Mon, 4 Dec 2023 13:04:31 +0000 (14:04 +0100)]
dnsdist: doh3 fix a few review points
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:58:18 +0000 (09:58 +0100)]
dnsdist: doh3, appease the CI folks
Charles-Henri Bruyand [Mon, 4 Dec 2023 08:15:35 +0000 (09:15 +0100)]
dnsdist: add some words about doh3 in documentation
Charles-Henri Bruyand [Fri, 24 Nov 2023 16:59:55 +0000 (17:59 +0100)]
dnsdist: refactor some common code between doq/doh3
Charles-Henri Bruyand [Thu, 23 Nov 2023 13:43:29 +0000 (14:43 +0100)]
dnsdist: doh3 clarify fin usage
Remi Gacogne [Thu, 23 Nov 2023 13:36:48 +0000 (14:36 +0100)]
dnsdist: Handle HTTP/3 error responses
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
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:17:35 +0000 (11:17 +0100)]
dnsdist: enable doh3 in our CI
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:13:00 +0000 (11:13 +0100)]
dnsdist: doh3, fix formating and clang-tidy warnings
Charles-Henri Bruyand [Wed, 22 Nov 2023 10:03:16 +0000 (11:03 +0100)]
dnsdist: add basic DoHTTP/3 test
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:49:35 +0000 (23:49 +0100)]
dnsdist: add beta support for incoming DNS over HTTP/3
Charles-Henri Bruyand [Tue, 21 Nov 2023 22:42:13 +0000 (23:42 +0100)]
dnsdist: add doh3 protocol
Remi Gacogne [Thu, 7 Dec 2023 08:47:54 +0000 (09:47 +0100)]
dnsdist: Fix a clang-tidy warning in the rules unit tests
Remi Gacogne [Tue, 5 Dec 2023 14:19:32 +0000 (15:19 +0100)]
dnsdist: Fix a clang-tidy warning
Remi Gacogne [Tue, 5 Dec 2023 13:59:53 +0000 (14:59 +0100)]
dnsdist: Add unit tests for PayloadSizeRule
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.
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.
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.
Remi Gacogne [Thu, 7 Dec 2023 15:54:37 +0000 (16:54 +0100)]
dnsdist: Delint dnsdist-lua-network.cc
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.
Remi Gacogne [Thu, 7 Dec 2023 08:38:05 +0000 (09:38 +0100)]
dnsdist: Fix a clang-tidy warning
Remi Gacogne [Mon, 7 Nov 2022 16:54:52 +0000 (17:54 +0100)]
dnsdist: Add a helper to hash arbitrary data from Lua FFI
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
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
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
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
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
Otto Moerbeek [Wed, 6 Dec 2023 10:15:53 +0000 (11:15 +0100)]
Remove redundant coverity annotation
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
Otto Moerbeek [Wed, 6 Dec 2023 09:26:56 +0000 (10:26 +0100)]
US English
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
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>
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
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
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
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
Remi Gacogne [Tue, 5 Dec 2023 14:20:52 +0000 (15:20 +0100)]
dnsdist: Remove left-over commented code in test_Caching.py
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>
Otto Moerbeek [Tue, 5 Dec 2023 10:33:37 +0000 (11:33 +0100)]
Fine tune EOL policy
Remi Gacogne [Tue, 5 Dec 2023 09:54:37 +0000 (10:54 +0100)]
dnsdist: Fix clang-tidy warnings
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.
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`
Otto Moerbeek [Tue, 5 Dec 2023 09:54:26 +0000 (10:54 +0100)]
Prep for rec-5.0.0-rc1
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
Remi Gacogne [Mon, 4 Dec 2023 10:31:38 +0000 (11:31 +0100)]
dnsdist: Add regression tests for deprecated but not yet removed items
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
Remi Gacogne [Thu, 16 Nov 2023 15:33:55 +0000 (16:33 +0100)]
dnsdist: Update the example configuration, as suggested by @phonedph1
Remi Gacogne [Thu, 16 Nov 2023 14:47:21 +0000 (15:47 +0100)]
dnsdist: Add regression tests for the new multiple strings syntax
Remi Gacogne [Thu, 16 Nov 2023 13:50:01 +0000 (14:50 +0100)]
dnsdist: Apply clang-tidy comments
Remi Gacogne [Thu, 16 Nov 2023 13:49:34 +0000 (14:49 +0100)]
dnsdist: Document that passing a string to add*Action is deprecated
Remi Gacogne [Thu, 16 Nov 2023 12:38:18 +0000 (13:38 +0100)]
dnsdist: Stop using `makeRule` in our tests
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
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
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`