]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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 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
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
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
Remi Gacogne [Tue, 3 Jun 2025 07:34:16 +0000 (09:34 +0200)]
Merge pull request #15614 from rgacogne/ddist-rust-lib-locked
dnsdist: Explicitly use the versions present in `Cargo.lock` when building
Chris Hofstaedtler [Mon, 2 Jun 2025 10:54:27 +0000 (12:54 +0200)]
dnsdist: debian: use luajit when possible
Use luajit on arm64 amd64, otherwise keep lua5.3. luajit in Ubuntu jammy and
Debian bookworm should be new enough to not need version constraints anymore.
Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Otto Moerbeek [Mon, 2 Jun 2025 09:58:59 +0000 (11:58 +0200)]
Better logic for luajit use on debian
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 2 Jun 2025 10:43:53 +0000 (12:43 +0200)]
dnsdist: Update our Rust dependencies
Remi Gacogne [Mon, 2 Jun 2025 10:36:23 +0000 (12:36 +0200)]
dnsdist: Explicitly use the versions present in `Cargo.lock` when building
The documentation states that only `cargo update` and `cargo install`
should update the dependencies present in the `Cargo.lock` file, but
it still seems safer to explictly ask `cargo build` to not update them.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Wed, 28 May 2025 12:02:12 +0000 (14:02 +0200)]
Fix systemd user for debian packages
Otto Moerbeek [Tue, 27 May 2025 07:48:43 +0000 (09:48 +0200)]
Fix systemd-service option handling
Trixie and oracular are special, they need both systemd and systemd-dev
Otto Moerbeek [Mon, 26 May 2025 13:08:18 +0000 (15:08 +0200)]
Rec debian/ubuntu packges using meson
Otto Moerbeek [Mon, 26 May 2025 10:08:43 +0000 (12:08 +0200)]
Add el-8, needed a nweer boost to build with clang
Otto Moerbeek [Mon, 26 May 2025 08:38:43 +0000 (10:38 +0200)]
rec: build dist tarball and el-x packages using meson
Peter van Dijk [Mon, 2 Jun 2025 09:36:55 +0000 (11:36 +0200)]
Merge pull request #15597 from Habbie/auth5a1-changelog-nits
auth 5a1 changelog: fix real names; remove 4.9 backported items
Remi Gacogne [Wed, 28 May 2025 12:05:27 +0000 (14:05 +0200)]
Merge pull request #15598 from rgacogne/auth-geoip-warning
auth: Fix `ignoring attributes on template argument` warning in the GeoIP backend
Remi Gacogne [Wed, 28 May 2025 12:04:49 +0000 (14:04 +0200)]
Merge pull request #15595 from rgacogne/auth500-a1-warnings
auth: Fix a couple warnings reported by g++ 15.1.1
Otto Moerbeek [Wed, 28 May 2025 12:04:36 +0000 (14:04 +0200)]
Merge pull request #15601 from Habbie/dnsdist-docs-eol-casing
Revert "Harmonize EOL file name"
Miod Vallat [Wed, 28 May 2025 12:03:33 +0000 (14:03 +0200)]
Merge pull request #15608 from jpmens/patch-17
s/master/primary/g in Views doc
Otto Moerbeek [Wed, 28 May 2025 11:24:30 +0000 (13:24 +0200)]
Merge pull request #15596 from omoerbeek/build-trixie
Start building packages for trixie
Jan-Piet Mens [Wed, 28 May 2025 11:07:48 +0000 (13:07 +0200)]
s/master/primary/g in Views doc
Miod Vallat [Wed, 28 May 2025 06:20:49 +0000 (08:20 +0200)]
Suggest create-zone after view-add-zone of a nonexisting zone.
Peter van Dijk [Tue, 27 May 2025 13:25:43 +0000 (15:25 +0200)]
Revert "Harmonize EOL file name"
This reverts commit
c5c53393e558473c1c60acb1b43bc798e63c012e .
such changes make working with the tree hard, and they cause
404s -or- outdated pages on publication
Remi Gacogne [Tue, 27 May 2025 13:16:03 +0000 (15:16 +0200)]
auth: Fix formatting
Remi Gacogne [Tue, 27 May 2025 13:06:35 +0000 (15:06 +0200)]
spelling2: Remove all permissions
Remi Gacogne [Tue, 27 May 2025 13:02:48 +0000 (15:02 +0200)]
ci: Use an intermediate environment variable when processing input
See https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#good-practices-for-mitigating-script-injection-attacks
Remi Gacogne [Tue, 27 May 2025 12:57:25 +0000 (14:57 +0200)]
build-and-test-all: Pin the version of the coveralls workflow
Remi Gacogne [Tue, 27 May 2025 12:54:52 +0000 (14:54 +0200)]
ci: Never persist credentials after calling `checkout`
Remi Gacogne [Tue, 27 May 2025 12:49:52 +0000 (14:49 +0200)]
auth: Fix `ignoring attributes on template argument` warning in the GeoIP backend
g++ 15.1.1 reports:
```
geoipbackend.cc: In constructor 'GeoIPBackend::GeoIPBackend(const std::string&)':
geoipbackend.cc:88:62: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes]
88 | auto dirHandle = std::unique_ptr<DIR, decltype(&closedir)>(opendir(getArg("dnssec-keydir").c_str()), closedir);
```
Peter van Dijk [Tue, 27 May 2025 12:00:54 +0000 (14:00 +0200)]
auth 5a1 changelog: fix real names; remove 4.9 backported items
Otto Moerbeek [Tue, 27 May 2025 11:39:50 +0000 (13:39 +0200)]
Start building packages for trixie
Remi Gacogne [Tue, 27 May 2025 10:29:05 +0000 (12:29 +0200)]
auth: Fix a couple warnings reported by g++ 15.1.1
Peter van Dijk [Tue, 27 May 2025 09:02:02 +0000 (11:02 +0200)]
Merge pull request #15589 from Habbie/auth-5-alpha1-docs
auth-5.0.0-alpha1: docs&secpoll
Peter van Dijk [Mon, 26 May 2025 09:16:07 +0000 (11:16 +0200)]
lmdb backend schema upgrade note
Peter van Dijk [Fri, 23 May 2025 17:37:14 +0000 (19:37 +0200)]
auth 5.0.0-alpha1: changelog & secpoll
Peter van Dijk [Fri, 23 May 2025 15:14:48 +0000 (17:14 +0200)]
no credits for Miod, sorry!
Peter van Dijk [Mon, 26 May 2025 13:37:14 +0000 (15:37 +0200)]
Merge pull request #15588 from jsoref/eol
Update EOL bits
Miod Vallat [Mon, 26 May 2025 12:53:53 +0000 (14:53 +0200)]
Merge pull request #15512 from miodvallat/blinds
Bind-style views
Peter van Dijk [Fri, 23 May 2025 14:50:05 +0000 (16:50 +0200)]
Introduce ZoneName::toStringFull to emit variant names...
...and use it for error report in ws-auth.
the size of this commit shows that perhaps we should have
ZoneName::toString() emit the variant. This commit will not
be folded into a previous one, so that it is easy to revert
and rework later.
Peter van Dijk [Fri, 23 May 2025 12:14:43 +0000 (14:14 +0200)]
set edns-subnet scope mask
Peter van Dijk [Thu, 22 May 2025 14:09:05 +0000 (16:09 +0200)]
auth-py: add lmdb variants testing
Miod Vallat [Wed, 7 May 2025 12:01:03 +0000 (14:01 +0200)]
Make increaseSOARecord and RFC2136 code variant-aware.
Miod Vallat [Wed, 7 May 2025 06:47:25 +0000 (08:47 +0200)]
Keep remote in Lua context, to make dblookup search within the current view.
Miod Vallat [Fri, 11 Apr 2025 08:49:57 +0000 (10:49 +0200)]
Add API networks and views testing.
Peter van Dijk [Tue, 6 May 2025 10:19:05 +0000 (12:19 +0200)]
replace soaData.qname by a getter based on zonename
Miod Vallat [Mon, 5 May 2025 13:35:06 +0000 (15:35 +0200)]
Try and build fewer ZoneName objects whenever possible.
Miod Vallat [Mon, 5 May 2025 11:57:55 +0000 (13:57 +0200)]
Document views.
Peter van Dijk [Wed, 30 Apr 2025 10:11:14 +0000 (12:11 +0200)]
Add -variant tests to lmdb, and enable these in CI.
Peter van Dijk [Wed, 30 Apr 2025 10:14:37 +0000 (12:14 +0200)]
Carry variant information in SOAData.
Use this in order to produce the correct RRSIGs and DNSKEYs.
Also, lowercase soaData.qname
Miod Vallat [Mon, 5 May 2025 06:24:52 +0000 (08:24 +0200)]
More use of domainid_t instead of int.
Miod Vallat [Fri, 25 Apr 2025 05:46:22 +0000 (07:46 +0200)]
Require explicit zone id values in lookup calls.
Annotate use of UnknownDomainID when it's safe to use.
Miod Vallat [Thu, 24 Apr 2025 10:19:58 +0000 (12:19 +0200)]
Add and test support for views in packet cache.
The packet cache data buckets are now set up in an unordered map
addressed by the view name.
Doing this also makes sure that, if the network configuration of a view
changes, the cache contents are still valid as long as there is no
change in the zones found in that view.
Peter van Dijk [Thu, 24 Apr 2025 13:16:52 +0000 (15:16 +0200)]
Support for views on AXFR.
Note that this causes somewhat important plumbing changes, getSOA will now
take an optional zone ID, which callers should provide if they know it, in
order to save a possible expensive getDomainInfo call.
Peter van Dijk [Mon, 7 Apr 2025 13:51:30 +0000 (15:51 +0200)]
First set of regression tests for views.
Peter van Dijk [Mon, 7 Apr 2025 13:25:39 +0000 (15:25 +0200)]
Introduce a Bind-style Views feature.
Add interfaces to the zone cache to get the view name from the
originating network address, and to retrieve the appropriate
variant name to use to update a ZoneName when necessary.
Allow updates from the http api.
Add zonecache unit test for views.
Peter van Dijk [Tue, 15 Apr 2025 13:13:09 +0000 (15:13 +0200)]
implement LMDB schema upgrade to v6
Peter van Dijk [Mon, 7 Apr 2025 13:24:50 +0000 (15:24 +0200)]
Preliminary views supports for LMDB.
Miod Vallat [Thu, 27 Mar 2025 16:04:45 +0000 (17:04 +0100)]
Naive plumbing of views and networks in the REST API.
Peter van Dijk [Mon, 7 Apr 2025 13:25:15 +0000 (15:25 +0200)]
Add views-related commands to pdnsutil.
Miod Vallat [Mon, 26 May 2025 10:52:27 +0000 (12:52 +0200)]
Merge pull request #15570 from miodvallat/platoon
Trust inet_pton to validate IPv6 addresses and nothing more
Peter van Dijk [Fri, 28 Mar 2025 06:04:35 +0000 (07:04 +0100)]
New DNSBackend entry points for views support.
Peter van Dijk [Fri, 2 May 2025 10:28:16 +0000 (12:28 +0200)]
add g_rootzonename
Miod Vallat [Mon, 7 Apr 2025 09:55:21 +0000 (11:55 +0200)]
Add optional variants to ZoneName.
Remi Gacogne [Fri, 23 May 2025 13:26:45 +0000 (15:26 +0200)]
Merge pull request #15578 from jsoref/perturbation
Fix spelling for `setWHashedPerturbation`
Josh Soref [Fri, 23 May 2025 13:05:37 +0000 (09:05 -0400)]
Bump secpoll SOA for EOL changes
Josh Soref [Fri, 23 May 2025 12:51:50 +0000 (08:51 -0400)]
Simplify EOL table dates
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:49:49 +0000 (08:49 -0400)]
Refer 3.3 + 3.4 recursor to EOL statement
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:45:09 +0000 (08:45 -0400)]
Refer 3.3 + 3.4 auth to EOL statement
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:42:04 +0000 (08:42 -0400)]
Harmonize EOL file name
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:40:55 +0000 (08:40 -0400)]
Simplify EOL table dates
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:35:32 +0000 (08:35 -0400)]
Refer 3.3 + 3.4 auth to EOL statement
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:29:55 +0000 (08:29 -0400)]
Simplify EOL table dates
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Remi Gacogne [Fri, 23 May 2025 11:34:59 +0000 (13:34 +0200)]
Merge pull request #15582 from rgacogne/ddist200a2-changelog-secpoll
dnsdist: Add ChangeLog and update security polling zone for 2.0.0-alpha2
Miod Vallat [Mon, 7 Apr 2025 09:55:35 +0000 (11:55 +0200)]
Add views configuration setting and reject non-working configuration.