]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 25 Mar 2024 16:01:19 +0000 (17:01 +0100)]
Fix recursor builds: fix invalid path for builder-support/helpers
Remi Gacogne [Mon, 25 Mar 2024 15:24:47 +0000 (16:24 +0100)]
Fix recursor builds: we now require `jq` during the `dist` phase
Peter van Dijk [Mon, 25 Mar 2024 14:53:06 +0000 (15:53 +0100)]
Merge pull request #10933 from swegener/64-bit-time-support
m4: Enable 64-bit time_t on 32-bit systems with glibc-2.34
Remi Gacogne [Mon, 25 Mar 2024 14:28:37 +0000 (15:28 +0100)]
Merge pull request #13972 from rgacogne/external-libs-to-json
Move the version (and hashes) of external dependencies to JSON files
Otto Moerbeek [Mon, 25 Mar 2024 13:07:54 +0000 (14:07 +0100)]
Merge pull request #13844 from omoerbeek/rec-sl-only
rec: remove the possiblility to disable structured logging
Peter van Dijk [Mon, 25 Mar 2024 11:52:03 +0000 (12:52 +0100)]
Merge pull request #13770 from Assumeru/require-tsig
auth: Add setting to make TSIG required for DNS updates
Peter van Dijk [Mon, 25 Mar 2024 11:17:55 +0000 (12:17 +0100)]
more clang-tidy
Otto Moerbeek [Mon, 25 Mar 2024 11:04:44 +0000 (12:04 +0100)]
Merge pull request #13979 from omoerbeek/rec-netmask-docs
rec: fix netmask docs wrt deprecatd isIpX() functions
Remi Gacogne [Mon, 25 Mar 2024 10:57:11 +0000 (11:57 +0100)]
Add license, publisher information to the external deps data
Otto Moerbeek [Mon, 25 Mar 2024 10:24:40 +0000 (11:24 +0100)]
rec: fix netmask docs wrt deprecatd isIpX() functions
Fixes #13978
Peter van Dijk [Mon, 25 Mar 2024 10:00:17 +0000 (11:00 +0100)]
clang-tidy: more descriptive variable name
Otto Moerbeek [Mon, 25 Mar 2024 09:45:08 +0000 (10:45 +0100)]
process review comments; move toTimestampStringMilli() to Logging namespace
Peter van Dijk [Mon, 25 Mar 2024 10:00:55 +0000 (11:00 +0100)]
Merge pull request #12769 from neilcook/patch-1
Update Dynamic DNS Update Docs with GSS-TSIG
Otto Moerbeek [Fri, 1 Mar 2024 14:36:13 +0000 (15:36 +0100)]
remove unused branch in SLOG macro (ifdef RECURSOR)
Otto Moerbeek [Fri, 1 Mar 2024 10:54:35 +0000 (11:54 +0100)]
rec: remove the possiblility to disable structured logging
Remi Gacogne [Fri, 22 Mar 2024 14:38:08 +0000 (15:38 +0100)]
Move the version (and hashes) of external dependencies to JSON files
Otto Moerbeek [Mon, 25 Mar 2024 09:05:09 +0000 (10:05 +0100)]
Merge pull request #13975 from omoerbeek/more-if-vs-ifdef-have
Fix the remaining cases of #if vs #ifdef HAVE_XYZ
Otto Moerbeek [Mon, 25 Mar 2024 09:04:44 +0000 (10:04 +0100)]
Merge pull request #12989 from Habbie/stderr
auth, rec: update option text and docs to clarify logging is to stderr, not stdout
Remi Gacogne [Mon, 25 Mar 2024 09:01:52 +0000 (10:01 +0100)]
Merge pull request #13914 from rgacogne/ddist-fix-xsk-error
dnsdist: Fix XSK-enabled check when reconnecting a backend
Otto Moerbeek [Mon, 25 Mar 2024 08:13:50 +0000 (09:13 +0100)]
Fix the remaining cases of #if vs #ifdef HAVE_XYZ
Remi Gacogne [Mon, 25 Mar 2024 07:50:13 +0000 (08:50 +0100)]
Merge pull request #13971 from omoerbeek/check-have-with-ifdef
Always check HAVE_XYZ flags with #ifdef
Remi Gacogne [Mon, 25 Mar 2024 07:49:42 +0000 (08:49 +0100)]
Merge pull request #13973 from jsoref/clarify-job-description
Clarify workflow name
Peter van Dijk [Fri, 22 Mar 2024 18:28:34 +0000 (19:28 +0100)]
Merge pull request #13548 from PowerDNS/dependabot/pip/docs/urllib3-2.0.7
build(deps): bump urllib3 from 2.0.3 to 2.0.7 in /docs
Josh Soref [Fri, 22 Mar 2024 18:17:30 +0000 (14:17 -0400)]
Clarify workflow name
The workflow performs two very unrelated tasks:
* Verify source code formatting
* Check Makefile.am sort order
Peter van Dijk [Wed, 5 Jul 2023 20:07:29 +0000 (22:07 +0200)]
auth, rec: update option text and docs to clarify logging is to stderr, not stdout
Peter van Dijk [Fri, 22 Mar 2024 15:17:53 +0000 (16:17 +0100)]
accept the complexity of this function for now
Peter van Dijk [Fri, 22 Mar 2024 14:59:49 +0000 (15:59 +0100)]
Merge pull request #13970 from jsoref/build-tags-permissions
Allow build-tags to run on forks
Otto Moerbeek [Fri, 22 Mar 2024 14:10:31 +0000 (15:10 +0100)]
Always check HAVE_XYZ flags with #ifdef
Meson uses #define HAVE_FEATURE (without 1), so it matters there
Josh Soref [Fri, 22 Mar 2024 12:33:44 +0000 (08:33 -0400)]
Allow build-tags to run on forks
build-tags uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
As of
f107ec62467b8779db9bbdb175721ef232ed52e5 , that workflow requires:
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To be able to upload assets as release artifacts
Per https://docs.github.com/en/actions/using-workflows/reusing-workflows
in order for this to work, the calling job (in build-tags) needs to
have the maximum required permissions in order for the calling workflow
to be run.
Peter van Dijk [Fri, 22 Mar 2024 11:05:35 +0000 (12:05 +0100)]
Merge pull request #13968 from PowerDNS/dependabot/github_actions/slsa-framework/slsa-github-generator-1.10.0
build(deps): bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0
Remi Gacogne [Fri, 22 Mar 2024 08:36:39 +0000 (09:36 +0100)]
Merge pull request #13964 from rgacogne/ddist-document-cache-hits-ring-buffer
dnsdist: Document that cache hits go into the ring buffer since 1.8.0
Otto Moerbeek [Fri, 22 Mar 2024 06:46:23 +0000 (07:46 +0100)]
Merge pull request #13966 from dwfreed/patch-1
rec-main: let NetmaskGroup parse dont-throttle-netmasks
Peter van Dijk [Thu, 21 Mar 2024 21:43:25 +0000 (22:43 +0100)]
Merge pull request #13840 from Habbie/daily-auth-4.9
add auth-4.9.x and dnsdist-1.9.x to daily build test
Otto Moerbeek [Thu, 21 Mar 2024 15:43:20 +0000 (16:43 +0100)]
Merge pull request #13842 from omoerbeek/rec-json-log
rec: add structured logging backend that uses JSON representation
dependabot[bot] [Thu, 21 Mar 2024 15:19:16 +0000 (15:19 +0000)]
build(deps): bump urllib3 from 2.0.3 to 2.0.7 in /docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.3 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.3...2.0.7)
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 21 Mar 2024 15:16:32 +0000 (15:16 +0000)]
build(deps): bump slsa-framework/slsa-github-generator
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0)
---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Peter van Dijk [Thu, 29 Feb 2024 12:19:56 +0000 (13:19 +0100)]
add auth-4.9.x and dnsdist-1.9.x to daily build test
Otto Moerbeek [Thu, 21 Mar 2024 14:57:49 +0000 (15:57 +0100)]
Typo
Peter van Dijk [Thu, 21 Mar 2024 14:56:13 +0000 (15:56 +0100)]
Merge pull request #13816 from jsoref/lua-records-rst
Improve rst for lua-records
Peter van Dijk [Thu, 21 Mar 2024 14:10:32 +0000 (15:10 +0100)]
Merge pull request #13951 from Habbie/auth-api-ds-sha1
auth: deprecate output of SHA1, GOST hashes
Peter van Dijk [Thu, 21 Mar 2024 13:14:21 +0000 (14:14 +0100)]
longer variable name for clang-tidy
Peter van Dijk [Thu, 21 Mar 2024 13:10:30 +0000 (14:10 +0100)]
Merge pull request #13955 from jsoref/rewrite-ssqlite3-destructor
Clean up `SSQLite3::~SSQLite3`
Peter van Dijk [Thu, 21 Mar 2024 13:08:09 +0000 (14:08 +0100)]
Merge pull request #13954 from Habbie/smysql-unused-var
auth smysql: remove unused var
Peter van Dijk [Tue, 19 Mar 2024 14:59:42 +0000 (15:59 +0100)]
auth smysql: remove unused var
Peter van Dijk [Thu, 21 Mar 2024 11:49:37 +0000 (12:49 +0100)]
Merge pull request #13949 from Habbie/ixfrdist-v6only
ixfrdist: use IPV6_V6ONLY on listening sockets, closes #13878
Remi Gacogne [Thu, 21 Mar 2024 09:51:21 +0000 (10:51 +0100)]
Merge pull request #13965 from rgacogne/auth-ssql-unique-ptr
auth: Wrap SSql pointers in a unique pointer earlier
Otto Moerbeek [Thu, 21 Mar 2024 09:43:26 +0000 (10:43 +0100)]
Merge pull request #13947 from omoerbeek/rec-yaml-type-fixes
rec: yaml type fixes for incoming.proxy_protocol_from and incoming.edns_padding_from
Doug Freed [Thu, 21 Mar 2024 09:42:15 +0000 (04:42 -0500)]
rec-main: let NetmaskGroup parse dont-throttle-netmasks
This allows dont-throttle-netmasks to have negations.
Peter van Dijk [Thu, 21 Mar 2024 09:32:45 +0000 (10:32 +0100)]
Merge pull request #13904 from jsoref/issue-menu
Improve issue template options
Peter van Dijk [Thu, 21 Mar 2024 08:49:27 +0000 (09:49 +0100)]
add NOLINT because showZone is big
Remi Gacogne [Thu, 21 Mar 2024 08:22:24 +0000 (09:22 +0100)]
auth: Wrap SSql pointers in a unique pointer earlier
Using a unique pointer from the beginning makes the ownership of the
pointer more clear, and prevents leaking the database connection and
associated memory if an exception is raised right away.
Remi Gacogne [Thu, 21 Mar 2024 08:11:04 +0000 (09:11 +0100)]
dnsdist: Document that cache hits go into the ring buffer since 1.8.0
And the effects it has on Dynamic Blocks.
Peter van Dijk [Thu, 21 Mar 2024 07:56:40 +0000 (08:56 +0100)]
pdnsutil: move GOST DSes behind verbose flag, like SHA1
Peter van Dijk [Tue, 19 Mar 2024 14:10:47 +0000 (15:10 +0100)]
auth API cryptokeys: skip SHA1 and GOST DSes, closes #13950
Remi Gacogne [Thu, 21 Mar 2024 07:42:57 +0000 (08:42 +0100)]
Merge pull request #13957 from romeroalx/fix-misc-dailies-rec-features
gh actions - misc-dailies workflow: add feature option to ci-rec-configure task
Otto Moerbeek [Wed, 20 Mar 2024 15:01:00 +0000 (16:01 +0100)]
Apply suggestions from code review
Co-authored-by: Fred Morcos <fm@fredmorcos.com>
romeroalx [Wed, 20 Mar 2024 14:58:39 +0000 (15:58 +0100)]
fix misc-dailies: add feature for configuring rec build
Josh Soref [Tue, 19 Mar 2024 18:21:04 +0000 (14:21 -0400)]
Clean up SSQLite3::~SSQLite3
* The loop will run once or twice
* There used to be some cleanup that was done in the failure case but it has been gone for a while
* Clarify logic
* Report error message from sqlite3
Josh Soref [Tue, 20 Feb 2024 21:57:12 +0000 (16:57 -0500)]
Improve rst for lua-records
Peter van Dijk [Tue, 19 Mar 2024 13:54:05 +0000 (14:54 +0100)]
ixfrdist: use IPV6_V6ONLY on listening sockets, closes #13878
Peter van Dijk [Tue, 19 Mar 2024 13:12:49 +0000 (14:12 +0100)]
Merge pull request #13060 from Habbie/mariadb-ssl
auth gmysql: modernise implementation of gmysql-ssl flag
Otto Moerbeek [Tue, 19 Mar 2024 12:06:53 +0000 (13:06 +0100)]
Upgrade guide entry
Peter van Dijk [Thu, 20 Jul 2023 12:23:02 +0000 (14:23 +0200)]
auth gmysql: deprecate gmysql-ssl flag, enable connection timeout
closes #12528
closes #12978
Otto Moerbeek [Tue, 19 Mar 2024 11:49:14 +0000 (12:49 +0100)]
rec: fix types of two YAML settings that should be sequences of subnets
In particular, incoming.proxy_protocol_from and incomig.edns_padding_from
Remi Gacogne [Tue, 19 Mar 2024 10:32:26 +0000 (11:32 +0100)]
Merge pull request #13946 from omoerbeek/dnsdist-thost-unreach
dnsdist: also handle EHOSTUNREACH as a case for reconnecting the socket
Otto Moerbeek [Tue, 19 Mar 2024 09:47:59 +0000 (10:47 +0100)]
dnsdist: also handle EHOSTUNRERACH as a case for reconnecting the socket
Remi Gacogne [Tue, 19 Mar 2024 09:40:05 +0000 (10:40 +0100)]
Merge pull request #13834 from rgacogne/ddist-fix-first-lazy-health-check-failure
dnsdist: Properly handle a failure of the first lazy health-check
Otto Moerbeek [Mon, 18 Mar 2024 20:01:39 +0000 (21:01 +0100)]
Merge pull request #13931 from omoerbeek/rec-build-least
rec ci: also build a rec with all optional stuff disabled
Otto Moerbeek [Mon, 18 Mar 2024 20:01:20 +0000 (21:01 +0100)]
Merge pull request #13932 from omoerbeek/update-boost.m4
Add a bunch of new compiler versions to the compiler list used by boost.m4
Remi Gacogne [Mon, 18 Mar 2024 15:16:17 +0000 (16:16 +0100)]
dnsdist: Properly account the failure to forward a query to a backend
Remi Gacogne [Mon, 18 Mar 2024 14:02:17 +0000 (15:02 +0100)]
Merge pull request #13927 from rgacogne/fix-fclose-warnings
Fix annoying compiler warnings by introducing and switching to `pdns::UniqueFilePtr`
Fred Morcos [Mon, 18 Mar 2024 13:58:30 +0000 (14:58 +0100)]
Merge pull request #13874 from fredmorcos/remotebackend-test-fixes
Some fixes for the remotebackend tests
Remi Gacogne [Mon, 18 Mar 2024 12:29:02 +0000 (13:29 +0100)]
Fix clang-tidy warnings, again
Otto Moerbeek [Mon, 18 Mar 2024 12:00:52 +0000 (13:00 +0100)]
Pass 'full' to rec configure arg for codeql & clang-tidy run
Otto Moerbeek [Mon, 18 Mar 2024 11:55:36 +0000 (12:55 +0100)]
Add a bunch of new compiler versions to the compiler list used by boost.m4
Sad we have to maintain this.
Otto Moerbeek [Mon, 18 Mar 2024 11:41:54 +0000 (12:41 +0100)]
Merge pull request #13930 from omoerbeek/sdig-no-xpf
sdig: remove xpf handling
Remi Gacogne [Mon, 18 Mar 2024 11:38:33 +0000 (12:38 +0100)]
Add `pdns::openFileForWriting()` to control permissions when creating a file
Otto Moerbeek [Mon, 18 Mar 2024 10:53:44 +0000 (11:53 +0100)]
rec ci: also build a rec with all optional stuff disabled
Peter van Dijk [Mon, 18 Mar 2024 11:05:57 +0000 (12:05 +0100)]
Merge pull request #13928 from Habbie/build-for-noble
add ubuntu noble to default build targets
Remi Gacogne [Mon, 18 Mar 2024 10:55:16 +0000 (11:55 +0100)]
Fix clang-tidy warnings
Fred Morcos [Thu, 7 Mar 2024 13:44:23 +0000 (14:44 +0100)]
Fix remotebackend testrunner script's new_api mode
Fred Morcos [Thu, 7 Mar 2024 13:39:01 +0000 (14:39 +0100)]
Cleanup remotebackend testrunner script
Remi Gacogne [Mon, 18 Mar 2024 10:34:09 +0000 (11:34 +0100)]
Mark the `pdns::UniqueFilePtr` deleter `const noexcept`
Otto Moerbeek [Mon, 18 Mar 2024 10:26:29 +0000 (11:26 +0100)]
Merge pull request #13926 from omoerbeek/rec-trace-fail
rec: fix trace=fail regression
Peter van Dijk [Mon, 18 Mar 2024 10:06:42 +0000 (11:06 +0100)]
add pkghashes-ubuntu-noble
Otto Moerbeek [Mon, 18 Mar 2024 09:54:58 +0000 (10:54 +0100)]
sdig: remove xpf handling
Peter van Dijk [Mon, 18 Mar 2024 09:38:42 +0000 (10:38 +0100)]
add ubuntu noble to default build targets
Remi Gacogne [Mon, 18 Mar 2024 09:22:12 +0000 (10:22 +0100)]
auth: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:21:26 +0000 (10:21 +0100)]
rec: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:20:51 +0000 (10:20 +0100)]
dnsdist: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:19:06 +0000 (10:19 +0100)]
misc: Implement pdns::UniqueFilePtr
Using a deleter instead of `decltype(&fclose)` has two big advantages:
- the deleter is included in the type and does not have to be passed
when creating a new object (easier to use, less memory usage, in theory
better inlining)
- we avoid the annoying `ignoring attributes on template argument ‘int (*)(FILE*)’`
warning from the compiler, which is there because `fclose` is tagged as `__nonnull((1))`
Remi Gacogne [Mon, 18 Mar 2024 08:46:37 +0000 (09:46 +0100)]
Merge pull request #13920 from rgacogne/ddist-reorder-internal-query-state
dnsdist: Shrink InternalQueryState's size by reordering its fields
Otto Moerbeek [Mon, 18 Mar 2024 08:06:21 +0000 (09:06 +0100)]
ZTC regression test does not need auths
Otto Moerbeek [Mon, 18 Mar 2024 08:00:57 +0000 (09:00 +0100)]
rec: fix trace=fail regression and add regression test for it
Peter van Dijk [Fri, 15 Mar 2024 13:27:48 +0000 (14:27 +0100)]
Merge pull request #13917 from Habbie/auth-4.9.0-docs-secpoll
auth-4.9.0: docs&secpoll
Peter van Dijk [Fri, 15 Mar 2024 12:44:11 +0000 (13:44 +0100)]
EOL auth 4.6
Remi Gacogne [Fri, 15 Mar 2024 10:34:42 +0000 (11:34 +0100)]
Merge pull request #13906 from rgacogne/ddist-fix-ipv6-console
dnsdist: Fix first IPv6 console connection being rejected
Remi Gacogne [Fri, 15 Mar 2024 10:31:11 +0000 (11:31 +0100)]
dnsdist: Shrink InternalQueryState's size by reordering its fields
This saves 524 kB per downstream server in the default configuration
(8 bytes times 65536 slots).
Otto Moerbeek [Fri, 15 Mar 2024 09:25:34 +0000 (10:25 +0100)]
Merge pull request #13919 from omoerbeek/rec-not-throttle-lame
rec: don't throttle lame servers if they are marked as dontThrottle
Otto Moerbeek [Fri, 15 Mar 2024 08:44:17 +0000 (09:44 +0100)]
rec: don't throttle lame servers if they are marked as dontThrottle