]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoMerge pull request #13421 from jsoref/resolve-list-completeness
Peter van Dijk [Mon, 30 Oct 2023 09:06:21 +0000 (10:06 +0100)] 
Merge pull request #13421 from jsoref/resolve-list-completeness

acknowledge everyone

2 years agoMerge pull request #13428 from zeha/catalog-doc-draft
Peter van Dijk [Mon, 30 Oct 2023 08:58:44 +0000 (09:58 +0100)] 
Merge pull request #13428 from zeha/catalog-doc-draft

auth doc: catalog: replace the word "draft"

2 years agoMerge pull request #13402 from rgacogne/ddist-coverity-install-quiche
Peter van Dijk [Mon, 30 Oct 2023 08:53:01 +0000 (09:53 +0100)] 
Merge pull request #13402 from rgacogne/ddist-coverity-install-quiche

misc-dailies: Install quiche for Coverity's DNSdist analysis

2 years agotasks: Apply another suggestion
Remi Gacogne [Mon, 30 Oct 2023 08:26:18 +0000 (09:26 +0100)] 
tasks: Apply another suggestion

2 years agotasks: Apply Fred's suggestion
Remi Gacogne [Mon, 30 Oct 2023 08:18:40 +0000 (09:18 +0100)] 
tasks: Apply Fred's suggestion

2 years agotasks: Apply Fred's suggestion (thanks!)
Remi Gacogne [Mon, 30 Oct 2023 08:12:57 +0000 (09:12 +0100)] 
tasks: Apply Fred's suggestion (thanks!)

Co-authored-by: Fred Morcos <fm@fredmorcos.com>
2 years agoClang-tidy: Document the workflow
Remi Gacogne [Mon, 23 Oct 2023 14:28:00 +0000 (16:28 +0200)] 
Clang-tidy: Document the workflow

2 years agoclang-tidy: Add markdown summary
Remi Gacogne [Mon, 23 Oct 2023 12:46:16 +0000 (14:46 +0200)] 
clang-tidy: Add markdown summary

2 years agoUse our own clang-tidy-diff.py
Remi Gacogne [Mon, 23 Oct 2023 09:44:01 +0000 (11:44 +0200)] 
Use our own clang-tidy-diff.py

2 years agoclang-tidy: Use --noprefix
Remi Gacogne [Mon, 23 Oct 2023 07:13:12 +0000 (09:13 +0200)] 
clang-tidy: Use --noprefix

2 years agoFix clang-tidy analysis
Remi Gacogne [Fri, 20 Oct 2023 15:32:10 +0000 (17:32 +0200)] 
Fix clang-tidy analysis

2 years agoLimit concurrency
Remi Gacogne [Fri, 13 Oct 2023 15:16:05 +0000 (17:16 +0200)] 
Limit concurrency

2 years agoCodeQL: Fix analysis
Remi Gacogne [Fri, 13 Oct 2023 11:22:14 +0000 (13:22 +0200)] 
CodeQL: Fix analysis

2 years agotasks: gcc 11.4 doesn't support `-Wstring-plus-int`
Remi Gacogne [Fri, 13 Oct 2023 10:37:27 +0000 (12:37 +0200)] 
tasks: gcc 11.4 doesn't support `-Wstring-plus-int`

2 years agotasks: Handle an empty sanitizers list
Remi Gacogne [Fri, 13 Oct 2023 10:30:08 +0000 (12:30 +0200)] 
tasks: Handle an empty sanitizers list

2 years agoCodeQL workflow: Upgrade to 22.04, clang-tidy 15
Remi Gacogne [Fri, 13 Oct 2023 10:08:41 +0000 (12:08 +0200)] 
CodeQL workflow: Upgrade to 22.04, clang-tidy 15

2 years agoMove clang-tidy analysis to the CodeQL workflow
Remi Gacogne [Fri, 13 Oct 2023 09:42:55 +0000 (11:42 +0200)] 
Move clang-tidy analysis to the CodeQL workflow

2 years agoRefactor UeberBackend::getAuth
Fred Morcos [Thu, 26 Oct 2023 13:12:07 +0000 (15:12 +0200)] 
Refactor UeberBackend::getAuth

