]>
git.ipfire.org Git - thirdparty/pdns.git/log
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 20:34:28 +0000 (22:34 +0200)]
Update changelog
Call-Me-G-Now [Sun, 16 Jul 2023 20:28:21 +0000 (22:28 +0200)]
Update changelog
Call-Me-G-Now [Sun, 16 Jul 2023 20:13:44 +0000 (22:13 +0200)]
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
Seth Arnold [Sat, 15 Jul 2023 01:21:01 +0000 (01:21 +0000)]
Update settings.rst -- clarify edns-subnet-allow-list
Try to reduce confusion about what the edns-subnet-allow-list setting does and doesn't affect.
Jacob Bunk Nielsen [Fri, 14 Jul 2023 12:14:20 +0000 (14:14 +0200)]
Document that qsize-q will never give meaningful metrics with a single receiver thread.
Jacob Bunk Nielsen [Fri, 14 Jul 2023 12:13:49 +0000 (14:13 +0200)]
Document queue-limit in performance.rst as promised.
settings.rst tells the reader to also see performance.rst regarding
queue-limit but there's nothing there, until now.
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
Aki Tuomi [Thu, 4 May 2023 19:36:18 +0000 (22:36 +0300)]
pkcs11signers: Add braces
Satisfies clang-tidy
Aki Tuomi [Sun, 16 Apr 2023 18:09:29 +0000 (21:09 +0300)]
pkcs11signers: Support CKA_ALWAYS_AUTHENTICATE
If private key has this flag, relogin with CKU_CONTEXT_SPECIFIC
before sign/verify operation.
Aki Tuomi [Thu, 13 Jul 2023 06:51:45 +0000 (09:51 +0300)]
pkcs11signers: Use emplace_back for attributes
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 [Wed, 12 Jul 2023 09:29:32 +0000 (11:29 +0200)]
calidns: Fix two clang-tidy warnings
Remi Gacogne [Wed, 12 Jul 2023 08:37:29 +0000 (10:37 +0200)]
calidns: Prevent a crash on an empty domains file
calidns could have crashed with a null pointer derefence if the main
thread exits before the receiver thread has finished, because the vector
of sockets no longer existed.
Josh Soref [Tue, 11 Jul 2023 15:01:07 +0000 (11:01 -0400)]
Report auth settings deprecated in 4.5
Remi Gacogne [Fri, 7 Jul 2023 08:30:21 +0000 (10:30 +0200)]
build-packages: Fix provenance generation for the source tarball
Remi Gacogne [Tue, 11 Jul 2023 12:18:52 +0000 (14:18 +0200)]
dnsdist: Add Lua bindings to access selector and actions
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
Jelle Kaufmann [Sun, 9 Jul 2023 05:04:12 +0000 (07:04 +0200)]
Fix incorrect optsize
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
Kees Monshouwer [Thu, 6 Jul 2023 08:02:34 +0000 (10:02 +0200)]
auth: docs, catalog zone is now RFC 9432
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
Peter van Dijk [Mon, 3 Jul 2023 18:51:12 +0000 (20:51 +0200)]
add debian-trixie to daily build test
Peter van Dijk [Mon, 3 Jul 2023 16:01:01 +0000 (18:01 +0200)]
builder: add debian-trixie target
Peter van Dijk [Mon, 3 Jul 2023 16:00:40 +0000 (18:00 +0200)]
debian auth packaging: use sdig for smoke tests
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