]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoremove ubuntu bionic target, as 18.04 will EOL soon
Peter van Dijk [Fri, 24 Mar 2023 09:40:28 +0000 (10:40 +0100)] 
remove ubuntu bionic target, as 18.04 will EOL soon

2 years agoDon'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

2 years agoQuote the output vars
Fred Morcos [Mon, 8 May 2023 12:24:39 +0000 (14:24 +0200)] 
Quote the output vars

2 years agoAdd // NOLINT(readability-function-cognitive-complexity)
Otto Moerbeek [Mon, 8 May 2023 12:01:40 +0000 (14:01 +0200)] 
Add // NOLINT(readability-function-cognitive-complexity)
Once readability-function-cognitive-complexity.IgnoreMacros works
in CI, these annotations can be removed. It currenlty does not work
as clang-12 does not support it.

2 years agomark getenv() NOLINT
Otto Moerbeek [Mon, 8 May 2023 09:58:54 +0000 (11:58 +0200)] 
mark getenv() NOLINT

Locally (using clangd) no warning is reported...

2 years agoSome general clang-tidy cleanup
Otto Moerbeek [Mon, 8 May 2023 09:07:10 +0000 (11:07 +0200)] 
Some general clang-tidy cleanup

2 years agoSplit recursorThread() to reduce complexity
Otto Moerbeek [Mon, 8 May 2023 08:58:29 +0000 (10:58 +0200)] 
Split recursorThread() to reduce complexity

2 years agoReformat
Otto Moerbeek [Mon, 8 May 2023 08:21:04 +0000 (10:21 +0200)] 
Reformat

2 years agosplit main() to reduce complexity
Otto Moerbeek [Mon, 8 May 2023 08:20:06 +0000 (10:20 +0200)] 
split main() to reduce complexity

2 years agoSplit serviceMain() to reduce cognitive complexity
Otto Moerbeek [Mon, 8 May 2023 07:51:19 +0000 (09:51 +0200)] 
Split serviceMain() to reduce cognitive complexity

2 years agoserviceMain: fix all lints except complexity
Otto Moerbeek [Mon, 8 May 2023 06:58:45 +0000 (08:58 +0200)] 
serviceMain: fix all lints except complexity

2 years agoMerge pull request #12788 from rgacogne/clang-tidy-increase-code-complexity-threshold
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

2 years agoclang-tidy: Lower the code complexity threshold to 50 12788/head
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.

2 years agoclang-tidy: Increase the code complexity threshold to 100 for now
Remi Gacogne [Thu, 4 May 2023 14:38:53 +0000 (16:38 +0200)] 
clang-tidy: Increase the code complexity threshold to 100 for now

2 years agoMerge pull request #12786 from rgacogne/ci-separate-failure-tidy
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

2 years agoMerge pull request #12787 from Habbie/auth-4.8.0-beta1-secpoll-serial
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

2 years agobump secpoll serial, adjust release date 12787/head
Peter van Dijk [Thu, 4 May 2023 10:07:20 +0000 (12:07 +0200)] 
bump secpoll serial, adjust release date

2 years agoci: Add a separate check for clang-tidy failure 12786/head
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.

2 years agoMerge pull request #12781 from Habbie/auth-4.8.0-beta1-docs
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

2 years agodnsdist: Fix cache hit and miss metrics with DoH queries
Remi Gacogne [Wed, 3 May 2023 13:02:34 +0000 (15:02 +0200)] 
dnsdist: Fix cache hit and miss metrics with DoH queries

Since we do two lookups for DoH queries forwarded over UDP (first
TCP then UDP), we need to be careful to only record a cache miss
in our last attempt.

2 years agoMerge pull request #12748 from omoerbeek/rec-ws-total-unused
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

2 years agoMerge pull request #12739 from omoerbeek/rec-lwres-uninited-len
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

2 years agoMerge pull request #12782 from omoerbeek/dsdist-api-test-timeout
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