2 years agoRefactor UeberBackend::getAuth: foundTarget
Fred Morcos [Thu, 26 Oct 2023 12:50:20 +0000 (14:50 +0200)] 
Refactor UeberBackend::getAuth: foundTarget

2 years agoRefactor UeberBackend::getAuth: findBestMatchingBackend
Fred Morcos [Thu, 26 Oct 2023 12:45:41 +0000 (14:45 +0200)] 
Refactor UeberBackend::getAuth: findBestMatchingBackend

2 years agoRefactor UeberBackend::getAuth: UeberBackend::fillSOAFromCache
Fred Morcos [Thu, 26 Oct 2023 12:38:28 +0000 (14:38 +0200)] 
Refactor UeberBackend::getAuth: UeberBackend::fillSOAFromCache

2 years agoCleanup UeberBackend::lookup
Fred Morcos [Thu, 26 Oct 2023 12:31:06 +0000 (14:31 +0200)] 
Cleanup UeberBackend::lookup

2 years agoRefactor UeberBackend::cacheHas and introduce UeberBackend::CacheResult
Fred Morcos [Thu, 26 Oct 2023 12:27:28 +0000 (14:27 +0200)] 
Refactor UeberBackend::cacheHas and introduce UeberBackend::CacheResult

2 years agoRefactor UeberBackend::getAuth: UeberBackend::fillSOAFromZoneRecord
Fred Morcos [Thu, 26 Oct 2023 12:09:33 +0000 (14:09 +0200)] 
Refactor UeberBackend::getAuth: UeberBackend::fillSOAFromZoneRecord

2 years agoCleanup UeberBackend::getAuth
Fred Morcos [Thu, 26 Oct 2023 11:19:18 +0000 (13:19 +0200)] 
Cleanup UeberBackend::getAuth

2 years agoCleanup UeberBackend::getSOAUncached
Fred Morcos [Fri, 13 Oct 2023 13:09:18 +0000 (15:09 +0200)] 
Cleanup UeberBackend::getSOAUncached

2 years agoDisable lint for call to dlerror()
Fred Morcos [Fri, 13 Oct 2023 13:08:34 +0000 (15:08 +0200)] 
Disable lint for call to dlerror()

2 years agoVarious UeberBackend cleanups
Fred Morcos [Sun, 29 Oct 2023 14:09:36 +0000 (15:09 +0100)] 
Various UeberBackend cleanups

2 years agoCleanup UeberBackend TSIG Key handling methods
Fred Morcos [Sun, 29 Oct 2023 14:04:44 +0000 (15:04 +0100)] 
Cleanup UeberBackend TSIG Key handling methods

2 years agoCleanup UeberBackend cache handling methods
Fred Morcos [Fri, 27 Oct 2023 22:05:16 +0000 (00:05 +0200)] 
Cleanup UeberBackend cache handling methods

2 years agoMerge pull request #13425 from omoerbeek/rec-docs-ws-loglevel
Otto Moerbeek [Fri, 27 Oct 2023 15:08:16 +0000 (17:08 +0200)] 
Merge pull request #13425 from omoerbeek/rec-docs-ws-loglevel

rec: correct webserver-loglevel docs.

2 years agoCleanup UeberBackend constructor
Fred Morcos [Fri, 27 Oct 2023 13:53:47 +0000 (15:53 +0200)] 
Cleanup UeberBackend constructor

2 years agoCleanup UeberBackend::getSOAUncached
Fred Morcos [Fri, 27 Oct 2023 13:53:30 +0000 (15:53 +0200)] 
Cleanup UeberBackend::getSOAUncached

2 years agoauth doc: catalog: replace the word "draft" 13428/head
Chris Hofstaedtler [Fri, 27 Oct 2023 13:29:33 +0000 (15:29 +0200)] 
auth doc: catalog: replace the word "draft"

Improves PR #13000.

2 years agoCleanup various UeberBackend methods
Fred Morcos [Fri, 27 Oct 2023 10:31:25 +0000 (12:31 +0200)] 
Cleanup various UeberBackend methods

