]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 21 Jun 2024 09:10:28 +0000 (11:10 +0200)]
auth: Use [[maybe_unused]] in the distributor unit tests
As suggested by Otto.
Remi Gacogne [Thu, 20 Jun 2024 08:21:48 +0000 (10:21 +0200)]
auth: Better fix for the leak reported by LSAN in test-distributor_hh.cc
This unit test is checking that we correctly throw when too many queries
are waiting in the distribution pipe, by making the mock backend slow
on purpose. Once the distributor has been restarted as expected, we need
to wait until the mock backend has processed all queued queries, otherwise
Leak Sanitizer will rightfully report a memory leak.
Peter van Dijk [Tue, 18 Jun 2024 12:00:22 +0000 (14:00 +0200)]
Merge pull request #14311 from romeroalx/remove-auth-46-daily-builds
GH Actions: remove rel/auth-4.6.x from daily/weekly builds
Otto Moerbeek [Tue, 18 Jun 2024 09:19:41 +0000 (11:19 +0200)]
Merge pull request #14346 from omoerbeek/rec-pb-tags-tcp
rec: fix TCP case for policy tags set by gettag(_ffi)
Otto Moerbeek [Tue, 18 Jun 2024 08:35:08 +0000 (10:35 +0200)]
Refactor test to avoid code duplciation, as suggested by @rgacogne
Otto Moerbeek [Mon, 17 Jun 2024 12:58:01 +0000 (14:58 +0200)]
rec: fix TCP case for cached policy tags
Remi Gacogne [Tue, 18 Jun 2024 07:39:03 +0000 (09:39 +0200)]
Merge pull request #14326 from rgacogne/ddist-grepq-ms-parsing
dnsdist: Use `pdns::checked_stoi` instead of `sscanf` for `grepq`'s ms
Remi Gacogne [Tue, 18 Jun 2024 07:36:09 +0000 (09:36 +0200)]
Merge pull request #14344 from PowerDNS/dependabot/pip/docs/urllib3-2.2.2
Bump urllib3 from 2.0.7 to 2.2.2 in /docs
Remi Gacogne [Tue, 18 Jun 2024 07:35:13 +0000 (09:35 +0200)]
Merge pull request #14341 from rgacogne/ddist-race-web-handlers
dnsdist: Fix a race condition with custom Lua web handlers
dependabot[bot] [Mon, 17 Jun 2024 22:30:28 +0000 (22:30 +0000)]
Bump urllib3 from 2.0.7 to 2.2.2 in /docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.2.2.
- [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.7...2.2.2)
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Remi Gacogne [Mon, 17 Jun 2024 13:58:06 +0000 (15:58 +0200)]
dnsdist: Fix a clang-tidy warning in the custom web handlers code
Remi Gacogne [Mon, 17 Jun 2024 12:55:58 +0000 (14:55 +0200)]
Merge pull request #14330 from rgacogne/move-snmp-headers
snmp-agent: Move net-snmp headers out of our headers
Remi Gacogne [Mon, 17 Jun 2024 12:36:48 +0000 (14:36 +0200)]
dnsdist: Fix replacement of existing custom web handlers
Otto Moerbeek [Mon, 17 Jun 2024 11:45:24 +0000 (13:45 +0200)]
Merge pull request #14340 from omoerbeek/rec-pp-remotes
rec: fix client remotes count when using proxy protocol
Otto Moerbeek [Mon, 17 Jun 2024 09:24:04 +0000 (11:24 +0200)]
Add regression test for remote count when using proxy protocol
Remi Gacogne [Mon, 17 Jun 2024 10:16:38 +0000 (12:16 +0200)]
dnsdist: Fix a race condition with custom Lua web handlers
Custom web handlers written in Lua modify the global Lua context,
but until now they did not take the lock protecting it so a data
race condition was possible.
Reported by TSAN while running our unit tests.
Remi Gacogne [Mon, 17 Jun 2024 09:34:44 +0000 (11:34 +0200)]
Merge pull request #14328 from chbruyand/dnsdist-runtests
dnsdist: update test runner for mac
Otto Moerbeek [Mon, 17 Jun 2024 09:25:07 +0000 (11:25 +0200)]
Merge pull request #14275 from esensar/feature/udr-ignore-list
rec: add options for ignoring domains for UDR purposes
Otto Moerbeek [Mon, 17 Jun 2024 09:22:47 +0000 (11:22 +0200)]
rec: count substituted remote in case of proxy protocol
Other remote counts are already doing that
Remi Gacogne [Mon, 17 Jun 2024 08:33:39 +0000 (10:33 +0200)]
snmp-agent: Move net-snmp headers out of our headers
The net-snmp headers are unfortunately defining things that we do not
want, like `INET6` and `HAVE_LIBSSL`, so it's better for us not to
include them from our headers.
Charles-Henri Bruyand [Sat, 15 Jun 2024 10:51:35 +0000 (12:51 +0200)]
dnsdist: update test runner for mac with dynamic prefix and up to date package name for curl
Remi Gacogne [Fri, 14 Jun 2024 08:48:57 +0000 (10:48 +0200)]
dnsdist: Use `pdns::checked_stoi` instead of `sscanf` for `grepq`'s ms
Peter van Dijk [Thu, 13 Jun 2024 11:01:53 +0000 (13:01 +0200)]
Merge pull request #14324 from Habbie/auth-lua-docs-backquote-nit
auth docs: remove stray backquote
Remi Gacogne [Thu, 13 Jun 2024 10:44:54 +0000 (12:44 +0200)]
Merge pull request #14302 from rgacogne/ddist-ffi-svc
dnsdist: Add Lua FFI bindings to generate SVC responses
Remi Gacogne [Thu, 13 Jun 2024 10:01:33 +0000 (12:01 +0200)]
dnsdist: Apply suggestion from Charles-Henri's review (thanks!)
Peter van Dijk [Thu, 13 Jun 2024 08:09:25 +0000 (10:09 +0200)]
auth docs: remove stray backquote
Remi Gacogne [Thu, 13 Jun 2024 08:05:42 +0000 (10:05 +0200)]
Merge pull request #14280 from rgacogne/ddist-doc-ebpf-capability
dnsdist: Document that eBPF socket filtering requires `CAP_SYS_ADMIN`
Fred Morcos [Wed, 12 Jun 2024 12:35:50 +0000 (14:35 +0200)]
Merge pull request #14183 from fredmorcos/auth-regression-tests-meson
Support meson in regression tests harness
Fred Morcos [Mon, 10 Jun 2024 12:43:38 +0000 (14:43 +0200)]
Rename PDNS_MESON_PATH to PDNS_BUILD_PATH
This also ensures that PDNS_BUILD_PATH is set to `.` when the user does not pass it. This
stays consistent with the behavior we previously had.
Fred Morcos [Wed, 15 May 2024 12:41:17 +0000 (14:41 +0200)]
Meson: Integrate auth geoip backend regression test
Fred Morcos [Wed, 15 May 2024 11:27:06 +0000 (13:27 +0200)]
Auth: Adapt backend regression tests harness to Meson builds
Ensar Sarajčić [Wed, 12 Jun 2024 09:52:33 +0000 (11:52 +0200)]
Fix remaining formatting issues in settings/table.py
Ensar Sarajčić [Wed, 12 Jun 2024 09:44:28 +0000 (11:44 +0200)]
Fix formatting for settings/table.py
Ensar Sarajčić [Wed, 12 Jun 2024 09:36:41 +0000 (11:36 +0200)]
Merge branch 'master' into feature/udr-ignore-list
Otto Moerbeek [Wed, 12 Jun 2024 09:25:48 +0000 (11:25 +0200)]
Merge pull request #14312 from omoerbeek/rec-pbout-udr
rec: do not add UDR field to outgoingProtobuf answer messages
aerique [Wed, 12 Jun 2024 08:56:37 +0000 (10:56 +0200)]
Merge pull request #14307 from aerique/feature/update-repo-test-script
Update repo test script.
Otto Moerbeek [Wed, 12 Jun 2024 08:40:23 +0000 (10:40 +0200)]
Merge pull request #14309 from omoerbeek/rec-cname-bound-settable
rec: make max CNAME chain length handled settable, previously fixed at 10
Otto Moerbeek [Wed, 12 Jun 2024 08:39:19 +0000 (10:39 +0200)]
rec: do not add UDR field to outgoingProtobuf answer messages
Otto Moerbeek [Mon, 10 Jun 2024 13:53:23 +0000 (15:53 +0200)]
rec: make max CNAME chain length handled settable, previously fixed at 10
Erik Winkels [Mon, 10 Jun 2024 12:20:45 +0000 (14:20 +0200)]
Update repo test script version.
Erik Winkels [Mon, 10 Jun 2024 12:20:17 +0000 (14:20 +0200)]
Remove support for EOL versions from repo test script.
Add `rec-51` support to repo test script.
Erik Winkels [Mon, 10 Jun 2024 11:35:56 +0000 (13:35 +0200)]
Update version regex for Python 3.
(I think Python 3 and not Python 3.something specific.)
Erik Winkels [Mon, 10 Jun 2024 11:35:21 +0000 (13:35 +0200)]
Remove Ubuntu Bionic and add Noble to repo test script.
Erik Winkels [Mon, 10 Jun 2024 11:34:57 +0000 (13:34 +0200)]
Add auth-49, rec-50 and dnsdist-19 to repo test script.
romeroalx [Mon, 10 Jun 2024 14:34:43 +0000 (16:34 +0200)]
gh actions: remove rel/auth-4.6.x from daily builds
Fred Morcos [Mon, 10 Jun 2024 14:10:26 +0000 (16:10 +0200)]
Merge pull request #14308 from romeroalx/upgrade-list-packages
docs: upgrade packaging to 24.1
romeroalx [Mon, 10 Jun 2024 13:02:00 +0000 (15:02 +0200)]
docs: update pip dependency packaging to 24.1
Ensar Sarajčić [Fri, 7 Jun 2024 16:16:30 +0000 (18:16 +0200)]
Use example.com instead of xyz123.tv for docs
Peter van Dijk [Fri, 7 Jun 2024 12:24:22 +0000 (14:24 +0200)]
Merge pull request #14277 from Habbie/geoip-cxxfs-lib
auth geoipbackend: link C++ filesystem lib if necessary
Alexis Romero [Fri, 7 Jun 2024 09:06:38 +0000 (11:06 +0200)]
Merge pull request #14301 from romeroalx/misc-dailies-python-3-11
GH Actions - misc-dailies: set python-version 3.11 for complying with pip pinning
Remi Gacogne [Fri, 7 Jun 2024 08:17:12 +0000 (10:17 +0200)]
dnsdist: Fix clang-tidy warnings
Otto Moerbeek [Thu, 6 Jun 2024 16:02:59 +0000 (18:02 +0200)]
Merge pull request #14300 from omoerbeek/rec-doc-max-map-count
rec: document vm.max_map_count can be too low
Remi Gacogne [Tue, 4 Jun 2024 15:36:23 +0000 (17:36 +0200)]
dnsdist: Add Lua FFI bindings to generate SVC responses
Remi Gacogne [Thu, 6 Jun 2024 14:57:07 +0000 (16:57 +0200)]
Merge pull request #14281 from rgacogne/ddist-fix-systemd-service-unit-bpf
dnsdist: Edit the systemd unit file, `CAP_BPF` is no longer enough
Otto Moerbeek [Thu, 6 Jun 2024 11:55:34 +0000 (13:55 +0200)]
Apply suggestions from code review
Co-authored-by: Remi Gacogne <github@coredump.fr>
Remi Gacogne [Thu, 6 Jun 2024 11:45:57 +0000 (13:45 +0200)]
Merge pull request #14234 from rgacogne/ddist-update-passing-address-doc
dnsdist: Hopefully make the "passing the source address" documentation better
Otto Moerbeek [Thu, 6 Jun 2024 11:45:23 +0000 (13:45 +0200)]
rec: document vm.max_map_count can be too low
Remi Gacogne [Thu, 6 Jun 2024 11:43:23 +0000 (13:43 +0200)]
Merge pull request #14270 from rgacogne/ddist-fix-tcp-worker-error-message
dnsdist: Fix 'Error creating TCP worker' error message
Peter van Dijk [Thu, 6 Jun 2024 11:08:23 +0000 (13:08 +0200)]
Merge pull request #14218 from ns-sjorgedeaguiar/webserver-timeout
auth web: make request/response timeout configurable
romeroalx [Thu, 6 Jun 2024 10:12:53 +0000 (12:12 +0200)]
gh actions - misc-dailies: set python-version 3.11 for docs
Ensar Sarajčić [Thu, 6 Jun 2024 09:49:57 +0000 (11:49 +0200)]
Add braces for if statements in ignorelist parsing for readability
Ensar Sarajčić [Thu, 6 Jun 2024 08:51:26 +0000 (10:51 +0200)]
Handle exceptions when reading domains from file ignorelist
Otto Moerbeek [Thu, 6 Jun 2024 08:27:50 +0000 (10:27 +0200)]
Merge pull request #14285 from omoerbeek/rec-prep-5.1.0-beta1
rec: prep for rec-5.1.0-beta1
Remi Gacogne [Thu, 6 Jun 2024 07:53:50 +0000 (09:53 +0200)]
dnsdist: Apply Charles-Henri's suggestion to the Proxy Protocol documentation
Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
Remi Gacogne [Thu, 6 Jun 2024 07:53:44 +0000 (09:53 +0200)]
dnsdist: Apply Charles-Henri's suggestion to the Proxy Protocol documentation
Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
Ensar Sarajčić [Thu, 6 Jun 2024 07:42:19 +0000 (09:42 +0200)]
Reduce nesting in UDR check
Ensar Sarajčić [Thu, 6 Jun 2024 07:42:11 +0000 (09:42 +0200)]
Reduce nesting in NOD check
Remi Gacogne [Thu, 6 Jun 2024 07:36:15 +0000 (09:36 +0200)]
Merge pull request #14235 from rgacogne/ddist-dnscrypt-init
dnsdist: Initialize DNSCrypt structures
Remi Gacogne [Thu, 6 Jun 2024 07:35:59 +0000 (09:35 +0200)]
Merge pull request #14236 from rgacogne/ddist-fix-use-after-move-dynblock
dnsdist: Fix a user-after-move in the dynamic rules SMT code
Remi Gacogne [Thu, 6 Jun 2024 07:35:30 +0000 (09:35 +0200)]
Merge pull request #14255 from rgacogne/ddist-add-proxy-protocol-values-from-ffi
dnsdist: Add a Lua FFI function to set proxy protocol values
Ensar Sarajčić [Thu, 6 Jun 2024 07:31:14 +0000 (09:31 +0200)]
Remove comment functionality from ignore list file
This is done to keep the file as simple as possible.
Ensar Sarajčić [Thu, 6 Jun 2024 07:30:24 +0000 (09:30 +0200)]
Update doc for file ignore list variants
Ensar Sarajčić [Thu, 6 Jun 2024 07:16:39 +0000 (09:16 +0200)]
Remove `oldname` from new settings
Ensar Sarajčić [Thu, 6 Jun 2024 06:58:12 +0000 (08:58 +0200)]
Remove unnecessary trims from ignore list file parsing
Ensar Sarajčić [Thu, 6 Jun 2024 06:50:31 +0000 (08:50 +0200)]
Update error on bad file name for ignorelist
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Ensar Sarajčić [Wed, 5 Jun 2024 13:16:53 +0000 (15:16 +0200)]
Add file option for new domain ignore list
Otto Moerbeek [Wed, 5 Jun 2024 11:02:34 +0000 (13:02 +0200)]
rec: prep for rec-5.1.0-beta1
Otto Moerbeek [Wed, 5 Jun 2024 11:55:54 +0000 (13:55 +0200)]
Merge pull request #14284 from omoerbeek/gh-build-pkg-title
Provide a more descriptive title for builds and leave out redundant "build"
Otto Moerbeek [Wed, 5 Jun 2024 11:22:44 +0000 (13:22 +0200)]
Provide a more descriptive title for builds and leave out redundant "build"
Ensar Sarajčić [Wed, 5 Jun 2024 10:35:01 +0000 (12:35 +0200)]
Remove wrong description from UDR related settings
Otto Moerbeek [Wed, 5 Jun 2024 08:50:29 +0000 (10:50 +0200)]
Merge pull request #14271 from omoerbeek/rec-prep-5.0.6
Prep for rec-5.0.6
Otto Moerbeek [Mon, 3 Jun 2024 12:07:30 +0000 (14:07 +0200)]
Prep for rec-5.0.6
Remi Gacogne [Tue, 4 Jun 2024 14:28:31 +0000 (16:28 +0200)]
dnsdist: Edit the systemd unit file, `CAP_BPF` is no longer enough
We used to be able to use only `CAP_BPF` since kernel 5.8, but the
eBPF verifier has been made more strict a few versions later and we
now require `CAP_SYS_ADMIN` again.
Remi Gacogne [Tue, 4 Jun 2024 14:24:13 +0000 (16:24 +0200)]
dnsdist: Document that eBPF socket filtering requires `CAP_SYS_ADMIN`
We used to be able to use only `CAP_BPF` since kernel 5.8, but the
eBPF verifier has been made more strict a few versions later and we
now require `CAP_SYS_ADMIN` again.
Peter van Dijk [Tue, 4 Jun 2024 14:21:09 +0000 (16:21 +0200)]
Merge pull request #14243 from leonshaw/fix/remote-http-rrset
remotebackend: Fix http request of replaceRRSet
Fred Morcos [Tue, 4 Jun 2024 12:57:11 +0000 (14:57 +0200)]
Merge pull request #14278 from fredmorcos/auth-meson-fix-compiler-no-auto-var-init
Auth/meson: Don't fail if compiler doesn't support `trivial-auto-var-init`
Fred Morcos [Tue, 4 Jun 2024 11:42:53 +0000 (13:42 +0200)]
Auth/meson: Don't fail if compiler doesn't support trivial-auto-var-init
Peter van Dijk [Tue, 4 Jun 2024 11:35:25 +0000 (13:35 +0200)]
auth geoipbackend meson: link C++ fs lib if needed
Peter van Dijk [Tue, 4 Jun 2024 11:16:02 +0000 (13:16 +0200)]
Merge pull request #14241 from romeroalx/arm64-builds-ubicloud
GH actions: modify workflows builder and build-packages to build also arm64 packages
Peter van Dijk [Tue, 4 Jun 2024 11:01:36 +0000 (13:01 +0200)]
auth geoipbackend: link C++ filesystem lib if necessary
romeroalx [Tue, 4 Jun 2024 09:16:18 +0000 (11:16 +0200)]
remove centos-8 and centos-8-stream as build targets
romeroalx [Tue, 21 May 2024 14:33:15 +0000 (16:33 +0200)]
gh actions: build-packages.yml - add arm64 builds running on ubicloud
romeroalx [Tue, 30 Apr 2024 05:59:14 +0000 (07:59 +0200)]
gh actions: builder.yml - add arm64 builds running on ubicloud
romeroalx [Tue, 21 May 2024 15:10:45 +0000 (17:10 +0200)]
dnsdist.spec: skip libxdp-devel for rhel8-aarch64
romeroalx [Thu, 23 May 2024 14:03:11 +0000 (16:03 +0200)]
let docker decide the arch of images. remove amd64/arm64 symlinks
romeroalx [Thu, 23 May 2024 13:30:03 +0000 (15:30 +0200)]
gh actions: build-packages.yml - use normalized product name to store attestations
romeroalx [Thu, 23 May 2024 13:19:21 +0000 (15:19 +0200)]
gh actions: remove pkg json from srchashes in build-packages.yml
romeroalx [Wed, 22 May 2024 03:40:34 +0000 (05:40 +0200)]
gh actions: build-packages and builder on ubuntu-22 runners
Remi Gacogne [Tue, 4 Jun 2024 07:22:55 +0000 (09:22 +0200)]
Merge pull request #14272 from romeroalx/fix-docs-scm
GH Actions - docs: upgrade to python3.11
romeroalx [Mon, 3 Jun 2024 16:52:53 +0000 (18:52 +0200)]
gh actions - codeql: use python3.11 for building products