2 years agoInit len earlier, as suggested by rgacogne 12739/head
Otto Moerbeek [Wed, 3 May 2023 12:11:20 +0000 (14:11 +0200)] 
Init len earlier, as suggested by rgacogne

2 years agoMerge pull request #12737 from nbakker/patch-1
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

2 years agogithub runners can be *very* slow wrt I/O, use a more generous timeout in tests 12782/head
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.

2 years agoauth-4.8.0-beta1: secpoll&docs 12781/head
Peter van Dijk [Wed, 3 May 2023 10:19:47 +0000 (12:19 +0200)] 
auth-4.8.0-beta1: secpoll&docs

2 years agoMerge pull request #12765 from fredmorcos/clang-tidy-prs
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

2 years agoMerge pull request #12690 from rgacogne/ddist-statnode-docs auth-4.8.0-beta1
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

2 years agoMerge pull request #12729 from Habbie/lmdb-ls-dup-domain
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

2 years agoMerge pull request #12768 from chbruyand/ixfrdist-max-soa-refresh
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

2 years agoMerge pull request #12636 from Habbie/lmdb-comments
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

2 years agoMerge pull request #12738 from paddg/patch-12
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)

2 years agogetCatalogMembers: bubble up full return false 12729/head
Peter van Dijk [Tue, 2 May 2023 13:25:05 +0000 (15:25 +0200)] 
getCatalogMembers: bubble up full return false

2 years agoDocument the process to disable specific clang-tidy lints 12765/head
Fred Morcos [Tue, 2 May 2023 13:17:56 +0000 (15:17 +0200)] 
Document the process to disable specific clang-tidy lints

2 years agoImprove clang-format documentation
Fred Morcos [Tue, 2 May 2023 13:17:51 +0000 (15:17 +0200)] 
Improve clang-format documentation

2 years agoIgnore macros when calculating cognitive complexity of functions
Fred Morcos [Tue, 2 May 2023 12:41:17 +0000 (14:41 +0200)] 
Ignore macros when calculating cognitive complexity of functions

2 years agomove assignment outside of condition
Peter van Dijk [Tue, 2 May 2023 12:16:44 +0000 (14:16 +0200)] 
move assignment outside of condition

2 years agoadd comments
Peter van Dijk [Tue, 2 May 2023 12:13:16 +0000 (14:13 +0200)] 
add comments

2 years agosimplify oldestts checking, optimise hot path for non-LS users
Peter van Dijk [Tue, 2 May 2023 12:02:33 +0000 (14:02 +0200)] 
simplify oldestts checking, optimise hot path for non-LS users

2 years agomove transaction opening outside of both if branches
Peter van Dijk [Tue, 2 May 2023 11:09:15 +0000 (13:09 +0200)] 
move transaction opening outside of both if branches

2 years agosimplify dup check
Peter van Dijk [Tue, 2 May 2023 11:04:58 +0000 (13:04 +0200)] 
simplify dup check

2 years agodrop unused const
Peter van Dijk [Tue, 2 May 2023 11:04:49 +0000 (13:04 +0200)] 
drop unused const

2 years agoMerge pull request #12766 from phonedph1/patch-37
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

3 years agorec: warning: variable 'total' set but not used [-Wunused-but-set-variable] 12748/head
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]

3 years agoMerge pull request #12770 from neilcook/patch-2
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

3 years agoMake DNSQType.TSIG available in dnsdist
Jacob Bunk Nielsen [Sat, 29 Apr 2023 12:45:07 +0000 (14:45 +0200)] 
Make DNSQType.TSIG available in dnsdist

3 years agoformat
Peter van Dijk [Fri, 28 Apr 2023 12:44:08 +0000 (14:44 +0200)] 
format

3 years agoremove debug print
Peter van Dijk [Fri, 28 Apr 2023 12:43:08 +0000 (14:43 +0200)] 
remove debug print

