]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agodnsbulktest: Fix warnings from clang-tidy 13141/head
Remi Gacogne [Wed, 16 Aug 2023 09:46:03 +0000 (11:46 +0200)] 
dnsbulktest: Fix warnings from clang-tidy

2 years agodnsdist: Try to fix a data race warning reported by TSAN 13143/head
Remi Gacogne [Wed, 16 Aug 2023 09:49:23 +0000 (11:49 +0200)] 
dnsdist: Try to fix a data race warning reported by TSAN

2 years agocalidns: Fix warnings from clang-tidy
Remi Gacogne [Wed, 16 Aug 2023 09:45:49 +0000 (11:45 +0200)] 
calidns: Fix warnings from clang-tidy

2 years agochannel: Fix redundant redeclaration warning 13142/head
Remi Gacogne [Wed, 16 Aug 2023 09:18:25 +0000 (11:18 +0200)] 
channel: Fix redundant redeclaration warning

g++ reports:
```
In file included from channel.cc:23:
channel.hh:38:17: warning: redundant redeclaration of ‘void __tsan_acquire(void*)’ in same scope [-Wredundant-decls]
   38 | extern "C" void __tsan_acquire(void* addr);
      |                 ^~~~~~~~~~~~~~
In file included from /usr/include/c++/13.2.1/bits/shared_ptr_atomic.h:37,
                 from /usr/include/c++/13.2.1/memory:81,
                 from channel.hh:23:
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/sanitizer/tsan_interface.h:24:6: note: previous declaration of ‘void __tsan_acquire(void*)’
   24 | void __tsan_acquire(void *addr);
      |      ^~~~~~~~~~~~~~
channel.hh:39:17: warning: redundant redeclaration of ‘void __tsan_release(void*)’ in same scope [-Wredundant-decls]
   39 | extern "C" void __tsan_release(void* addr);
      |                 ^~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/sanitizer/tsan_interface.h:25:6: note: previous declaration of ‘void __tsan_release(void*)’
   25 | void __tsan_release(void *addr);
```

2 years agodnsgram: Fix Coverity CID 1401647
Remi Gacogne [Wed, 16 Aug 2023 09:13:09 +0000 (11:13 +0200)] 
dnsgram: Fix Coverity CID 1401647

2 years agoixfrdist: Fix Coverity CID 1504137: Uncaught exception
Remi Gacogne [Wed, 16 Aug 2023 08:15:42 +0000 (10:15 +0200)] 
ixfrdist: Fix Coverity CID 1504137: Uncaught exception

2 years agodnsbulktest: Fix Coverity CID 1401681 and 1401676
Remi Gacogne [Wed, 16 Aug 2023 08:15:07 +0000 (10:15 +0200)] 
dnsbulktest: Fix Coverity CID 1401681 and 1401676

2 years agocalidns: Fix Coverity CID 1401679: Uncaught exception
Remi Gacogne [Wed, 16 Aug 2023 08:14:25 +0000 (10:14 +0200)] 
calidns: Fix Coverity CID 1401679: Uncaught exception

2 years agoCoding Guidelines: Mention reserve()/resize() explicitly, with links
Remi Gacogne [Wed, 16 Aug 2023 07:36:21 +0000 (09:36 +0200)] 
Coding Guidelines: Mention reserve()/resize() explicitly, with links

2 years agoMerge pull request #13135 from rgacogne/ddist-gettc
Remi Gacogne [Wed, 16 Aug 2023 07:28:01 +0000 (09:28 +0200)] 
Merge pull request #13135 from rgacogne/ddist-gettc

dnsdist: Add a DNSHeader:getTC() Lua binding

2 years agoMerge pull request #13138 from Habbie/cid398388
Peter van Dijk [Tue, 15 Aug 2023 19:02:14 +0000 (21:02 +0200)] 
Merge pull request #13138 from Habbie/cid398388

coverity CID 398388: useless <0 check on unsigned value

2 years agodnsdist: Remove a second useless check, useless static casts 13138/head
Remi Gacogne [Tue, 15 Aug 2023 16:07:52 +0000 (18:07 +0200)] 
dnsdist: Remove a second useless check, useless static casts

2 years agoMerge pull request #13139 from fredmorcos/minor-cleanups
Peter van Dijk [Tue, 15 Aug 2023 16:27:24 +0000 (18:27 +0200)] 
Merge pull request #13139 from fredmorcos/minor-cleanups

Minor cleanup