2 years agoCleanup UeberBackend::inTransaction
Fred Morcos [Fri, 27 Oct 2023 10:30:26 +0000 (12:30 +0200)] 
Cleanup UeberBackend::inTransaction

2 years agoCleanup UeberBackend includes
Fred Morcos [Fri, 27 Oct 2023 10:12:03 +0000 (12:12 +0200)] 
Cleanup UeberBackend includes

2 years agoCleanup UeberBackend domain key management methods
Fred Morcos [Fri, 27 Oct 2023 10:10:37 +0000 (12:10 +0200)] 
Cleanup UeberBackend domain key management methods

2 years agoCleanup UeberBackend::doesDNSSEC
Fred Morcos [Fri, 27 Oct 2023 10:09:19 +0000 (12:09 +0200)] 
Cleanup UeberBackend::doesDNSSEC

2 years agoCleanup UeberBackend::getDomainInfo
Fred Morcos [Fri, 27 Oct 2023 10:08:27 +0000 (12:08 +0200)] 
Cleanup UeberBackend::getDomainInfo

2 years agorec: correct webserver-loglevel docs. 13425/head
Otto Moerbeek [Fri, 27 Oct 2023 10:07:38 +0000 (12:07 +0200)] 
rec: correct webserver-loglevel docs.

Fixes #13325

2 years agoCleanup UeberBackend::loadModules
Fred Morcos [Fri, 27 Oct 2023 09:52:37 +0000 (11:52 +0200)] 
Cleanup UeberBackend::loadModules

2 years agoUpdate performance.rst 13423/head
phonedph1 [Thu, 26 Oct 2023 18:34:40 +0000 (12:34 -0600)] 
Update performance.rst

2 years agoFormatting: ueberbackend.hh
Fred Morcos [Fri, 8 Sep 2023 12:00:44 +0000 (14:00 +0200)] 
Formatting: ueberbackend.hh

2 years agoFormatting: ueberbackend.cc
Fred Morcos [Fri, 8 Sep 2023 11:56:34 +0000 (13:56 +0200)] 
Formatting: ueberbackend.cc

2 years agoacknowledge everyone 13421/head
Josh Soref [Wed, 25 Oct 2023 18:26:42 +0000 (14:26 -0400)] 
acknowledge everyone

2 years agoMerge pull request #13376 from b1tw0rker/master
Otto Moerbeek [Wed, 25 Oct 2023 07:15:02 +0000 (09:15 +0200)] 
Merge pull request #13376 from b1tw0rker/master

fix: added missing underscore

2 years agoTweaks for DNSSEC docs 13416/head
Josh Soref [Tue, 24 Oct 2023 15:54:26 +0000 (11:54 -0400)] 
Tweaks for DNSSEC docs

* powerdnssec.org was discontinued a while ago
* rst tweaks
* there do not appear to be tutorials available

2 years agoFix stale rst references
Josh Soref [Tue, 24 Oct 2023 16:14:10 +0000 (12:14 -0400)] 
Fix stale rst references

2 years agoThis ship has sailed
Josh Soref [Tue, 24 Oct 2023 15:58:58 +0000 (11:58 -0400)] 
This ship has sailed

2 years agoUse more rst markup
Josh Soref [Tue, 24 Oct 2023 15:58:48 +0000 (11:58 -0400)] 
Use more rst markup

2 years agoMerge pull request #13413 from omoerbeek/dnsdist-boringssl
Otto Moerbeek [Tue, 24 Oct 2023 09:27:38 +0000 (11:27 +0200)] 
Merge pull request #13413 from omoerbeek/dnsdist-boringssl

dnsdist: Allow building of dnsdist against boringssl on OpenBSD

2 years agoTidy 13413/head
Otto Moerbeek [Tue, 24 Oct 2023 08:29:04 +0000 (10:29 +0200)] 
Tidy

2 years agoAllow building of dnsdist against boringssl.
Otto Moerbeek [Mon, 23 Oct 2023 15:18:44 +0000 (17:18 +0200)] 
Allow building of dnsdist against boringssl.

DISABLE_OCSP_STAPLING has to be defined as well, since boring does not
seem to have it.