3 years agofilter duplicate domain entries
Peter van Dijk [Fri, 28 Apr 2023 12:37:22 +0000 (14:37 +0200)] 
filter duplicate domain entries

3 years agomove handle_dups flag to lmdbbackend
Peter van Dijk [Fri, 28 Apr 2023 12:18:15 +0000 (14:18 +0200)] 
move handle_dups flag to lmdbbackend

3 years agolmdb-typed: teach get() to optionally fetch just the oldest entry
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

3 years agoadd comment
Peter van Dijk [Fri, 28 Apr 2023 11:52:42 +0000 (13:52 +0200)] 
add comment

3 years agolmdb: add interface to get timestamp from LS header
Peter van Dijk [Thu, 6 Apr 2023 12:25:50 +0000 (14:25 +0200)] 
lmdb: add interface to get timestamp from LS header

3 years agolmdb indexops: avoid updating timestamp when there is no change
Peter van Dijk [Thu, 6 Apr 2023 10:19:59 +0000 (12:19 +0200)] 
lmdb indexops: avoid updating timestamp when there is no change

3 years agofix warnings
Peter van Dijk [Fri, 28 Apr 2023 11:50:11 +0000 (13:50 +0200)] 
fix warnings

3 years agoadd missing defaults to doc
Peter van Dijk [Fri, 28 Apr 2023 11:42:52 +0000 (13:42 +0200)] 
add missing defaults to doc

3 years agoadd lmdb-lightning-stream option
Peter van Dijk [Fri, 28 Apr 2023 11:40:27 +0000 (13:40 +0200)] 
add lmdb-lightning-stream option

3 years agorefactor getCatalogMembers
Peter van Dijk [Wed, 26 Apr 2023 17:05:21 +0000 (19:05 +0200)] 
refactor getCatalogMembers

3 years agorefactor getUpdatedMasters
Peter van Dijk [Wed, 26 Apr 2023 14:07:30 +0000 (16:07 +0200)] 
refactor getUpdatedMasters

3 years agorefactor getUnfreshSlaveInfos
Peter van Dijk [Wed, 26 Apr 2023 12:24:01 +0000 (14:24 +0200)] 
refactor getUnfreshSlaveInfos

3 years agomove loop into getAllDomainsFiltered
Peter van Dijk [Wed, 26 Apr 2023 12:06:11 +0000 (14:06 +0200)] 
move loop into getAllDomainsFiltered

3 years agoMake Additionals documentation more accurate 12770/head
Neil Cook [Mon, 24 Apr 2023 15:25:28 +0000 (16:25 +0100)] 
Make Additionals documentation more accurate

3 years agoUpdate Dynamic DNS Update Docs with GSS-TSIG 12769/head
Neil Cook [Mon, 24 Apr 2023 15:03:30 +0000 (16:03 +0100)] 
Update Dynamic DNS Update Docs with GSS-TSIG

3 years agoixfrdist: add a per domain max-soa-refresh option to optionaly cap the refresh interval 12768/head
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

3 years agoUpdate config.rst 12766/head
phonedph1 [Sat, 22 Apr 2023 00:20:06 +0000 (18:20 -0600)] 
Update config.rst

3 years agoFilter file diffs that are not in the current project
Fred Morcos [Thu, 20 Apr 2023 20:31:54 +0000 (22:31 +0200)] 
Filter file diffs that are not in the current project

3 years agoDelete old clang-tidy workflow
Fred Morcos [Thu, 16 Mar 2023 13:16:36 +0000 (14:16 +0100)] 
Delete old clang-tidy workflow

3 years agoMove clang-tidy-dnsdist to build-and-test-all workflow
Fred Morcos [Thu, 16 Mar 2023 13:16:23 +0000 (14:16 +0100)] 
Move clang-tidy-dnsdist to build-and-test-all workflow

