]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
Miod Vallat [Mon, 27 Jan 2025 15:10:37 +0000 (16:10 +0100)]
Fix "Duplicate RW transaction" LMDB exception.
The check was too strict and would prevent any RO transaction to coexist
with RW transactions. But LMDB is designed to allow this - on the other
hand there can be only one active RW transaction at a time.
Miod Vallat [Mon, 27 Jan 2025 11:47:06 +0000 (12:47 +0100)]
Add test for the "Duplicate RW transaction" LMDB exception.
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
Otto Moerbeek [Fri, 24 Jan 2025 08:27:51 +0000 (09:27 +0100)]
Skip a few files and dirs in the meson dist tarball
Otto Moerbeek [Fri, 24 Jan 2025 08:14:39 +0000 (09:14 +0100)]
Update requirements, fetch effective_tld_names.dat
Otto Moerbeek [Fri, 24 Jan 2025 06:51:30 +0000 (07:51 +0100)]
Typo in comment
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Wed, 22 Jan 2025 15:50:09 +0000 (16:50 +0100)]
Include dnslabeltext.cc in trabal, otherwise ragel becomes a build dependency
Otto Moerbeek [Wed, 22 Jan 2025 12:12:53 +0000 (13:12 +0100)]
Run autoconf -vi to create configure script (so that autotool builds get VERSION)
Otto Moerbeek [Wed, 22 Jan 2025 11:17:29 +0000 (12:17 +0100)]
Fix version number for Meson build
Otto Moerbeek [Wed, 22 Jan 2025 09:31:53 +0000 (10:31 +0100)]
replace symlinks with actual files
Otto Moerbeek [Wed, 22 Jan 2025 09:17:46 +0000 (10:17 +0100)]
Replace a few symlinks with actual files
Otto Moerbeek [Wed, 22 Jan 2025 09:16:48 +0000 (10:16 +0100)]
Add dist script
Otto Moerbeek [Wed, 22 Jan 2025 08:48:22 +0000 (09:48 +0100)]
Fix gen-version path
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
Miod Vallat [Thu, 16 Jan 2025 08:02:26 +0000 (09:02 +0100)]
Apply the same "fetch key after add" verification logic to import-zone-key*.
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
Otto Moerbeek [Mon, 20 Jan 2025 09:59:34 +0000 (10:59 +0100)]
Merge pull request #15057 from omoerbeek/rec-coverity-
20250120
rec: Coverity issues missed in last round, all severity "Low"
Otto Moerbeek [Mon, 20 Jan 2025 08:30:13 +0000 (09:30 +0100)]
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 09:27:03 +0000 (10:27 +0100)]
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 08:41:38 +0000 (09:41 +0100)]
rec: Coverity issues missed in last round, all severity "Low"
1587809 Variable copied when it could be moved
1587817 Variable copied when it could be moved
1587819 Variable copied when it could be moved
Bozhan Liang [Mon, 16 Dec 2024 12:29:04 +0000 (20:29 +0800)]
documentation for createReverse6
Bozhan Liang [Sat, 14 Dec 2024 10:50:48 +0000 (18:50 +0800)]
auth: prevent createReverse6 from generating illegal IDN record
Closes #7524
Miod Vallat [Fri, 17 Jan 2025 14:35:30 +0000 (15:35 +0100)]
Address some clang-tidy complaints in pdnsutil.
Remi Gacogne [Fri, 17 Jan 2025 15:53:12 +0000 (16:53 +0100)]
Merge pull request #14969 from rgacogne/ddist-yaml-configuration-harder
dnsdist: Add a new, optional, YAML-based configuration format
Otto Moerbeek [Fri, 17 Jan 2025 15:29:05 +0000 (16:29 +0100)]
Merge pull request #15050 from omoerbeek/rec-coverity-
20240117
rec: New Coverity Variable copied when it could be moved cases
Remi Gacogne [Fri, 17 Jan 2025 14:38:27 +0000 (15:38 +0100)]
dnsdist: Fix broken refs and formatting issues in the YAML docs
Otto Moerbeek [Fri, 17 Jan 2025 13:29:13 +0000 (14:29 +0100)]
Remi Gacogne [Fri, 17 Jan 2025 14:05:39 +0000 (15:05 +0100)]
dnsdist: Ad more missing description for YAML settings
Miod Vallat [Fri, 17 Jan 2025 13:34:05 +0000 (14:34 +0100)]
Address coverity complaints in pdnsutil.
Peter van Dijk [Fri, 17 Jan 2025 10:31:35 +0000 (11:31 +0100)]
only look up direct-dnskey-signature in the config once
Peter van Dijk [Fri, 17 Jan 2025 10:29:03 +0000 (11:29 +0100)]
assert key_tag too
Otto Moerbeek [Fri, 17 Jan 2025 09:09:10 +0000 (10:09 +0100)]
Merge pull request #15040 from omoerbeek/rec-ecs
EDNSSubnetOpts refactoring
Otto Moerbeek [Fri, 17 Jan 2025 08:23:49 +0000 (09:23 +0100)]
Add a method to get the scoped subnet (aka Netmask) as suggested by @rgacogne
Otto Moerbeek [Fri, 17 Jan 2025 08:13:54 +0000 (09:13 +0100)]
Merge pull request #15038 from omoerbeek/rec-record-sizes
rec: Compute size *estimate* for record cache allocated size