2 years agodnsdist: Better message when outgoing DoH is not available 13381/head
Remi Gacogne [Tue, 24 Oct 2023 07:11:17 +0000 (09:11 +0200)] 
dnsdist: Better message when outgoing DoH is not available

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 years agoOnly assign to the arguments of get if the entry is not expired.
Otto Moerbeek [Mon, 23 Oct 2023 09:48:54 +0000 (11:48 +0200)] 
Only assign to the arguments of get if the entry is not expired.

Callers of get() *must* ensure they onluy look at the args if get() returned > 0

Implements #12612 for the record cache. Negcache fill follow later.

2 years agoMove preRemoval() to MapCombo::LockedContent
Otto Moerbeek [Mon, 23 Oct 2023 09:10:47 +0000 (11:10 +0200)] 
Move preRemoval() to MapCombo::LockedContent

Simplifies a few things, and gets rid of the clang-tidy "method can be static"
comment.

2 years agorec: tidy recursor_cache.??
Otto Moerbeek [Mon, 23 Oct 2023 08:39:08 +0000 (10:39 +0200)] 
rec: tidy recursor_cache.??

Two warnings remain

2 years agorec: handle serve stale logic in getRootNXTrust() 13409/head
Otto Moerbeek [Mon, 23 Oct 2023 07:17:16 +0000 (09:17 +0200)] 
rec: handle serve stale logic in getRootNXTrust()

Superseded #13383 by calling the general get() function that has
all the special cases covered.

2 years agoMerge pull request #13408 from tih/netbsd-stack-mem
Otto Moerbeek [Mon, 23 Oct 2023 05:24:00 +0000 (07:24 +0200)] 
Merge pull request #13408 from tih/netbsd-stack-mem

Handle stack memory on NetBSD as on OpenBSD

2 years agoHandle stack memory on NetBSD as on OpenBSD 13408/head
Tom Ivar Helbekkmo [Sun, 22 Oct 2023 18:26:32 +0000 (20:26 +0200)] 
Handle stack memory on NetBSD as on OpenBSD

2 years agoMerge pull request #13322 from Habbie/ixfrdist-notify-in
Peter van Dijk [Fri, 20 Oct 2023 12:34:52 +0000 (14:34 +0200)] 
Merge pull request #13322 from Habbie/ixfrdist-notify-in

ixfrdist: add NOTIFY receive support

2 years agoauth: Give an example Lua record accessing qname. 13406/head
Otto Moerbeek [Fri, 20 Oct 2023 10:55:48 +0000 (12:55 +0200)] 
auth: Give an example Lua record accessing qname.

Also mention qtype is not a thing in Lua records.
Fixes #8443

2 years agomakeEmptyNoErrorPacket does not need zoneInfo 13322/head
Peter van Dijk [Fri, 20 Oct 2023 10:26:38 +0000 (12:26 +0200)] 
makeEmptyNoErrorPacket does not need zoneInfo

2 years agomisc-dailies: Install quiche for Coverity's DNSdist analysis 13402/head
Remi Gacogne [Thu, 19 Oct 2023 12:53:19 +0000 (14:53 +0200)] 
misc-dailies: Install quiche for Coverity's DNSdist analysis

2 years agobuild-packages: Update the version of the generic SLSA generator 13405/head
Remi Gacogne [Fri, 20 Oct 2023 09:27:59 +0000 (11:27 +0200)] 
build-packages: Update the version of the generic SLSA generator

2 years agoMerge pull request #13331 from rgacogne/ddist-190-a2
Remi Gacogne [Fri, 20 Oct 2023 08:17:46 +0000 (10:17 +0200)] 
Merge pull request #13331 from rgacogne/ddist-190-a2

dnsdist: Add ChangeLog and secpoll update for DNSdist 1.9.0-alpha3

2 years agodnsdist: Fix documentation issues reported by Peter (thanks!) 13344/head
Remi Gacogne [Fri, 20 Oct 2023 07:14:39 +0000 (09:14 +0200)] 
dnsdist: Fix documentation issues reported by Peter (thanks!)

2 years agodnsdist: Document that automatic rotation should be disabled with static STEKs
Remi Gacogne [Fri, 13 Oct 2023 07:47:58 +0000 (09:47 +0200)] 
dnsdist: Document that automatic rotation should be disabled with static STEKs