2 years agogettime: fix minor compilation warnings 13139/head
Fred Morcos [Tue, 15 Aug 2023 11:22:34 +0000 (13:22 +0200)] 
gettime: fix minor compilation warnings

2 years agoMakefile whitespace
Fred Morcos [Tue, 15 Aug 2023 11:22:51 +0000 (13:22 +0200)] 
Makefile whitespace

2 years agoMerge pull request #13136 from Habbie/ixfrdist-soa-aa
Peter van Dijk [Tue, 15 Aug 2023 11:41:04 +0000 (13:41 +0200)] 
Merge pull request #13136 from Habbie/ixfrdist-soa-aa

ixfrdist: set AA=1 on SOA responses

2 years agoMerge pull request #13134 from Habbie/ixfrdist-pytest
Peter van Dijk [Tue, 15 Aug 2023 11:40:49 +0000 (13:40 +0200)] 
Merge pull request #13134 from Habbie/ixfrdist-pytest

ixfrdist: switch testing to pytest

2 years agocoverity CID 398388: useless <0 check on unsigned value
Peter van Dijk [Tue, 15 Aug 2023 08:28:46 +0000 (10:28 +0200)] 
coverity CID 398388: useless <0 check on unsigned value

2 years agodnsdist: Fix the documented return value of DNSHeader:getTC() 13135/head
Remi Gacogne [Mon, 14 Aug 2023 15:50:52 +0000 (17:50 +0200)] 
dnsdist: Fix the documented return value of DNSHeader:getTC()

2 years agoixfrdist: set AA=1 on SOA responses 13136/head
Peter van Dijk [Mon, 14 Aug 2023 14:52:27 +0000 (16:52 +0200)] 
ixfrdist: set AA=1 on SOA responses

2 years agoeqdnsmessage: adjust to type changes in dnspython
Peter van Dijk [Mon, 14 Aug 2023 15:10:10 +0000 (17:10 +0200)] 
eqdnsmessage: adjust to type changes in dnspython

2 years agoMerge pull request #13094 from rgacogne/ixfrdist-main-complexity
Remi Gacogne [Mon, 14 Aug 2023 15:08:05 +0000 (17:08 +0200)] 
Merge pull request #13094 from rgacogne/ixfrdist-main-complexity

ixfrdist: Reduce the complexity of the main function

2 years agodnsdist: Add a DNSHeader:getTC() Lua binding
Remi Gacogne [Mon, 14 Aug 2023 15:02:39 +0000 (17:02 +0200)] 
dnsdist: Add a DNSHeader:getTC() Lua binding

2 years agoixfrdist: switch testing to pytest 13134/head
Peter van Dijk [Mon, 14 Aug 2023 14:55:02 +0000 (16:55 +0200)] 
ixfrdist: switch testing to pytest

2 years agoixfrdist: after --help or --version, exit (includes var rename) 13094/head
Peter van Dijk [Mon, 14 Aug 2023 13:32:30 +0000 (15:32 +0200)] 
ixfrdist: after --help or --version, exit (includes var rename)

2 years agoMerge pull request #13114 from rgacogne/auth-coverity-3
Remi Gacogne [Mon, 14 Aug 2023 12:39:15 +0000 (14:39 +0200)] 
Merge pull request #13114 from rgacogne/auth-coverity-3

auth: Fix uninitialized scalar field warnings from Coverity

2 years agoCoding Guidelines: More suggestions from Chris Hofstaedtler (thanks!)
Remi Gacogne [Mon, 14 Aug 2023 12:38:04 +0000 (14:38 +0200)] 
Coding Guidelines: More suggestions from Chris Hofstaedtler (thanks!)

2 years agoMerge pull request #13093 from rgacogne/ixfrdist-fix-max-soa-refresh
Peter van Dijk [Mon, 14 Aug 2023 12:23:02 +0000 (14:23 +0200)] 
Merge pull request #13093 from rgacogne/ixfrdist-fix-max-soa-refresh

ixfrdist: Fix the validation of 'max-soa-refresh'

2 years agoMerge pull request #13113 from rgacogne/ddist-discovery-short-read
Remi Gacogne [Mon, 14 Aug 2023 11:23:40 +0000 (13:23 +0200)] 
Merge pull request #13113 from rgacogne/ddist-discovery-short-read

dnsdist: Properly handle short reads on backend upgrade discovery

2 years agoCoding Guidelines: Apply suggestions from review
Remi Gacogne [Mon, 14 Aug 2023 11:22:48 +0000 (13:22 +0200)] 
Coding Guidelines: Apply suggestions from review

