]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 17 Jul 2023 10:19:11 +0000 (12:19 +0200)]
auth: Fix 'exceptions not caught' warnings from Coverity
Remi Gacogne [Mon, 17 Jul 2023 10:18:10 +0000 (12:18 +0200)]
auth: Apply Coverity's suggestion to prevent copies in loops w/ auto
Remi Gacogne [Mon, 17 Jul 2023 10:17:38 +0000 (12:17 +0200)]
auth: Apply Coverity's suggestions to initialize field members
Remi Gacogne [Mon, 17 Jul 2023 10:16:47 +0000 (12:16 +0200)]
auth: Apply Coverity's suggestions to move objects whenever possible
Remi Gacogne [Mon, 17 Jul 2023 08:14:25 +0000 (10:14 +0200)]
Merge pull request #13036 from Habbie/dnsdist-changelog-indent
dnsdist changelog: fix indentation of this line
Remi Gacogne [Mon, 17 Jul 2023 08:08:06 +0000 (10:08 +0200)]
Merge pull request #13026 from rgacogne/dnsheader-bitfield-uint16
dnsheader: Switch from bitfield to uint16_t whenever possible
Peter van Dijk [Mon, 17 Jul 2023 07:03:23 +0000 (09:03 +0200)]
dnsdist changelog: fix indentation of this line
Peter van Dijk [Mon, 17 Jul 2023 06:55:47 +0000 (08:55 +0200)]
Merge pull request #13034 from Call-Me-G-Now/patch-2
Update recursor changelog
Peter van Dijk [Mon, 17 Jul 2023 06:55:00 +0000 (08:55 +0200)]
Merge pull request #13033 from Call-Me-G-Now/patch-1
update changelog
Call-Me-G-Now [Sun, 16 Jul 2023 19:58:55 +0000 (21:58 +0200)]
Update changelog
Naming inconsistencies pdns-auth <> pdns-rec docs
- Release Notes <> Release Guide
- upgrading.html <> upgrade.html
Call-Me-G-Now [Sun, 16 Jul 2023 19:54:07 +0000 (21:54 +0200)]
Update changelog
Call-Me-G-Now [Sun, 16 Jul 2023 19:17:50 +0000 (21:17 +0200)]
cleanup
Call-Me-G-Now [Sun, 16 Jul 2023 19:12:33 +0000 (21:12 +0200)]
update changelog
Peter van Dijk [Thu, 13 Jul 2023 23:19:09 +0000 (01:19 +0200)]
Merge pull request #13029 from kovacs-andras/master
wait for mysql.service
Andras Kovacs [Thu, 13 Jul 2023 20:44:02 +0000 (22:44 +0200)]
wait for mysql.service
Remi Gacogne [Thu, 13 Jul 2023 08:42:55 +0000 (10:42 +0200)]
dnsheader: Switch from bitfield to uint16_t whenever possible
Otto Moerbeek [Wed, 12 Jul 2023 14:26:36 +0000 (16:26 +0200)]
Merge pull request #13022 from omoerbeek/rec-fix-arc4random-linking
rec: libarc4random should be linked even if libsodium is not used
Otto Moerbeek [Wed, 12 Jul 2023 13:43:55 +0000 (15:43 +0200)]
rec: libarc4random should be linked even if libsodium is not used
Remi Gacogne [Tue, 11 Jul 2023 08:59:43 +0000 (10:59 +0200)]
Merge pull request #13009 from rgacogne/ddist-heathcheck-metrics
dnsdist: Add metrics for health-check failures
Remi Gacogne [Tue, 11 Jul 2023 08:15:51 +0000 (10:15 +0200)]
dnsdist: Add a couple comments in the health-check timeout handling code
Remi Gacogne [Mon, 10 Jul 2023 11:50:57 +0000 (13:50 +0200)]
dnsdist: Add metrics for health-check failures
Otto Moerbeek [Mon, 10 Jul 2023 08:56:04 +0000 (10:56 +0200)]
Merge pull request #12938 from omoerbeek/auth-coverty-time_t
auth: Fix coverity time_t related warnings
Otto Moerbeek [Mon, 10 Jul 2023 08:55:48 +0000 (10:55 +0200)]
Merge pull request #12912 from omoerbeek/rec-nose-to-pytest
rec: Upgrade regression tests to use pytest instead of nose
Otto Moerbeek [Mon, 10 Jul 2023 08:55:06 +0000 (10:55 +0200)]
Merge pull request #12805 from hlindqvist/clarify-log-aa-not-set
Clarify log message for NODATA/NXDOMAIN without AA
Remi Gacogne [Mon, 10 Jul 2023 08:48:40 +0000 (10:48 +0200)]
Merge pull request #12976 from rgacogne/ddist-fix-doh-xforwardedfor-maxtcpconnperclient
dnsdist: Fix a crash when X-Forwarded-For overrides the initial source IP
Remi Gacogne [Mon, 10 Jul 2023 08:47:20 +0000 (10:47 +0200)]
Merge pull request #12974 from rgacogne/ddist-coverity-394511
dnsdist: Fix "Pointer to local outside storage" reported by Coverity
Otto Moerbeek [Fri, 7 Jul 2023 13:50:17 +0000 (15:50 +0200)]
Merge pull request #13001 from omoerbeek/arc4random-build-fix2
Fix build part2: include chacha_private.h and explicit_bzero.c
Peter van Dijk [Fri, 7 Jul 2023 12:52:28 +0000 (14:52 +0200)]
Merge pull request #13002 from Habbie/auth-4.8.1-docs-secpoll
auth 4.8.1: docs & secpoll
Peter van Dijk [Fri, 7 Jul 2023 12:32:33 +0000 (14:32 +0200)]
auth 4.8.1: docs & secpoll
Otto Moerbeek [Fri, 7 Jul 2023 12:03:33 +0000 (14:03 +0200)]
Use PDNS_CHECK_SECURE_MEMSET, as suggested by @rcagogne
Otto Moerbeek [Fri, 7 Jul 2023 10:49:24 +0000 (12:49 +0200)]
Also include explcit_bzero(), which is needed when using older glibc
Otto Moerbeek [Fri, 7 Jul 2023 10:02:14 +0000 (12:02 +0200)]
Fix build: put chacha_private.h into _SOURCES
Also fix redundant declaration warnings
Followup to #12999
Otto Moerbeek [Fri, 7 Jul 2023 09:51:55 +0000 (11:51 +0200)]
Merge pull request #12999 from omoerbeek/arc4random-build-fix
Fix build: put arc4random.hh into _SOURCES
Otto Moerbeek [Fri, 7 Jul 2023 09:04:23 +0000 (11:04 +0200)]
Fix build: put arc4random.hh into _SOURCES
Also a tiny bit of cleanup
Otto Moerbeek [Fri, 7 Jul 2023 06:14:26 +0000 (08:14 +0200)]
Merge pull request #12931 from omoerbeek/use-arc4random
Use arc4random only for random values
Peter van Dijk [Thu, 6 Jul 2023 14:59:26 +0000 (16:59 +0200)]
Merge pull request #12985 from Habbie/lmdb-check-index
auth lmdb: add backend commands for checking & refreshing indexes
Peter van Dijk [Thu, 6 Jul 2023 14:58:46 +0000 (16:58 +0200)]
Merge pull request #12990 from Habbie/lmdb-dup-delete-rwtx
auth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list
Otto Moerbeek [Tue, 20 Jun 2023 14:57:21 +0000 (16:57 +0200)]
delint waitFor2Data
Otto Moerbeek [Tue, 20 Jun 2023 14:47:35 +0000 (16:47 +0200)]
Remove commented out code, add #pragma once
Otto Moerbeek [Tue, 20 Jun 2023 14:31:27 +0000 (16:31 +0200)]
Build libarc4random in CodeQL target for dnsdist
Otto Moerbeek [Tue, 20 Jun 2023 13:29:03 +0000 (15:29 +0200)]
Fix dependency for remote backend test code
Otto Moerbeek [Tue, 20 Jun 2023 11:46:50 +0000 (13:46 +0200)]
Fuzzing target needs arc4random as well
Otto Moerbeek [Tue, 20 Jun 2023 11:11:07 +0000 (13:11 +0200)]
Fix configure syntax
Otto Moerbeek [Tue, 20 Jun 2023 10:56:23 +0000 (12:56 +0200)]
Zap reference to dns_random_urandom.cc
Otto Moerbeek [Tue, 20 Jun 2023 10:52:41 +0000 (12:52 +0200)]
Format
Otto Moerbeek [Tue, 20 Jun 2023 10:50:36 +0000 (12:50 +0200)]
Stop using random(), only place left is in dnsdist-random.cc as a fallback
Otto Moerbeek [Tue, 20 Jun 2023 10:01:54 +0000 (12:01 +0200)]
Tweaks for macOS
Otto Moerbeek [Tue, 20 Jun 2023 09:19:42 +0000 (11:19 +0200)]
Start buildina and using arc4random
Otto Moerbeek [Tue, 20 Jun 2023 09:17:00 +0000 (11:17 +0200)]
Port of the openss-poratble arc4random code to our build environment
Otto Moerbeek [Tue, 20 Jun 2023 08:02:52 +0000 (10:02 +0200)]
Initial needed files from openssh-portable
Peter van Dijk [Thu, 6 Jul 2023 13:09:07 +0000 (15:09 +0200)]
auth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list
Peter van Dijk [Thu, 6 Jul 2023 10:28:22 +0000 (12:28 +0200)]
auth lmdb: add index refresh-all backend command
Peter van Dijk [Tue, 4 Jul 2023 18:25:09 +0000 (20:25 +0200)]
auth lmdb: add 'index check domains' and 'index refresh domains <ID>' backend-cmds
Remi Gacogne [Tue, 4 Jul 2023 14:40:29 +0000 (16:40 +0200)]
Merge pull request #12776 from jacobbunk/tsig-qtype
Make DNSQType.TSIG available in dnsdist
Remi Gacogne [Mon, 3 Jul 2023 18:08:36 +0000 (20:08 +0200)]
auth: Simplify the SQL upgrade condition
Remi Gacogne [Mon, 3 Jul 2023 18:03:54 +0000 (20:03 +0200)]
dnsdist: Make clang-tidy happy
We will have to come back if ComboAddress ever becomes heavier, but
hey.
Remi Gacogne [Mon, 3 Jul 2023 17:59:57 +0000 (19:59 +0200)]
Merge pull request #12979 from rgacogne/build-package-workflow-permissions
builder-dispatch: Explicitly grant permissions to the build package workflow
Remi Gacogne [Mon, 3 Jul 2023 13:28:21 +0000 (15:28 +0200)]
builder-dispatch: Explicitly grant id-token: write to the build package workflow
Remi Gacogne [Mon, 3 Jul 2023 12:06:05 +0000 (14:06 +0200)]
dnsdist: Fix a crash when X-Forwarded-For overrides the initial source IP
When both the processing of X-Forwarded-For DNS-over-https headers
(`trustForwardedForHeader=true`) and a maximum number of concurrent
TCP connections per client (`setMaxTCPConnectionsPerClient()`) are
enabled, dnsdist could crash because of an uncaught exception:
```
dnsdist[X]: terminate called after throwing an instance of 'std::runtime_error'
dnsdist[X]: what(): DOH thread failed to launch: map::at
```
This was caused by the TCP connection being first accounted for with the
initial source IP (from the upstream HTTP proxy) but later released using
the IP extracted from the X-Forwarded-For header, leading to an unexpected
failure to locate the corresponding entry in the map.
We might not actually want to enforce the maximum number of concurrent
TCP connections per client when X-Forwarded-For processing is enabled,
though, because we usually want to rate limit the actual client and
not the HTTP proxy, but X-Forwarded-For being set per HTTP query, instead
of per-connection, makes that pretty much impossible at our level since
the same connection from the HTTP proxy can be reused for several clients.
The proxy protocol would be a better option to enforce that limit.
Remi Gacogne [Mon, 3 Jul 2023 11:38:25 +0000 (13:38 +0200)]
Merge pull request #12955 from rgacogne/ddist-fix-doc-codeblocks
dnsdist: Fix the rendering of some Lua configuration examples
Remi Gacogne [Mon, 3 Jul 2023 11:29:53 +0000 (13:29 +0200)]
Merge pull request #12970 from rgacogne/fix-build-provenance
build-packages: Fix the package buikding workflow
Remi Gacogne [Fri, 12 May 2023 10:53:00 +0000 (12:53 +0200)]
Clarify which types are supported, implemented, meta, etc
Remi Gacogne [Mon, 3 Jul 2023 08:38:26 +0000 (10:38 +0200)]
Merge pull request #12851 from cunha/docker-debian-version
Update base Debian version in Docker docs
Remi Gacogne [Mon, 3 Jul 2023 08:38:09 +0000 (10:38 +0200)]
Merge pull request #12854 from ghoshbishakh/patch-1
Documentation fix in HTTP API - zone.rst
Remi Gacogne [Mon, 3 Jul 2023 08:31:48 +0000 (10:31 +0200)]
Merge pull request #12954 from Habbie/generate-repo-files-error-crash
generate-repo-files: don't crash when the process errors
Remi Gacogne [Fri, 30 Jun 2023 16:16:03 +0000 (18:16 +0200)]
dnsdist: Fix "Pointer to local outside storage" reported by Coverity
We use a temporary `std::string` for a very short tile after it is no
longer required to exist when adding a new custom metric.
Reported by Coverity as CID 394511.
Remi Gacogne [Fri, 30 Jun 2023 15:33:45 +0000 (17:33 +0200)]
Merge pull request #12973 from jacobbunk/statnode-document-trailing-dot
Document the trailing '.' in StatNode.fullname
Jacob Bunk Nielsen [Fri, 30 Jun 2023 13:41:40 +0000 (15:41 +0200)]
Document the trailing '.' in StatNode.fullname
Remi Gacogne [Fri, 30 Jun 2023 13:23:00 +0000 (15:23 +0200)]
Merge pull request #12971 from jacobbunk/fix-statnodestats-doc
Document the StatNodeStats.hits attribute.
Jacob Bunk Nielsen [Fri, 30 Jun 2023 13:22:16 +0000 (15:22 +0200)]
Update pdns/dnsdistdist/docs/reference/config.rst
Co-authored-by: Remi Gacogne <github@coredump.fr>
Jacob Bunk Nielsen [Fri, 30 Jun 2023 11:28:34 +0000 (13:28 +0200)]
Document the StatNodeStats.hits attribute.
Otto Moerbeek [Fri, 30 Jun 2023 09:58:43 +0000 (11:58 +0200)]
Merge pull request #12969 from omoerbeek/rec-prep-49
Prep for rec-4.9.0
Remi Gacogne [Fri, 30 Jun 2023 07:55:35 +0000 (09:55 +0200)]
build-tags: Fix product names
Remi Gacogne [Fri, 30 Jun 2023 07:55:08 +0000 (09:55 +0200)]
build-packages: Normalize 'recursor' to 'pdns-recursor'
Otto Moerbeek [Thu, 29 Jun 2023 12:41:52 +0000 (14:41 +0200)]
Prep for rec-4.9.0
Otto Moerbeek [Thu, 29 Jun 2023 13:12:55 +0000 (15:12 +0200)]
Merge pull request #12917 from omoerbeek/delint-pdns-recursor
rec: Delint pdns recursor.cc
Otto Moerbeek [Thu, 29 Jun 2023 12:50:24 +0000 (14:50 +0200)]
Merge pull request #12963 from omoerbeek/rec-step4-iter2
rec: fix qname length getting out-of-sync with qname-minimization iteration count (approach 2)
Peter van Dijk [Thu, 29 Jun 2023 12:02:39 +0000 (14:02 +0200)]
Merge pull request #12964 from Habbie/cov-on-22.04
coverity: bump to ubuntu 22.04
Peter van Dijk [Thu, 29 Jun 2023 12:02:23 +0000 (14:02 +0200)]
Merge pull request #12877 from Habbie/sdist-alpine-3.18
bump sdist builders to alpine 3.18
Peter van Dijk [Thu, 29 Jun 2023 11:22:00 +0000 (13:22 +0200)]
Merge pull request #12965 from Habbie/provenance-centos-7
workaround: recognise centos-7 target name too in provenance generation
Otto Moerbeek [Thu, 29 Jun 2023 10:52:32 +0000 (12:52 +0200)]
Take one suggestion form review. The others keep on producing clang-tidy
issues.
Otto Moerbeek [Wed, 14 Jun 2023 07:56:56 +0000 (09:56 +0200)]
Reformat
Otto Moerbeek [Wed, 17 May 2023 13:36:44 +0000 (15:36 +0200)]
Delint pdns_recursor.cc
Otto Moerbeek [Thu, 29 Jun 2023 07:31:46 +0000 (09:31 +0200)]
rec: fix qname length getting out-of-sync with qname-minimization iteration count
Approach two: fall back to non-QM mode if loop detected
Fixes #12956
Peter van Dijk [Thu, 29 Jun 2023 10:26:05 +0000 (12:26 +0200)]
workaround: recognise centos-7 target name too in provenance generation
Peter van Dijk [Thu, 29 Jun 2023 07:09:22 +0000 (09:09 +0200)]
coverity: bump to ubuntu 22.04
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 16:09:09 +0000 (18:09 +0200)]
dnsdist: Fix the rendering of some Lua configuration examples
Peter van Dijk [Tue, 27 Jun 2023 15:16:15 +0000 (17:16 +0200)]
generate-repo-files: don't crash when the process errors
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