2 years agodnsdist: More words on TLS session encryption keys setup and rotation
Remi Gacogne [Mon, 9 Oct 2023 08:47:59 +0000 (10:47 +0200)] 
dnsdist: More words on TLS session encryption keys setup and rotation

2 years agodnsdist: Update ChangeLog and secutiry polling for 1.9.0-alpha3 13331/head
Remi Gacogne [Fri, 20 Oct 2023 06:52:00 +0000 (08:52 +0200)] 
dnsdist: Update ChangeLog and secutiry polling for 1.9.0-alpha3

2 years agoMerge pull request #13382 from rgacogne/ddist-fix-amz-2023 dnsdist-1.9.0-alpha3
Remi Gacogne [Fri, 20 Oct 2023 06:34:04 +0000 (08:34 +0200)] 
Merge pull request #13382 from rgacogne/ddist-fix-amz-2023

builder-support: Enable missing dnsdist features on Amazon 2023, unbreak dnsdist package on EL8/9

2 years agosupport libquiche on amazon2023; stop generating dep for it on el8+amzn2023 13382/head
Peter van Dijk [Thu, 19 Oct 2023 18:21:28 +0000 (20:21 +0200)] 
support libquiche on amazon2023; stop generating dep for it on el8+amzn2023

2 years agobuilder-support: Enable missing dnsdist features on Amazon 2023
Remi Gacogne [Tue, 17 Oct 2023 09:23:12 +0000 (11:23 +0200)] 
builder-support: Enable missing dnsdist features on Amazon 2023

2 years agodrop packets from 100% impossible sources
Peter van Dijk [Thu, 19 Oct 2023 14:58:01 +0000 (16:58 +0200)] 
drop packets from 100% impossible sources

2 years agosimplify address comparison, remove debug messages
Peter van Dijk [Thu, 19 Oct 2023 14:53:23 +0000 (16:53 +0200)] 
simplify address comparison, remove debug messages

2 years agodnsdist: Disable the complexity check for setupLuaInspection() 13342/head
Remi Gacogne [Thu, 19 Oct 2023 14:03:24 +0000 (16:03 +0200)] 
dnsdist: Disable the complexity check for setupLuaInspection()

2 years agosome delint, some NOLINT
Peter van Dijk [Thu, 19 Oct 2023 11:56:24 +0000 (13:56 +0200)] 
some delint, some NOLINT

2 years agodnsdist: Add a ChangeLog entry for #13372
Remi Gacogne [Thu, 19 Oct 2023 13:06:34 +0000 (15:06 +0200)] 
dnsdist: Add a ChangeLog entry for #13372

2 years agodnsdist: Fix version in the documentation of DynBlockRulesGroup:removeRange()
Remi Gacogne [Thu, 19 Oct 2023 13:02:13 +0000 (15:02 +0200)] 
dnsdist: Fix version in the documentation of DynBlockRulesGroup:removeRange()

2 years agodnsdist: Add a DynBlockRulesGroup:removeRange() binding
Remi Gacogne [Fri, 6 Oct 2023 15:43:11 +0000 (17:43 +0200)] 
dnsdist: Add a DynBlockRulesGroup:removeRange() binding

This adds the ability to remove an existing range from the list of
existing included/excluded ranges.

2 years agoMerge pull request #13372 from rgacogne/dnsdist-dnsheader-aligned dnsdist-1.9.0-alpha2
Remi Gacogne [Thu, 19 Oct 2023 12:59:13 +0000 (14:59 +0200)] 
Merge pull request #13372 from rgacogne/dnsdist-dnsheader-aligned

dnsdist: Prevent dnsheader alignment issues

2 years agoswitch notimpStats to array, thanks @rgacogne
Peter van Dijk [Mon, 9 Oct 2023 18:08:53 +0000 (20:08 +0200)] 
switch notimpStats to array, thanks @rgacogne

2 years agoixfrdist: handle incoming NOTIFY packets
Peter van Dijk [Tue, 15 Aug 2023 17:26:55 +0000 (19:26 +0200)] 
ixfrdist: handle incoming NOTIFY packets

