]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Wed, 2 Aug 2023 12:35:32 +0000 (14:35 +0200)]
auth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged
(cherry picked from commit
e0e59b3868b4caf7a2e4f93e6d8a802b8d83eccd )
Peter van Dijk [Thu, 6 Jul 2023 16:27:26 +0000 (18:27 +0200)]
Merge pull request #12996 from Habbie/backport-12990-to-auth-4.8.x
auth 4.8.x lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list
Peter van Dijk [Thu, 6 Jul 2023 16:19:03 +0000 (18:19 +0200)]
Merge pull request #12997 from Habbie/backport-12985-to-auth-4.8.x
auth 4.8 lmdb: add backend commands for checking & refreshing indexes
Peter van Dijk [Thu, 6 Jul 2023 16:18:48 +0000 (18:18 +0200)]
Merge pull request #12993 from Habbie/backport-12935-to-auth-4.8.x
auth-4.8.x: Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL
Peter van Dijk [Thu, 6 Jul 2023 15:06:10 +0000 (17:06 +0200)]
Merge pull request #12992 from Habbie/backport-12892-to-auth-4.8.x
auth-4.8: YaHTTP: Prevent integer overflow on very large chunks
Peter van Dijk [Thu, 6 Jul 2023 15:05:38 +0000 (17:05 +0200)]
Merge pull request #12991 from Habbie/backport-12961-to-auth-4.8.x
auth-4.8.x: Work around Red Hat 8 pooping the bed in OpenSSL's headers
Peter van Dijk [Thu, 6 Jul 2023 10:28:22 +0000 (12:28 +0200)]
auth lmdb: add index refresh-all backend command
(cherry picked from commit
a451e81e890c91833d8f0c66488f488647ed51b6 )
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
(cherry picked from commit
d250e94f22407e2c8a08853229c8030382c75581 )
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
(cherry picked from commit
3a99c00de710001bf28b940578ddc8d92272b28a )
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.
(cherry picked from commit
9fcef4932c9323b085984f8a087045fef70103f5 )
Remi Gacogne [Wed, 8 Mar 2023 17:25:30 +0000 (18:25 +0100)]
YaHTTP: Prevent integer overflow on very large chunks
If the chunk_size is very close to the maximum value of an integer,
we trigger an integer overflow when checking if we have a trailing
newline after the payload.
Reported by OSS-Fuzz as:
https://oss-fuzz.com/testcase-detail/
6439610474692608
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56804
(cherry picked from commit
b602982fc5b4fb9139dec591541e0c070ceb47f5 )
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
(cherry picked from commit
3dabf2d4a1a478fb00a232259e8043f075eb4d03 )
Peter van Dijk [Tue, 13 Jun 2023 07:08:28 +0000 (09:08 +0200)]
Merge pull request #12878 from Habbie/auth-4.8.x-partial-12792
auth-4.8: Don't fail when there are no warnings produced by clang-tidy
Fred Morcos [Mon, 8 May 2023 12:30:48 +0000 (14:30 +0200)]
Don't fail when there are no warnings produced by clang-tidy
Peter van Dijk [Wed, 31 May 2023 21:57:54 +0000 (23:57 +0200)]
Merge pull request #12869 from Habbie/backport-12860-to-auth-4.8.x
auth-4.8.x: do not answer with broken TYPE0 data when expanding an ENT wildcard
Peter van Dijk [Wed, 31 May 2023 21:57:25 +0000 (23:57 +0200)]
Merge pull request #12872 from Habbie/backport-12866-to-auth-4.8.x
auth-4.8.x: lmdb: delete duplicate domain entries in deleteDomain
Peter van Dijk [Wed, 31 May 2023 21:56:14 +0000 (23:56 +0200)]
Merge pull request #12868 from Habbie/backport-12859-to-auth-4.8.x
auth-4.8.x: pdnsutil: if user pushes unknown key in response to "problem with zone" prompt, do not throw away their changes
Peter van Dijk [Wed, 31 May 2023 08:33:56 +0000 (10:33 +0200)]
document shards=1 enforcement
(cherry picked from commit
80ad487a185430a2f2878734018fc77803ec3d96 )
Peter van Dijk [Wed, 31 May 2023 08:33:48 +0000 (10:33 +0200)]
Peter van Dijk [Wed, 31 May 2023 08:25:12 +0000 (10:25 +0200)]
Peter van Dijk [Wed, 31 May 2023 07:34:02 +0000 (09:34 +0200)]
use d_transactiondomain[id]
(cherry picked from commit
2f2cafa93d85e54e8a60b5a118e0c57aec80822f )
Peter van Dijk [Wed, 31 May 2023 07:27:48 +0000 (09:27 +0200)]
Update modules/lmdbbackend/lmdbbackend.cc
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
76eac3db390d121786d6f3da43e174ff2ebc31f3 )
Peter van Dijk [Wed, 31 May 2023 07:25:26 +0000 (09:25 +0200)]
only throw when idvec is empty
(cherry picked from commit
53fdfae2c0e0aff70bb6ab5a834cffff084fbf7c )
Peter van Dijk [Tue, 30 May 2023 16:50:47 +0000 (18:50 +0200)]
auth lmdb: enforce shards=1 when running in lightning-stream mode
(cherry picked from commit
38eb2496bacf10df57569d937f6de85b59592c4a )
Peter van Dijk [Tue, 30 May 2023 15:03:47 +0000 (17:03 +0200)]
auth lmdb: delete duplicate domain entries in deleteDomain
(cherry picked from commit
b2d1d86ad632f48fd4ae7dffa26f3eac05a8dce2 )
Peter van Dijk [Sun, 28 May 2023 20:39:33 +0000 (22:39 +0200)]
pdnsutil: if user pushes unknown key in response to "problem with zone" prompt, do not throw away their changes
(cherry picked from commit
1ad0d42532e4934290bcf251f9e9865cc4519f01 )
Peter van Dijk [Sun, 28 May 2023 21:05:35 +0000 (23:05 +0200)]
auth: do not answer with broken TYPE0 data when expanding an ENT wildcard
(cherry picked from commit
e6d4f36b935567256ddcb01a9539bc784a3b814e )
Peter van Dijk [Wed, 31 May 2023 21:06:12 +0000 (23:06 +0200)]
Merge pull request #12871 from Habbie/backport-12818-to-auth-4.8.x
auth-4.8.x: clang-tidy: Increase the cognitive complexity threshold to 75
Remi Gacogne [Mon, 15 May 2023 08:57:53 +0000 (10:57 +0200)]
clang-tidy: Increase the cognitive complexity threshold to 75
The current level of 50 is too low for a function like
'handleQueuedHealthChecks' which is quite simple.
(cherry picked from commit
1463e0417a11bb97017662d7e4adf2abac846d19 )
Peter van Dijk [Wed, 31 May 2023 12:10:53 +0000 (14:10 +0200)]
Merge pull request #12828 from Habbie/backport-12780-to-auth-4.8.x
auth-4.8: add setting workaround-11804-max-chunk-records #12780
Peter van Dijk [Wed, 31 May 2023 12:09:44 +0000 (14:09 +0200)]
Merge pull request #12827 from Habbie/backport-12683-to-auth-4.8.x
auth-4.8.x: remove ubuntu bionic target
Peter van Dijk [Wed, 31 May 2023 12:09:13 +0000 (14:09 +0200)]
Merge pull request #12826 from Habbie/auth-4.8-ci-cleanup
auth-4.8.x: clean up CI jobs for this branch
Chris Hofstaedtler [Fri, 12 May 2023 20:37:13 +0000 (22:37 +0200)]
Apply changes for doc nits
(cherry picked from commit
f5d4cf70dd112cc26c01f097d10984098375d69a )
Chris Hofstaedtler [Wed, 26 Apr 2023 13:52:25 +0000 (15:52 +0200)]
auth: add setting workaround-11804
Workaround for https://github.com/PowerDNS/pdns/issues/11804. Defaults to no,
implying the previously hard-coded value of 100.
(cherry picked from commit
3af419da4c52fe7f9ba19f78b0349cc5eda9e1f2 )
Peter van Dijk [Fri, 24 Mar 2023 10:12:18 +0000 (11:12 +0100)]
switch builder docs target to ubuntu jammy
(cherry picked from commit
37285a568a91542909394013d7619d4b9f17b512 )
Peter van Dijk [Fri, 24 Mar 2023 09:40:28 +0000 (10:40 +0100)]
remove ubuntu bionic target, as 18.04 will EOL soon
(cherry picked from commit
17b4faeecdb345b104c641f56461ccc24364041a )
Peter van Dijk [Mon, 15 May 2023 14:26:58 +0000 (16:26 +0200)]
auth-4.8.x: clean up CI jobs for this branch
Remi Gacogne [Fri, 5 May 2023 12:34:04 +0000 (14:34 +0200)]
Merge pull request #12788 from rgacogne/clang-tidy-increase-code-complexity-threshold
clang-tidy: Increase the code complexity threshold to 50 for now
Remi Gacogne [Fri, 5 May 2023 09:08:48 +0000 (11:08 +0200)]
clang-tidy: Lower the code complexity threshold to 50
Let's see how it goes.
Remi Gacogne [Thu, 4 May 2023 14:38:53 +0000 (16:38 +0200)]
clang-tidy: Increase the code complexity threshold to 100 for now
Remi Gacogne [Thu, 4 May 2023 12:16:12 +0000 (14:16 +0200)]
Merge pull request #12786 from rgacogne/ci-separate-failure-tidy
ci: Add a separate check for clang-tidy failure
Peter van Dijk [Thu, 4 May 2023 11:20:14 +0000 (13:20 +0200)]
Merge pull request #12787 from Habbie/auth-4.8.0-beta1-secpoll-serial
bump secpoll serial, adjust release date
Peter van Dijk [Thu, 4 May 2023 10:07:20 +0000 (12:07 +0200)]
bump secpoll serial, adjust release date
Remi Gacogne [Thu, 4 May 2023 08:32:09 +0000 (10:32 +0200)]
ci: Add a separate check for clang-tidy failure
This way the tests are still run even if clang-tidy reported a
warning, instead of stopping everything.
Peter van Dijk [Thu, 4 May 2023 09:53:56 +0000 (11:53 +0200)]
Merge pull request #12781 from Habbie/auth-4.8.0-beta1-docs
auth-4.8.0-beta1: secpoll&docs
Otto Moerbeek [Wed, 3 May 2023 12:51:10 +0000 (14:51 +0200)]
Merge pull request #12748 from omoerbeek/rec-ws-total-unused
rec: warning: variable 'total' set but not used
Otto Moerbeek [Wed, 3 May 2023 12:50:18 +0000 (14:50 +0200)]
Merge pull request #12739 from omoerbeek/rec-lwres-uninited-len
rec: Fix uninited var causing wrong `bytes` field reported in protobuf log in rare cases
Otto Moerbeek [Wed, 3 May 2023 12:36:55 +0000 (14:36 +0200)]
Merge pull request #12782 from omoerbeek/dsdist-api-test-timeout
dnsdist: github runners can be *very* slow wrt I/O, use a more generous timeout in tests
Otto Moerbeek [Wed, 3 May 2023 12:11:20 +0000 (14:11 +0200)]
Init len earlier, as suggested by rgacogne
Remi Gacogne [Wed, 3 May 2023 12:00:27 +0000 (14:00 +0200)]
Merge pull request #12737 from nbakker/patch-1
Some webserver parameters were removed with 1.8.0
Otto Moerbeek [Wed, 3 May 2023 11:32:18 +0000 (13:32 +0200)]
github runners can be *very* slow wrt I/O, use a more generous timeout in tests
This issue seems to be more prominent when using a TSAN enabled dnsdist.
Peter van Dijk [Wed, 3 May 2023 10:19:47 +0000 (12:19 +0200)]
auth-4.8.0-beta1: secpoll&docs
Fred Morcos [Wed, 3 May 2023 09:22:39 +0000 (11:22 +0200)]
Merge pull request #12765 from fredmorcos/clang-tidy-prs
Run `clang-tidy` on auth, rec and dnsdist when opening PRs
Remi Gacogne [Wed, 3 May 2023 08:47:30 +0000 (10:47 +0200)]
Merge pull request #12690 from rgacogne/ddist-statnode-docs
dnsdist: Fix the documentation of the `StatNode` object
Peter van Dijk [Wed, 3 May 2023 08:44:08 +0000 (10:44 +0200)]
Merge pull request #12729 from Habbie/lmdb-ls-dup-domain
auth LMDB: handle duplicate domain existence consistently
Peter van Dijk [Wed, 3 May 2023 08:41:16 +0000 (10:41 +0200)]
Merge pull request #12768 from chbruyand/ixfrdist-max-soa-refresh
ixfrdist: add a per domain max-soa-refresh option
Peter van Dijk [Wed, 3 May 2023 08:39:13 +0000 (10:39 +0200)]
Merge pull request #12636 from Habbie/lmdb-comments
auth lmdb: handle lack of support for RRset comments better
Remi Gacogne [Wed, 3 May 2023 07:59:50 +0000 (09:59 +0200)]
Merge pull request #12738 from paddg/patch-12
Undo an accidentally change (disableZeroScope -> disableZeroScoping)
Peter van Dijk [Tue, 2 May 2023 13:25:05 +0000 (15:25 +0200)]
getCatalogMembers: bubble up full return false
Fred Morcos [Tue, 2 May 2023 13:17:56 +0000 (15:17 +0200)]
Document the process to disable specific clang-tidy lints
Fred Morcos [Tue, 2 May 2023 13:17:51 +0000 (15:17 +0200)]
Improve clang-format documentation
Fred Morcos [Tue, 2 May 2023 12:41:17 +0000 (14:41 +0200)]
Ignore macros when calculating cognitive complexity of functions
Peter van Dijk [Tue, 2 May 2023 12:16:44 +0000 (14:16 +0200)]
move assignment outside of condition
Peter van Dijk [Tue, 2 May 2023 12:13:16 +0000 (14:13 +0200)]
add comments
Peter van Dijk [Tue, 2 May 2023 12:02:33 +0000 (14:02 +0200)]
simplify oldestts checking, optimise hot path for non-LS users
Peter van Dijk [Tue, 2 May 2023 11:09:15 +0000 (13:09 +0200)]
move transaction opening outside of both if branches
Peter van Dijk [Tue, 2 May 2023 11:04:58 +0000 (13:04 +0200)]
simplify dup check
Peter van Dijk [Tue, 2 May 2023 11:04:49 +0000 (13:04 +0200)]
drop unused const
Otto Moerbeek [Mon, 1 May 2023 08:37:08 +0000 (10:37 +0200)]
Merge pull request #12766 from phonedph1/patch-37
dnsdist: Update config.rst
Otto Moerbeek [Fri, 14 Apr 2023 08:48:05 +0000 (10:48 +0200)]
rec: warning: variable 'total' set but not used [-Wunused-but-set-variable]
Otto Moerbeek [Mon, 1 May 2023 06:08:19 +0000 (08:08 +0200)]
Merge pull request #12770 from neilcook/patch-2
Make Additionals documentation more accurate
Peter van Dijk [Fri, 28 Apr 2023 12:44:08 +0000 (14:44 +0200)]
format
Peter van Dijk [Fri, 28 Apr 2023 12:43:08 +0000 (14:43 +0200)]
remove debug print
Peter van Dijk [Fri, 28 Apr 2023 12:37:22 +0000 (14:37 +0200)]
filter duplicate domain entries
Peter van Dijk [Fri, 28 Apr 2023 12:18:15 +0000 (14:18 +0200)]
move handle_dups flag to lmdbbackend
Peter van Dijk [Fri, 28 Apr 2023 12:15:11 +0000 (14:15 +0200)]
lmdb-typed: teach get() to optionally fetch just the oldest entry
Peter van Dijk [Fri, 28 Apr 2023 11:52:42 +0000 (13:52 +0200)]
add comment
Peter van Dijk [Thu, 6 Apr 2023 12:25:50 +0000 (14:25 +0200)]
lmdb: add interface to get timestamp from LS header
Peter van Dijk [Thu, 6 Apr 2023 10:19:59 +0000 (12:19 +0200)]
lmdb indexops: avoid updating timestamp when there is no change
Peter van Dijk [Fri, 28 Apr 2023 11:50:11 +0000 (13:50 +0200)]
fix warnings
Peter van Dijk [Fri, 28 Apr 2023 11:42:52 +0000 (13:42 +0200)]
add missing defaults to doc
Peter van Dijk [Fri, 28 Apr 2023 11:40:27 +0000 (13:40 +0200)]
add lmdb-lightning-stream option
Peter van Dijk [Wed, 26 Apr 2023 17:05:21 +0000 (19:05 +0200)]
refactor getCatalogMembers
Peter van Dijk [Wed, 26 Apr 2023 14:07:30 +0000 (16:07 +0200)]
refactor getUpdatedMasters
Peter van Dijk [Wed, 26 Apr 2023 12:24:01 +0000 (14:24 +0200)]
refactor getUnfreshSlaveInfos
Peter van Dijk [Wed, 26 Apr 2023 12:06:11 +0000 (14:06 +0200)]
move loop into getAllDomainsFiltered
Neil Cook [Mon, 24 Apr 2023 15:25:28 +0000 (16:25 +0100)]
Make Additionals documentation more accurate
Charles-Henri Bruyand [Mon, 24 Apr 2023 14:13:35 +0000 (16:13 +0200)]
ixfrdist: add a per domain max-soa-refresh option to optionaly cap the refresh interval
phonedph1 [Sat, 22 Apr 2023 00:20:06 +0000 (18:20 -0600)]
Update config.rst
Fred Morcos [Thu, 20 Apr 2023 20:31:54 +0000 (22:31 +0200)]
Filter file diffs that are not in the current project
Fred Morcos [Thu, 16 Mar 2023 13:16:36 +0000 (14:16 +0100)]
Delete old clang-tidy workflow
Fred Morcos [Thu, 16 Mar 2023 13:16:23 +0000 (14:16 +0100)]
Move clang-tidy-dnsdist to build-and-test-all workflow
Fred Morcos [Thu, 16 Mar 2023 13:16:10 +0000 (14:16 +0100)]
Move clang-tidy-rec to build-and-test-all workflow
Fred Morcos [Wed, 15 Mar 2023 13:26:28 +0000 (14:26 +0100)]
Move clang-tidy-auth to build-and-test-all workflow
Fred Morcos [Tue, 14 Mar 2023 11:28:17 +0000 (12:28 +0100)]
Github action to run clang-tidy on dnsdist PRs
Fred Morcos [Mon, 13 Mar 2023 12:53:20 +0000 (13:53 +0100)]
Github action to run clang-tidy on rec PRs
Fred Morcos [Tue, 28 Feb 2023 14:49:40 +0000 (15:49 +0100)]
Github action to run clang-tidy on auth PRs
Peter van Dijk [Fri, 21 Apr 2023 11:49:20 +0000 (13:49 +0200)]
Merge pull request #12764 from fredmorcos/ci-fixes-cleanups
Ci fixes and cleanups
Fred Morcos [Fri, 21 Apr 2023 08:58:14 +0000 (10:58 +0200)]
Pin pyasn1 to 0.4.8 because 0.5.0 broke the API with 0.5.0
https://github.com/pyasn1/pyasn1/issues/28
On
20230420 : https://pypi.org/project/pyasn1/#history
Peter van Dijk [Fri, 21 Apr 2023 08:09:42 +0000 (10:09 +0200)]
Merge pull request #12740 from mind04/auth-nsec-at-delegation
Pick the right signer name when a NSEC name is also a delegation point