]>
git.ipfire.org Git - thirdparty/pdns.git/log
Rosen Penev [Tue, 5 Dec 2023 20:34:08 +0000 (12:34 -0800)]
use some structured binding
clang-tidy complains here about pointless std::move of a trivially
copyable type.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Remi Gacogne [Tue, 17 Dec 2024 13:12:56 +0000 (14:12 +0100)]
Merge pull request #14980 from rgacogne/ddist198-changelog
dnsdist: Add ChangeLog and secpoll entry for DNSdist 1.9.8
Remi Gacogne [Tue, 17 Dec 2024 12:48:51 +0000 (13:48 +0100)]
Apply suggestions from Peter (update secpoll, proper quotes)
Remi Gacogne [Tue, 17 Dec 2024 10:46:42 +0000 (11:46 +0100)]
dnsdist: Add a missing entry into the 1.9.8 ChangeLog
Remi Gacogne [Tue, 17 Dec 2024 09:06:15 +0000 (10:06 +0100)]
secpoll: Update zone for DNSdist 1.9.8
Remi Gacogne [Tue, 17 Dec 2024 09:05:44 +0000 (10:05 +0100)]
dnsdist: Add ChangeLog for DNSdist 1.9.8
Peter van Dijk [Tue, 17 Dec 2024 11:41:21 +0000 (12:41 +0100)]
Merge pull request #14974 from Habbie/auth-4.9.3-secpoll-docs
auth-4.9.3: docs&secpoll
Peter van Dijk [Mon, 16 Dec 2024 11:50:02 +0000 (12:50 +0100)]
auth-4.9.3: docs&secpoll
Otto Moerbeek [Tue, 17 Dec 2024 11:07:59 +0000 (12:07 +0100)]
Merge pull request #14973 from omoerbeek/rec-full-cname-chain-cached
rec: if the full CNAME chain leading to the answer is cached, indicate that
Otto Moerbeek [Tue, 17 Dec 2024 09:24:04 +0000 (10:24 +0100)]
Add test
The last step of the test shows that there is likely room for more improvement.
Remi Gacogne [Tue, 17 Dec 2024 08:53:38 +0000 (09:53 +0100)]
Merge pull request #14956 from esensar/feat/metric-labels
dnsdist: add support for labels on custom metrics
Otto Moerbeek [Mon, 16 Dec 2024 16:13:49 +0000 (17:13 +0100)]
if *fromCache is already true, no need to check CNAME chain
Co-authored-by: Remi Gacogne <github@coredump.fr>
Ensar Sarajčić [Mon, 16 Dec 2024 16:11:35 +0000 (17:11 +0100)]
dnsdist: fix typos in custom metrics docs
Co-authored-by: Remi Gacogne <github@coredump.fr>
Ensar Sarajčić [Mon, 16 Dec 2024 16:10:28 +0000 (17:10 +0100)]
dnsdist: set version changed for new custom metrics options in docs
Otto Moerbeek [Mon, 16 Dec 2024 15:14:39 +0000 (16:14 +0100)]
Merge pull request #14935 from omoerbeek/rec-regr-test-markers
rec: regression test markers
Remi Gacogne [Mon, 16 Dec 2024 14:59:01 +0000 (15:59 +0100)]
Merge pull request #14967 from rgacogne/ddist-fix-ecs-zero-scope-incoming-doh
dnsdist: Fix ECS zero-scope with incoming DoH queries
Ensar Sarajčić [Mon, 16 Dec 2024 11:22:04 +0000 (12:22 +0100)]
dnsdist: fix empty labels check in json stats endpoint
Ensar Sarajčić [Mon, 16 Dec 2024 10:42:44 +0000 (11:42 +0100)]
dnsdist: use `empty()` instead of "" check
Ensar Sarajčić [Mon, 16 Dec 2024 10:31:01 +0000 (11:31 +0100)]
dnsdist: add docs for new arguments for custom metric functions
Otto Moerbeek [Mon, 16 Dec 2024 10:19:17 +0000 (11:19 +0100)]
rec: if the full CNAME chain leading to the answer is cached, indicate that
Alternative approach to #14918
Ensar Sarajčić [Mon, 16 Dec 2024 10:10:32 +0000 (11:10 +0100)]
dnsdist: update metrics related regression tests
Miod Vallat [Mon, 16 Dec 2024 10:05:04 +0000 (11:05 +0100)]
Merge pull request #14931 from miodvallat/bugfix/12653
Fix ipv*hint=auto on lmdb backend
Ensar Sarajčić [Fri, 13 Dec 2024 15:02:24 +0000 (16:02 +0100)]
dnsdist: ignore clangd-tidy warnings
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Fri, 13 Dec 2024 14:45:31 +0000 (15:45 +0100)]
dnsdist: Fix ECS zero-scope with incoming DoH queries
The zero-scope feature involves a first cache lookup before the ECS
information has been added to the query, then on a miss a second,
regular lookup is done. When we get a response from the backend that
contains an ECS scope set to 0, we can insert it into the cache in a
way that allows using it for all clients, but we must be careful to
use the key that was computed during the first lookup, and not the
second one.
Incoming DoH queries make that even more interesting because while
they are received over TCP, they are initially forwarded to the
backend over UDP but can be retried over TCP if a TC=1 answer is
received. In that case we must be very careful not to insert the
answer into the cache using the wrong protocol, as we don't want to
serve a TC=1 answer to a client contacting us over TCP, for example.
The computation of the cache key and protocol was unfortunately broken
for the incoming query received over DoH, forwarded over UDP and
response has a zero scope case. This commit fixes it.
Otto Moerbeek [Fri, 13 Dec 2024 13:20:35 +0000 (14:20 +0100)]
Merge pull request #14964 from omoerbeek/rec-prep-5.2.0-rc1
rec: prep for rec-5.2.0-rc1
Ensar Sarajčić [Fri, 13 Dec 2024 11:16:13 +0000 (12:16 +0100)]
dnsdist: remove todo comments from `dnsdist-lua-ffi`
Otto Moerbeek [Fri, 13 Dec 2024 09:07:53 +0000 (10:07 +0100)]
rec: prep for rec-5.2.0-rc1
Otto Moerbeek [Fri, 13 Dec 2024 08:52:50 +0000 (09:52 +0100)]
Merge pull request #14957 from zjs604381586/avoid-local-port
recursor udp-source-port-avoid default setting add 4791 port
Otto Moerbeek [Fri, 13 Dec 2024 08:26:14 +0000 (09:26 +0100)]
Update pdns/recursordist/settings/table.py
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Otto Moerbeek [Fri, 13 Dec 2024 08:24:19 +0000 (09:24 +0100)]
Add versionchanged clause
zhaojs [Thu, 12 Dec 2024 11:04:16 +0000 (19:04 +0800)]
sort udp_source_port_avoid list
zhaojingshi [Thu, 12 Dec 2024 08:57:44 +0000 (16:57 +0800)]
recursor local udp port avoid 4791
When the recursor sends a DNS request and the local port is specified as 4791, if there is RDMA hardware on the machine, when the response with dst as port 4791 reaches the network card driver, it will be directly processed by the hardware as Roce v2 protocol, and the recursor will not get a response to this request.
Otto Moerbeek [Fri, 13 Dec 2024 07:08:07 +0000 (08:08 +0100)]
Merge pull request #14944 from omoerbeek/rec-docs-assorted
rec: minor doc fixes
Ensar Sarajčić [Thu, 12 Dec 2024 18:36:41 +0000 (19:36 +0100)]
dnsdist: skip metrics with labels for carbon export and stats dump
Ensar Sarajčić [Thu, 12 Dec 2024 16:38:43 +0000 (17:38 +0100)]
dnsdist: clean up clang-tidy warnings in lua and metrics
Ensar Sarajčić [Thu, 12 Dec 2024 16:23:05 +0000 (17:23 +0100)]
dnsdist: use template function to simplify metrics mutation functions
Ensar Sarajčić [Thu, 12 Dec 2024 15:51:33 +0000 (16:51 +0100)]
dnsdist: fix formatting in dnsdist-lua.cc
Ensar Sarajčić [Thu, 12 Dec 2024 15:36:54 +0000 (16:36 +0100)]
dnsdist: remove unnecessary optional around variant opts
Ensar Sarajčić [Thu, 12 Dec 2024 15:17:01 +0000 (16:17 +0100)]
chore: reformat metrics related files
Ensar Sarajčić [Thu, 12 Dec 2024 15:01:14 +0000 (16:01 +0100)]
dnsdist: add options to `declareMetric` to skip initialization if labels are used
Ensar Sarajčić [Thu, 12 Dec 2024 08:04:56 +0000 (09:04 +0100)]
dnsdist: add support for labels on custom metrics
This adds support for prometheus labels on custom metrics. Changes the
metrics maps to hold a map of labels to metric values for each metric.
Metrics without labels have an empty string label combination value.
Adds an optional options table as the last parameter of `incMetric`,
`decMetric`, `setMetric` and `getMetric`, which can be used to set
labels by using the `label` key or to set the previously used parameter
(either `step` or `value`).
Closes: #13359
Miod Vallat [Wed, 11 Dec 2024 14:04:07 +0000 (15:04 +0100)]
Extend the SVCB tests to also test with lmdb backend.
Otto Moerbeek [Tue, 10 Dec 2024 14:00:30 +0000 (15:00 +0100)]
Merge pull request #14950 from omoerbeek/docs-top-searchbox
web docs: Render search box on top.
Otto Moerbeek [Tue, 10 Dec 2024 12:44:13 +0000 (13:44 +0100)]
web docs: Render search box on top.
Also uses the proper style for the name of the beast, except for
dnsdist which uses a different theme that does not have logo-text.html
Otto Moerbeek [Tue, 10 Dec 2024 10:07:12 +0000 (11:07 +0100)]
Merge pull request #14942 from omoerbeek/rec-sockets-less-chatty
rec: log only one line per protocol for listening sockets,
Otto Moerbeek [Tue, 10 Dec 2024 09:56:46 +0000 (10:56 +0100)]
Merge pull request #14941 from omoerbeek/rec-meson-gen-metrics-fixup
rec: generate metrics files (also) where meson expects them
Otto Moerbeek [Tue, 10 Dec 2024 09:20:58 +0000 (10:20 +0100)]
Add comments about the prupose of the added arguments to make{UDP,TCP}ServerSockets
Otto Moerbeek [Tue, 10 Dec 2024 09:16:44 +0000 (10:16 +0100)]
Add FIXME comment
Remi Gacogne [Mon, 9 Dec 2024 15:49:56 +0000 (16:49 +0100)]
Merge pull request #14947 from rgacogne/ddist-doc-dq-elapsedus
dnsdist: Document that `DNSQuestion::getElapsedUs` will be added in 1.9.8
Remi Gacogne [Mon, 9 Dec 2024 15:08:57 +0000 (16:08 +0100)]
dnsdist: Document that `DNSQuestion::getElapsedUs` will be added in 1.9.8
Remi Gacogne [Mon, 9 Dec 2024 15:01:01 +0000 (16:01 +0100)]
Merge pull request #14938 from karelbilek/keylogfile_master
dnsdist: allow setting keyLogFile to DoT/DoH backends
Otto Moerbeek [Mon, 9 Dec 2024 10:23:56 +0000 (11:23 +0100)]
rec: minor doc fixes
Fixes #14860
Remi Gacogne [Mon, 9 Dec 2024 13:05:03 +0000 (14:05 +0100)]
Merge pull request #14930 from rgacogne/ddist-fix-WeightedBalancingFactor
dnsdist: Fix issues with the balancing factors
Karel Bilek [Mon, 9 Dec 2024 12:32:07 +0000 (13:32 +0100)]
Simple regression test for existence of SSL keys
There is no test for actual validity of the files... just if there is something there.
Karel Bilek [Mon, 9 Dec 2024 08:44:51 +0000 (09:44 +0100)]
Allow setting keyLogFile to DoT/DoH backends
Otto Moerbeek [Mon, 9 Dec 2024 11:45:55 +0000 (12:45 +0100)]
Merge pull request #14943 from omoerbeek/rec-ds-zonecut-invalid
rec: Skip the current zone when looking for a cut after an invalid DS denial proof
Otto Moerbeek [Tue, 3 Dec 2024 10:57:23 +0000 (11:57 +0100)]
rec: Skip the current zone when looking for a cut after an invalid DS denial proof
Otto Moerbeek [Mon, 9 Dec 2024 08:32:02 +0000 (09:32 +0100)]
rec: log only one line per protocol for listening sockets,
Instead of addresses * threads * protocol lines
Otto Moerbeek [Mon, 9 Dec 2024 08:28:33 +0000 (09:28 +0100)]
Update pdns/recursordist/metrics.py
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Miod Vallat [Mon, 9 Dec 2024 06:41:25 +0000 (07:41 +0100)]
Merge pull request #14913 from miodvallat/bugfix/12650
[bugfix] Reject hexadecimal blobs with odd number of characters
Otto Moerbeek [Fri, 6 Dec 2024 15:42:19 +0000 (16:42 +0100)]
rec: generate metrics files (also) where meson expects them
This avoids unneccesary regeneration of files
Remi Gacogne [Fri, 6 Dec 2024 10:27:13 +0000 (11:27 +0100)]
dnsdist: Add a regression tests for whashed and chashed
Remi Gacogne [Fri, 6 Dec 2024 10:28:00 +0000 (11:28 +0100)]
Merge pull request #14936 from rgacogne/gate-daily-packages-build
CI: Run the daily package building workflow only if requested
Miod Vallat [Fri, 6 Dec 2024 10:10:41 +0000 (11:10 +0100)]
Address review and clang-tidy comments.
Remi Gacogne [Fri, 6 Dec 2024 09:39:13 +0000 (10:39 +0100)]
CI: Run the daily package building workflow only if requested
After this commit, the `build-packages-daily-master` workflow will
only be executed on repositories that have a `SCHEDULED_PACKAGES_DAILY`
variable set to a non-negative value.
Miod Vallat [Wed, 4 Dec 2024 15:22:41 +0000 (16:22 +0100)]
Handle empty ipv*hint values as "auto", when coming from lmdb.
Fixes #12653
Peter van Dijk [Fri, 6 Dec 2024 09:15:07 +0000 (10:15 +0100)]
Merge pull request #14926 from miodvallat/feature/12953
[feature] remove support for libdecaf
Miod Vallat [Fri, 6 Dec 2024 07:35:59 +0000 (08:35 +0100)]
Add unit test for invalid NSEC3 hex blob.
Miod Vallat [Wed, 4 Dec 2024 08:39:02 +0000 (09:39 +0100)]
Remove support for libdecaf.
Fixes #12953
Otto Moerbeek [Thu, 5 Dec 2024 13:54:13 +0000 (14:54 +0100)]
rec: mark test that depend on external servers and or are unreliable
While there get rid of the special status of test_WellKnown.py and
correct the way args are passed to pytest
Otto Moerbeek [Thu, 5 Dec 2024 10:51:21 +0000 (11:51 +0100)]
Merge pull request #14934 from omoerbeek/gh-action-build-name
GH workflow for building packages: change name so target isn't chopped off
Remi Gacogne [Wed, 4 Dec 2024 14:29:45 +0000 (15:29 +0100)]
dnsdist: Fix the consistency check for the balancing factors
Zero is the initial value, but until now it was only possible to pass a value greater than or equal to 1.0 to `setWeightedBalancingFactor()` so it was not possible to reset it to the default value.
Remi Gacogne [Wed, 4 Dec 2024 14:28:50 +0000 (15:28 +0100)]
dnsdist: Fix `whashed` and `wrandom` using the wrong parameter for consistent hashing
Remi Gacogne [Wed, 4 Dec 2024 08:16:29 +0000 (09:16 +0100)]
Merge pull request #14923 from belminf/master
dnsdist: Fix addMaintenanceCallback example
Peter van Dijk [Tue, 3 Dec 2024 21:51:08 +0000 (22:51 +0100)]
Merge pull request #14925 from milzi234/bugfix/recursor-docs-build
adjusted paths
milzi234 [Tue, 3 Dec 2024 21:17:28 +0000 (22:17 +0100)]
adjusted paths
Belmin Fernandez [Tue, 3 Dec 2024 18:57:18 +0000 (13:57 -0500)]
dnsdist: Fix addMaintenanceCallback example
milzi234 [Tue, 3 Dec 2024 18:53:30 +0000 (19:53 +0100)]
Merge pull request #14922 from milzi234/bugfix/pdfs-in-wrong-location
put pdfs in latex subdirectory before uploading to web1
milzi234 [Tue, 3 Dec 2024 16:46:11 +0000 (17:46 +0100)]
or remove the extra upload step :)
milzi234 [Tue, 3 Dec 2024 16:23:14 +0000 (17:23 +0100)]
put pdfs in latex subdirectory before uploading to web1
Otto Moerbeek [Tue, 3 Dec 2024 15:54:32 +0000 (16:54 +0100)]
GH workflow for building packages: change name so target isn't chopped off
Peter van Dijk [Tue, 3 Dec 2024 14:09:57 +0000 (15:09 +0100)]
Merge pull request #14921 from milzi234/bugfix/missing-pdfs
also add the PDFs to the websites
milzi234 [Tue, 3 Dec 2024 12:39:06 +0000 (13:39 +0100)]
also add the PDFs to the websites
Peter van Dijk [Tue, 3 Dec 2024 11:49:14 +0000 (12:49 +0100)]
Merge pull request #14919 from milzi234/bugfix/untar-docs-before-pushing-to-web2
Fix for upload to web1
milzi234 [Tue, 3 Dec 2024 11:16:30 +0000 (12:16 +0100)]
untar the html docs before syncing them to web1. Remove tar.bz2 of documentation sites
Remi Gacogne [Tue, 3 Dec 2024 10:16:49 +0000 (11:16 +0100)]
Merge pull request #14912 from PowerDNS/dependabot/github_actions/actions/setup-node-4
build(deps): bump actions/setup-node from 3 to 4
Otto Moerbeek [Tue, 3 Dec 2024 09:28:11 +0000 (10:28 +0100)]
Merge pull request #14917 from omoerbeek/rec-dockerfile
rec: sync Dockerfile build options with packages
Otto Moerbeek [Tue, 3 Dec 2024 08:53:41 +0000 (09:53 +0100)]
Merge pull request #14916 from omoerbeek/docs-modernize-urls
Fix a few URLs to point directly to the powerdns website
Otto Moerbeek [Tue, 3 Dec 2024 08:25:19 +0000 (09:25 +0100)]
rec: sync Dockerfile build options with packages
Fixes #14915
Before:
Features: libcrypto-ecdsa libcrypto-
ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream sodium curl scrypt
After:
Features: libcrypto-ecdsa libcrypto-
ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream snmp sodium curl DoT scrypt
Otto Moerbeek [Tue, 3 Dec 2024 07:49:51 +0000 (08:49 +0100)]
Fix a few URLs to point directly to the powerdns website
Peter van Dijk [Mon, 2 Dec 2024 17:12:00 +0000 (18:12 +0100)]
Merge pull request #14910 from milzi234/bugfix/push-docs-to-web1
Install inv before using it
dependabot[bot] [Mon, 2 Dec 2024 15:55:43 +0000 (15:55 +0000)]
build(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Miod Vallat [Mon, 2 Dec 2024 15:47:11 +0000 (16:47 +0100)]
Reject hexadecimal blobs with odd number of characters, fixes #12650.
Changes in
4e75f84ac9a0ad451d096d8c9cad58fd3b5574dd to allow ignoring
non-hexa characters (such as whitespace) have also allowed dangling
hex digits, which were then padded with an implicit 0. This restores
the original behaviour of throwing an exception for these inputs.
milzi234 [Mon, 2 Dec 2024 11:22:21 +0000 (12:22 +0100)]
removes cargo culted lines
milzi234 [Mon, 2 Dec 2024 10:09:25 +0000 (11:09 +0100)]
Install inv before using it
Peter van Dijk [Mon, 2 Dec 2024 09:18:57 +0000 (10:18 +0100)]
Merge pull request #14767 from milzi234/master
Publish Docs to Netlify and AWS
Otto Moerbeek [Mon, 2 Dec 2024 09:01:29 +0000 (10:01 +0100)]
Merge pull request #14909 from omoerbeek/rec-startstop-fix
re: followup to 14796: also call stop hook in 1 thread case
Otto Moerbeek [Mon, 2 Dec 2024 08:49:42 +0000 (09:49 +0100)]
Merge pull request #14892 from omoerbeek/rec-docs-runtime-quoting
rec: fix quoting issue in #14886
Otto Moerbeek [Mon, 2 Dec 2024 08:19:52 +0000 (09:19 +0100)]
re: followup to 14796: also call stop hook in 1 thread case
Peter van Dijk [Fri, 29 Nov 2024 15:39:58 +0000 (16:39 +0100)]
Merge pull request #14904 from Habbie/repo-test-git-versions
generate-repo-files: pick up git versions from output too