]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
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.

2 years agorec: Prevent a copy in RecursorLua4::DNSQuestion::addAnswer
Remi Gacogne [Tue, 1 Aug 2023 13:09:25 +0000 (15:09 +0200)] 
rec: Prevent a copy in RecursorLua4::DNSQuestion::addAnswer

Reported by Coverity as 1509322

2 years agopdnsutil: Set a proper umask before writing the temporary zone file 13091/head
Remi Gacogne [Tue, 1 Aug 2023 11:56:03 +0000 (13:56 +0200)] 
pdnsutil: Set a proper umask before writing the temporary zone file

This does not matter on Linux where mkstemp ensures that "the file
is created with permissions 0600 that is, read plus write for owner
only" but it might on other systems as POSIX does not require mkstemp
to do so.
Reported by Coverity as CID 1501165.

2 years agoixfrdist: Ensure exceptions are properly caught
Remi Gacogne [Tue, 1 Aug 2023 11:54:30 +0000 (13:54 +0200)] 
ixfrdist: Ensure exceptions are properly caught

Reported by Coverity as CIDs 1504095150409715041091504112,
150411315041141504137 and 1504138.

2 years agopkcs11signers: Fix a possibly unitialized variable
Remi Gacogne [Tue, 1 Aug 2023 11:53:54 +0000 (13:53 +0200)] 
pkcs11signers: Fix a possibly unitialized variable

Reported by Coverity as CID 1504120.

2 years agoauth: Make Coverity happy about 'ifurlextup' (CID 1509357)
Remi Gacogne [Tue, 1 Aug 2023 11:52:53 +0000 (13:52 +0200)] 
auth: Make Coverity happy about 'ifurlextup' (CID 1509357)

2 years agospeedtest: Make coverity happy (CID 1513038)
Remi Gacogne [Tue, 1 Aug 2023 11:51:52 +0000 (13:51 +0200)] 
speedtest: Make coverity happy (CID 1513038)

2 years agofuzzing: Add a missing cstdint header to the fuzzing targets
Remi Gacogne [Tue, 1 Aug 2023 11:51:20 +0000 (13:51 +0200)] 
fuzzing: Add a missing cstdint header to the fuzzing targets

2 years agolmdbbackend: Prevent a useless copy in LMDBBackend::getAllDomainsFiltered()
Remi Gacogne [Tue, 1 Aug 2023 11:49:50 +0000 (13:49 +0200)] 
lmdbbackend: Prevent a useless copy in LMDBBackend::getAllDomainsFiltered()

Reported by Coverity as 1510936: AUTO_CAUSES_COPY.

2 years agoMerge pull request #13013 from rgacogne/ddist-get-rule-action-matched
Remi Gacogne [Tue, 1 Aug 2023 11:23:01 +0000 (13:23 +0200)] 
Merge pull request #13013 from rgacogne/ddist-get-rule-action-matched

dnsdist: Add Lua bindings to access selector and action

2 years agoMerge pull request #13018 from rgacogne/calidns-fix-ecs-0
Remi Gacogne [Tue, 1 Aug 2023 09:42:29 +0000 (11:42 +0200)] 
Merge pull request #13018 from rgacogne/calidns-fix-ecs-0

calidns: Fix setting an ECS source of 0

2 years agoMerge pull request #13088 from rgacogne/ddist-remove-useless-user-group-unit-sed
Remi Gacogne [Tue, 1 Aug 2023 09:03:29 +0000 (11:03 +0200)] 
Merge pull request #13088 from rgacogne/ddist-remove-useless-user-group-unit-sed

dnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart

2 years agoMerge pull request #13084 from rgacogne/ddist-fix-dnsdistconf-grp-rpm
Remi Gacogne [Tue, 1 Aug 2023 09:02:51 +0000 (11:02 +0200)] 
Merge pull request #13084 from rgacogne/ddist-fix-dnsdistconf-grp-rpm

dnsdist: Fix the group of the dnsdist.conf file when installed via RPM

2 years agoauth docs: remove domainmetadata/DNSSEC warning, has not been true for years 13089/head
Peter van Dijk [Tue, 1 Aug 2023 09:00:55 +0000 (11:00 +0200)] 
auth docs: remove domainmetadata/DNSSEC warning, has not been true for years

2 years agodnsdist: Fix a c/p mistake in the description of getSelfAnsweredResponseRule 13013/head
Remi Gacogne [Tue, 1 Aug 2023 08:57:16 +0000 (10:57 +0200)] 
dnsdist: Fix a c/p mistake in the description of getSelfAnsweredResponseRule

2 years agodnsdist: Add a comment indicating we are fine with at() throwing
Remi Gacogne [Tue, 1 Aug 2023 08:55:16 +0000 (10:55 +0200)] 
dnsdist: Add a comment indicating we are fine with at() throwing

2 years agodnsdist: Fix indentation
Remi Gacogne [Tue, 1 Aug 2023 08:52:24 +0000 (10:52 +0200)] 
dnsdist: Fix indentation

2 years agocalidns: Fix the use of `ntohl` instead of `htonl` in ECS handling 13018/head
Remi Gacogne [Mon, 31 Jul 2023 15:43:07 +0000 (17:43 +0200)] 
calidns: Fix the use of `ntohl` instead of `htonl` in ECS handling

2 years agocalidns: Use the full 32-bit range for 0.0.0.0/0, via Otto
Remi Gacogne [Wed, 12 Jul 2023 11:07:29 +0000 (13:07 +0200)] 
calidns: Use the full 32-bit range for 0.0.0.0/0, via Otto

2 years agocalidns: Fix setting an ECS source of 0
Remi Gacogne [Wed, 12 Jul 2023 08:49:31 +0000 (10:49 +0200)] 
calidns: Fix setting an ECS source of 0

2 years agodnsdist: Fix the group of the dnsdist.conf file when installed via RPM 13084/head
Remi Gacogne [Tue, 1 Aug 2023 08:04:54 +0000 (10:04 +0200)] 
dnsdist: Fix the group of the dnsdist.conf file when installed via RPM

I _hope_ the `%attr` directive does the right thing, based on
http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html
I'm using this directive instead of calling `chgrp` in `%post` because
I'm told using `chgrp` would make `verify` complain about the ownership later.

2 years agodnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart 13088/head
Remi Gacogne [Tue, 1 Aug 2023 07:56:40 +0000 (09:56 +0200)] 
dnsdist: Stop passing -u dnsdist -g dnsdist on systemd's ExecStart

This is useless as long as @service_user@ and @service_group@ are
set to 'dnsdist' (which is always true in our build system), and
would not have worked otherwise because dnsdist would have rejected
it with:
```
--gid/-g set on command-line, but dnsdist was started as a systemd service.
Use the 'Group' setting in the systemd unit file to set the group to run as
```

2 years agoAdd speed bumps to bug filing
Josh Soref [Mon, 31 Jul 2023 17:32:42 +0000 (13:32 -0400)] 
Add speed bumps to bug filing