2 years agoixfrdist: Call `getpwuid()` before going multi-threaded
Remi Gacogne [Mon, 14 Aug 2023 10:15:53 +0000 (12:15 +0200)] 
ixfrdist: Call `getpwuid()` before going multi-threaded

2 years agoauth: Fix Coverity CID 1504120: Uninitialized scalar field 13114/head
Remi Gacogne [Mon, 14 Aug 2023 10:09:40 +0000 (12:09 +0200)] 
auth: Fix Coverity CID 1504120: Uninitialized scalar field

2 years agoauth: Fix coverity CID 1030024: Uninitialized scalar field
Remi Gacogne [Mon, 14 Aug 2023 10:09:00 +0000 (12:09 +0200)] 
auth: Fix coverity CID 1030024: Uninitialized scalar field

2 years agodnsdist: Uglify the code to make the formatter happy 13113/head
Remi Gacogne [Mon, 14 Aug 2023 09:01:41 +0000 (11:01 +0200)] 
dnsdist: Uglify the code to make the formatter happy

2 years agoMerge pull request #13105 from Habbie/rec-ixfr-debugging
Peter van Dijk [Mon, 14 Aug 2023 08:58:27 +0000 (10:58 +0200)] 
Merge pull request #13105 from Habbie/rec-ixfr-debugging

(I)XFR: handle partial read of len prefix

2 years agodnsdist: Add a 'partial read' case to the backend upgrade tests
Remi Gacogne [Mon, 14 Aug 2023 08:57:38 +0000 (10:57 +0200)] 
dnsdist: Add a 'partial read' case to the backend upgrade tests

2 years agosstuff: Document that Socket::readWithTimeout() does not handle partial reads
Remi Gacogne [Mon, 14 Aug 2023 08:56:53 +0000 (10:56 +0200)] 
sstuff: Document that Socket::readWithTimeout() does not handle partial reads

2 years agodnsdist: Properly handle short reads on backend upgrade discovery
Remi Gacogne [Mon, 14 Aug 2023 08:56:21 +0000 (10:56 +0200)] 
dnsdist: Properly handle short reads on backend upgrade discovery

2 years agoMerge pull request #13111 from franklouwers/master
Peter van Dijk [Mon, 14 Aug 2023 08:23:30 +0000 (10:23 +0200)] 
Merge pull request #13111 from franklouwers/master

Document default for `webserver-loglevel`

2 years agoAuth: always initialize id passed to dk.addKey 12086/head
Chris Hofstaedtler [Sat, 12 Aug 2023 13:31:44 +0000 (15:31 +0200)] 
Auth: always initialize id passed to dk.addKey

2 years agoAPI Auth: dedup "is API-RECTIFY enabled" code
Chris Hofstaedtler [Sat, 12 Aug 2023 11:44:46 +0000 (13:44 +0200)] 
API Auth: dedup "is API-RECTIFY enabled" code

2 years agoAPI Auth: extract addDefaultDNSSECKeys out of updateDomainSettingsFromDocument
Chris Hofstaedtler [Sat, 12 Aug 2023 11:40:06 +0000 (13:40 +0200)] 
API Auth: extract addDefaultDNSSECKeys out of updateDomainSettingsFromDocument

2 years agoAPI Auth: dedup code in updateDomainSettingsFromDocument
Chris Hofstaedtler [Sat, 12 Aug 2023 11:36:00 +0000 (13:36 +0200)] 
API Auth: dedup code in updateDomainSettingsFromDocument

2 years agoAPI Auth: restrict RRset modification for Consumer zones
Chris Hofstaedtler [Fri, 11 Aug 2023 14:24:21 +0000 (16:24 +0200)] 
API Auth: restrict RRset modification for Consumer zones

2 years agoAPI Auth: Support emptying out secondary zone without new SOA
Chris Hofstaedtler [Fri, 11 Aug 2023 11:48:16 +0000 (13:48 +0200)] 
API Auth: Support emptying out secondary zone without new SOA

2 years agoAPI Auth: add invalid RRset test for PUT zone with rrsets
Chris Hofstaedtler [Fri, 11 Aug 2023 11:20:10 +0000 (13:20 +0200)] 
API Auth: add invalid RRset test for PUT zone with rrsets

2 years agoAPI Auth: improve error message consistency
Chris Hofstaedtler [Fri, 11 Aug 2023 11:19:49 +0000 (13:19 +0200)] 
API Auth: improve error message consistency

