]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 months agoMerge pull request #12769 from neilcook/patch-1
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

2 months agoMerge pull request #13975 from omoerbeek/more-if-vs-ifdef-have
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

2 months agoMerge pull request #12989 from Habbie/stderr
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

2 months agoMerge pull request #13914 from rgacogne/ddist-fix-xsk-error
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

2 months agoFix the remaining cases of #if vs #ifdef HAVE_XYZ 13975/head
Otto Moerbeek [Mon, 25 Mar 2024 08:13:50 +0000 (09:13 +0100)] 
Fix the remaining cases of #if vs #ifdef HAVE_XYZ

2 months agoMerge pull request #13971 from omoerbeek/check-have-with-ifdef
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

2 months agoMerge pull request #13973 from jsoref/clarify-job-description
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

2 months agoMerge pull request #13548 from PowerDNS/dependabot/pip/docs/urllib3-2.0.7
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

2 months agoClarify workflow name 13973/head
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

2 months agoauth, rec: update option text and docs to clarify logging is to stderr, not stdout 12989/head
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

2 months agoMerge pull request #13970 from jsoref/build-tags-permissions
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

2 months agoAlways check HAVE_XYZ flags with #ifdef 13971/head
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

2 months agoAllow build-tags to run on forks 13970/head
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.

2 months agoMerge pull request #13968 from PowerDNS/dependabot/github_actions/slsa-framework...
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

2 months agoMerge pull request #13964 from rgacogne/ddist-document-cache-hits-ring-buffer
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

2 months agoMerge pull request #13966 from dwfreed/patch-1
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

2 months agoMerge pull request #13840 from Habbie/daily-auth-4.9
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

2 months agoMerge pull request #13842 from omoerbeek/rec-json-log
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

2 months agobuild(deps): bump urllib3 from 2.0.3 to 2.0.7 in /docs 13548/head
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>
2 months agobuild(deps): bump slsa-framework/slsa-github-generator 13968/head
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>
2 months agoadd auth-4.9.x and dnsdist-1.9.x to daily build test 13840/head
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

2 months agoTypo 13842/head
Otto Moerbeek [Thu, 21 Mar 2024 14:57:49 +0000 (15:57 +0100)] 
Typo

2 months agoMerge pull request #13816 from jsoref/lua-records-rst
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

2 months agoMerge pull request #13951 from Habbie/auth-api-ds-sha1
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

2 months agolonger variable name for clang-tidy 13951/head
Peter van Dijk [Thu, 21 Mar 2024 13:14:21 +0000 (14:14 +0100)] 
longer variable name for clang-tidy