3 years agoMove clang-tidy-rec 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

3 years agoMove clang-tidy-auth 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

3 years agoGithub action to run clang-tidy on dnsdist PRs
Fred Morcos [Tue, 14 Mar 2023 11:28:17 +0000 (12:28 +0100)] 
Github action to run clang-tidy on dnsdist PRs

3 years agoGithub action to run clang-tidy on rec PRs
Fred Morcos [Mon, 13 Mar 2023 12:53:20 +0000 (13:53 +0100)] 
Github action to run clang-tidy on rec PRs

3 years agoGithub action to run clang-tidy on auth PRs
Fred Morcos [Tue, 28 Feb 2023 14:49:40 +0000 (15:49 +0100)] 
Github action to run clang-tidy on auth PRs

3 years agoMerge pull request #12764 from fredmorcos/ci-fixes-cleanups 12775/head
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

3 years agoPin pyasn1 to 0.4.8 because 0.5.0 broke the API with 0.5.0 12764/head
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

3 years agoMerge pull request #12740 from mind04/auth-nsec-at-delegation
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

3 years agoMerge pull request #12669 from chbruyand/auth-ifurlup-ips
Peter van Dijk [Fri, 21 Apr 2023 07:44:18 +0000 (09:44 +0200)] 
Merge pull request #12669 from chbruyand/auth-ifurlup-ips

auth: luarecords, enhance ifportup() with lists of sets of addresses like ifurlup()

3 years agoTell the libdecaf cmake build to use clang-12
Fred Morcos [Wed, 5 Apr 2023 16:06:27 +0000 (18:06 +0200)] 
Tell the libdecaf cmake build to use clang-12

3 years agoAdd cmake to auth build deps (needed for libdecaf)
Fred Morcos [Wed, 5 Apr 2023 16:06:13 +0000 (18:06 +0200)] 
Add cmake to auth build deps (needed for libdecaf)

3 years agoCleanup ci_auth/rec_configure pyinvoke tasks
Fred Morcos [Fri, 10 Mar 2023 09:20:11 +0000 (10:20 +0100)] 
Cleanup ci_auth/rec_configure pyinvoke tasks

3 years agoCleanup the ci_docs_upload_master pyinvoke task
Fred Morcos [Tue, 28 Feb 2023 14:49:26 +0000 (15:49 +0100)] 
Cleanup the ci_docs_upload_master pyinvoke task

3 years agoGitignore verify-dnssec-zone/allow-missing
Fred Morcos [Fri, 10 Mar 2023 08:56:41 +0000 (09:56 +0100)] 
Gitignore verify-dnssec-zone/allow-missing

3 years agoMerge pull request #12758 from zeha/tcpreceiver-unused-var
Peter van Dijk [Tue, 18 Apr 2023 07:07:21 +0000 (09:07 +0200)] 
Merge pull request #12758 from zeha/tcpreceiver-unused-var

auth: remove unused var in tcpreceiver.cc

3 years agoMerge pull request #12759 from zeha/lmdb-unused-var
Peter van Dijk [Tue, 18 Apr 2023 07:06:38 +0000 (09:06 +0200)] 
Merge pull request #12759 from zeha/lmdb-unused-var

lmdb-safe: remove leftover debug variable

3 years agoMerge pull request #12757 from zeha/apitestpipelimit
Peter van Dijk [Tue, 18 Apr 2023 07:03:31 +0000 (09:03 +0200)] 
Merge pull request #12757 from zeha/apitestpipelimit

api tests: avoid default pipe size limit

3 years agolmdb-safe: remove leftover debug variable 12759/head
Chris Hofstaedtler [Tue, 18 Apr 2023 00:28:46 +0000 (02:28 +0200)] 
lmdb-safe: remove leftover debug variable

In file included from ../../ext/lmdb-safe/lmdb-typed.cc:1:
../../ext/lmdb-safe/lmdb-typed.hh:656:11: warning: variable 'scanned' set but not used [-Wunused-but-set-variable]
      int scanned = 0;
          ^

