]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 10 Mar 2025 11:02:09 +0000 (12:02 +0100)]
Revert "dnsdist: Compress the tarball containing our packages with `xz`"
This reverts commit
9220ca0752305c8a04578bee78077901c966cb0e .
Remi Gacogne [Fri, 7 Mar 2025 16:02:15 +0000 (17:02 +0100)]
dnsdist: Compress the tarball containing our packages with `xz`
Remi Gacogne [Fri, 7 Mar 2025 10:17:22 +0000 (11:17 +0100)]
dnsdist: Fix a typo in the meson `xsk` file
Remi Gacogne [Fri, 7 Mar 2025 10:00:02 +0000 (11:00 +0100)]
dnsdist: Rename debian-buster build rules to debian-bullseye
Remi Gacogne [Fri, 7 Mar 2025 09:57:37 +0000 (10:57 +0100)]
dnsdist: Also build Debian bullseye packages with `meson`
Remi Gacogne [Fri, 7 Mar 2025 09:41:19 +0000 (10:41 +0100)]
dnsdist: Generate the `dist` tarball in `/tmp/dnsdist-meson-dist-build`
Remi Gacogne [Thu, 6 Mar 2025 13:42:51 +0000 (14:42 +0100)]
dnsdist: Our `pkgconfig` file is also in the new library directory
Remi Gacogne [Thu, 6 Mar 2025 13:25:12 +0000 (14:25 +0100)]
dnsdist: Update tasks.py for the new Quiche library installation path
Remi Gacogne [Thu, 6 Mar 2025 12:21:53 +0000 (13:21 +0100)]
dnsdist: Use the correct libdir for Quiche on Debian/Ubuntu
Remi Gacogne [Thu, 6 Mar 2025 12:03:59 +0000 (13:03 +0100)]
dnsdist: Another attempt at finding the correct libdir
Remi Gacogne [Thu, 6 Mar 2025 10:35:37 +0000 (11:35 +0100)]
dnsdist: Install the Quiche library in the correct library directory
Remi Gacogne [Thu, 6 Mar 2025 09:04:50 +0000 (10:04 +0100)]
dnsdist: Test building packages without `-Wl,--no-as-needed`
Remi Gacogne [Thu, 6 Mar 2025 09:02:07 +0000 (10:02 +0100)]
install_meson: Actually output two spaces for `sha256sum`
Remi Gacogne [Thu, 6 Mar 2025 09:01:18 +0000 (10:01 +0100)]
dnsdist: Disable the built-in compile check of `meson dist`
After all we are building right after.
Remi Gacogne [Mon, 3 Mar 2025 11:03:23 +0000 (12:03 +0100)]
dnsdist: Fix .zx -> .xz typo
Remi Gacogne [Thu, 20 Feb 2025 16:19:50 +0000 (17:19 +0100)]
Remove files versioned in git from dockerignore of `meson` is unhappy
Remi Gacogne [Thu, 20 Feb 2025 16:15:37 +0000 (17:15 +0100)]
dnsdist: Provide a clean and complete git content available to `Docker` for `meson`
Remi Gacogne [Thu, 20 Feb 2025 15:37:56 +0000 (16:37 +0100)]
dnsdist: Run `set-configure-ac-version.sh` in `meson`'s dist script
Remi Gacogne [Thu, 20 Feb 2025 14:28:50 +0000 (15:28 +0100)]
dnsdist: Fix building Debian and Ubuntu packages with meson
Remi Gacogne [Tue, 18 Feb 2025 14:53:44 +0000 (15:53 +0100)]
dnsdist: Fix package building on EL-9 and EL-8
Remi Gacogne [Tue, 18 Feb 2025 10:24:36 +0000 (11:24 +0100)]
dnsdist: Install already generated man pages
Remi Gacogne [Tue, 18 Feb 2025 09:14:54 +0000 (10:14 +0100)]
dnsdist: Remove `time_t`-related checks, we do not care
Remi Gacogne [Mon, 17 Feb 2025 16:20:25 +0000 (17:20 +0100)]
dnsdist: Remove h2o from our packages
Remi Gacogne [Mon, 17 Feb 2025 16:19:22 +0000 (17:19 +0100)]
dnsdist: Fix the meson tarball hash
Remi Gacogne [Mon, 17 Feb 2025 16:17:44 +0000 (17:17 +0100)]
dnsdist: Copy the NOTICE file instead of using a link
Otherwise our builder does not find it, because the root directory
of the repository is not available to the Docker context.
Remi Gacogne [Mon, 17 Feb 2025 16:17:14 +0000 (17:17 +0100)]
dnsdist: Fix "unused parameter" warnings in some configurations
Remi Gacogne [Mon, 17 Feb 2025 14:26:45 +0000 (15:26 +0100)]
dnsdist: Use python3 when installing meson
Remi Gacogne [Mon, 17 Feb 2025 14:17:47 +0000 (15:17 +0100)]
dnsdist: Correct meson tarball sha256sum
Remi Gacogne [Mon, 17 Feb 2025 14:03:12 +0000 (15:03 +0100)]
dnsdist: Only compile ipcipher if libcrypto has been found
Remi Gacogne [Mon, 17 Feb 2025 13:58:47 +0000 (14:58 +0100)]
dnsdist: Only compile lmdb-safe if LMDB has been found
Remi Gacogne [Mon, 3 Mar 2025 11:27:43 +0000 (12:27 +0100)]
dnsdist: Fix detection of libcrypto's configured value in meson
Remi Gacogne [Fri, 14 Feb 2025 15:45:19 +0000 (16:45 +0100)]
dnsdist: Initial changes to build our DNSdist packages with meson
Remi Gacogne [Fri, 7 Mar 2025 15:13:54 +0000 (16:13 +0100)]
Merge pull request #15158 from rgacogne/ddist-disable-lua-configuration-options-with-yaml
dnsdist: Disable Lua configuration directives in YAML mode
Remi Gacogne [Fri, 7 Mar 2025 13:39:25 +0000 (14:39 +0100)]
dnsdist: Clarify that Lua directives are still usable in the console
Otto Moerbeek [Fri, 7 Mar 2025 13:21:51 +0000 (14:21 +0100)]
Merge pull request #15261 from omoerbeek/rec-tcp-count-init
rec: make sure t_tcpClientCounts is always initialized
Otto Moerbeek [Fri, 7 Mar 2025 12:16:42 +0000 (13:16 +0100)]
rec: make sure t_tcpClientCounts is always initialized
And while there make it file-local.
Otto Moerbeek [Fri, 7 Mar 2025 11:40:57 +0000 (12:40 +0100)]
Merge pull request #15260 from omoerbeek/cleanup20250305
Fix a few gcc warnings on trixie
Miod Vallat [Fri, 7 Mar 2025 05:46:23 +0000 (06:46 +0100)]
Merge pull request #15253 from miodvallat/dmca
Fix NAPTR processing
Remi Gacogne [Thu, 6 Mar 2025 08:55:12 +0000 (09:55 +0100)]
Merge pull request #15247 from karelbilek/upstream_raw
lua comboaddress: raw docs, cleanups, dnsdist add getRaw
Otto Moerbeek [Wed, 5 Mar 2025 15:27:58 +0000 (16:27 +0100)]
Kill a few warnings
Miod Vallat [Wed, 5 Mar 2025 13:04:35 +0000 (14:04 +0100)]
Add NAPTR tests with multiple records to process.
Miod Vallat [Wed, 5 Mar 2025 12:44:57 +0000 (13:44 +0100)]
Do not corrupt iterators it doAdditionalProcessing for NAPTR.
Miod Vallat [Wed, 5 Mar 2025 09:54:15 +0000 (10:54 +0100)]
Merge pull request #15098 from miodvallat/luallaby
Add a "failOnIncompleteCheck" option to if*up Lua functions
Miod Vallat [Wed, 5 Mar 2025 09:10:13 +0000 (10:10 +0100)]
Add a "failOnIncompleteCheck" option to if*up Lua functions.
This option, is set to "true", will force the if*up functions to return
SERVFAIL, rather than applying the backupSelector, if none of the
health checks for the targets to check have completed yet.
Miod Vallat [Wed, 5 Mar 2025 08:59:29 +0000 (09:59 +0100)]
Merge pull request #15127 from miodvallat/10431
auth lua records: new option to set the http status code to match in ifurlup function
Miod Vallat [Wed, 5 Mar 2025 08:58:24 +0000 (09:58 +0100)]
Merge pull request #15235 from miodvallat/lua-tidy
[auth] [janitor] Mop up some Lua records code
Miod Vallat [Wed, 5 Mar 2025 08:30:11 +0000 (09:30 +0100)]
Merge pull request #15170 from miodvallat/add_but_reluctantly
[pdnsutil] dedup in add-record
Miod Vallat [Wed, 5 Mar 2025 07:20:56 +0000 (08:20 +0100)]
Simple test for lua-records-exec-limit
Miod Vallat [Wed, 5 Mar 2025 06:49:36 +0000 (07:49 +0100)]
Fix sequencing to unbreak lua-records-exec-limit.
Miod Vallat [Wed, 19 Feb 2025 11:16:32 +0000 (12:16 +0100)]
Preserve record order in pdnsutil add-record.
Miod Vallat [Mon, 17 Feb 2025 14:16:15 +0000 (15:16 +0100)]
Add simple tests for pdnsutil add-record behaviour.
Miod Vallat [Mon, 17 Feb 2025 14:10:38 +0000 (15:10 +0100)]
Make sure a backend envvar is always provided to tests.
Miod Vallat [Mon, 17 Feb 2025 14:14:30 +0000 (15:14 +0100)]
Prevent duplicate records in pdnsutil add-record.
When adding records with pdnsutil, the combination of the existing and
to-be-added records will now be dedup'ed.
Fixes: #4727
Miod Vallat [Wed, 5 Mar 2025 07:27:34 +0000 (08:27 +0100)]
Merge pull request #15133 from miodvallat/numbers_are_secondary
[pdnsutil] Do not allow increase-serial on secondary zones
Miod Vallat [Wed, 5 Mar 2025 06:08:43 +0000 (07:08 +0100)]
Merge pull request #15090 from miodvallat/cache_me_tender
Avoid LMDB exception during recursive lookup
Otto Moerbeek [Tue, 4 Mar 2025 15:03:47 +0000 (16:03 +0100)]
Merge pull request #15217 from omoerbeek/logging-tidy
Tidy of structured logging related files
Otto Moerbeek [Mon, 24 Feb 2025 14:27:49 +0000 (15:27 +0100)]
Tidy structured logging related files
Otto Moerbeek [Tue, 4 Mar 2025 13:18:18 +0000 (14:18 +0100)]
Merge pull request #15169 from omoerbeek/rec-meson-gen-docs
Use meson to generate docs (html + pdf)
Otto Moerbeek [Tue, 4 Mar 2025 13:17:47 +0000 (14:17 +0100)]
Merge pull request #15167 from omoerbeek/rec-proxy-reload
rec: reload proxy settings on rec_control reload-acls
Otto Moerbeek [Tue, 4 Mar 2025 12:41:39 +0000 (13:41 +0100)]
Better description of docs related utilities
Otto Moerbeek [Tue, 4 Mar 2025 12:33:33 +0000 (13:33 +0100)]
Add test for ProxyProtocol config reload
Otto Moerbeek [Tue, 4 Mar 2025 12:00:44 +0000 (13:00 +0100)]
Merge pull request #15248 from omoerbeek/rec-docs-rpz-refresh
rec docs: elaborate on RPZ refresh parameter
Alexis Romero [Tue, 4 Mar 2025 11:26:51 +0000 (12:26 +0100)]
Merge pull request #15243 from romeroalx/build-images-ubuntu-24
GH Actions: upgrade version of Ubuntu runners to 24.04
Otto Moerbeek [Tue, 4 Mar 2025 11:23:41 +0000 (12:23 +0100)]
rec docs: elaborate on RPZ refresh parameter
Karel Bilek [Tue, 4 Mar 2025 11:25:07 +0000 (12:25 +0100)]
docs: fix "format format" typo
Karel Bilek [Tue, 4 Mar 2025 07:54:29 +0000 (08:54 +0100)]
dnsdistdist docs: add getRaw docs
Karel Bilek [Tue, 4 Mar 2025 07:53:56 +0000 (08:53 +0100)]
lua ComboAddress: add, simplify getRaw, ca -> addr
* chage CA to addr in all lua bindings to make linter happy
* use toByteString that already exists instead of reimplementing it
* add getRaw to CA binding in dnsdist
Karel Bilek [Tue, 4 Mar 2025 07:52:44 +0000 (08:52 +0100)]
dnsdist docs: copy newCAFromRaw from pdns
Peter van Dijk [Tue, 4 Mar 2025 10:33:11 +0000 (11:33 +0100)]
Merge pull request #14990 from Habbie/drop-el7-debianbuster
drop el-7, debian-buster, amazonlinux-2
romeroalx [Mon, 3 Mar 2025 20:47:44 +0000 (21:47 +0100)]
gh actions - build-and-test-all: use ubuntu24 runners
romeroalx [Mon, 3 Mar 2025 18:51:11 +0000 (19:51 +0100)]
gh actions: build images and packages using ubuntu-24.04 runners
Peter van Dijk [Mon, 3 Mar 2025 11:02:15 +0000 (12:02 +0100)]
Merge pull request #15238 from miodvallat/poor_lonesome_backend
Fix list-all-zones in multi-backend configuration involving LMDB
Remi Gacogne [Mon, 3 Mar 2025 10:15:10 +0000 (11:15 +0100)]
Merge pull request #15225 from miodvallat/distdistdistdistdist
Fix syntax of commented out dynblockrules
Remi Gacogne [Mon, 3 Mar 2025 09:35:52 +0000 (10:35 +0100)]
Merge pull request #15199 from rgacogne/ddist-ebpf-all
dnsdist: Use `65535` instead of `255` to block all types via eBPF
Miod Vallat [Fri, 28 Feb 2025 15:38:39 +0000 (16:38 +0100)]
Do not clear the domain list in getAllDomains.
Doing this causes incomplete information to be returned in multi-backend
configuration.
Peter van Dijk [Fri, 28 Feb 2025 12:33:42 +0000 (13:33 +0100)]
Merge pull request #15176 from Habbie/lmdb-prefix-lookup
lmdb-safe: add prefix() cursor; use it in list/lookup/get
Peter van Dijk [Fri, 28 Feb 2025 11:02:22 +0000 (12:02 +0100)]
explicit int checks
Peter van Dijk [Fri, 28 Feb 2025 11:01:33 +0000 (12:01 +0100)]
remove redundant check
Miod Vallat [Fri, 28 Feb 2025 08:36:27 +0000 (09:36 +0100)]
Address clang-tidy concerns.
Peter van Dijk [Fri, 28 Feb 2025 10:23:35 +0000 (11:23 +0100)]
adjust updateDNSSECOrderNameAndAuth to prefix() lookup
Peter van Dijk [Wed, 19 Feb 2025 18:28:22 +0000 (19:28 +0100)]
lmdb-safe: add prefix() cursor; use it in list/lookup/get
Miod Vallat [Fri, 28 Feb 2025 07:54:27 +0000 (08:54 +0100)]
Apply some syntactic sugar.
Miod Vallat [Fri, 28 Feb 2025 07:50:00 +0000 (08:50 +0100)]
Make the return type of every lua lambda explicit.
Miod Vallat [Fri, 28 Feb 2025 07:37:57 +0000 (08:37 +0100)]
Move each Lua function lambda to its own toplevel function.
This does not change anything, but reduces indent and makes the code
easier to read. No functional change yet.
Miod Vallat [Thu, 27 Feb 2025 12:54:36 +0000 (13:54 +0100)]
Merge pull request #15222 from miodvallat/parse_with_more_care
Damage control in Lua createForward()
Miod Vallat [Thu, 27 Feb 2025 07:09:32 +0000 (08:09 +0100)]
Fix syntax of commented out dynblockrules; reported in #15224
Miod Vallat [Wed, 26 Feb 2025 13:31:50 +0000 (14:31 +0100)]
Damage control in Lua createForward() and createForward6().
- make sure all computed results are passed to a ComboAddress
constructor, which will reject ill-formed data. This wasn't the case
in createForward, when interpreting part of the requested name as an
ipv4 address encoded in hexadecimal (e.g.
7f000001 ), but the actual
name wasn't.
This would otherwise end up with a SERVFAIL answer and a Lua stack
traceback containing messages such as:
Unable to convert presentation address '
4294967292 .xx.yy.zz'
for a name ending with "-4" and six hex digits.
- wrap these functions into a try/catch block in order to cope with
possible exceptions raised by ComboAddress.
This wasn't the case in createForward6 when the requested name
contains at least 8 dots - this doesn't imply each component is a
valid ipv6 chunk.
Otto Moerbeek [Wed, 26 Feb 2025 09:00:56 +0000 (10:00 +0100)]
Merge pull request #15216 from omoerbeek/rec-recthread-cleanup
rec: store thread id in info object, makes a few methods less error prone
Otto Moerbeek [Wed, 26 Feb 2025 06:47:42 +0000 (07:47 +0100)]
Apply suggestions from code review
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Fri, 14 Feb 2025 13:09:45 +0000 (14:09 +0100)]
rec: store id in info object, makes a few methods less error prone
Otto Moerbeek [Mon, 24 Feb 2025 10:30:54 +0000 (11:30 +0100)]
Merge pull request #15203 from omoerbeek/rec-beck-to-serde-yaml
rec: switch back to serde_yaml
Peter van Dijk [Mon, 24 Feb 2025 10:30:42 +0000 (11:30 +0100)]
Merge pull request #15187 from Habbie/docs-pr-artifact
docs: reinstate artifact generation for PRs
Otto Moerbeek [Mon, 24 Feb 2025 10:27:10 +0000 (11:27 +0100)]
Merge pull request #15205 from omoerbeek/dnsdist-back-to-serde-yaml
dnsdist: switch back to serde_yaml
Otto Moerbeek [Mon, 24 Feb 2025 09:34:11 +0000 (10:34 +0100)]
Merge pull request #15206 from omoerbeek/rec-catz-test-race
rec: workaround a potential (but rare) race in the FWCatz test
Otto Moerbeek [Mon, 24 Feb 2025 08:11:32 +0000 (09:11 +0100)]
Switch back to serde_yaml
Fixes the rec part of #15202
Miod Vallat [Mon, 24 Feb 2025 09:27:27 +0000 (10:27 +0100)]
Merge pull request #15082 from miodvallat/dilnpstu
More helpful pdnsutil help output
Miod Vallat [Thu, 23 Jan 2025 14:28:26 +0000 (15:28 +0100)]
Friendlier usage output.
1. The commands dictionary is extended with a command group, as well as
the one-liner synopsis and help message. When the list of these
one-liners get output, they are now output in sorted order within
each group.
2. Instead of having the syntax on the leftmost 40 columns and the
description on the rightmost 40 columns, causing many commands to
span more than one line total, we now display the syntax on a whole
line, and the description on the next one, indented by a tab.
This should hopefully improve readability (especially for complex
syntax lines).
3. The command synopsis is now passed to the command handler. This
allows error messages in case of invocation error to be consistent
with the output of `pdnsutil help`.
4. Tweak and homogeneize command synopsis, and sync the pdnsutil
documentation accordingly.
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto Moerbeek [Fri, 21 Feb 2025 11:07:41 +0000 (12:07 +0100)]
rec: workaround a potential (but rare) race in the FWCatz test
Otto Moerbeek [Mon, 24 Feb 2025 08:24:12 +0000 (09:24 +0100)]
Merge pull request #15200 from zeha/recdocssample
rec: fix auth_zones yaml example
Otto Moerbeek [Mon, 24 Feb 2025 08:20:46 +0000 (09:20 +0100)]
dnsdist: switch back to serde_yaml
Fixes the dnsdist part of #15202