2 months agoMerge pull request #13955 from jsoref/rewrite-ssqlite3-destructor
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`

2 months agoMerge pull request #13954 from Habbie/smysql-unused-var
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

2 months agoauth smysql: remove unused var 13954/head
Peter van Dijk [Tue, 19 Mar 2024 14:59:42 +0000 (15:59 +0100)] 
auth smysql: remove unused var

2 months agoMerge pull request #13949 from Habbie/ixfrdist-v6only
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

2 months agoMerge pull request #13965 from rgacogne/auth-ssql-unique-ptr
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

2 months agoMerge pull request #13947 from omoerbeek/rec-yaml-type-fixes
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

2 months agorec-main: let NetmaskGroup parse dont-throttle-netmasks 13966/head
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.

2 months agoMerge pull request #13904 from jsoref/issue-menu
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

2 months agoadd NOLINT because showZone is big
Peter van Dijk [Thu, 21 Mar 2024 08:49:27 +0000 (09:49 +0100)] 
add NOLINT because showZone is big

2 months agoauth: Wrap SSql pointers in a unique pointer earlier 13965/head
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.

2 months agodnsdist: Document that cache hits go into the ring buffer since 1.8.0 13964/head
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.

2 months agopdnsutil: move GOST DSes behind verbose flag, like SHA1
Peter van Dijk [Thu, 21 Mar 2024 07:56:40 +0000 (08:56 +0100)] 
pdnsutil: move GOST DSes behind verbose flag, like SHA1

2 months agoauth API cryptokeys: skip SHA1 and GOST DSes, closes #13950
Peter van Dijk [Tue, 19 Mar 2024 14:10:47 +0000 (15:10 +0100)] 
auth API cryptokeys: skip SHA1 and GOST DSes, closes #13950

2 months agoMerge pull request #13957 from romeroalx/fix-misc-dailies-rec-features
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

2 months agoApply suggestions from code review
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>
2 months agofix misc-dailies: add feature for configuring rec build 13957/head
romeroalx [Wed, 20 Mar 2024 14:58:39 +0000 (15:58 +0100)] 
fix misc-dailies: add feature for configuring rec build

2 months agoClean up SSQLite3::~SSQLite3 13955/head
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

2 months agoImprove rst for lua-records 13816/head
Josh Soref [Tue, 20 Feb 2024 21:57:12 +0000 (16:57 -0500)] 
Improve rst for lua-records

2 months agoixfrdist: use IPV6_V6ONLY on listening sockets, closes #13878 13949/head
Peter van Dijk [Tue, 19 Mar 2024 13:54:05 +0000 (14:54 +0100)] 
ixfrdist: use IPV6_V6ONLY on listening sockets, closes #13878

2 months agoMerge pull request #13060 from Habbie/mariadb-ssl
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

2 months agoUpgrade guide entry 13947/head
Otto Moerbeek [Tue, 19 Mar 2024 12:06:53 +0000 (13:06 +0100)] 
Upgrade guide entry

2 months agoauth gmysql: deprecate gmysql-ssl flag, enable connection timeout 13060/head
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

2 months agorec: fix types of two YAML settings that should be sequences of subnets
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

2 months agoMerge pull request #13946 from omoerbeek/dnsdist-thost-unreach
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

2 months agodnsdist: also handle EHOSTUNRERACH as a case for reconnecting the socket 13946/head
Otto Moerbeek [Tue, 19 Mar 2024 09:47:59 +0000 (10:47 +0100)] 
dnsdist: also handle EHOSTUNRERACH as a case for reconnecting the socket

2 months agoMerge pull request #13834 from rgacogne/ddist-fix-first-lazy-health-check-failure
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

2 months agoMerge pull request #13931 from omoerbeek/rec-build-least
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

2 months agoMerge pull request #13932 from omoerbeek/update-boost.m4
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

2 months agodnsdist: Properly account the failure to forward a query to a backend 13834/head
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

2 months agoMerge pull request #13927 from rgacogne/fix-fclose-warnings
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`

2 months agoMerge pull request #13874 from fredmorcos/remotebackend-test-fixes
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

2 months agoFix clang-tidy warnings, again 13927/head
Remi Gacogne [Mon, 18 Mar 2024 12:29:02 +0000 (13:29 +0100)] 
Fix clang-tidy warnings, again

2 months agoPass 'full' to rec configure arg for codeql & clang-tidy run 13931/head
Otto Moerbeek [Mon, 18 Mar 2024 12:00:52 +0000 (13:00 +0100)] 
Pass 'full' to rec configure arg for codeql & clang-tidy run

2 months agoAdd a bunch of new compiler versions to the compiler list used by boost.m4 13932/head
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.

2 months agoMerge pull request #13930 from omoerbeek/sdig-no-xpf
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

2 months agoAdd `pdns::openFileForWriting()` to control permissions when creating a file
Remi Gacogne [Mon, 18 Mar 2024 11:38:33 +0000 (12:38 +0100)] 
Add `pdns::openFileForWriting()` to control permissions when creating a file

2 months agorec ci: also build a rec with all optional stuff disabled
Otto Moerbeek [Mon, 18 Mar 2024 10:53:44 +0000 (11:53 +0100)] 
rec ci: also build a rec with all optional stuff disabled

2 months agoMerge pull request #13928 from Habbie/build-for-noble
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

