]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Thu, 29 Jun 2023 10:26:05 +0000 (12:26 +0200)]
workaround: recognise centos-7 target name too in provenance generation
Remi Gacogne [Wed, 28 Jun 2023 15:33:47 +0000 (17:33 +0200)]
Merge pull request #12961 from rgacogne/doing-red-hat-job-myself
Work around RHEL8 pooping the bed in OpenSSL's headers
Remi Gacogne [Wed, 28 Jun 2023 13:23:35 +0000 (15:23 +0200)]
Work around Red Hat 8 pooping the bed in OpenSSL's headers
The openssl/kdf.h header on EL8 is invalid because someone backported
a work-in-progress feature to an older OpenSSL branch and did not
bother to backport the fixes that were added later.
Red Hat declined to fix their mess and helpfully suggested we do the
work instead in https://bugzilla.redhat.com/show_bug.cgi?id=
2215856
Remi Gacogne [Wed, 28 Jun 2023 12:40:22 +0000 (14:40 +0200)]
Merge pull request #12921 from rgacogne/ddist-declare-custom-metrics-at-runtime
dnsdist: Allow declaring custom metrics at runtime
Remi Gacogne [Wed, 28 Jun 2023 08:58:56 +0000 (10:58 +0200)]
Merge pull request #12556 from rgacogne/generate-provenance
Builder-dispatch: Generate provenance for built artifacts
Otto Moerbeek [Wed, 28 Jun 2023 05:49:11 +0000 (07:49 +0200)]
Merge pull request #12957 from dwfreed/patch-1
rec: include qname when logging skip of step 4 of qname minimization
Doug Freed [Wed, 28 Jun 2023 05:13:51 +0000 (00:13 -0500)]
rec: include qname when logging skip of step 4 of qname minimization
Remi Gacogne [Tue, 27 Jun 2023 14:55:42 +0000 (16:55 +0200)]
Warn about the duplicated content in builder-dispatch and build-packages
Remi Gacogne [Tue, 27 Jun 2023 12:38:50 +0000 (14:38 +0200)]
build-packages: Upload the provenance artifacts to downloads.powerdns.com
Otto Moerbeek [Tue, 27 Jun 2023 14:41:30 +0000 (16:41 +0200)]
Merge pull request #12952 from omoerbeek/rec-coverity-moves-part1
rec: fix a set of move optimizations, as suggested by coverity
Remi Gacogne [Tue, 27 Jun 2023 14:18:39 +0000 (16:18 +0200)]
dnsdist: Fix a typo spotted by Otto in the docs
Remi Gacogne [Tue, 27 Jun 2023 14:18:04 +0000 (16:18 +0200)]
dnsdist: Fix the initial value of the custom gauge in our tests
Thanks Otto!
Remi Gacogne [Fri, 16 Jun 2023 14:55:37 +0000 (16:55 +0200)]
dnsdist: Apply clang-tidy's suggestions
Remi Gacogne [Fri, 16 Jun 2023 13:12:57 +0000 (15:12 +0200)]
dnsdist: Fix formatting in dnsdist-metrics.{cc,hh}
Remi Gacogne [Fri, 16 Jun 2023 13:00:07 +0000 (15:00 +0200)]
dnsdist: Move metrics to dnsdist-metrics.{cc,hh}
This makes it possible to get more parts of the code out of the
dnsdist.hh header, which ideally should go.
Remi Gacogne [Fri, 16 Jun 2023 11:39:16 +0000 (13:39 +0200)]
dnsdist: Implement a FFI method to declare a new custom metric
Remi Gacogne [Thu, 15 Jun 2023 12:17:03 +0000 (14:17 +0200)]
dnsdist: Allow declaring custom metrics at runtime
Also fixes a bug in the prometheus HELP and TYPE messages for custom
metrics with labels, and adds a method to increment a counter by more
than one.
Peter van Dijk [Tue, 27 Jun 2023 13:24:52 +0000 (15:24 +0200)]
Merge pull request #10776 from Habbie/python-requirement-hashes
docs: generate requirements.txt with package hashes
Peter van Dijk [Tue, 27 Jun 2023 11:37:52 +0000 (13:37 +0200)]
auth docs: generate requirements.txt with package hashes
Peter van Dijk [Tue, 27 Jun 2023 11:49:55 +0000 (13:49 +0200)]
update docs builder workflow to ubuntu 22.04, get invoke from apt
Remi Gacogne [Thu, 4 May 2023 12:40:45 +0000 (14:40 +0200)]
builder-dispatch: Use the build-packages workflow
Remi Gacogne [Tue, 28 Mar 2023 12:13:58 +0000 (14:13 +0200)]
Add a workflow to build packages when a tag is pushed
Remi Gacogne [Tue, 27 Jun 2023 11:46:35 +0000 (13:46 +0200)]
builder-dispatch: Update the list of OS for pkghashes
Remi Gacogne [Wed, 22 Feb 2023 10:24:17 +0000 (11:24 +0100)]
builder-dispatch: Refactoring to get provenance for all targets
Also include the list of installed packages during our package builds
Remi Gacogne [Thu, 16 Feb 2023 10:26:42 +0000 (11:26 +0100)]
Builder-dispatch: Generate provenance for built artifacts
Otto Moerbeek [Tue, 27 Jun 2023 09:20:52 +0000 (11:20 +0200)]
Merge pull request #12951 from omoerbeek/rec-docs-imbalance
rec: give advice on a typical dnsdist-recursor setup with the new defauls
Otto Moerbeek [Tue, 27 Jun 2023 09:08:20 +0000 (11:08 +0200)]
rec: fix a set of move optimizations, as suggested by coverity
Otto Moerbeek [Tue, 27 Jun 2023 08:22:55 +0000 (10:22 +0200)]
rec: give advice on a typical dnsdist-recursor setup with the new defaults
Remi Gacogne [Tue, 27 Jun 2023 07:24:19 +0000 (09:24 +0200)]
Merge pull request #12943 from rgacogne/ddist-coverity-perf-suggestions
dnsdist: Apply performance suggestions from Coverity
Remi Gacogne [Tue, 27 Jun 2023 07:23:24 +0000 (09:23 +0200)]
Merge pull request #12941 from Habbie/dnsdist-libeditr
dnsdist: fix typo
Remi Gacogne [Mon, 26 Jun 2023 09:29:46 +0000 (11:29 +0200)]
Merge pull request #12948 from rgacogne/ddist-async-channel
dnsdist: Implement the AsynchronousHolder with the new channel feature
Fred Morcos [Mon, 26 Jun 2023 09:29:13 +0000 (11:29 +0200)]
Merge pull request #12945 from fredmorcos/clang-tidy-ci-fixes
Fix issue with clang-tidy and module source files
Remi Gacogne [Mon, 26 Jun 2023 09:25:14 +0000 (11:25 +0200)]
Merge pull request #12950 from rgacogne/ddist-fix-setRandomizedOutgoingSockets
dnsdist: Fix setRandomizedOutgoingSockets not showing up in the search
Remi Gacogne [Mon, 26 Jun 2023 08:36:11 +0000 (10:36 +0200)]
dnsdist: Fix setRandomizedOutgoingSockets not showing up in the search
Also add a link to it from newServer's 'sockets' parameter, which is
related.
Remi Gacogne [Fri, 23 Jun 2023 14:18:56 +0000 (16:18 +0200)]
dnsdist: Delint dnsdist-async.{cc,hh}
Remi Gacogne [Fri, 23 Jun 2023 13:01:05 +0000 (15:01 +0200)]
dnsdist: Implement the AsynchronousHolder with the new channel feature
Fred Morcos [Thu, 22 Jun 2023 12:39:06 +0000 (14:39 +0200)]
Fix clang-tidy-diff not finding module and ext files
Fred Morcos [Wed, 21 Jun 2023 11:06:39 +0000 (13:06 +0200)]
Print a message when clang-tidy fails
Remi Gacogne [Thu, 22 Jun 2023 11:41:35 +0000 (13:41 +0200)]
Merge pull request #12944 from rgacogne/test-dnsname-warning
test-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’"
Remi Gacogne [Thu, 22 Jun 2023 10:07:29 +0000 (12:07 +0200)]
Merge pull request #12942 from rgacogne/channel-coverity-leak
channel: Add an annotation so Coverity does not think we leak
Remi Gacogne [Thu, 22 Jun 2023 10:05:00 +0000 (12:05 +0200)]
test-dnsname: Fix "unnecessary parentheses in declaration of ‘name5’"
Remi Gacogne [Thu, 22 Jun 2023 09:58:18 +0000 (11:58 +0200)]
dnsdist: Apply performance suggestions from Coverity
I don't expect these changes to actually make a difference in practice,
because pretty much all of them impact configuration processing, where
performance is not that critical. Still they should not hurt and a few
of them might actually improve some edge cases.
Remi Gacogne [Thu, 22 Jun 2023 09:09:44 +0000 (11:09 +0200)]
channel: Add an annotation so Coverity does not think we leak
Peter van Dijk [Thu, 22 Jun 2023 08:50:13 +0000 (10:50 +0200)]
dnsdist: fix typo
Remi Gacogne [Thu, 22 Jun 2023 08:02:35 +0000 (10:02 +0200)]
Merge pull request #12939 from Habbie/dnsdist-missing-file
dnsdist: add dnsdist-lua-inspection-ffi.h to dist tarballs
Peter van Dijk [Thu, 22 Jun 2023 07:18:56 +0000 (09:18 +0200)]
dnsdist: add dnsdist-lua-inspection-ffi.h to dist tarballs
Remi Gacogne [Wed, 21 Jun 2023 14:03:09 +0000 (16:03 +0200)]
Merge pull request #12935 from rgacogne/fix-crypto-detection-deprecated
Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL
Otto Moerbeek [Wed, 21 Jun 2023 13:23:47 +0000 (15:23 +0200)]
Merge pull request #12934 from omoerbeek/rec-coverity1462719
rec: Silence Coverity
1462719 Unchecked return value from library.
Remi Gacogne [Wed, 21 Jun 2023 12:58:15 +0000 (14:58 +0200)]
Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL
And move to BN_new() instead, which has been present since at least
0.9.6 and is still in 3.1.
Otto Moerbeek [Wed, 21 Jun 2023 12:26:41 +0000 (14:26 +0200)]
Merge pull request #12933 from omoerbeek/rec-followp-to-12893
rec: Followup to #12893: Rewrite and fix verifyOne() loop
Otto Moerbeek [Wed, 21 Jun 2023 12:25:03 +0000 (14:25 +0200)]
rec: Silence Coverity
1462719 Unchecked return value from library.
Call should not fail and it's a best effort anyway in this case
Otto Moerbeek [Wed, 21 Jun 2023 11:17:01 +0000 (13:17 +0200)]
Typo inc omment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Wed, 21 Jun 2023 08:43:26 +0000 (10:43 +0200)]
Followup to #12893: Rewrite and fix verifyOne() loop
Previous version could return true if the first iteration succeeded, but
the second one threw. Spotted by pt01 on IRC.
Remi Gacogne [Wed, 21 Jun 2023 08:16:29 +0000 (10:16 +0200)]
Merge pull request #11427 from rgacogne/ddist-channels
dnsdist: Implement Channels for communication between threads
Remi Gacogne [Wed, 21 Jun 2023 08:15:22 +0000 (10:15 +0200)]
Merge pull request #12923 from rgacogne/ddist-auto-include-ffi-inspection
dnsdist: Automatically load Lua FFI inspection functions
Remi Gacogne [Tue, 20 Jun 2023 16:47:36 +0000 (18:47 +0200)]
channel: Rename 'fd' to 'descriptor'
Peter van Dijk [Tue, 20 Jun 2023 16:10:16 +0000 (18:10 +0200)]
Merge pull request #11510 from klaus-nicat/ignore-axfr-expand-alias-errors
new option 'ignore-errors' for setting 'outgoing-axfr-expand-alias'
Remi Gacogne [Tue, 20 Jun 2023 15:05:36 +0000 (17:05 +0200)]
Merge pull request #12924 from rgacogne/ddist-luaffi-rawtag-test
dnsdist: Add a regression test for the Lua FFI raw tag interface
Remi Gacogne [Tue, 20 Jun 2023 15:05:26 +0000 (17:05 +0200)]
Merge pull request #12925 from rgacogne/ddist-pp-doc
dnsdist: Clarify the proxy protocol documentation
Chris Hofstaedtler [Wed, 7 Jun 2023 12:08:28 +0000 (14:08 +0200)]
auth: ignore readability-function-cognitive-complexity for doAXFR for now
Chris Hofstaedtler [Mon, 5 Jun 2023 20:51:59 +0000 (22:51 +0200)]
auth: docs: warn more clearly about setting-outgoing-axfr-expand-alias=ignore-errors
Chris Hofstaedtler [Mon, 5 Jun 2023 20:38:34 +0000 (22:38 +0200)]
auth: add startup warning about outgoing-axfr-expand-alias=ignore-errors
Otto Moerbeek [Tue, 20 Jun 2023 14:21:36 +0000 (16:21 +0200)]
Merge pull request #12928 from omoerbeek/rec-fix-daemonize
rec: fix daemonize(), followup to #12836
Otto Moerbeek [Tue, 20 Jun 2023 14:08:35 +0000 (16:08 +0200)]
Merge pull request #12930 from omoerbeek/fix-unused-warnings
Fix compile warnings
Otto Moerbeek [Tue, 20 Jun 2023 12:56:29 +0000 (14:56 +0200)]
Fix typos in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Tue, 20 Jun 2023 11:55:11 +0000 (13:55 +0200)]
Avoid main() throwing an exception
Otto Moerbeek [Tue, 20 Jun 2023 07:24:50 +0000 (09:24 +0200)]
Fix unused warnings coming from our own code.
Some third party warning remain, mostly coming from boost.
Otto Moerbeek [Tue, 20 Jun 2023 07:22:01 +0000 (09:22 +0200)]
Merge pull request #12929 from ddmler/patch-1
Fix wrong rfc number in docs for ZONEMD record
Enrico Höschler [Tue, 20 Jun 2023 07:15:05 +0000 (09:15 +0200)]
Fix wrong rfc number for zonemd record
Otto Moerbeek [Tue, 20 Jun 2023 07:01:21 +0000 (09:01 +0200)]
rec: fix daemonize(), followup to #12836
Originally the code did not distinguish between parent return and error.
Otto Moerbeek [Tue, 20 Jun 2023 05:30:09 +0000 (07:30 +0200)]
Merge pull request #12927 from omoerbeek/rec-zonetocache-local
rec: fix documentation of zoneToCache localAddress attribute
Otto Moerbeek [Tue, 20 Jun 2023 05:29:53 +0000 (07:29 +0200)]
Merge pull request #12913 from omoerbeek/dns_random
dns random: add method to get full 32-bits of randomness
Otto Moerbeek [Mon, 19 Jun 2023 11:19:22 +0000 (13:19 +0200)]
rec: fix documentation of zoneToCache localAddress attribute
Fixes #12919
Remi Gacogne [Mon, 19 Jun 2023 10:12:43 +0000 (12:12 +0200)]
Merge pull request #12911 from rgacogne/ddist-increment-dyn-blocked-ebpf
dnsdist: Increment the "dyn blocked" counter for eBPF blocks as well
Otto Moerbeek [Mon, 19 Jun 2023 09:33:02 +0000 (11:33 +0200)]
Convert a couple of calls from dns_random() to dns_random_uint32()
Otto Moerbeek [Mon, 19 Jun 2023 09:23:05 +0000 (11:23 +0200)]
Don't close the urandom file descriptor
Remi Gacogne [Fri, 16 Jun 2023 13:35:53 +0000 (15:35 +0200)]
dnsdist: Clarify the proxy protocol documentation
- A proxy protocol payload is actually required from incoming clients
configured with setProxyProtocolACL, not just allowed.
- setProxyProtocolApplyACLToProxiedClients was wrongly documented as
setProxyProtocolApplyACL
Remi Gacogne [Fri, 16 Jun 2023 08:14:21 +0000 (10:14 +0200)]
dnsdist: Add a regression test for the Lua FFI raw tag interface
Remi Gacogne [Fri, 16 Jun 2023 07:46:16 +0000 (09:46 +0200)]
dnsdist: Automatically load Lua FFI inspection functions
We used to do that for all Lua FFI functions except the ones used
for inspecting StatNode objects.
Remi Gacogne [Thu, 15 Jun 2023 13:51:43 +0000 (15:51 +0200)]
Merge pull request #12783 from rgacogne/ddist-fix-pool-cache-metrics
dnsdist: Fix cache hit and miss metrics with DoH queries
Peter van Dijk [Thu, 15 Jun 2023 08:46:29 +0000 (10:46 +0200)]
Merge pull request #12918 from omoerbeek/rec-prep-4.9.0-rc1
rec: Prep for rec-4.9.0-rc1
Remi Gacogne [Wed, 14 Jun 2023 10:33:09 +0000 (12:33 +0200)]
Merge pull request #12916 from Houtworm/master
edited webserver config template for dnsdist docker container.
Otto Moerbeek [Tue, 13 Jun 2023 08:30:39 +0000 (10:30 +0200)]
Prep for rec-4.9.0-rc1
Houtworm [Wed, 14 Jun 2023 08:09:15 +0000 (10:09 +0200)]
Update dockerdata/startup.py
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto Moerbeek [Wed, 14 Jun 2023 06:55:48 +0000 (08:55 +0200)]
delint
djonker [Tue, 13 Jun 2023 22:34:09 +0000 (00:34 +0200)]
fixed the webserver config line?
Otto Moerbeek [Tue, 13 Jun 2023 11:02:36 +0000 (13:02 +0200)]
Fix loops
Remi Gacogne [Tue, 13 Jun 2023 12:08:56 +0000 (14:08 +0200)]
dnsdist: Increment the "dyn blocked" counter for eBPF blocks as well
Regular, userspace blocks increment the "dyn blocked" counter for every
dropped query. The eBPF blocks are executed in kernelspace and thus do
not increment that counter at all, which makes it challenging for
reporting to do its job. On the other hand we want our eBPF code to
be as efficient as possible since it is used when performance really
matters.
This commit updates the counter when a eBPF dynamic block is removed,
which is a compromise between the performance impact and a slight
reporting delay.
Remi Gacogne [Tue, 13 Jun 2023 11:16:41 +0000 (13:16 +0200)]
Merge pull request #12811 from rgacogne/ddist-health-check-better-messages
dnsdist: Add the query ID to health-check log messages, fix nits
Otto Moerbeek [Tue, 13 Jun 2023 10:58:12 +0000 (12:58 +0200)]
Actually start testing this on !gcc and refactor
Otto Moerbeek [Tue, 13 Jun 2023 09:17:45 +0000 (11:17 +0200)]
Add basic test for dns_random_uint32
Otto Moerbeek [Tue, 13 Jun 2023 09:08:50 +0000 (11:08 +0200)]
Introduce dns_random_uint32()
To be used when a full 32 bits of randomness are needed, also avoiding
the modulo dance
Otto Moerbeek [Tue, 13 Jun 2023 09:02:59 +0000 (11:02 +0200)]
Replace boost lexical casts, including the header produces a lot of warnings on some platforms for some time
We now produce a string runtime, but since the to_string() call should never be executed, it does not matter.
Otto Moerbeek [Tue, 13 Jun 2023 08:58:49 +0000 (10:58 +0200)]
delint
Otto Moerbeek [Tue, 13 Jun 2023 08:49:45 +0000 (10:49 +0200)]
Reformat
Otto Moerbeek [Tue, 13 Jun 2023 10:50:33 +0000 (12:50 +0200)]
Merge pull request #12909 from omoerbeek/fix-speedtest
Fix build of speedtest and make sure it gets built automatically to avoid bitrot
Otto Moerbeek [Tue, 13 Jun 2023 09:55:39 +0000 (11:55 +0200)]
Add GGS_LIB to speedtest link if needed
Otto Moerbeek [Tue, 13 Jun 2023 09:35:20 +0000 (11:35 +0200)]
Fix build of speedtest and make sure it gets built automatically to avoid bitrot
Remi Gacogne [Tue, 13 Jun 2023 08:52:33 +0000 (10:52 +0200)]
channel: Fix clang-tidy warnings
Remi Gacogne [Tue, 13 Jun 2023 08:48:20 +0000 (10:48 +0200)]
Merge pull request #12804 from rgacogne/ddist-health-check-resize-response
dnsdist: Properly set the size of the UDP health-check response