2 years agoAPI Auth: remove redundant string initialization
Chris Hofstaedtler [Wed, 7 Jun 2023 16:23:27 +0000 (18:23 +0200)] 
API Auth: remove redundant string initialization

2 years agoAPI Auth: ignore readability-function-cognitive-complexity for patchZone
Chris Hofstaedtler [Wed, 7 Jun 2023 12:45:18 +0000 (14:45 +0200)] 
API Auth: ignore readability-function-cognitive-complexity for patchZone

2 years agoAPI Auth: ttl in gatherRecords needs to be unsigned
Chris Hofstaedtler [Wed, 7 Jun 2023 12:43:20 +0000 (14:43 +0200)] 
API Auth: ttl in gatherRecords needs to be unsigned

2 years agoAPI Auth: add missing braces to conditional statements
Chris Hofstaedtler [Wed, 7 Jun 2023 12:42:03 +0000 (14:42 +0200)] 
API Auth: add missing braces to conditional statements

2 years agoAPI Auth: use empty()
Chris Hofstaedtler [Wed, 7 Jun 2023 12:40:44 +0000 (14:40 +0200)] 
API Auth: use empty()

2 years agoAPI Auth: split apiServersZone to lower readability-function-cognitive-complexity
Chris Hofstaedtler [Wed, 7 Jun 2023 16:32:21 +0000 (18:32 +0200)] 
API Auth: split apiServersZone to lower readability-function-cognitive-complexity

2 years agoAdd static_cast<int> to hide long-standing internal API design bugs
Chris Hofstaedtler [Wed, 7 Jun 2023 12:34:24 +0000 (14:34 +0200)] 
Add static_cast<int> to hide long-standing internal API design bugs

2 years agoAPI Auth: increase SOA serial only once in PUT
Chris Hofstaedtler [Mon, 27 Mar 2023 07:36:56 +0000 (09:36 +0200)] 
API Auth: increase SOA serial only once in PUT

Already done by updateDomainSettingsFromDocument.

2 years agoAPI Auth: clear auth cache in PUT
Chris Hofstaedtler [Mon, 27 Mar 2023 07:37:10 +0000 (09:37 +0200)] 
API Auth: clear auth cache in PUT

2 years agoAPI Auth: forbid ttl < 0
Chris Hofstaedtler [Fri, 3 Feb 2023 10:13:59 +0000 (11:13 +0100)] 
API Auth: forbid ttl < 0

2 years agoAPI Auth: replace zone contents
Chris Hofstaedtler [Wed, 12 Oct 2022 12:22:42 +0000 (14:22 +0200)] 
API Auth: replace zone contents

In PUT on a specific zone it is now possible to set "rrsets", like in
POST.

2 years agoAPI tests: add get_zone helper
Chris Hofstaedtler [Wed, 16 Nov 2022 11:29:18 +0000 (12:29 +0100)] 
API tests: add get_zone helper

2 years agoAPI tests: add put_zone helper
Chris Hofstaedtler [Wed, 16 Nov 2022 11:10:43 +0000 (12:10 +0100)] 
API tests: add put_zone helper

2 years agoCoding Guidelines: Formatting of the C++ casts bullet points
Fred Morcos [Thu, 10 Aug 2023 14:57:34 +0000 (16:57 +0200)] 
Coding Guidelines: Formatting of the C++ casts bullet points

2 years agoCoding Guidelines: Some formatting of C++ keywords
Fred Morcos [Thu, 10 Aug 2023 14:57:18 +0000 (16:57 +0200)] 
Coding Guidelines: Some formatting of C++ keywords

2 years agoCoding Guidelines: More descriptive section titles
Fred Morcos [Thu, 10 Aug 2023 14:56:45 +0000 (16:56 +0200)] 
Coding Guidelines: More descriptive section titles

2 years agoCoding Guidelines: Capitalize list items
Fred Morcos [Thu, 10 Aug 2023 14:56:26 +0000 (16:56 +0200)] 
Coding Guidelines: Capitalize list items

2 years agoCoding Guidelines: Use decltype in code example
Fred Morcos [Thu, 10 Aug 2023 14:55:43 +0000 (16:55 +0200)] 
Coding Guidelines: Use decltype in code example

2 years agoCoding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper
Fred Morcos [Thu, 10 Aug 2023 14:55:31 +0000 (16:55 +0200)] 
Coding Guidelines: BadFileDescriptorWrapper -> GoodFileDescriptorWrapper

2 years agoCoding Guidelines: Some code formatting and minor fixes
Fred Morcos [Thu, 10 Aug 2023 14:55:15 +0000 (16:55 +0200)] 
Coding Guidelines: Some code formatting and minor fixes

