]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Tue, 4 Feb 2025 14:07:45 +0000 (15:07 +0100)]
dnsdist: Add the XSK fuzzing target to .gitignore
Remi Gacogne [Tue, 4 Feb 2025 14:06:58 +0000 (15:06 +0100)]
dnsdist: Run our unit tests with `meson test`
Remi Gacogne [Tue, 4 Feb 2025 14:05:26 +0000 (15:05 +0100)]
dnsdist: Better handling of out-of-tree builds
Our Python script to generate actions, selectors and settings from
the YAML definitions of these items was making too many assumptions
about the current working directory, which is just wrong outside of
the autotools world.
Remi Gacogne [Tue, 4 Feb 2025 10:49:41 +0000 (11:49 +0100)]
Merge pull request #14724 from rgacogne/meson
dnsdist: Add meson support
Remi Gacogne [Tue, 4 Feb 2025 08:49:19 +0000 (09:49 +0100)]
Merge pull request #15065 from rgacogne/ddist-enable-yaml-packages
dnsdist: Enable the new YAML configuration in our packages
Remi Gacogne [Mon, 3 Feb 2025 14:39:04 +0000 (15:39 +0100)]
Merge pull request #15111 from rgacogne/dist-re2
dnsdist: Document that RE2 does full matching, add regression tests
Remi Gacogne [Mon, 3 Feb 2025 13:21:12 +0000 (14:21 +0100)]
dnsdist: Add spell-checking patterns
Peter van Dijk [Mon, 3 Feb 2025 13:18:32 +0000 (14:18 +0100)]
Merge pull request #15109 from Habbie/drop-circleci
remove circleci config
Remi Gacogne [Mon, 3 Feb 2025 13:10:43 +0000 (14:10 +0100)]
Merge pull request #15054 from neheb/bb
more clang-tidy fixups
Remi Gacogne [Mon, 3 Feb 2025 12:23:34 +0000 (13:23 +0100)]
dnsdist: Apply Miod's suggestions to the selectors doc
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Miod Vallat [Mon, 3 Feb 2025 11:51:36 +0000 (12:51 +0100)]
Merge pull request #15103 from miodvallat/minus_one_is_the_new_black
Grow tinybackend capabilities a bit
Remi Gacogne [Mon, 3 Feb 2025 11:34:06 +0000 (12:34 +0100)]
dnsdist: Document that RE2 does full matching, add regression tests
Peter van Dijk [Mon, 3 Feb 2025 11:22:56 +0000 (12:22 +0100)]
Merge pull request #15093 from mind04/auth-catalog-fix
auth, check return value of getCatalogMembers()
Remi Gacogne [Mon, 3 Feb 2025 11:06:40 +0000 (12:06 +0100)]
Fix clang-tidy warnings
Peter van Dijk [Mon, 3 Feb 2025 10:59:15 +0000 (11:59 +0100)]
remove circleci config
Peter van Dijk [Mon, 3 Feb 2025 10:58:40 +0000 (11:58 +0100)]
Merge pull request #15104 from zeha/zeha-bd
Replace dnsutils with bind9-dnsutils
Miod Vallat [Mon, 3 Feb 2025 10:56:54 +0000 (11:56 +0100)]
Merge pull request #15105 from miodvallat/creationism
Let pdnsutil warn when creating local files
Remi Gacogne [Mon, 3 Feb 2025 10:09:52 +0000 (11:09 +0100)]
dnsdist: Fix unused parameter warnings
Remi Gacogne [Mon, 3 Feb 2025 09:15:30 +0000 (10:15 +0100)]
dnsdist: Fix formatting and a clang-tidy warning
Miod Vallat [Fri, 31 Jan 2025 09:40:43 +0000 (10:40 +0100)]
Warn if local files have been created.
This will hopefully let users notice that they might need to perform
appropriate chown and/or chmod operations so that pdns_server can
correctly access these files.
Fixes #11060
Addresses #3386
Miod Vallat [Fri, 31 Jan 2025 08:58:03 +0000 (09:58 +0100)]
Add infrastructure for backends to report whether file creation occurred.
This only concerns the LMDB backend, as no other backend is able to
create local storage.
To be used shortly in a pdnsutil near you.
Chris Hofstaedtler [Fri, 31 Jan 2025 08:01:40 +0000 (09:01 +0100)]
Replace dnsutils with bind9-dnsutils
bind9-dnsutils exists starting in Debian bullseye, and dnsutils stopped existing in trixie.
Miod Vallat [Thu, 30 Jan 2025 15:40:01 +0000 (16:40 +0100)]
Rework domain id generation.
These changes make the internal state (TDI_t) the reference for domain
ids, which are generated on the fly as domains are added.
Routines iterating over domains make sure to keep this state updated, so
that, at any time, any domain in existence has an entry in the state and
thus an immutable (once discovered) id.
While there, implement getDomainInfo() as a wrapper over
getAllDomains(), returning only the domain we are looking for.
Fixes #14563
Kees Monshouwer [Wed, 29 Jan 2025 00:31:20 +0000 (01:31 +0100)]
auth, add [[nodiscard]] to getCatalogMembers()
Kees Monshouwer [Tue, 28 Jan 2025 17:33:20 +0000 (18:33 +0100)]
auth, check return value of getCatalogMembers()
Remi Gacogne [Tue, 28 Jan 2025 16:07:34 +0000 (17:07 +0100)]
dnsdist: Fix compilation errors w/o DoQ and DoH3, plus clang-tidy warnings
Remi Gacogne [Fri, 24 Jan 2025 15:12:44 +0000 (16:12 +0100)]
dnsdist: Fix remaining build issues for YAML with meson
Remi Gacogne [Mon, 20 Jan 2025 17:17:01 +0000 (18:17 +0100)]
dnsdist: Fix additional LDFLAGS in tasks.py
Remi Gacogne [Mon, 20 Jan 2025 16:44:44 +0000 (17:44 +0100)]
dnsdist: Correctly set env vars up for meson
Remi Gacogne [Thu, 17 Oct 2024 09:37:44 +0000 (11:37 +0200)]
dnsdist: Fix building without dnstap support enabled
Remi Gacogne [Thu, 17 Oct 2024 09:37:25 +0000 (11:37 +0200)]
dnsdist: Fix more "unused parameters" warnings
Remi Gacogne [Tue, 15 Oct 2024 14:33:05 +0000 (16:33 +0200)]
dnsdist: Fix duplicated dnslabeltext.cc
Remi Gacogne [Tue, 15 Oct 2024 10:47:16 +0000 (12:47 +0200)]
dnsdist: Fix meson build without LMDB
Remi Gacogne [Tue, 15 Oct 2024 08:49:31 +0000 (10:49 +0200)]
tasks: Properly convert sanitizers to meson
Remi Gacogne [Mon, 14 Oct 2024 19:25:16 +0000 (21:25 +0200)]
build-and-test-all: Install meson for dnsdist
Remi Gacogne [Mon, 14 Oct 2024 14:14:57 +0000 (16:14 +0200)]
dnsdist: Add meson-based builds to the CI
Remi Gacogne [Mon, 14 Oct 2024 13:20:34 +0000 (15:20 +0200)]
dnsdist: Re-enable "unused parameter" warnings
Remi Gacogne [Mon, 14 Oct 2024 13:20:16 +0000 (15:20 +0200)]
dnsdist: Fix a lot of "unused parameter" warnings
Remi Gacogne [Mon, 14 Oct 2024 09:29:27 +0000 (11:29 +0200)]
dnsdist: Remove duplicated meson directories and files
Remi Gacogne [Fri, 27 Sep 2024 13:58:52 +0000 (15:58 +0200)]
dnsdist: Apply Otto's patch (thanks!)
Remi Gacogne [Fri, 27 Sep 2024 09:29:48 +0000 (11:29 +0200)]
dnsdist: Fix building with meson without all options enabled
Remi Gacogne [Fri, 27 Sep 2024 09:29:24 +0000 (11:29 +0200)]
Fix fuzzing targets with meson
Remi Gacogne [Wed, 25 Sep 2024 18:41:39 +0000 (20:41 +0200)]
dnsdist: Fix detection of a specific nghttp2 feature
The `#if` should be `#ifdef` or `#if defined`, as otherwise it fails
with the `config.h` generated by `meson`.
Remi Gacogne [Wed, 25 Sep 2024 12:54:59 +0000 (14:54 +0200)]
dnsdist: Fix a few "unused parameter" warnings
Remi Gacogne [Wed, 25 Sep 2024 12:54:39 +0000 (14:54 +0200)]
dnsdist: Fix a typo in the CDB m4 file
Remi Gacogne [Mon, 23 Sep 2024 16:26:53 +0000 (18:26 +0200)]
dnsdist: Add meson support
milzi234 [Tue, 28 Jan 2025 07:44:17 +0000 (08:44 +0100)]
Merge pull request #15034 from milzi234/chore/docs-site-brush-up
chore: Brush up of PowerDNS Documentation Site
Otto Moerbeek [Tue, 28 Jan 2025 06:42:18 +0000 (07:42 +0100)]
Merge pull request #15088 from omoerbeek/rec-fwz-docs
rec: fix forward zones example in YAML
Otto Moerbeek [Mon, 27 Jan 2025 09:39:40 +0000 (10:39 +0100)]
Merge pull request #15086 from omoerbeek/auth-meson-ldap-deb11
auth: try to find ldap libs in case pkconfig is missing (happens on debian11)
Otto Moerbeek [Mon, 27 Jan 2025 09:30:40 +0000 (10:30 +0100)]
rec: fix forward zones example in YAML
Fixes #15077
Miod Vallat [Mon, 27 Jan 2025 06:40:35 +0000 (07:40 +0100)]
Merge pull request #15078 from eli-schwartz/meson-dist
Force various files to be skipped when generating git archives
Otto Moerbeek [Fri, 24 Jan 2025 15:49:03 +0000 (16:49 +0100)]
Merge pull request #15085 from omoerbeek/rec-meson-deb11
rec: fix two issues building rec using meson on debian11
Otto Moerbeek [Fri, 24 Jan 2025 15:28:05 +0000 (16:28 +0100)]
Simplify logic, prompted by @Habbie
Otto Moerbeek [Fri, 24 Jan 2025 15:05:55 +0000 (16:05 +0100)]
Refuse to setup if ldap is required but not found
Otto Moerbeek [Fri, 24 Jan 2025 14:37:22 +0000 (15:37 +0100)]
auth: try to find ldap libs in case pkconfig is missing (happens on debian11)
Otto Moerbeek [Fri, 24 Jan 2025 14:35:34 +0000 (15:35 +0100)]
Avoid warning by only using root name of library (libresolv vs resolv)
Otto Moerbeek [Fri, 24 Jan 2025 13:57:12 +0000 (14:57 +0100)]
rec: fix two issues building rec using meson on debian11
1. Local arc4random was not declared as dependency
2. libresolv was not found (no pkgconfig file) but is still needed
Miod Vallat [Fri, 24 Jan 2025 05:47:15 +0000 (06:47 +0100)]
Merge pull request #14972 from BozhanL/master
Document geoiplookup and expose GeoIPQueryAttribute to Lua
James [Thu, 23 Jan 2025 21:55:33 +0000 (10:55 +1300)]
fix unrecognized spelling
Bozhan Liang [Sat, 14 Dec 2024 02:57:43 +0000 (10:57 +0800)]
Add documentation for geoiplookup and GeoIPQueryAttribute
Closes #8597
Bozhan Liang [Fri, 13 Dec 2024 09:13:46 +0000 (17:13 +0800)]
Add GeoIPQueryAttribute to LUA
Peter van Dijk [Thu, 23 Jan 2025 10:26:56 +0000 (11:26 +0100)]
Merge pull request #15049 from miodvallat/zero
Correctly report SQL insertion errors
Remi Gacogne [Thu, 23 Jan 2025 10:15:37 +0000 (11:15 +0100)]
Merge pull request #15024 from rgacogne/ddist-quic-sni
dnsdist: Gather Server Name Indication on QUIC (DoQ, DoH3) connections
Peter van Dijk [Thu, 23 Jan 2025 10:03:44 +0000 (11:03 +0100)]
Merge pull request #14975 from BozhanL/fix7524
auth: prevent createReverse6 from generating illegal IDN record
Remi Gacogne [Thu, 23 Jan 2025 09:39:02 +0000 (10:39 +0100)]
Merge pull request #15070 from rgacogne/ddist-coverity-
20250121
dnsdist: Fix possible low impact performance issues reported by Coverity
Remi Gacogne [Thu, 9 Jan 2025 14:36:49 +0000 (15:36 +0100)]
dnsdist: Gather Server Name Indication on QUIC (DoQ, DoH3) connections
Remi Gacogne [Thu, 23 Jan 2025 08:24:28 +0000 (09:24 +0100)]
Merge pull request #15072 from Woutifier/wouter/prometheus-content-type
Adjust Content-Type header for Prometheus endpoint to include version
Eli Schwartz [Thu, 23 Jan 2025 05:52:31 +0000 (00:52 -0500)]
Force various files to be skipped when generating git archives
Meson utilizes `git archive` as the first step in producing a release
tarball. Certain files don't need to be distributed in release tarballs
at all -- namely, files used by git itself, or by github when processing
a git repository for e.g. CI purposes. They have no use case outside of
a git repo -- not even as documentation.
Exclude these files from the tarball. This affects both `meson dist` and
the github autogenerated tarballs on the Tags page. More work is needed
to have `meson dist` reach parity with automake's `make distcheck`, but
this is a start.
Alexis Romero [Wed, 22 Jan 2025 09:48:03 +0000 (10:48 +0100)]
Merge pull request #15073 from romeroalx/allow-docker-build-no-creds
GH Actions - build-docker-images.yaml: allow testing image building without credentials
Otto Moerbeek [Wed, 22 Jan 2025 08:05:30 +0000 (09:05 +0100)]
Merge pull request #15074 from omoerbeek/rec-docs-lua-vs-catz
rec: document that forwarding catalog zones cannot be combined with Lua config.
Rosen Penev [Mon, 20 Jan 2025 03:29:30 +0000 (19:29 -0800)]
clang-tidy: pass by value
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 10 Dec 2024 02:57:41 +0000 (18:57 -0800)]
clang-tidy: use default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 13 Dec 2024 18:57:03 +0000 (10:57 -0800)]
boost::replace_all > std::replace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Mon, 9 Dec 2024 00:51:27 +0000 (16:51 -0800)]
clang-tidy: convert to range for loop
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Otto Moerbeek [Tue, 21 Jan 2025 15:36:37 +0000 (16:36 +0100)]
rec: document that forwarding catalog zones cannot be combined with Lua config.
Fixes #15052
Wouter de Vries [Tue, 21 Jan 2025 14:18:57 +0000 (15:18 +0100)]
Adjust Content-Type header for Prometheus endpoint to include version
Prometheus v3 will, by default, be more strict about the content-types
returned from scrape endpoints. With the current value (just
`text/plain`), it would fail to scrape.
In this commit the value is changed from `text/plain` to `text/plain;
version=0.0.4`.
See also [1] and [2]
[1] https://prometheus.io/docs/instrumenting/exposition_formats/
[2] https://prometheus.io/docs/prometheus/3.0/migration/
Remi Gacogne [Tue, 21 Jan 2025 14:14:38 +0000 (15:14 +0100)]
dnsdist: Fix possible low impact performance issues reported by Coverity
Remi Gacogne [Tue, 21 Jan 2025 09:54:31 +0000 (10:54 +0100)]
Merge pull request #15067 from rgacogne/ddist-fix-coverity-yaml-2
dnsdist: Install python-yaml in the Coverity workflow
romeroalx [Tue, 21 Jan 2025 06:18:25 +0000 (07:18 +0100)]
remove dockerfile warning LegacyKeyValueFormat
Miod Vallat [Mon, 20 Jan 2025 17:31:52 +0000 (18:31 +0100)]
Merge pull request #15051 from miodvallat/pdnsutil_eulenspiegel
Boring pdnsutil cleanups
Remi Gacogne [Mon, 20 Jan 2025 17:28:40 +0000 (18:28 +0100)]
dnsdist: Add more context to the new build settings
So we can actually check later if they are still needed.
Miod Vallat [Fri, 17 Jan 2025 08:02:43 +0000 (09:02 +0100)]
Fix test setup now that sql insertion failures are reported as such.
Miod Vallat [Thu, 16 Jan 2025 13:56:48 +0000 (14:56 +0100)]
Handle LAST_INSERT_ID() returning zero as an error (no insertion)
Remi Gacogne [Mon, 20 Jan 2025 16:20:34 +0000 (17:20 +0100)]
Merge pull request #14954 from neheb/mm
clang-tidy: use std::min/max
romeroalx [Mon, 20 Jan 2025 15:44:56 +0000 (16:44 +0100)]
gh actions: allow build images without credentials (push:false)
Remi Gacogne [Mon, 20 Jan 2025 15:41:52 +0000 (16:41 +0100)]
dnsdist: Install python-yaml in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 15:28:00 +0000 (16:28 +0100)]
Merge pull request #15066 from omoerbeek/tidy-credentials
Tidy credentials.??
Remi Gacogne [Mon, 20 Jan 2025 14:43:28 +0000 (15:43 +0100)]
dnsdist: Add another missing `<variant>` include for EL-8
Remi Gacogne [Mon, 20 Jan 2025 11:33:17 +0000 (12:33 +0100)]
dnsdist: Wild shot at building our packages with clang++
Remi Gacogne [Mon, 20 Jan 2025 09:50:17 +0000 (10:50 +0100)]
dnsdist: Enable the new YAML configuration in our packages
Otto Moerbeek [Mon, 20 Jan 2025 14:56:35 +0000 (15:56 +0100)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Peter van Dijk [Mon, 20 Jan 2025 14:17:56 +0000 (15:17 +0100)]
Merge pull request #14581 from d-wibowo/direct-dnskey-signature
auth: added a new config for direct queries of dnskey signature
Otto Moerbeek [Mon, 20 Jan 2025 13:35:48 +0000 (14:35 +0100)]
Tidy credentials.??
Otto Moerbeek [Mon, 20 Jan 2025 12:41:29 +0000 (13:41 +0100)]
Merge pull request #15063 from omoerbeek/credentials-include
Include cstdint to get uint64_t
Remi Gacogne [Mon, 20 Jan 2025 11:18:07 +0000 (12:18 +0100)]
Merge pull request #15064 from rgacogne/ddist-fix-el-builds
dnsdist: Fix missing variant header that prevents building on EL8
Otto Moerbeek [Mon, 20 Jan 2025 11:06:01 +0000 (12:06 +0100)]
clang-tidy
Remi Gacogne [Mon, 20 Jan 2025 10:44:03 +0000 (11:44 +0100)]
dnsdist: Fix missing variant header that prevents building on EL8
Otto Moerbeek [Mon, 20 Jan 2025 10:30:33 +0000 (11:30 +0100)]
Merge pull request #15056 from omoerbeek/rec-old-settings-warn
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 10:22:39 +0000 (11:22 +0100)]
Merge pull request #15061 from rgacogne/ddist-fix-coverity
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 10:09:42 +0000 (11:09 +0100)]
Include cstdint to get uint64_t
Should fix #15060