2 months agoFix clang-tidy warnings
Remi Gacogne [Mon, 18 Mar 2024 10:55:16 +0000 (11:55 +0100)] 
Fix clang-tidy warnings

2 months agoFix remotebackend testrunner script's new_api mode 13874/head
Fred Morcos [Thu, 7 Mar 2024 13:44:23 +0000 (14:44 +0100)] 
Fix remotebackend testrunner script's new_api mode

2 months agoCleanup remotebackend testrunner script
Fred Morcos [Thu, 7 Mar 2024 13:39:01 +0000 (14:39 +0100)] 
Cleanup remotebackend testrunner script

2 months agoMark the `pdns::UniqueFilePtr` deleter `const noexcept`
Remi Gacogne [Mon, 18 Mar 2024 10:34:09 +0000 (11:34 +0100)] 
Mark the `pdns::UniqueFilePtr` deleter `const noexcept`

2 months agoMerge pull request #13926 from omoerbeek/rec-trace-fail
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

2 months agoadd pkghashes-ubuntu-noble 13928/head
Peter van Dijk [Mon, 18 Mar 2024 10:06:42 +0000 (11:06 +0100)] 
add pkghashes-ubuntu-noble

2 months agosdig: remove xpf handling 13930/head
Otto Moerbeek [Mon, 18 Mar 2024 09:54:58 +0000 (10:54 +0100)] 
sdig: remove xpf handling

2 months agoadd ubuntu noble to default build targets
Peter van Dijk [Mon, 18 Mar 2024 09:38:42 +0000 (10:38 +0100)] 
add ubuntu noble to default build targets

2 months agoauth: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:22:12 +0000 (10:22 +0100)] 
auth: Switch to `pdns::UniqueFilePtr`

2 months agorec: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:21:26 +0000 (10:21 +0100)] 
rec: Switch to `pdns::UniqueFilePtr`

2 months agodnsdist: Switch to `pdns::UniqueFilePtr`
Remi Gacogne [Mon, 18 Mar 2024 09:20:51 +0000 (10:20 +0100)] 
dnsdist: Switch to `pdns::UniqueFilePtr`