2 years agoCoding Guidelines: Rewording and typos
Fred Morcos [Thu, 10 Aug 2023 14:54:18 +0000 (16:54 +0200)] 
Coding Guidelines: Rewording and typos

2 years agoCoding Guidelines: Properly capitalize section names
Fred Morcos [Thu, 10 Aug 2023 14:51:23 +0000 (16:51 +0200)] 
Coding Guidelines: Properly capitalize section names

2 years agoDocument default for `webserver-loglevel` 13111/head
Frank Louwers [Thu, 10 Aug 2023 12:44:51 +0000 (14:44 +0200)] 
Document default for `webserver-loglevel`

2 years agoMerge pull request #12565 from jsoref/harmonize-xfr-out-messages
Peter van Dijk [Thu, 10 Aug 2023 12:14:39 +0000 (14:14 +0200)] 
Merge pull request #12565 from jsoref/harmonize-xfr-out-messages

auth: harmonize *xfr log messages

2 years agoadd a few links; collection of small nits
Peter van Dijk [Wed, 9 Aug 2023 17:15:04 +0000 (19:15 +0200)] 
add a few links; collection of small nits

2 years agolog port with this failure, as done elswhere
Sander Smeenk [Wed, 9 Aug 2023 16:48:46 +0000 (18:48 +0200)] 
log port with this failure, as done elswhere

2 years agoformatting: one sentence per line. added ## to two things that looked like headings
Peter van Dijk [Wed, 9 Aug 2023 15:27:07 +0000 (17:27 +0200)] 
formatting: one sentence per line. added ## to two things that looked like headings

2 years agoMerge pull request #12949 from rgacogne/auth-channel
Peter van Dijk [Wed, 9 Aug 2023 14:59:40 +0000 (16:59 +0200)] 
Merge pull request #12949 from rgacogne/auth-channel

auth: Refactor the MultiThreadDistributor using pdns::channel

2 years agoMake clang-tidy happy 13106/head
Otto Moerbeek [Wed, 9 Aug 2023 11:45:12 +0000 (13:45 +0200)] 
Make clang-tidy happy

2 years agoremove redundant assignment 13105/head
Otto Moerbeek [Wed, 9 Aug 2023 08:09:36 +0000 (10:09 +0200)] 
remove redundant assignment

2 years agoMerge pull request #13108 from fredmorcos/auth-fix-bind-backend-warnings
Peter van Dijk [Wed, 9 Aug 2023 07:26:35 +0000 (09:26 +0200)] 
Merge pull request #13108 from fredmorcos/auth-fix-bind-backend-warnings

Auth: Fix warnings in bind backend

2 years agoMerge pull request #13098 from omoerbeek/rec-docs-upgrade-stack
Otto Moerbeek [Wed, 9 Aug 2023 06:26:05 +0000 (08:26 +0200)] 
Merge pull request #13098 from omoerbeek/rec-docs-upgrade-stack

rec: Expand the note on max-recursion-depth in the upgrade notes

2 years agoAuth: Fix warnings in bind backend 13108/head
Fred Morcos [Tue, 8 Aug 2023 21:11:47 +0000 (23:11 +0200)] 
Auth: Fix warnings in bind backend

2 years agoMerge pull request #13107 from paddg/max-packetcache-entries-doc-patch-1
Otto Moerbeek [Tue, 8 Aug 2023 19:02:32 +0000 (21:02 +0200)] 
Merge pull request #13107 from paddg/max-packetcache-entries-doc-patch-1

Update max-packetcache-entries setting doc

2 years agoIXFR client: handle partial reads of the TCP chunk length header, plus:
Peter van Dijk [Mon, 7 Aug 2023 17:13:36 +0000 (19:13 +0200)] 
IXFR client: handle partial reads of the TCP chunk length header, plus:
* add primarySOACount to exception text
* add indicator of current state to exception text
* a test

2 years agoUpdate max-packetcache-entries setting doc 13107/head
Winfried Angele [Tue, 8 Aug 2023 14:32:27 +0000 (16:32 +0200)] 
Update max-packetcache-entries setting doc

Since 4.9.0, the packet cache is sharded and shared by all threads.

2 years agorec: replace data in the aggressive cache if it becomes available
Otto Moerbeek [Tue, 8 Aug 2023 10:15:00 +0000 (12:15 +0200)] 
rec: replace data in the aggressive cache if it becomes available

