]>
git.ipfire.org Git - thirdparty/pdns.git/log
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.
Otto Moerbeek [Fri, 15 Dec 2023 12:14:39 +0000 (13:14 +0100)]
Move change to version 5.1.0
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
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
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
Aki Tuomi [Tue, 12 Dec 2023 08:43:29 +0000 (10:43 +0200)]
Remove unused req for prometheusMetrics()
Aki Tuomi [Sun, 22 Oct 2023 15:50:35 +0000 (18:50 +0300)]
ws-api: Constify some variables
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
Aki Tuomi [Wed, 23 Aug 2023 17:12:50 +0000 (20:12 +0300)]
webserver.cc: Add resource aware OPTIONS handler
Aki Tuomi [Wed, 23 Aug 2023 13:06:03 +0000 (16:06 +0300)]
ws-api.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
Aki Tuomi [Wed, 23 Aug 2023 13:02:51 +0000 (16:02 +0300)]
ws-recursor.cc: Split apiServerZoneDetail to GET, PUT, DELETE variants
Aki Tuomi [Wed, 23 Aug 2023 12:59:52 +0000 (15:59 +0300)]
ws-recursor.cc: Split apiServerZones to GET and POST variant
Aki Tuomi [Wed, 23 Aug 2023 12:57:46 +0000 (15:57 +0300)]
ws-recursor.cc: Split apiServerConfigACL to GET and PUT variant
Aki Tuomi [Wed, 23 Aug 2023 12:38:18 +0000 (15:38 +0300)]
ws-recursor.cc: Add methods to routes
Aki Tuomi [Fri, 18 Aug 2023 07:14:07 +0000 (10:14 +0300)]
ws-auth.cc: Move method checking to router
Aki Tuomi [Wed, 23 Aug 2023 17:13:11 +0000 (20:13 +0300)]
ext/yahttp: Move route matching to separate function
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.
Aki Tuomi [Fri, 18 Aug 2023 09:43:56 +0000 (12:43 +0300)]
ws-auth.cc: Prepare apiZoneCryptokeys for method routing
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.
Aki Tuomi [Thu, 7 Dec 2023 14:35:25 +0000 (16:35 +0200)]
ws-auth: Add NOLINTs to apiServerZonesPOST()
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.
Aki Tuomi [Thu, 7 Dec 2023 15:22:31 +0000 (17:22 +0200)]
ws-auth: Add apiServerAutoprimaryDetailDELETE
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.
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.
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.
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.
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.
Aki Tuomi [Fri, 18 Aug 2023 07:36:24 +0000 (10:36 +0300)]
ws-auth: Extract zone from ID to macro
Ensures consistent handling.
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
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
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
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)]
one sentence per line
Remi Gacogne [Thu, 14 Dec 2023 10:10:16 +0000 (11:10 +0100)]
dnsdist: Fix `DynBlockRulesGroup:removeRange`'s version in the docs
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
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
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
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`
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
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
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>
Fred Morcos [Wed, 13 Dec 2023 13:56:53 +0000 (14:56 +0100)]
Cleanup DNSResourceRecord
Nico Vaatstra [Wed, 13 Dec 2023 14:12:36 +0000 (15:12 +0100)]
Minor docs change regarding supervisord in Kubernetes
Fred Morcos [Wed, 13 Dec 2023 13:53:53 +0000 (14:53 +0100)]
Format DNSResourceRecord
Fred Morcos [Wed, 13 Dec 2023 13:52:28 +0000 (14:52 +0100)]
Cleanup dns.hh
Nico Vaatstra [Wed, 13 Dec 2023 14:01:10 +0000 (15:01 +0100)]
Supervisor in Auth container image
Fred Morcos [Wed, 13 Dec 2023 12:31:47 +0000 (13:31 +0100)]
Fix type qualifier warning
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
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
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:18:09 +0000 (16:18 +0100)]
dnsdist: Add 13564, 13592 and 13594 to the ChangeLog
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 [Mon, 11 Dec 2023 15:15:23 +0000 (16:15 +0100)]
dnsdist: Fix formatting issues in the documentation
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
Remi Gacogne [Mon, 20 Nov 2023 13:37:15 +0000 (14:37 +0100)]
dnsdist: ChangeLog and secpoll update for 1.9.0-alpha4
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