2 months agomisc: Implement 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))`

2 months agoMerge pull request #13920 from rgacogne/ddist-reorder-internal-query-state
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

2 months agoZTC regression test does not need auths 13926/head
Otto Moerbeek [Mon, 18 Mar 2024 08:06:21 +0000 (09:06 +0100)] 
ZTC regression test does not need auths

2 months agorec: fix trace=fail regression and add regression test for it
Otto Moerbeek [Mon, 18 Mar 2024 08:00:57 +0000 (09:00 +0100)] 
rec: fix trace=fail regression and add regression test for it

2 months agoMerge pull request #13917 from Habbie/auth-4.9.0-docs-secpoll
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

2 months agoEOL auth 4.6 13917/head
Peter van Dijk [Fri, 15 Mar 2024 12:44:11 +0000 (13:44 +0100)] 
EOL auth 4.6

2 months agoMerge pull request #13906 from rgacogne/ddist-fix-ipv6-console
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

2 months agodnsdist: Shrink InternalQueryState's size by reordering its fields 13920/head
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).

2 months agoMerge pull request #13919 from omoerbeek/rec-not-throttle-lame
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

2 months agorec: don't throttle lame servers if they are marked as dontThrottle 13919/head
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

2 months agoMerge pull request #13916 from Habbie/dockerignore
Peter van Dijk [Thu, 14 Mar 2024 15:46:06 +0000 (16:46 +0100)] 
Merge pull request #13916 from Habbie/dockerignore

.dockerignore: adjust for https://github.com/docker/buildx/issues/850

2 months agoauth-4.9.0: docs&secpoll
Peter van Dijk [Thu, 14 Mar 2024 15:40:59 +0000 (16:40 +0100)] 
auth-4.9.0: docs&secpoll

2 months ago.dockerignore: adjust for https://github.com/docker/buildx/issues/850 13916/head
Peter van Dijk [Thu, 14 Mar 2024 14:01:44 +0000 (15:01 +0100)] 
.dockerignore: adjust for https://github.com/docker/buildx/issues/850

2 months agoMerge pull request #13913 from Habbie/dnsdist-1.9.1-secpoll-docs
Remi Gacogne [Thu, 14 Mar 2024 12:48:34 +0000 (13:48 +0100)] 
Merge pull request #13913 from Habbie/dnsdist-1.9.1-secpoll-docs

secpoll & docs for dnsdist 1.9.1

2 months agoMerge pull request #13876 from rgacogne/ddist-simplify-response-chains
Remi Gacogne [Thu, 14 Mar 2024 10:43:45 +0000 (11:43 +0100)] 
Merge pull request #13876 from rgacogne/ddist-simplify-response-chains

dnsdist: Simplify the handling of rule chains

2 months agodnsdist: Fix XSK-enabled check when reconnecting a backend 13914/head
Remi Gacogne [Thu, 14 Mar 2024 09:20:08 +0000 (10:20 +0100)] 
dnsdist: Fix XSK-enabled check when reconnecting a backend

The check was reverted, meaning that we did not properly remove an address:port from the XSK map when reconnecting a backend, and actually tried to remove an entry from a non-existing map when XSK is compiled in but not enabled, triggering a:
```
Error getting the XSK destination addresses map path '/sys/fs/bpf/dnsdist/xsk-destinations-v4'
```
message.

2 months agodnsdist: Fix exponential backoff computation in edge cases
Remi Gacogne [Mon, 26 Feb 2024 16:07:22 +0000 (17:07 +0100)] 
dnsdist: Fix exponential backoff computation in edge cases

2 months agodnsdist: Properly handle a failure of the first lazy health-check
Remi Gacogne [Mon, 26 Feb 2024 12:03:58 +0000 (13:03 +0100)] 
dnsdist: Properly handle a failure of the first lazy health-check

2 months agodnsdist: Add a regression test for IPv6 console connections 13906/head
Remi Gacogne [Tue, 12 Mar 2024 14:16:19 +0000 (15:16 +0100)] 
dnsdist: Add a regression test for IPv6 console connections

2 months agodnsdist: Fix first IPv6 console connection being rejected
Remi Gacogne [Tue, 12 Mar 2024 13:59:25 +0000 (14:59 +0100)] 
dnsdist: Fix first IPv6 console connection being rejected

If we don't set the family of the client IP address,
`ComboAddress::getSocklen()` will return the size of an IPv4 struct
and thus the first IPv6 client address will get truncated.
Subsequent connections will be fine because the family will have been
set to IPv6.

2 months agoMerge pull request #13894 from omoerbeek/rec-coverity-1534473
Otto Moerbeek [Wed, 13 Mar 2024 10:40:04 +0000 (11:40 +0100)] 
Merge pull request #13894 from omoerbeek/rec-coverity-1534473

rec: fix Coverity 1534473 Unintended sign extension

2 months agoMerge pull request #13889 from omoerbeek/rec-tidy-lua4
Otto Moerbeek [Wed, 13 Mar 2024 10:07:00 +0000 (11:07 +0100)] 
Merge pull request #13889 from omoerbeek/rec-tidy-lua4

rec: tidy recursor-lua4.cc and recursor-lua4.hh

2 months agoExplicit cast to do multiply in 64-bit 13894/head
Otto Moerbeek [Wed, 13 Mar 2024 10:05:28 +0000 (11:05 +0100)] 
Explicit cast to do multiply in 64-bit

2 months agofix formatting 13913/head
Peter van Dijk [Wed, 13 Mar 2024 09:08:57 +0000 (10:08 +0100)] 
fix formatting

2 months agosecpoll & docs for dnsdist 1.9.1
Peter van Dijk [Wed, 13 Mar 2024 09:07:53 +0000 (10:07 +0100)] 
secpoll & docs for dnsdist 1.9.1

2 months agoReformat 13889/head
Otto Moerbeek [Mon, 11 Mar 2024 09:18:59 +0000 (10:18 +0100)] 
Reformat