Currently, new data does not get recorded into the aggressive cache
if there's an existing entry that matches. Together with the fact
that in some cases pruning can be unfair (it scans the zones
always in the same order and stops clearing when it has reached the
goal) and/or not very active (when the recursor is lighlty loaded)
this has the consequence that old expired records can remain in
the cache that prevent new data to be recorded and used.

2 years agotypo fix
Peter van Dijk [Mon, 7 Aug 2023 17:13:11 +0000 (19:13 +0200)] 
typo fix

2 years agorec: Do not assume the records are in a particular order when determining if an answer is 13102/head
Otto Moerbeek [Fri, 4 Aug 2023 11:07:59 +0000 (13:07 +0200)] 
rec: Do not assume the records are in a particular order when determining if an answer is
NODATA.

2 years agoMerge pull request #13096 from Habbie/lmdb-do-reset-index-timestamp
Peter van Dijk [Thu, 3 Aug 2023 09:42:33 +0000 (11:42 +0200)] 
Merge pull request #13096 from Habbie/lmdb-do-reset-index-timestamp

auth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged

2 years agoMerge pull request #13089 from Habbie/auth-docs-metadata-dnssec
Peter van Dijk [Thu, 3 Aug 2023 09:22:37 +0000 (11:22 +0200)] 
Merge pull request #13089 from Habbie/auth-docs-metadata-dnssec

auth docs: remove domainmetadata/DNSSEC warning, has not been true for years

2 years agoExpand the note on max-recursion-depth 13098/head
Otto Moerbeek [Thu, 3 Aug 2023 09:12:11 +0000 (11:12 +0200)] 
Expand the note on max-recursion-depth

2 years agoGH actions. build-packages.yml: adding a hash verification for all targets 13097/head
Alexis Romero [Thu, 3 Aug 2023 08:10:46 +0000 (10:10 +0200)] 
GH actions. build-packages.yml: adding a hash verification for all targets

2 years agoauth lmdb: when broadcasting indexes, -do- rewrite them even if they are unchanged 13096/head
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

2 years agoMerge pull request #13087 from Habbie/rm-init.d
Peter van Dijk [Wed, 2 Aug 2023 10:02:58 +0000 (12:02 +0200)] 
Merge pull request #13087 from Habbie/rm-init.d

remove unused sysv init files

2 years agoremove unused sysv init files - we don't ship them, and non-systemd downstream packag... 13087/head
Peter van Dijk [Mon, 31 Jul 2023 10:53:34 +0000 (12:53 +0200)] 
remove unused sysv init files - we don't ship them, and non-systemd downstream packages all have their own

2 years agoixfrdist: Delint ixfrdist.cc a bit more
Remi Gacogne [Tue, 1 Aug 2023 15:50:57 +0000 (17:50 +0200)] 
ixfrdist: Delint ixfrdist.cc a bit more

2 years agoAdd a coding guidelines document to the public repository
Remi Gacogne [Tue, 1 Aug 2023 15:26:04 +0000 (17:26 +0200)] 
Add a coding guidelines document to the public repository

We have had an internal version of this document for a while now,
but there is no reason not to make it available to external
contributors as well.

2 years agoMerge pull request #13092 from rgacogne/rec-coverity
Remi Gacogne [Tue, 1 Aug 2023 14:25:08 +0000 (16:25 +0200)] 
Merge pull request #13092 from rgacogne/rec-coverity

rec: Fixes a few performance issues reported by Coverity

2 years agoMerge pull request #13091 from rgacogne/auth-coverity-2
Remi Gacogne [Tue, 1 Aug 2023 14:22:35 +0000 (16:22 +0200)] 
Merge pull request #13091 from rgacogne/auth-coverity-2

auth: Fixes a few issues reported by Coverity

2 years agoixfrdist: Reduce the complexity of the main function
Remi Gacogne [Tue, 1 Aug 2023 14:20:50 +0000 (16:20 +0200)] 
ixfrdist: Reduce the complexity of the main function

2 years agoixfrdist: Fix the validation of 'max-soa-refresh' 13093/head
Remi Gacogne [Tue, 1 Aug 2023 14:17:49 +0000 (16:17 +0200)] 
ixfrdist: Fix the validation of 'max-soa-refresh'

2 years agorec: Prevent a copy when distributing UDP queries to workers 13092/head
Remi Gacogne [Tue, 1 Aug 2023 13:09:59 +0000 (15:09 +0200)] 
rec: Prevent a copy when distributing UDP queries to workers

Reported by Coverity as CID 1509301.