]>
git.ipfire.org Git - thirdparty/pdns.git/log
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
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
Peter van Dijk [Thu, 14 Mar 2024 15:40:59 +0000 (16:40 +0100)]
auth-4.9.0: docs&secpoll
Peter van Dijk [Thu, 14 Mar 2024 14:01:44 +0000 (15:01 +0100)]
.dockerignore: adjust for https://github.com/docker/buildx/issues/850
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
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
Remi Gacogne [Mon, 26 Feb 2024 16:07:22 +0000 (17:07 +0100)]
dnsdist: Fix exponential backoff computation in edge cases
Remi Gacogne [Mon, 26 Feb 2024 12:03:58 +0000 (13:03 +0100)]
dnsdist: Properly handle a failure of the first lazy health-check
Remi Gacogne [Tue, 12 Mar 2024 14:16:19 +0000 (15:16 +0100)]
dnsdist: Add a regression test for IPv6 console connections
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.
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
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
Otto Moerbeek [Wed, 13 Mar 2024 10:05:28 +0000 (11:05 +0100)]
Explicit cast to do multiply in 64-bit
Peter van Dijk [Wed, 13 Mar 2024 09:08:57 +0000 (10:08 +0100)]
fix formatting
Peter van Dijk [Wed, 13 Mar 2024 09:07:53 +0000 (10:07 +0100)]
secpoll & docs for dnsdist 1.9.1
Otto Moerbeek [Mon, 11 Mar 2024 09:18:59 +0000 (10:18 +0100)]
Reformat
Otto Moerbeek [Mon, 11 Mar 2024 09:18:15 +0000 (10:18 +0100)]
Avoid label and goto in loop
Otto Moerbeek [Mon, 11 Mar 2024 09:05:44 +0000 (10:05 +0100)]
Make a few fields (d_gettag and friends and handle) private
Otto Moerbeek [Thu, 7 Mar 2024 15:56:05 +0000 (16:56 +0100)]
rec: Tidy lua-recursor4.cc and lua-recursor4.hh
Otto Moerbeek [Tue, 12 Mar 2024 11:41:28 +0000 (12:41 +0100)]
rec: fix Coverity
1534473 Unintended sign extension
Otto Moerbeek [Wed, 13 Mar 2024 07:42:47 +0000 (08:42 +0100)]
Merge pull request #13909 from omoerbeek/dnsdist-quiche-0.20.1
dnsdist: update to quiche 0.20.1
Otto Moerbeek [Wed, 13 Mar 2024 06:59:54 +0000 (07:59 +0100)]
dnsdist: update to quiche 0.20.1
Peter van Dijk [Tue, 12 Mar 2024 18:27:31 +0000 (19:27 +0100)]
Merge pull request #13907 from romeroalx/wo-runner-issue-9491
gh actions: Fix CI - `issue 9491` on repository `actions/runner-images`
romeroalx [Tue, 12 Mar 2024 16:24:31 +0000 (17:24 +0100)]
gh actions: wo issue 9491 - actions/runner-images
Otto Moerbeek [Tue, 12 Mar 2024 11:49:07 +0000 (12:49 +0100)]
Merge pull request #13877 from rgacogne/remove-harvestCSPFromRecs
validate: Remove unused `harvestCSPFromRecs()`
Peter van Dijk [Tue, 12 Mar 2024 09:56:59 +0000 (10:56 +0100)]
Merge pull request #13879 from Habbie/auth-lua-filterforward-empty
auth LUA: support returning empty set in filterForward
Peter van Dijk [Mon, 11 Mar 2024 11:39:36 +0000 (12:39 +0100)]
simplify return type usage
Peter van Dijk [Mon, 11 Mar 2024 11:13:38 +0000 (12:13 +0100)]
Merge pull request #13860 from Habbie/auth-lua-dblookup-qtype
auth LUA dblookup: switch qtype argument to int
Peter van Dijk [Mon, 11 Mar 2024 11:13:11 +0000 (12:13 +0100)]
Merge pull request #13873 from Habbie/auth-49-debian-postinst
auth debian: adjust option name in shipped postinst
Peter van Dijk [Mon, 11 Mar 2024 10:33:28 +0000 (11:33 +0100)]
Merge pull request #13205 from mind04/auth-catalog-group
auth: catalog, include groups in hash calculation
Peter van Dijk [Fri, 8 Mar 2024 13:51:55 +0000 (14:51 +0100)]
auth LUA: support returning empty set in filterForward
fixes #12436
Peter van Dijk [Fri, 8 Mar 2024 15:59:34 +0000 (16:59 +0100)]
fix NUL string literal
Peter van Dijk [Fri, 8 Mar 2024 15:55:09 +0000 (16:55 +0100)]
Merge pull request #13841 from mind04/auth-include-ns
auth: do not disable ns records at apex in consumer zones
Remi Gacogne [Fri, 8 Mar 2024 12:01:03 +0000 (13:01 +0100)]
dnsdist: Fix clang-tidy warnings
Remi Gacogne [Fri, 8 Mar 2024 10:34:17 +0000 (11:34 +0100)]
validate: Remove unused harvestCSPFromRecs()
Remi Gacogne [Thu, 7 Mar 2024 16:08:33 +0000 (17:08 +0100)]
dnsdist: Simplify the handling of rule chains
This PR creates a list of response rule chains so we can deal with
them using a loop instead of having to take care of them one by one.
It makes the code easier to read and reduces the likelihood of introducing
a bug when implementing a new chain.
Remi Gacogne [Fri, 8 Mar 2024 08:07:52 +0000 (09:07 +0100)]
Merge pull request #13871 from rgacogne/ddist-move-files-3
dnsdist: Move dnsdist specific files to `dnsdistdist`, format and delint them
Remi Gacogne [Thu, 7 Mar 2024 16:16:57 +0000 (17:16 +0100)]
dnsdist: Return the correct TLS provider for DoQ and DoH3 frontends
Remi Gacogne [Thu, 7 Mar 2024 13:39:29 +0000 (14:39 +0100)]
dnsdist: Remove dangling sodcrypto.cc and sodcrypto.hh symbolic links
Remi Gacogne [Thu, 7 Mar 2024 13:39:10 +0000 (14:39 +0100)]
dnsdist: Move dnsdistconf.lua to dnsdistdist/
Remi Gacogne [Wed, 6 Mar 2024 15:49:30 +0000 (16:49 +0100)]
dnsdist: Delint dnsdist-protobuf.cc
Remi Gacogne [Wed, 6 Mar 2024 15:47:07 +0000 (16:47 +0100)]
dnsdist: Delint dnsdist.cc
Peter van Dijk [Thu, 7 Mar 2024 13:57:07 +0000 (14:57 +0100)]
Merge pull request #13867 from omoerbeek/auth-nb-send-obsd
auth: on OpenBSD, try harder to send on a non-blocking socket
Kees Monshouwer [Sat, 2 Sep 2023 13:21:53 +0000 (15:21 +0200)]
auth: catalog, include groups in hash calculation
Peter van Dijk [Thu, 7 Mar 2024 12:50:45 +0000 (13:50 +0100)]
Merge pull request #13814 from wwijkander/wwijkander-patch-remote-doc
Update remote.rst to reflect that getAllDomains might be mandatory
Peter van Dijk [Thu, 7 Mar 2024 12:15:37 +0000 (13:15 +0100)]
auth debian: adjust option name in shipped postinst
Otto Moerbeek [Thu, 7 Mar 2024 11:36:03 +0000 (12:36 +0100)]
Merge pull request #13866 from omoerbeek/rec-ztc-wildcard
rec: Don't enter wildcard qnames into the cache in the ZoneToCache function
Otto Moerbeek [Thu, 7 Mar 2024 11:35:50 +0000 (12:35 +0100)]
Merge pull request #13864 from omoerbeek/frmstrm-v6
Support v6 in FrameStreamLogger, including tidy
Otto Moerbeek [Thu, 7 Mar 2024 11:10:45 +0000 (12:10 +0100)]
Merge pull request #13870 from omoerbeek/rec-prep-
20240307
rec: prep for 5.0.3, 4.9.4 and 4.8.7
Remi Gacogne [Wed, 6 Mar 2024 15:46:29 +0000 (16:46 +0100)]
dnsdist: Delint dnsdist-xpf.cc
Remi Gacogne [Wed, 6 Mar 2024 14:09:07 +0000 (15:09 +0100)]
dnsdist: Delint dnsdist-web.cc
Remi Gacogne [Wed, 6 Mar 2024 11:33:34 +0000 (12:33 +0100)]
dnsdist: Delint dnsdist-ecs.cc
Otto Moerbeek [Wed, 6 Mar 2024 14:19:22 +0000 (15:19 +0100)]
auth: on OpenBSD, try harder to send on a non-blocking socket
Should fix #13857 in many cases, though you can still argue this
is a OpenBSD bug (or at least an undesirable difference between other
systems and OpenBSD).
Otto Moerbeek [Wed, 6 Mar 2024 13:11:16 +0000 (14:11 +0100)]
rec: prep for 5.0.3, 4.9.4 and 4.8.7
Otto Moerbeek [Wed, 6 Mar 2024 12:29:57 +0000 (13:29 +0100)]
Move #define to static const string
Otto Moerbeek [Wed, 6 Mar 2024 12:23:33 +0000 (13:23 +0100)]
Merge pull request #13865 from omoerbeek/tidy-const-or-ref-field-in-class
common: less strict clang-tidy: allow const and/or ref fields in classes
Otto Moerbeek [Wed, 6 Mar 2024 12:22:02 +0000 (13:22 +0100)]
rec: Don't enter wildcard qname's into the cache in the ZoneToCache function
Otto Moerbeek [Wed, 6 Mar 2024 11:47:20 +0000 (12:47 +0100)]
less strict cling-tidy: allow const and/or ref fields in classes
Otto Moerbeek [Wed, 6 Mar 2024 11:40:36 +0000 (12:40 +0100)]
tidy
Otto Moerbeek [Wed, 6 Mar 2024 11:23:31 +0000 (12:23 +0100)]
Merge pull request #13861 from omoerbeek/rec-rpzloader-tidy
rec: tidy rpzloader.cc and .hh
Remi Gacogne [Wed, 6 Mar 2024 11:09:41 +0000 (12:09 +0100)]
dnsdist: Fix formatting issues
Remi Gacogne [Tue, 5 Mar 2024 09:51:19 +0000 (10:51 +0100)]
dnsdist: Delint dnsdist-lua-vars.cc
Remi Gacogne [Tue, 5 Mar 2024 09:50:35 +0000 (10:50 +0100)]
dnsdist: Delint dnsdist-protocols.cc
Remi Gacogne [Tue, 5 Mar 2024 09:47:49 +0000 (10:47 +0100)]
dnsdist: Delint dnsdist-lua.cc and dnsdist-snmp.cc
Remi Gacogne [Tue, 5 Mar 2024 09:46:27 +0000 (10:46 +0100)]
dnsdist: Fix formatting in dnsdist-lua-bindings-dnsquestion.cc
Remi Gacogne [Tue, 5 Mar 2024 08:10:38 +0000 (09:10 +0100)]
dnsdist: Delint dnsdist-rings.cc
Remi Gacogne [Mon, 4 Mar 2024 16:38:44 +0000 (17:38 +0100)]
dnsdist: Delint dnsdist-lua-inspection.cc