3 years agoauth: remove unused var in tcpreceiver.cc 12758/head
Chris Hofstaedtler [Tue, 18 Apr 2023 00:15:40 +0000 (02:15 +0200)] 
auth: remove unused var in tcpreceiver.cc

tcpreceiver.cc:1005:7: warning: variable 'records' set but not used [-Wunused-but-set-variable]
  int records=0;

3 years agoapi tests: avoid default pipe size limit 12757/head
Chris Hofstaedtler [Mon, 17 Apr 2023 20:06:08 +0000 (22:06 +0200)] 
api tests: avoid default pipe size limit

Causes tests to freeze at a more or less random point.

3 years agoMerge pull request #12747 from Habbie/auth-4.7.4-secpoll-docs
Peter van Dijk [Mon, 17 Apr 2023 11:38:14 +0000 (13:38 +0200)] 
Merge pull request #12747 from Habbie/auth-4.7.4-secpoll-docs

auth 4.7.4: secpoll and docs

3 years agoMerge pull request #12755 from cmouse/lmdb-rst
Peter van Dijk [Mon, 17 Apr 2023 08:15:48 +0000 (10:15 +0200)] 
Merge pull request #12755 from cmouse/lmdb-rst

docs: lmdb - Add blank line after explicit markup

3 years agoauth 4.7.4: secpoll and docs 12747/head
Peter van Dijk [Thu, 13 Apr 2023 14:22:20 +0000 (16:22 +0200)] 
auth 4.7.4: secpoll and docs

3 years agodocs: lmdb - Add blank line after explicit markup 12755/head
Aki Tuomi [Mon, 17 Apr 2023 06:35:46 +0000 (09:35 +0300)] 
docs: lmdb - Add blank line after explicit markup

3 years agoauth doc: Document 2-step process for consumer zone updates. 12752/head
Kevin P. Fleming [Sun, 16 Apr 2023 11:36:06 +0000 (07:36 -0400)] 
auth doc: Document 2-step process for consumer zone updates.

Closes #12714.

3 years agoMerge pull request #12686 from aerique/feature/report-tested-repo-versions
aerique [Sat, 15 Apr 2023 21:59:27 +0000 (23:59 +0200)] 
Merge pull request #12686 from aerique/feature/report-tested-repo-versions

Report Version when Testing Repositories

3 years agoMerge pull request #12721 from mind04/pdns-loop
Peter van Dijk [Fri, 14 Apr 2023 14:15:52 +0000 (16:15 +0200)] 
Merge pull request #12721 from mind04/pdns-loop

auth: calm down the communicator loop

3 years agoMerge pull request #12749 from ossobv/wjd-document-bind-supermaster-destdir
Peter van Dijk [Fri, 14 Apr 2023 14:13:43 +0000 (16:13 +0200)] 
Merge pull request #12749 from ossobv/wjd-document-bind-supermaster-destdir

document bind-supermaster-destdir

3 years agoLog if the answer was marked variable by SyncRes and if it was stored into
Otto Moerbeek [Fri, 14 Apr 2023 12:03:22 +0000 (14:03 +0200)] 
Log if the answer was marked variable by SyncRes and if it was stored into
the packet cache (if !quiet)

3 years agodocument bind-supermaster-destdir 12749/head
Walter Doekes [Fri, 14 Apr 2023 09:18:01 +0000 (11:18 +0200)] 
document bind-supermaster-destdir

3 years agoMerge pull request #12693 from rgacogne/ddist174-changelog-secpoll
aerique [Fri, 14 Apr 2023 11:09:43 +0000 (13:09 +0200)] 
Merge pull request #12693 from rgacogne/ddist174-changelog-secpoll

dnsdist: Add ChangeLog and secpoll update for dnsdist 1.7.4