2 years agoixfrdist: check opcode of incoming query
Peter van Dijk [Tue, 15 Aug 2023 11:33:08 +0000 (13:33 +0200)] 
ixfrdist: check opcode of incoming query

2 years agodnsdist: Fix formatting in the ChangeLog
Remi Gacogne [Tue, 17 Oct 2023 09:36:54 +0000 (11:36 +0200)] 
dnsdist: Fix formatting in the ChangeLog

2 years agodnsdist: Add #13185 to the ChangeLog
Remi Gacogne [Mon, 9 Oct 2023 10:19:10 +0000 (12:19 +0200)] 
dnsdist: Add #13185 to the ChangeLog

2 years agodnsdist: Add #13335 and #13340 to the ChangeLog
Remi Gacogne [Mon, 9 Oct 2023 08:09:30 +0000 (10:09 +0200)] 
dnsdist: Add #13335 and #13340 to the ChangeLog

2 years agodnsdist: Appease the spell checker
Remi Gacogne [Fri, 6 Oct 2023 08:57:50 +0000 (10:57 +0200)] 
dnsdist: Appease the spell checker

2 years agodnsdist: Add ChangeLog for DNSdist 1.9.0-alpha2
Remi Gacogne [Thu, 5 Oct 2023 09:12:54 +0000 (11:12 +0200)] 
dnsdist: Add ChangeLog for DNSdist 1.9.0-alpha2

2 years agosecpoll: Add an entry for DNSdist 1.9.0-alpha2
Remi Gacogne [Thu, 5 Oct 2023 09:01:49 +0000 (11:01 +0200)] 
secpoll: Add an entry for DNSdist 1.9.0-alpha2

2 years agodnsdist: Fix a clang-tidy warning with opcodes 13372/head
Remi Gacogne [Thu, 19 Oct 2023 09:39:03 +0000 (11:39 +0200)] 
dnsdist: Fix a clang-tidy warning with opcodes

2 years agoauth: exit with 0 on --version, like dnsdist and recursor do 13397/head
Peter van Dijk [Wed, 18 Oct 2023 19:25:46 +0000 (21:25 +0200)] 
auth: exit with 0 on --version, like dnsdist and recursor do

2 years agoAssorted delinting, mark do while loops as ok 13385/head
Otto Moerbeek [Tue, 17 Oct 2023 13:12:18 +0000 (15:12 +0200)] 
Assorted delinting, mark do while loops as ok

2 years agorec: Describe the keys and values produced by structured logging in more detail
Otto Moerbeek [Wed, 18 Oct 2023 08:49:43 +0000 (10:49 +0200)] 
rec: Describe the keys and values produced by structured logging in more detail

2 years agorec: Update new b-root-server.net addresses in built-in hints. 13387/head
Otto Moerbeek [Tue, 17 Oct 2023 15:07:17 +0000 (17:07 +0200)] 
rec: Update new b-root-server.net addresses in built-in hints.

Is going to be effective 20231117. Both existing and new addresses
work already at the moment of writing (20211017).

https://www.lacnic.net/6869/2/lacnic/lacnic-assigns-number-resources-to-the-usc_isi-dns-root-server

Fixes #12897

2 years agodnsdist: Fix a few more clang-tidy warnings
Remi Gacogne [Tue, 17 Oct 2023 13:41:27 +0000 (15:41 +0200)] 
dnsdist: Fix a few more clang-tidy warnings

2 years agodnsdist: More delinting
Remi Gacogne [Tue, 17 Oct 2023 07:32:42 +0000 (09:32 +0200)] 
dnsdist: More delinting

2 years agodnsdist: Prevent dnsheader alignment issues
Remi Gacogne [Thu, 5 Oct 2023 14:38:56 +0000 (16:38 +0200)] 
dnsdist: Prevent dnsheader alignment issues

2 years agoMerge pull request #13380 from omoerbeek/rec-prep-5.0.0-alpha2
Otto Moerbeek [Tue, 17 Oct 2023 11:12:00 +0000 (13:12 +0200)] 
Merge pull request #13380 from omoerbeek/rec-prep-5.0.0-alpha2

rec: prep rec-5.0.0-alpha2