]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
19 months agodnsdist: buffer h3 headers until query has been dispatched 13689/head
Charles-Henri Bruyand [Tue, 9 Jan 2024 13:46:03 +0000 (14:46 +0100)] 
dnsdist: buffer h3 headers until query has been dispatched

19 months agoMerge pull request #13688 from rgacogne/fix-provenance-artifacts
Remi Gacogne [Tue, 9 Jan 2024 12:18:01 +0000 (13:18 +0100)] 
Merge pull request #13688 from rgacogne/fix-provenance-artifacts

build-packages: Fix the handling of provenance artifacts

19 months agobuild-packages: Fix the handling of provenance artifacts 13688/head
Remi Gacogne [Tue, 9 Jan 2024 11:40:29 +0000 (12:40 +0100)] 
build-packages: Fix the handling of provenance artifacts

The current version of the SLSA framework uses upload-artifact v3
which is not compatible with download-artifact v4 (don't ask me).

19 months agoPrepare for rec-5.0.1 final release 13684/head
Otto Moerbeek [Mon, 8 Jan 2024 13:22:46 +0000 (14:22 +0100)] 
Prepare for rec-5.0.1 final release

19 months agoMerge pull request #13680 from rgacogne/rec-mtasker-1533199
Otto Moerbeek [Tue, 9 Jan 2024 09:52:02 +0000 (10:52 +0100)] 
Merge pull request #13680 from rgacogne/rec-mtasker-1533199

rec: Fix a potential null deref in `MTasker::schedule()`

19 months agoMerge pull request #13662 from PowerDNS/dependabot/cargo/pdns/recursordist/settings...
Otto Moerbeek [Tue, 9 Jan 2024 09:50:19 +0000 (10:50 +0100)] 
Merge pull request #13662 from PowerDNS/dependabot/cargo/pdns/recursordist/settings/rust/unsafe-libyaml-0.2.10

build(deps): bump unsafe-libyaml from 0.2.9 to 0.2.10 in /pdns/recursordist/settings/rust

19 months agoMerge pull request #13679 from rgacogne/update-upload-download-artifact
Remi Gacogne [Tue, 9 Jan 2024 09:24:23 +0000 (10:24 +0100)] 
Merge pull request #13679 from rgacogne/update-upload-download-artifact

ci: Update upload-artifact and download-artifact to version 4

19 months agorec: Fix a clang-tidy warning in test-mtasker.cc 13680/head
Remi Gacogne [Tue, 9 Jan 2024 09:15:37 +0000 (10:15 +0100)] 
rec: Fix a clang-tidy warning in test-mtasker.cc

19 months agoFixup Github clang-tidy helper scripts 13683/head
Fred Morcos [Tue, 2 Jan 2024 14:13:30 +0000 (15:13 +0100)] 
Fixup Github clang-tidy helper scripts

19 months agorec: Fix a potential null deref in MTasker::schedule()
Remi Gacogne [Tue, 9 Jan 2024 08:39:28 +0000 (09:39 +0100)] 
rec: Fix a potential null deref in MTasker::schedule()

The bug is located in a part of the code that we never actually
use since we always pass the current time to the function, so
I decided to reduce the complexity by making this parameter mandatory.

Reported by Coverity as CID 1533199.

19 months agostd::get removals 13555/head
Rosen Penev [Tue, 5 Dec 2023 23:55:13 +0000 (15:55 -0800)] 
std::get removals

Can be replaced by structured bindings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agofix use after move
Rosen Penev [Tue, 5 Dec 2023 20:04:39 +0000 (12:04 -0800)] 
fix use after move

instead of calling append(), just construct a new string.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: pass function by ref
Rosen Penev [Tue, 5 Dec 2023 20:23:56 +0000 (12:23 -0800)] 
clang-tidy: pass function by ref

Found with performance-unnecessary-value-param
Found with performance-unnecessary-copy-initialization

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: avoid recursive include
Rosen Penev [Tue, 5 Dec 2023 03:16:56 +0000 (19:16 -0800)] 
clang-tidy: avoid recursive include

Found with misc-header-include-cycle

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: add noexcept for move stuff
Rosen Penev [Tue, 5 Dec 2023 00:27:43 +0000 (16:27 -0800)] 
clang-tidy: add noexcept for move stuff

Found with performance-noexcept-move-constructor

19 months agofix error type
Rosen Penev [Tue, 5 Dec 2023 20:36:11 +0000 (12:36 -0800)] 
fix error type

runtime_error does not take rvalue parameters. It's a copy anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: use override
Rosen Penev [Tue, 5 Dec 2023 01:34:57 +0000 (17:34 -0800)] 
clang-tidy: use override

Found with modernize-use-override

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: remove void
Rosen Penev [Tue, 5 Dec 2023 01:31:27 +0000 (17:31 -0800)] 
clang-tidy: remove void

Found with modernize-redundant-void-arg

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: use delete
Rosen Penev [Tue, 5 Dec 2023 00:45:29 +0000 (16:45 -0800)] 
clang-tidy: use delete

Found with modernize-use-equals-delete

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: use make functions
Rosen Penev [Tue, 5 Dec 2023 00:57:39 +0000 (16:57 -0800)] 
clang-tidy: use make functions

Found with modernize-make-*

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoclang-tidy: use equals default
Rosen Penev [Mon, 4 Dec 2023 03:00:27 +0000 (19:00 -0800)] 
clang-tidy: use equals default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
19 months agoMerge pull request #13667 from rgacogne/ddist-coverage-cleanup-lua-on-exception
Remi Gacogne [Mon, 8 Jan 2024 16:55:35 +0000 (17:55 +0100)] 
Merge pull request #13667 from rgacogne/ddist-coverage-cleanup-lua-on-exception

dnsdist: Clean up the Lua objects before exiting

19 months agoMerge pull request #13676 from rgacogne/ddist-quic-pmtu
Remi Gacogne [Mon, 8 Jan 2024 16:55:26 +0000 (17:55 +0100)] 
Merge pull request #13676 from rgacogne/ddist-quic-pmtu

dnsdist: Enable PMTU discovery and disable fragmentation on QUIC binds

19 months agoMerge pull request #13678 from rgacogne/ddist-doh3-uni-streams
Remi Gacogne [Mon, 8 Jan 2024 16:54:49 +0000 (17:54 +0100)] 
Merge pull request #13678 from rgacogne/ddist-doh3-uni-streams

dnsdist: Grant unidirectional HTTP/3 streams for DoH3

19 months agoci: Update upload-artifact and download-artifact to version 4 13679/head
Remi Gacogne [Mon, 8 Jan 2024 16:14:20 +0000 (17:14 +0100)] 
ci: Update upload-artifact and download-artifact to version 4

19 months agodnsdist: Grant unidirectional HTTP/3 streams for DoH3 13678/head
Remi Gacogne [Mon, 8 Jan 2024 16:03:17 +0000 (17:03 +0100)] 
dnsdist: Grant unidirectional HTTP/3 streams for DoH3

While unidirectional streams are not needed for DNS over QUIC, they
are required by the HTTP/3 RFC and thus needed for DNS over HTTP/3.
This change makes curl and Firefix happy with dnsdist's DoH3
implementation.

19 months agodnsdist: Enable PMTU discovery and disable fragmentation on QUIC binds 13676/head
Remi Gacogne [Mon, 8 Jan 2024 11:51:07 +0000 (12:51 +0100)] 
dnsdist: Enable PMTU discovery and disable fragmentation on QUIC binds

19 months agoMerge pull request #13674 from dmachard/dockerfile-dnsdist-add-doqdoh3
Remi Gacogne [Mon, 8 Jan 2024 13:39:03 +0000 (14:39 +0100)] 
Merge pull request #13674 from dmachard/dockerfile-dnsdist-add-doqdoh3

Enable doq and doh3 in dockerfile-dnsdist

19 months agoMerge pull request #13652 from omoerbeek/mtasker-cleanup
Otto Moerbeek [Mon, 8 Jan 2024 13:08:54 +0000 (14:08 +0100)] 
Merge pull request #13652 from omoerbeek/mtasker-cleanup

rec: MTasker cleanup and move to recursordist

19 months agoMerge pull request #13675 from rgacogne/rec-fix-alabaster-doc-error
Remi Gacogne [Mon, 8 Jan 2024 12:08:28 +0000 (13:08 +0100)] 
Merge pull request #13675 from rgacogne/rec-fix-alabaster-doc-error

Fix documentation building error for dnsdist and recursor

19 months agodnsdist: Fix the version of alabaster when building the doc 13675/head
Remi Gacogne [Mon, 8 Jan 2024 10:47:13 +0000 (11:47 +0100)] 
dnsdist: Fix the version of alabaster when building the doc

Fixes
```
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.
```

19 months agorec: Fix the version of alabaster when building the doc
Remi Gacogne [Mon, 8 Jan 2024 10:32:31 +0000 (11:32 +0100)] 
rec: Fix the version of alabaster when building the doc

Fixes
```
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.
```

19 months agoMerge pull request #13670 from chbruyand/dnsdist-doq-acl
Remi Gacogne [Mon, 8 Jan 2024 10:10:06 +0000 (11:10 +0100)] 
Merge pull request #13670 from chbruyand/dnsdist-doq-acl

dnsdist: doq,doh3 make sure we enforce any ACL

20 months agoenable doq and doh3 in dockerfile-dnsdist 13674/head
dmachard [Fri, 29 Dec 2023 17:32:45 +0000 (18:32 +0100)] 
enable doq and doh3 in dockerfile-dnsdist

20 months agoMerge pull request #13664 from chbruyand/dnsdist-udp-buffers
Remi Gacogne [Fri, 29 Dec 2023 13:08:40 +0000 (14:08 +0100)] 
Merge pull request #13664 from chbruyand/dnsdist-udp-buffers

dnsdist: increase receive and send buffers to max

20 months agodnsdist: doq,doh3 make sure we enforce any ACL 13670/head
Charles-Henri Bruyand [Thu, 28 Dec 2023 17:54:13 +0000 (18:54 +0100)] 
dnsdist: doq,doh3 make sure we enforce any ACL

20 months agodnsdist: tidy variable name 13664/head
Charles-Henri Bruyand [Tue, 26 Dec 2023 13:20:38 +0000 (14:20 +0100)] 
dnsdist: tidy variable name

20 months agodnsdist: Clean up the Lua objects before exiting 13667/head
Remi Gacogne [Tue, 26 Dec 2023 13:07:05 +0000 (14:07 +0100)] 
dnsdist: Clean up the Lua objects before exiting

When code coverage is enabled, we try to call `exit()` instead of our
usual use of `_exit()` to get more accurate coverage. It does however
trigger a race condition between the destruction of Lua objects and
the Lua context(s) they belong to, so we try to explicitly clean up
the objects before calling `exit()`.

20 months agoMerge pull request #13666 from rgacogne/ddist-congestion-2
Remi Gacogne [Tue, 26 Dec 2023 12:52:22 +0000 (13:52 +0100)] 
Merge pull request #13666 from rgacogne/ddist-congestion-2

dnsdist: Optimize the DoQ packet handling path

20 months agoMerge pull request #13653 from rgacogne/openssf-compiler-options-hardening-guide
Fred Morcos [Tue, 26 Dec 2023 12:38:58 +0000 (13:38 +0100)] 
Merge pull request #13653 from rgacogne/openssf-compiler-options-hardening-guide

CI: Enable more compiler hardening options during our CI run

20 months agodnsdist: try to increase receive and send buffers to max
Charles-Henri Bruyand [Fri, 22 Dec 2023 15:20:23 +0000 (16:20 +0100)] 
dnsdist: try to increase receive and send buffers to max

20 months agodnsdist: Avoid a few more allocations in the DoQ code 13666/head
Remi Gacogne [Tue, 26 Dec 2023 09:25:12 +0000 (10:25 +0100)] 
dnsdist: Avoid a few more allocations in the DoQ code

20 months agodnsdist: Re-format doh3.cc and doq.cc
Remi Gacogne [Fri, 22 Dec 2023 16:37:54 +0000 (17:37 +0100)] 
dnsdist: Re-format doh3.cc and doq.cc

20 months agodnsdist: Delint DoQ and DoH3
Remi Gacogne [Fri, 22 Dec 2023 16:37:20 +0000 (17:37 +0100)] 
dnsdist: Delint DoQ and DoH3

20 months agodnsdist: Try flushing egress data after processing readable streams
Remi Gacogne [Fri, 22 Dec 2023 16:31:56 +0000 (17:31 +0100)] 
dnsdist: Try flushing egress data after processing readable streams

20 months agodnsdist: Handle early data in DoQ/DoH3
Remi Gacogne [Fri, 22 Dec 2023 16:30:16 +0000 (17:30 +0100)] 
dnsdist: Handle early data in DoQ/DoH3

20 months agoSocket: Prevent alloc+copy in Socket::recvFromAsync()
Remi Gacogne [Fri, 22 Dec 2023 16:28:53 +0000 (17:28 +0100)] 
Socket: Prevent alloc+copy in Socket::recvFromAsync()

20 months agodnsdist: Read as many DoH3 packets as possible
Remi Gacogne [Fri, 22 Dec 2023 16:11:28 +0000 (17:11 +0100)] 
dnsdist: Read as many DoH3 packets as possible

20 months agodnsdist: Read as many DoQ packets as possible
Remi Gacogne [Fri, 22 Dec 2023 16:11:18 +0000 (17:11 +0100)] 
dnsdist: Read as many DoQ packets as possible

20 months agoSocket: Return the remote peer from Socket::recvFromAsync
Remi Gacogne [Fri, 22 Dec 2023 16:10:45 +0000 (17:10 +0100)] 
Socket: Return the remote peer from Socket::recvFromAsync

20 months agodnsdist: Split DoH3 'socket readable' to a separate function
Remi Gacogne [Fri, 22 Dec 2023 15:54:20 +0000 (16:54 +0100)] 
dnsdist: Split DoH3 'socket readable' to a separate function

20 months agodnsdist: Split DoQ 'socket readable' to a separate function
Remi Gacogne [Fri, 22 Dec 2023 15:53:23 +0000 (16:53 +0100)] 
dnsdist: Split DoQ 'socket readable' to a separate function

20 months agodnsdist: Loop on `quiche_conn_stream_recv()` until done
Remi Gacogne [Fri, 22 Dec 2023 15:47:24 +0000 (16:47 +0100)] 
dnsdist: Loop on `quiche_conn_stream_recv()` until done

We might get more than one stream event in a single packet.

20 months agodnsdist: Split the DoQ 'readable stream' handling code to a function
Remi Gacogne [Fri, 22 Dec 2023 15:45:37 +0000 (16:45 +0100)] 
dnsdist: Split the DoQ 'readable stream' handling code to a function

20 months agoMerge pull request #13627 from romeroalx/schedule-workflow-releases
romeroalx [Fri, 22 Dec 2023 13:57:35 +0000 (14:57 +0100)] 
Merge pull request #13627 from romeroalx/schedule-workflow-releases

GH Actions: Schedule `build-and-test-all` and `builder` workflows from `master` for different releases

20 months agoMerge pull request #13663 from fredmorcos/fix-ws-auth-formatting
Fred Morcos [Fri, 22 Dec 2023 11:59:15 +0000 (12:59 +0100)] 
Merge pull request #13663 from fredmorcos/fix-ws-auth-formatting

Fix vector list formatting in `ws-auth.cc`

20 months agoMerge pull request #13661 from fredmorcos/fix-ws-auth
Fred Morcos [Fri, 22 Dec 2023 11:14:28 +0000 (12:14 +0100)] 
Merge pull request #13661 from fredmorcos/fix-ws-auth

Fix macros and `NOLINT`s in `ws-auth.cc`

20 months agoFix formatting in ws-auth.cc 13663/head
Fred Morcos [Fri, 22 Dec 2023 10:59:11 +0000 (11:59 +0100)] 
Fix formatting in ws-auth.cc

20 months agoReplace the TSIGKeyFromId() macro with a TSIGKeyData class in ws-auth.cc 13661/head
Fred Morcos [Thu, 21 Dec 2023 15:53:12 +0000 (16:53 +0100)] 
Replace the TSIGKeyFromId() macro with a TSIGKeyData class in ws-auth.cc

20 months agoGet rid of some NOLINTs in ws-auth.cc
Fred Morcos [Thu, 21 Dec 2023 15:40:43 +0000 (16:40 +0100)] 
Get rid of some NOLINTs in ws-auth.cc

20 months agoReplace the zoneFromId() macro with a ZoneData class in ws-auth.cc
Fred Morcos [Thu, 21 Dec 2023 15:38:35 +0000 (16:38 +0100)] 
Replace the zoneFromId() macro with a ZoneData class in ws-auth.cc

20 months agoMerge pull request #13613 from fredmorcos/ws-auth-statbag-cleanup
Fred Morcos [Fri, 22 Dec 2023 10:43:02 +0000 (11:43 +0100)] 
Merge pull request #13613 from fredmorcos/ws-auth-statbag-cleanup

Remove the `extern`ed `StatBag` from `ws-auth`

20 months agobuild(deps): bump unsafe-libyaml in /pdns/recursordist/settings/rust 13662/head
dependabot[bot] [Thu, 21 Dec 2023 18:31:13 +0000 (18:31 +0000)] 
build(deps): bump unsafe-libyaml in /pdns/recursordist/settings/rust

Bumps [unsafe-libyaml](https://github.com/dtolnay/unsafe-libyaml) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/dtolnay/unsafe-libyaml/releases)
- [Commits](https://github.com/dtolnay/unsafe-libyaml/compare/0.2.9...0.2.10)

---
updated-dependencies:
- dependency-name: unsafe-libyaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agoMerge pull request #13615 from fredmorcos/fix-warnings-about-warnings-gcc
Fred Morcos [Thu, 21 Dec 2023 15:13:51 +0000 (16:13 +0100)] 
Merge pull request #13615 from fredmorcos/fix-warnings-about-warnings-gcc

Fix "unknown option" warnings on GCC and older Clang

20 months agoDelint ws-auth.cc 13613/head
Fred Morcos [Thu, 21 Dec 2023 14:38:51 +0000 (15:38 +0100)] 
Delint ws-auth.cc

20 months agoDelint ws-api.cc
Fred Morcos [Wed, 13 Dec 2023 14:35:35 +0000 (15:35 +0100)] 
Delint ws-api.cc

20 months agoFormat ws-api.cc
Fred Morcos [Tue, 12 Dec 2023 14:24:55 +0000 (15:24 +0100)] 
Format ws-api.cc

20 months agoFormat ws-api.hh
Fred Morcos [Tue, 12 Dec 2023 14:23:56 +0000 (15:23 +0100)] 
Format ws-api.hh

20 months agoRemove global StatBag from ws-auth
Fred Morcos [Tue, 12 Dec 2023 14:16:13 +0000 (15:16 +0100)] 
Remove global StatBag from ws-auth

20 months agoWhitespace cleanup
Fred Morcos [Tue, 12 Dec 2023 14:16:07 +0000 (15:16 +0100)] 
Whitespace cleanup

20 months agoMove Ewma impl to ws-auth.cc
Fred Morcos [Tue, 12 Dec 2023 13:48:37 +0000 (14:48 +0100)] 
Move Ewma impl to ws-auth.cc

20 months agoFormat ws-auth.cc
Fred Morcos [Tue, 12 Dec 2023 13:48:15 +0000 (14:48 +0100)] 
Format ws-auth.cc

20 months agoFormat ws-auth.hh
Fred Morcos [Tue, 12 Dec 2023 13:47:15 +0000 (14:47 +0100)] 
Format ws-auth.hh

20 months agoMerge pull request #13465 from franklouwers/master
Peter van Dijk [Thu, 21 Dec 2023 12:10:37 +0000 (13:10 +0100)] 
Merge pull request #13465 from franklouwers/master

clarify `allow-notify-from` docs

20 months agoMerge pull request #13628 from Habbie/auth-4.8.4-secpoll-docs
Peter van Dijk [Thu, 21 Dec 2023 09:39:24 +0000 (10:39 +0100)] 
Merge pull request #13628 from Habbie/auth-4.8.4-secpoll-docs

auth-4.8.4: secpoll&docs

20 months agoauth-4.8.4: secpoll&docs 13628/head
Peter van Dijk [Thu, 14 Dec 2023 14:51:45 +0000 (15:51 +0100)] 
auth-4.8.4: secpoll&docs

20 months agoMerge pull request #13617 from fredmorcos/fix-non-zero-offset-ptr
Remi Gacogne [Thu, 21 Dec 2023 08:23:15 +0000 (09:23 +0100)] 
Merge pull request #13617 from fredmorcos/fix-non-zero-offset-ptr

Fix warning about pointer with non-zero offset being freed

20 months agoMerge pull request #13630 from rgacogne/ddist-coverity-20231214
Remi Gacogne [Thu, 21 Dec 2023 08:10:09 +0000 (09:10 +0100)] 
Merge pull request #13630 from rgacogne/ddist-coverity-20231214

dnsdist: Fix Coverity warnings

20 months agoMerge pull request #13656 from omoerbeek/rec-prep-5.0.0-rc2
Otto Moerbeek [Wed, 20 Dec 2023 12:51:39 +0000 (13:51 +0100)] 
Merge pull request #13656 from omoerbeek/rec-prep-5.0.0-rc2

Rec: prep 5.0.0 rc2

20 months agoPrep for rec-5.0.0-rc2 13656/head
Otto Moerbeek [Tue, 19 Dec 2023 09:42:34 +0000 (10:42 +0100)] 
Prep for rec-5.0.0-rc2

20 months agorec: allow out-of-tree builds 13654/head
Chris Hofstaedtler [Tue, 19 Dec 2023 21:11:09 +0000 (22:11 +0100)] 
rec: allow out-of-tree builds

20 months agoFix warning about pointer with non-zero offset being freed 13617/head
Fred Morcos [Wed, 13 Dec 2023 13:50:59 +0000 (14:50 +0100)] 
Fix warning about pointer with non-zero offset being freed

20 months agodnsdist: Fix compilation of the console 13650/head
Remi Gacogne [Tue, 19 Dec 2023 14:52:06 +0000 (15:52 +0100)] 
dnsdist: Fix compilation of the console

20 months agodnsdist: Delint dnsdist's console code
Remi Gacogne [Tue, 19 Dec 2023 14:42:43 +0000 (15:42 +0100)] 
dnsdist: Delint dnsdist's console code

20 months agoMerge pull request #13642 from zeha/auth-make-outoftree
Peter van Dijk [Tue, 19 Dec 2023 13:10:04 +0000 (14:10 +0100)] 
Merge pull request #13642 from zeha/auth-make-outoftree

auth: allow building in separate build directory

20 months agoMerge pull request #13608 from romeroalx/look-for-binaries-pr
Peter van Dijk [Tue, 19 Dec 2023 11:58:49 +0000 (12:58 +0100)] 
Merge pull request #13608 from romeroalx/look-for-binaries-pr

GH Actions: force CI failure if there are binaries present in a Pull Request

20 months agoMore reorg and tidy 13652/head
Otto Moerbeek [Wed, 13 Dec 2023 07:23:33 +0000 (08:23 +0100)] 
More reorg and tidy

20 months agoMerge pull request #13635 from mind04/auth-wildcard-cname
Peter van Dijk [Mon, 18 Dec 2023 16:16:56 +0000 (17:16 +0100)] 
Merge pull request #13635 from mind04/auth-wildcard-cname

Auth: improve wildcard CNAME handling

20 months agoMerge pull request #13514 from zeha/api-flush-all
Peter van Dijk [Mon, 18 Dec 2023 16:05:37 +0000 (17:05 +0100)] 
Merge pull request #13514 from zeha/api-flush-all

auth api: flush all caches when flushing

20 months agodnsdist: More delinting in dnsdist-lua-bindings.cc 13630/head
Remi Gacogne [Mon, 18 Dec 2023 15:55:31 +0000 (16:55 +0100)] 
dnsdist: More delinting in dnsdist-lua-bindings.cc

20 months agoMerge pull request #13641 from zeha/fix-zone-delete-cache
Peter van Dijk [Mon, 18 Dec 2023 15:42:16 +0000 (16:42 +0100)] 
Merge pull request #13641 from zeha/fix-zone-delete-cache

ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE

20 months agodnsdist: Delint dnsdist-crypto.cc
Remi Gacogne [Mon, 18 Dec 2023 15:25:27 +0000 (16:25 +0100)] 
dnsdist: Delint dnsdist-crypto.cc

20 months agodnsdist: Reformat dnsdist-crypto.cc
Remi Gacogne [Mon, 18 Dec 2023 15:17:28 +0000 (16:17 +0100)] 
dnsdist: Reformat dnsdist-crypto.cc

20 months agodnsdist: Fall back to libcrypto for authenticated encryption
Remi Gacogne [Mon, 18 Dec 2023 15:12:46 +0000 (16:12 +0100)] 
dnsdist: Fall back to libcrypto for authenticated encryption

We used to fall back to plain-text for console communications when
libsodium was not available, which was not great. Now that we are
also using the authenticated encryption module to secure our QUIC
tokens, let's fall back to OpenSSL's Chacha20 Poly 1305
implementation instead.
Note that, unfortunately, both implementations are not compatible
so the console communication format will be different depending on
whether libsodium is available. I believe this is still better than
plain-text :)

20 months agoMerge pull request #13648 from rgacogne/ddist-doh3doc
Remi Gacogne [Mon, 18 Dec 2023 13:59:27 +0000 (14:59 +0100)] 
Merge pull request #13648 from rgacogne/ddist-doh3doc

dnsdist: Document `showDOH3Frontends`, how to advertise HTTP/3 support over HTTP/2

20 months agoauth: add a configurable delay for notifications
Charles-Henri Bruyand [Mon, 18 Dec 2023 13:40:44 +0000 (14:40 +0100)] 
auth: add a configurable delay for notifications

20 months agoMerge pull request #13638 from rgacogne/ddist-doq-stalled-connections
Remi Gacogne [Mon, 18 Dec 2023 12:49:58 +0000 (13:49 +0100)] 
Merge pull request #13638 from rgacogne/ddist-doq-stalled-connections

dnsdist: Handle congested DoQ streams

20 months agodnsdist: Fix alt-svc typo in the documentation example 13648/head
Remi Gacogne [Mon, 18 Dec 2023 11:36:48 +0000 (12:36 +0100)] 
dnsdist: Fix alt-svc typo in the documentation example

20 months agoMerge pull request #13647 from rgacogne/ddist-doh3-default-443
Remi Gacogne [Mon, 18 Dec 2023 11:01:23 +0000 (12:01 +0100)] 
Merge pull request #13647 from rgacogne/ddist-doh3-default-443

dnsdist: Set the DNS over HTTP/3 default port to 443

20 months agodnsdist: Document how to advertise HTTP/3 support over HTTP/2
Remi Gacogne [Mon, 18 Dec 2023 10:59:19 +0000 (11:59 +0100)] 
dnsdist: Document how to advertise HTTP/3 support over HTTP/2