]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Tue, 16 Jan 2024 15:46:45 +0000 (16:46 +0100)]
Revert "Debian Trixie builder: install fakeroot pkg"
This reverts commit
a902e392a38905bec709468a6ebd26902a6c255a .
Peter van Dijk [Tue, 16 Jan 2024 15:41:08 +0000 (16:41 +0100)]
fix false check positive on modified submodule
Peter van Dijk [Tue, 16 Jan 2024 11:42:57 +0000 (12:42 +0100)]
pdns-builder: update to newest, removes fakeroot usage
Otto Moerbeek [Mon, 15 Jan 2024 11:02:31 +0000 (12:02 +0100)]
Merge pull request #13706 from omoerbeek/rec-coverity-
20240112
Fix a few coverity reports
Otto Moerbeek [Mon, 15 Jan 2024 10:21:57 +0000 (11:21 +0100)]
Merge pull request #13711 from omoerbeek/snmp-cleanup
rec: Cleanup of code doing SNMP OID handling
Otto Moerbeek [Fri, 12 Jan 2024 10:27:57 +0000 (11:27 +0100)]
Fix typos in annotations:
1524912 COPY_INSTEAD_OF_MOVE and
1524842 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Mon, 15 Jan 2024 10:19:36 +0000 (11:19 +0100)]
Merge pull request #13654 from zeha/rec-make-outoftree
rec: allow out-of-tree builds
Remi Gacogne [Mon, 15 Jan 2024 09:07:04 +0000 (10:07 +0100)]
Merge pull request #13713 from chbruyand/dnsdist-issue-13690
dnsdist: DoH3 add content-type header information in responses
Peter van Dijk [Mon, 15 Jan 2024 08:55:00 +0000 (09:55 +0100)]
Merge pull request #13714 from spheron1/patch-1
Fix country()/countryCode() mixup in example Lua Record documentation
Edward Dore [Sun, 14 Jan 2024 11:22:29 +0000 (11:22 +0000)]
Fix country()/countryCode() mixup in example Lua Record
The country() function returns true if the country code for the query source IP address matches the country code passed to the function.
The countryCode() function doesn't take any arguments and just returns the country code of the query source IP address.
For this example, we're checking if the country for the query source IP address is "US" and expecting a true/false response, so country() is the correct function to use.
Alternatively, this would be something like "if countryCode() == 'US' then return...".
Charles-Henri Bruyand [Fri, 12 Jan 2024 18:23:36 +0000 (19:23 +0100)]
Update pdns/dnsdistdist/doh3.cc
Co-authored-by: Remi Gacogne <github@coredump.fr>
Charles-Henri Bruyand [Fri, 12 Jan 2024 15:08:00 +0000 (16:08 +0100)]
dnsdist: add content-type header information in http/3 responses, add relayed response size in http/3 vinfologs
Peter van Dijk [Fri, 12 Jan 2024 13:58:03 +0000 (14:58 +0100)]
Merge pull request #13580 from Habbie/ubuntu-noble
add ubuntu-noble build target and test it daily
Otto Moerbeek [Fri, 12 Jan 2024 13:16:08 +0000 (14:16 +0100)]
Cleanup of code doing SNMP OID handling
Peter van Dijk [Fri, 12 Jan 2024 13:02:53 +0000 (14:02 +0100)]
Merge pull request #13707 from Habbie/auth-4.9.0-alpha1-docs
docs&secpoll for auth-4.9.0-alpha1
Peter van Dijk [Fri, 12 Jan 2024 10:43:50 +0000 (11:43 +0100)]
docs&secpoll for auth-4.9.0-alpha1
Otto Moerbeek [Fri, 12 Jan 2024 10:22:06 +0000 (11:22 +0100)]
1524908 Use of auto that causes a copy
Otto Moerbeek [Fri, 12 Jan 2024 09:42:13 +0000 (10:42 +0100)]
1524920 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:40:37 +0000 (10:40 +0100)]
1524930 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:32:49 +0000 (10:32 +0100)]
1531280 COPY_INSTEAD_OF_MOVE
Otto Moerbeek [Fri, 12 Jan 2024 09:27:59 +0000 (10:27 +0100)]
1528464 COPY_INSTEAD_OF_MOVE
Peter van Dijk [Thu, 11 Jan 2024 15:14:52 +0000 (16:14 +0100)]
Merge pull request #13441 from Habbie/auth-alias-ecs
auth: forward EDNS Client Subnet option during ALIAS processing
Peter van Dijk [Thu, 11 Jan 2024 11:35:14 +0000 (12:35 +0100)]
cleanups from clang-tidy
Fred Morcos [Thu, 11 Jan 2024 13:46:34 +0000 (14:46 +0100)]
Merge pull request #13683 from fredmorcos/cleanup-clang-tidy
Small cleanups of the Github clang-tidy helper scripts
Peter van Dijk [Thu, 11 Jan 2024 11:01:24 +0000 (12:01 +0100)]
format dnsproxy.{cc,hh}, ednssubnet.{cc,hh}, stubresolver.cc
Peter van Dijk [Thu, 11 Jan 2024 09:04:39 +0000 (10:04 +0100)]
remove isValid
Peter van Dijk [Tue, 9 Jan 2024 12:37:56 +0000 (13:37 +0100)]
add testECSNone
Peter van Dijk [Thu, 7 Dec 2023 16:18:26 +0000 (17:18 +0100)]
only use the scope from the answer
Peter van Dijk [Tue, 7 Feb 2023 14:26:20 +0000 (15:26 +0100)]
auth-py tests: test ECS in ALIAS forwarding
Peter van Dijk [Tue, 7 Feb 2023 14:21:09 +0000 (15:21 +0100)]
regression-tests.auth-py/clientsubnetoption.py: fix equality operator
Peter van Dijk [Tue, 7 Feb 2023 13:46:01 +0000 (14:46 +0100)]
ixfrdist tests: refactor one function a bit
root [Thu, 19 May 2022 20:21:02 +0000 (16:21 -0400)]
forward EDNS Client Subnet option during ALIAS processing
typo
Remi Gacogne [Wed, 10 Jan 2024 14:22:29 +0000 (15:22 +0100)]
Merge pull request #13692 from romeroalx/fix-builder-trixie
GH Acttions: fix builder workflow for Debian Trixie
Otto Moerbeek [Wed, 10 Jan 2024 11:37:48 +0000 (12:37 +0100)]
Merge pull request #13693 from omoerbeek/iputils-unused
iputils: avoid unused warnings on !linux
Otto Moerbeek [Wed, 10 Jan 2024 10:54:46 +0000 (11:54 +0100)]
iputils: avoid unused warnings on !linux
romeroalx [Wed, 10 Jan 2024 10:04:04 +0000 (11:04 +0100)]
Debian Trixie builder: install fakeroot pkg
Otto Moerbeek [Wed, 10 Jan 2024 09:31:35 +0000 (10:31 +0100)]
Merge pull request #13684 from omoerbeek/rec-prep-5.0.0
rec: Prepare for rec-5.0.1 final release
Remi Gacogne [Tue, 9 Jan 2024 15:38:23 +0000 (16:38 +0100)]
Merge pull request #13689 from chbruyand/dnsdist-issue-13687
dnsdist: buffer HTTP/3 headers until the query has been dispatched
Charles-Henri Bruyand [Tue, 9 Jan 2024 13:46:03 +0000 (14:46 +0100)]
dnsdist: buffer h3 headers until query has been dispatched
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
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).
Otto Moerbeek [Mon, 8 Jan 2024 13:22:46 +0000 (14:22 +0100)]
Prepare for rec-5.0.1 final release
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()`
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
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
Remi Gacogne [Tue, 9 Jan 2024 09:15:37 +0000 (10:15 +0100)]
rec: Fix a clang-tidy warning in test-mtasker.cc
Fred Morcos [Tue, 2 Jan 2024 14:13:30 +0000 (15:13 +0100)]
Fixup Github clang-tidy helper scripts
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 .
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
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
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
Remi Gacogne [Mon, 8 Jan 2024 16:14:20 +0000 (17:14 +0100)]
ci: Update upload-artifact and download-artifact to version 4
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.
Remi Gacogne [Mon, 8 Jan 2024 11:51:07 +0000 (12:51 +0100)]
dnsdist: Enable PMTU discovery and disable fragmentation on QUIC binds
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
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
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
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.
```
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.
```
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
dmachard [Fri, 29 Dec 2023 17:32:45 +0000 (18:32 +0100)]
enable doq and doh3 in dockerfile-dnsdist
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
Charles-Henri Bruyand [Thu, 28 Dec 2023 17:54:13 +0000 (18:54 +0100)]
dnsdist: doq,doh3 make sure we enforce any ACL
Charles-Henri Bruyand [Tue, 26 Dec 2023 13:20:38 +0000 (14:20 +0100)]
dnsdist: tidy variable name
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()`.
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
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
Charles-Henri Bruyand [Fri, 22 Dec 2023 15:20:23 +0000 (16:20 +0100)]
dnsdist: try to increase receive and send buffers to max
Remi Gacogne [Tue, 26 Dec 2023 09:25:12 +0000 (10:25 +0100)]
dnsdist: Avoid a few more allocations in the DoQ code
Remi Gacogne [Fri, 22 Dec 2023 16:37:54 +0000 (17:37 +0100)]
dnsdist: Re-format doh3.cc and doq.cc
Remi Gacogne [Fri, 22 Dec 2023 16:37:20 +0000 (17:37 +0100)]
dnsdist: Delint DoQ and DoH3
Remi Gacogne [Fri, 22 Dec 2023 16:31:56 +0000 (17:31 +0100)]
dnsdist: Try flushing egress data after processing readable streams
Remi Gacogne [Fri, 22 Dec 2023 16:30:16 +0000 (17:30 +0100)]
dnsdist: Handle early data in DoQ/DoH3
Remi Gacogne [Fri, 22 Dec 2023 16:28:53 +0000 (17:28 +0100)]
Socket: Prevent alloc+copy in Socket::recvFromAsync()
Remi Gacogne [Fri, 22 Dec 2023 16:11:28 +0000 (17:11 +0100)]
dnsdist: Read as many DoH3 packets as possible
Remi Gacogne [Fri, 22 Dec 2023 16:11:18 +0000 (17:11 +0100)]
dnsdist: Read as many DoQ packets as possible
Remi Gacogne [Fri, 22 Dec 2023 16:10:45 +0000 (17:10 +0100)]
Socket: Return the remote peer from Socket::recvFromAsync
Remi Gacogne [Fri, 22 Dec 2023 15:54:20 +0000 (16:54 +0100)]
dnsdist: Split DoH3 '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
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.
Remi Gacogne [Fri, 22 Dec 2023 15:45:37 +0000 (16:45 +0100)]
dnsdist: Split the DoQ 'readable stream' handling code to a function
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
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`
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`
Fred Morcos [Fri, 22 Dec 2023 10:59:11 +0000 (11:59 +0100)]
Fix formatting in ws-auth.cc
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
Fred Morcos [Thu, 21 Dec 2023 15:40:43 +0000 (16:40 +0100)]
Get rid of some NOLINTs 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
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`
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>
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
Fred Morcos [Thu, 21 Dec 2023 14:38:51 +0000 (15:38 +0100)]
Delint ws-auth.cc
Fred Morcos [Wed, 13 Dec 2023 14:35:35 +0000 (15:35 +0100)]
Delint ws-api.cc
Fred Morcos [Tue, 12 Dec 2023 14:24:55 +0000 (15:24 +0100)]
Format ws-api.cc
Fred Morcos [Tue, 12 Dec 2023 14:23:56 +0000 (15:23 +0100)]
Format ws-api.hh
Fred Morcos [Tue, 12 Dec 2023 14:16:13 +0000 (15:16 +0100)]
Remove global StatBag from ws-auth
Fred Morcos [Tue, 12 Dec 2023 14:16:07 +0000 (15:16 +0100)]
Whitespace cleanup
Fred Morcos [Tue, 12 Dec 2023 13:48:37 +0000 (14:48 +0100)]
Move Ewma impl to ws-auth.cc
Fred Morcos [Tue, 12 Dec 2023 13:48:15 +0000 (14:48 +0100)]
Format ws-auth.cc
Fred Morcos [Tue, 12 Dec 2023 13:47:15 +0000 (14:47 +0100)]
Format ws-auth.hh