]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 24 Jun 2025 08:53:37 +0000 (10:53 +0200)]
Use get_view() instead of get_data()
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 24 Jun 2025 07:56:22 +0000 (09:56 +0200)]
Use std::copy instead of memcpy
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 24 Jun 2025 07:21:41 +0000 (09:21 +0200)]
Process review comments by rgacogne and Habbie
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 19 Jun 2025 09:03:43 +0000 (11:03 +0200)]
Distinguish argument value and return value
Having full attribute names is something for later (maybe).
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 19 Jun 2025 08:49:53 +0000 (10:49 +0200)]
Tidy
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 19 Jun 2025 08:36:25 +0000 (10:36 +0200)]
Use std::copy and std::fill, as suggested by rgacogne
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 19 Jun 2025 08:28:53 +0000 (10:28 +0200)]
Encode TraceID and SpanID into a single EDNS option record, as suggested by Habbie
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Fri, 13 Jun 2025 09:36:09 +0000 (11:36 +0200)]
Rewrite comment that no longer reflects reality
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Fri, 13 Jun 2025 09:28:35 +0000 (11:28 +0200)]
Typos in comments from miod
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Jun 2025 13:42:41 +0000 (15:42 +0200)]
Fix autotools build and avoid a few g++ warnings by initing all members explicitly
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Jun 2025 12:27:37 +0000 (14:27 +0200)]
Rename sdig argument from otid to traceid
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Jun 2025 09:07:10 +0000 (11:07 +0200)]
docs plus some cleanup
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Jun 2025 08:10:14 +0000 (10:10 +0200)]
Remove helper files used for development
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Fri, 6 Jun 2025 08:05:56 +0000 (10:05 +0200)]
Better processing of parent info of event traces (and Spans)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 5 Jun 2025 11:47:44 +0000 (13:47 +0200)]
Optionally pass OT trace to a collector in ProtobufLogger.py
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 26 May 2025 07:23:38 +0000 (09:23 +0200)]
sdig adding OT IDs and rec incoming processing of OT IDs
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 20 May 2025 12:23:15 +0000 (14:23 +0200)]
Framework to add opentelemetry trace data in rec
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 20 May 2025 12:22:31 +0000 (14:22 +0200)]
Teach contrib/ProtobufLogger.py code to decode opentelemetry protobuf data
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 20 May 2025 08:30:30 +0000 (10:30 +0200)]
Added comments on the semantics of the various fields, added forgotten flags field to Span
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 30 Apr 2025 11:12:33 +0000 (13:12 +0200)]
Added more extensive test, fixed a few small things
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 28 Apr 2025 11:45:41 +0000 (13:45 +0200)]
OpenTelemetry trace data protobuf encode/decode using protozero
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 12 Jun 2025 11:42:19 +0000 (13:42 +0200)]
Merge pull request #15656 from miodvallat/deadbool
Remove never used argument
Miod Vallat [Thu, 12 Jun 2025 11:41:51 +0000 (13:41 +0200)]
Merge pull request #15605 from miodvallat/random_random
Boring coverity-induced changes
Remi Gacogne [Thu, 12 Jun 2025 08:04:31 +0000 (10:04 +0200)]
Merge pull request #15532 from nokia/master
dnsdist: add option to support cache sharing between different payload sizes
Miod Vallat [Wed, 11 Jun 2025 07:48:07 +0000 (09:48 +0200)]
Remove never used third argument of xfrName().
Miod Vallat [Wed, 28 May 2025 09:25:11 +0000 (11:25 +0200)]
Add a few more std::move() when possible (coverity)
Oliver Chen [Mon, 9 Jun 2025 01:54:00 +0000 (01:54 +0000)]
Address PR comments of reword and remove rsp payload size check
Remi Gacogne [Fri, 6 Jun 2025 09:01:10 +0000 (11:01 +0200)]
dnsdist: Gracefully handle list of integers in YAML
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Oliver Chen [Sat, 10 May 2025 03:56:07 +0000 (03:56 +0000)]
add missing empty condition check on payload rank option
Oliver Chen [Fri, 9 May 2025 14:29:34 +0000 (14:29 +0000)]
Use payload size ranking for cache sharing
Oliver Chen [Wed, 7 May 2025 07:35:18 +0000 (07:35 +0000)]
dnsdist: support skip hashing AR section for caching
Use case arise that two clients with different udp payload size,
a customized client uses 4096 while glibc resolver uses 1232.
User would like to share cache result for the same query name,
type and class in this case. The downstream servers does not use
ECS and would not return different answers upon other EDNS
options so this is to add an option to support such use case.
Remi Gacogne [Tue, 10 Jun 2025 08:50:36 +0000 (10:50 +0200)]
Merge pull request #15650 from edmonds/fix-yaml-bind-enable-proxy-protocol
dnsdist: YAML: Correct `enable_proxy_protocol` value for TCP/UDP binds
Remi Gacogne [Tue, 10 Jun 2025 08:30:05 +0000 (10:30 +0200)]
Merge pull request #15634 from rgacogne/rec-fix-asan-stack-use-after-scope
rec: Fix stack-use-after-scope reported by ASAN
Remi Gacogne [Tue, 10 Jun 2025 07:48:55 +0000 (09:48 +0200)]
dnsdist: Update documentation for `binds.enable_proxy_protocol`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Robert Edmonds [Tue, 10 Jun 2025 03:15:15 +0000 (23:15 -0400)]
dnsdist: YAML: Correct `enable_proxy_protocol` value for TCP/UDP binds
The YAML `enable_proxy_protocol` property of `BindConfiguration` is
documented as defaulting to "true", but is actually defined to default
to false. This commit redefines this property to default to "true",
which matches the documentation. It also matches the documentation of
the `enableProxyProtocol` option to the Lua `addLocal()` function.
However, when `loadBinds()` constructs the `ClientState` for a TCP
or UDP bind, it hardcodes the last parameter (`enableProxyProtocol`)
to false, i.e. it ignores the configured value. In this commit, the
`enableProxyProtocol` parameter to the `ClientState` constructor is
taken from the corresponding value loaded by the YAML parser.
Remi Gacogne [Fri, 6 Jun 2025 11:18:58 +0000 (13:18 +0200)]
Merge pull request #15630 from rgacogne/ddist-generated
dnsdist: Better handling of generated files
Remi Gacogne [Fri, 6 Jun 2025 11:18:49 +0000 (13:18 +0200)]
Merge pull request #15633 from Habbie/dnsdist-pp-doc-nit
dnsdist settings docs: fix derailed sentence
Remi Gacogne [Fri, 6 Jun 2025 11:18:34 +0000 (13:18 +0200)]
Merge pull request #15342 from romeroalx/regression-tests-meson
GH Actions - build-and-test-all: use meson builds for regression tests
Otto Moerbeek [Fri, 6 Jun 2025 10:02:46 +0000 (12:02 +0200)]
Merge pull request #15637 from omoerbeek/dnsdist-docs-rules-toc
dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC
Otto Moerbeek [Fri, 6 Jun 2025 09:18:03 +0000 (11:18 +0200)]
dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC
Otto Moerbeek [Fri, 6 Jun 2025 09:09:55 +0000 (11:09 +0200)]
Merge pull request #15636 from omoerbeek/rec-meson-packages-followup3
rec meson followup: extend unittest max time once more and add trixie daily builds
Otto Moerbeek [Fri, 6 Jun 2025 08:38:33 +0000 (10:38 +0200)]
rec meson followup: extend unittest max time once more, ubicloud is slow in some cases
And add trixie to dnsdist and rec daily package build targets
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Fri, 6 Jun 2025 07:40:26 +0000 (09:40 +0200)]
Merge pull request #14473 from Habbie/centos-10-stream
builder: add centos-10-stream target
Remi Gacogne [Thu, 5 Jun 2025 14:40:28 +0000 (16:40 +0200)]
rec: Fix a leak reported by LSAN in the mtasker unit tests
Remi Gacogne [Thu, 5 Jun 2025 14:22:57 +0000 (16:22 +0200)]
dnsdist: Ignore generated dnsdist-rust-lib/rust/src/lib.rs
Otto Moerbeek [Thu, 5 Jun 2025 14:22:18 +0000 (16:22 +0200)]
Merge pull request #15632 from omoerbeek/rec-meson-packages-followup2
rec: Disable fortify on package builds, it is supplied db package build infra
Remi Gacogne [Thu, 5 Jun 2025 14:17:51 +0000 (16:17 +0200)]
dnsdist: Add a missing change in the YAML response actions docs
Remi Gacogne [Thu, 5 Jun 2025 14:05:20 +0000 (16:05 +0200)]
dnsdist: Add missing boost dependencies spotted by Otto (thanks!)
Remi Gacogne [Tue, 3 Jun 2025 11:10:16 +0000 (13:10 +0200)]
dnsdist: Hopefully fixes consistency issues in our build
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 11:13:25 +0000 (13:13 +0200)]
dnsdist: Also ignore dnsdist-rust-lib/dnsdist-configuration-yaml-items-generated.cc
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 10:42:29 +0000 (12:42 +0200)]
dnsdist: Ignore generated "body" header files
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 10:41:16 +0000 (12:41 +0200)]
dnsdist: Remove generated files from git
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 08:22:28 +0000 (10:22 +0200)]
dnsdist: Rename dnsdist-configuration-yaml-items-generated-pre-in.cc
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:48:02 +0000 (15:48 +0200)]
dnsdist: Always process `dnsdist-rust-lib/meson.build`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:41:07 +0000 (15:41 +0200)]
dnsdist: Update stale YAML selectors documentation
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:40:44 +0000 (15:40 +0200)]
dnsdist: Automatically generate YAML settings documentation
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 12:28:22 +0000 (14:28 +0200)]
dnsdist: Fix paths in the YAML settings documentation generator
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 12:27:55 +0000 (14:27 +0200)]
dnsdist: Move the YAML settings documentation generator
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 5 Jun 2025 14:08:10 +0000 (16:08 +0200)]
Merge pull request #15631 from rgacogne/ddist-fix-spurious-test-failure
dnsdist: Fix a flaky Proxy Protocol regression test
Remi Gacogne [Thu, 5 Jun 2025 14:07:53 +0000 (16:07 +0200)]
Merge pull request #15610 from ns-sjorgedeaguiar/ddist-add-set-edns-response-action
dnsdist: add SetEDNSOptionResponseAction
Peter van Dijk [Thu, 5 Jun 2025 13:52:22 +0000 (15:52 +0200)]
dnsdist settings docs: fix derailed sentence
Remi Gacogne [Thu, 5 Jun 2025 13:55:29 +0000 (15:55 +0200)]
rec: Fix stack-use-after-scope reported by ASAN
Technically we are indeed using a stack that is no longer the active
one, because we just switched to a different context, but since the
previous stack still exists that I do not believe it is a real issue.
After this commit we access the previous stack before notifying ASAN
that the stack switch is finished, so we are still allowed to do that.
Note that clang 19 ASAN is fine with both behaviour, but GCC 14 and 15
ASAN aren't.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Peter van Dijk [Thu, 5 Jun 2025 13:47:14 +0000 (15:47 +0200)]
Merge pull request #15389 from miodvallat/wittlching_hour
[tools] Honour default-ttl in pdnsutil load-zone
Remi Gacogne [Tue, 20 May 2025 13:56:24 +0000 (15:56 +0200)]
build-and-test-all: Enable coverage back on our repository
Remi Gacogne [Tue, 20 May 2025 11:31:19 +0000 (13:31 +0200)]
build-and-test-all: Fix working directory when generating coverage for auth's unit tests
Remi Gacogne [Tue, 20 May 2025 10:19:37 +0000 (12:19 +0200)]
build-and-test-all: We no longer build from a distdir w/ meson
Remi Gacogne [Tue, 20 May 2025 07:28:40 +0000 (09:28 +0200)]
meson: Add support for generating code coverage data in clang format
romeroalx [Wed, 16 Apr 2025 10:24:14 +0000 (12:24 +0200)]
tasks.py: meson install requires elevation
romeroalx [Fri, 11 Apr 2025 13:44:45 +0000 (15:44 +0200)]
gh actions: temporarily disable coverage
romeroalx [Mon, 14 Apr 2025 13:57:30 +0000 (15:57 +0200)]
build-and-test-all: run coverage on meson builds
romeroalx [Fri, 11 Apr 2025 13:41:16 +0000 (15:41 +0200)]
gh actions: fix condition to check if coverage is enabled as suggested by @rgacogne
romeroalx [Fri, 21 Mar 2025 13:40:50 +0000 (14:40 +0100)]
build-and-test-all: use meson binaries in regression tests
Peter van Dijk [Thu, 5 Jun 2025 13:23:37 +0000 (15:23 +0200)]
Merge pull request #15607 from miodvallat/too_much_sugar
Try harder matching command names in pdnsutil
Samir Aguiar [Thu, 5 Jun 2025 13:21:48 +0000 (13:21 +0000)]
dnsdist: use "replace" instead of "overwrite"
romeroalx [Fri, 21 Mar 2025 13:22:03 +0000 (14:22 +0100)]
regression-tests.nobackend - soa-edit: use datefudge instead of faketime
romeroalx [Fri, 21 Mar 2025 13:19:22 +0000 (14:19 +0100)]
dnsdist-meson: enable yaml configuration
Peter van Dijk [Thu, 5 Jun 2025 13:08:47 +0000 (15:08 +0200)]
Merge pull request #15581 from miodvallat/editors'cut
Do not use system(3) in pdnsutil
Otto Moerbeek [Thu, 5 Jun 2025 12:22:44 +0000 (14:22 +0200)]
Disable fortify on package builds, it is supplied db package build infra
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Thu, 5 Jun 2025 12:12:35 +0000 (14:12 +0200)]
Merge pull request #15604 from miodvallat/a_zone_with_a_view
Suggest create-zone after view-add-zone of a nonexisting zone
Otto Moerbeek [Thu, 5 Jun 2025 11:52:22 +0000 (13:52 +0200)]
Merge pull request #15628 from omoerbeek/rec-meson-packages-followup
rec: meson packages followup
Remi Gacogne [Thu, 5 Jun 2025 11:06:22 +0000 (13:06 +0200)]
dnsdist: Fix a flaky Proxy Protocol regression test
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 5 Jun 2025 10:33:36 +0000 (12:33 +0200)]
Merge pull request #15626 from omoerbeek/rec-el9-luajit
rec: build el-9 package with luajit on arm64
Otto Moerbeek [Thu, 5 Jun 2025 10:32:50 +0000 (12:32 +0200)]
Update builder-support/specs/pdns-recursor.spec
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 5 Jun 2025 09:19:51 +0000 (11:19 +0200)]
Merge pull request #15629 from rgacogne/fix-documentation-workflow
documentation.yml: Fix a typo
Remi Gacogne [Thu, 5 Jun 2025 08:41:08 +0000 (10:41 +0200)]
documentation.yml: Fix missing `$`s spotted by Alexis (thanks!)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 5 Jun 2025 08:26:47 +0000 (10:26 +0200)]
documentation.yml: Fix a typo
Remi Gacogne [Thu, 5 Jun 2025 08:15:46 +0000 (10:15 +0200)]
Merge pull request #15600 from rgacogne/zizmor
ci: Fix various warnings reported by zizmor
Peter van Dijk [Fri, 16 May 2025 07:39:28 +0000 (07:39 +0000)]
enable xsk for every EL except arm64/8
Peter van Dijk [Thu, 15 May 2025 09:11:38 +0000 (11:11 +0200)]
builder: add centos-10-stream target
Otto Moerbeek [Thu, 5 Jun 2025 07:50:07 +0000 (09:50 +0200)]
Set fortify to auto, avoids warning on ubuntu-noble
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 5 Jun 2025 07:12:32 +0000 (09:12 +0200)]
Disable some deprecation warnings on rhel, boost generates a tonne of them
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 5 Jun 2025 07:09:15 +0000 (09:09 +0200)]
Build daily packages for trixie
Otto Moerbeek [Thu, 5 Jun 2025 07:00:39 +0000 (09:00 +0200)]
Longer timeout for unit test run
Otto Moerbeek [Tue, 3 Jun 2025 13:29:29 +0000 (15:29 +0200)]
rec: build el-9 package with luajit on arm64
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 3 Jun 2025 12:51:41 +0000 (14:51 +0200)]
Merge pull request #15592 from omoerbeek/rec-meson-packages
rec: build packages using meson
Remi Gacogne [Tue, 3 Jun 2025 12:33:31 +0000 (14:33 +0200)]
Merge pull request #17 from romeroalx/zizmor
CI: added digest (index when possible) for external images used in gh actions
Otto Moerbeek [Mon, 2 Jun 2025 12:48:21 +0000 (14:48 +0200)]
Also generate Dockerfile with meson
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
romeroalx [Tue, 3 Jun 2025 09:16:11 +0000 (11:16 +0200)]
ci: added digest (index when possible) for external images used in gh actions
Remi Gacogne [Tue, 3 Jun 2025 07:35:17 +0000 (09:35 +0200)]
Merge pull request #15615 from rgacogne/ddist-update-cargo-lock
dnsdist: Update our Rust dependencies
Remi Gacogne [Tue, 3 Jun 2025 07:35:00 +0000 (09:35 +0200)]
Merge pull request #15616 from zeha/dnsdist-debian-lua
dnsdist: debian: use luajit when possible