]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoPass an object as const ref 12122/head
Otto Moerbeek [Wed, 26 Oct 2022 05:56:47 +0000 (07:56 +0200)] 
Pass an object as const ref

Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
2 years agoImplement output operator for QTypes.
Otto Moerbeek [Mon, 24 Oct 2022 09:48:17 +0000 (11:48 +0200)] 
Implement output operator for QTypes.

This fixes #12089

The theory says there should be no unwanted side effects, but I'd like
that to be validated independently.

2 years agoMerge pull request #12117 from zeha/autoremovaltidy
Peter van Dijk [Sat, 22 Oct 2022 13:30:15 +0000 (15:30 +0200)] 
Merge pull request #12117 from zeha/autoremovaltidy

Tidy up build-scripts/check-debian-autoremovals.py

2 years agoTidy up build-scripts/check-debian-autoremovals.py 12117/head
Chris Hofstaedtler [Sat, 22 Oct 2022 13:17:01 +0000 (15:17 +0200)] 
Tidy up build-scripts/check-debian-autoremovals.py

Apply black; apply flake8 hints (with line-length 120).
Avoid printing message multiple times; split into function blocks.

2 years agoMerge pull request #12115 from Habbie/daily-debian-autoremovals
Peter van Dijk [Sat, 22 Oct 2022 10:20:55 +0000 (12:20 +0200)] 
Merge pull request #12115 from Habbie/daily-debian-autoremovals

daily job: check debian autoremovals

2 years agodaily job: check debian autoremovals 12115/head
Peter van Dijk [Fri, 21 Oct 2022 09:14:41 +0000 (11:14 +0200)] 
daily job: check debian autoremovals

2 years agoMerge pull request #12101 from Habbie/el7-devtoolset-11
Peter van Dijk [Fri, 21 Oct 2022 08:42:19 +0000 (10:42 +0200)] 
Merge pull request #12101 from Habbie/el7-devtoolset-11

el7 builds: bump devtoolset version

2 years agoMerge pull request #12102 from Habbie/setup-dependabot
Peter van Dijk [Thu, 20 Oct 2022 21:14:48 +0000 (23:14 +0200)] 
Merge pull request #12102 from Habbie/setup-dependabot

Setup dependabot

2 years agoMerge pull request #12106 from Habbie/auth-4.7-eol
Peter van Dijk [Thu, 20 Oct 2022 21:07:52 +0000 (23:07 +0200)] 
Merge pull request #12106 from Habbie/auth-4.7-eol

auth: update EOL matrix with 4.7.0 release

2 years agoMerge pull request #12109 from Habbie/4.7-schema-files
Peter van Dijk [Thu, 20 Oct 2022 15:48:00 +0000 (17:48 +0200)] 
Merge pull request #12109 from Habbie/4.7-schema-files

auth: include auth 4.7 schema upgrade files in tarballs and packages

2 years agoauth upgrade notes: make 4.7 schema upgrade file name even more generic 12109/head
Peter van Dijk [Thu, 20 Oct 2022 13:02:20 +0000 (15:02 +0200)] 
auth upgrade notes: make 4.7 schema upgrade file name even more generic

2 years agoMerge pull request #12065 from rgacogne/ddist-dynamic-checks
Remi Gacogne [Thu, 20 Oct 2022 14:00:11 +0000 (16:00 +0200)] 
Merge pull request #12065 from rgacogne/ddist-dynamic-checks

dnsdist: Implement a 'lazy' health-checking mode

2 years agodnsdist: Prevent copies of the lazy health-check options 12065/head
Remi Gacogne [Thu, 20 Oct 2022 12:59:32 +0000 (14:59 +0200)] 
dnsdist: Prevent copies of the lazy health-check options

As suggested by Aki Tuomi (thanks!).

2 years agoinclude auth 4.7 schema upgrade files in tarballs and packages
Peter van Dijk [Thu, 20 Oct 2022 12:57:46 +0000 (14:57 +0200)] 
include auth 4.7 schema upgrade files in tarballs and packages

2 years agodnsdist: Fix lazy health-check related documentation issues
Remi Gacogne [Thu, 20 Oct 2022 12:27:39 +0000 (14:27 +0200)] 
dnsdist: Fix lazy health-check related documentation issues

2 years agodnsdist: Be more consistent in the naming if lazy health-check fields
Remi Gacogne [Thu, 20 Oct 2022 12:27:13 +0000 (14:27 +0200)] 
dnsdist: Be more consistent in the naming if lazy health-check fields

2 years agodnsdist: Update the backend discovery tests for the updated health-check options
Remi Gacogne [Tue, 18 Oct 2022 15:38:59 +0000 (17:38 +0200)] 
dnsdist: Update the backend discovery tests for the updated health-check options

2 years agodnsdist: Add an option to use the 'lazy' mode for auto-upgraded servers
Remi Gacogne [Tue, 18 Oct 2022 14:28:43 +0000 (16:28 +0200)] 
dnsdist: Add an option to use the 'lazy' mode for auto-upgraded servers

2 years agodnsdist: Properly handle the initial failure in 'lazy' mode
Remi Gacogne [Tue, 18 Oct 2022 13:46:19 +0000 (15:46 +0200)] 
dnsdist: Properly handle the initial failure in 'lazy' mode

2 years agodnsdist: Implement exponential back-off for the 'lazy' mode
Remi Gacogne [Fri, 7 Oct 2022 15:43:21 +0000 (17:43 +0200)] 
dnsdist: Implement exponential back-off for the 'lazy' mode

2 years agodnsdist: Add more comments in the health-check handling code
Remi Gacogne [Fri, 7 Oct 2022 08:32:39 +0000 (10:32 +0200)] 
dnsdist: Add more comments in the health-check handling code

2 years agodnsdist: Add regression tests for the 'lazy' health-check feature
Remi Gacogne [Thu, 6 Oct 2022 16:01:28 +0000 (18:01 +0200)] 
dnsdist: Add regression tests for the 'lazy' health-check feature

2 years agodnsdist: Add unit tests for the 'lazy health-check' feature
Remi Gacogne [Thu, 6 Oct 2022 14:19:06 +0000 (16:19 +0200)] 
dnsdist: Add unit tests for the 'lazy health-check' feature

Fixing a bug in the process, as one does.

2 years agodnsdist: Add proper bound checks for lazy health-check parameters
Remi Gacogne [Thu, 6 Oct 2022 08:48:58 +0000 (10:48 +0200)] 
dnsdist: Add proper bound checks for lazy health-check parameters

2 years agodnsdist: Implement a 'lazy' health-checking mode
Remi Gacogne [Tue, 4 Oct 2022 17:13:32 +0000 (19:13 +0200)] 
dnsdist: Implement a 'lazy' health-checking mode

The general idea is that, on some low-end devices, we want to avoid
sending health-check queries to the backend at a regular interval,
as this might represent an order of magnitude more queries than
regular traffic.
To do that we instead look at the amount of timeouts and Server Failure
errors occurring with regular queries, and only start doing active
health-checking if these errors reach a certain threshold, temporarily
placing the backend in a 'potential failure' state.
If the health-check queries succeed, we quickly go back to the previous
'Healthy' state and stop sending health-check queries. Otherwise we
place the backend in 'Failed' state and keep sending health-check queries
but a reduced rate, as long as the backend is failing.

2 years agoMerge pull request #12107 from mnordhoff/patch-13
Peter van Dijk [Thu, 20 Oct 2022 10:00:43 +0000 (12:00 +0200)] 
Merge pull request #12107 from mnordhoff/patch-13

docs: Clarify schema change filename

2 years agodocs: Clarify schema change filename 12107/head
Matt Nordhoff [Thu, 20 Oct 2022 09:20:06 +0000 (09:20 +0000)] 
docs: Clarify schema change filename

The Auth 4.7 upgrade note said every backend used `...schema.pgsql.sql`.

2 years agoauth: update EOL matrix and secpoll with 4.7.0 release 12106/head
Peter van Dijk [Thu, 20 Oct 2022 08:37:28 +0000 (10:37 +0200)] 
auth: update EOL matrix and secpoll with 4.7.0 release

2 years agoMerge pull request #12105 from Habbie/auth-4.7.0-docs
Peter van Dijk [Thu, 20 Oct 2022 08:27:04 +0000 (10:27 +0200)] 
Merge pull request #12105 from Habbie/auth-4.7.0-docs

auth-4.7-0: docs and secpoll

2 years agoMerge pull request #12103 from rgacogne/ddist-suppress-race-tcp-latency
Remi Gacogne [Thu, 20 Oct 2022 07:56:31 +0000 (09:56 +0200)] 
Merge pull request #12103 from rgacogne/ddist-suppress-race-tcp-latency

dnsdist: Suppress a TSAN report about a TCP latency-related race

2 years agoauth-4.7.0-rc1 changelog: add tags 12105/head
Peter van Dijk [Thu, 20 Oct 2022 07:45:48 +0000 (09:45 +0200)] 
auth-4.7.0-rc1 changelog: add tags

2 years agoauth-4.7.0: secpoll and docs
Peter van Dijk [Thu, 20 Oct 2022 07:45:40 +0000 (09:45 +0200)] 
auth-4.7.0: secpoll and docs

2 years agodnsdist: Suppress a TSAN report about a TCP latency-related race 12103/head
Remi Gacogne [Wed, 19 Oct 2022 20:23:01 +0000 (22:23 +0200)] 
dnsdist: Suppress a TSAN report about a TCP latency-related race

The race is real but we do not care much as this is only to provide
a rough metric.

2 years agobuild(deps): bump actions/checkout from 2.3.4 to 3.1.0 12102/head
dependabot[bot] [Wed, 19 Oct 2022 14:44:55 +0000 (14:44 +0000)] 
build(deps): bump actions/checkout from 2.3.4 to 3.1.0

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump actions/cache from 2 to 3.0.11
dependabot[bot] [Wed, 19 Oct 2022 14:28:05 +0000 (14:28 +0000)] 
build(deps): bump actions/cache from 2 to 3.0.11

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.11)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump actions/setup-python from 2 to 4
dependabot[bot] [Wed, 19 Oct 2022 14:28:07 +0000 (14:28 +0000)] 
build(deps): bump actions/setup-python from 2 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump actions/upload-artifact from 1 to 3
dependabot[bot] [Wed, 19 Oct 2022 14:28:01 +0000 (14:28 +0000)] 
build(deps): bump actions/upload-artifact from 1 to 3

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump actions/download-artifact from 2 to 3
dependabot[bot] [Wed, 19 Oct 2022 14:27:58 +0000 (14:27 +0000)] 
build(deps): bump actions/download-artifact from 2 to 3

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoadd dependabot config - PRs for GH actions, only alerts for Python packages
Peter van Dijk [Wed, 12 Oct 2022 14:50:28 +0000 (16:50 +0200)] 
add dependabot config - PRs for GH actions, only alerts for Python packages

2 years agoel7: bump devtoolset to 11 12101/head
Peter van Dijk [Wed, 19 Oct 2022 14:11:53 +0000 (16:11 +0200)] 
el7: bump devtoolset to 11

2 years agoadd dailies workflow, with el7-devtoolset job
Peter van Dijk [Wed, 19 Oct 2022 14:10:21 +0000 (16:10 +0200)] 
add dailies workflow, with el7-devtoolset job

2 years agoMerge pull request #12097 from mind04/auth-axfr
Peter van Dijk [Tue, 18 Oct 2022 19:56:54 +0000 (21:56 +0200)] 
Merge pull request #12097 from mind04/auth-axfr

auth: fix axfr for tinydns and pipe backend

2 years agoMerge pull request #12091 from mind04/auth-lmdb-catz
Peter van Dijk [Tue, 18 Oct 2022 18:52:45 +0000 (20:52 +0200)] 
Merge pull request #12091 from mind04/auth-lmdb-catz

auth: add note about lmdb-random-ids and catalog zones producers

2 years agoauth: fix axfr for tinydns and pipe backend 12097/head
Kees Monshouwer [Tue, 18 Oct 2022 18:35:01 +0000 (20:35 +0200)] 
auth: fix axfr for tinydns and pipe backend

2 years agoMerge pull request #11675 from chbruyand/dnsdist-tls-materials-notfound
Remi Gacogne [Mon, 17 Oct 2022 13:05:04 +0000 (15:05 +0200)] 
Merge pull request #11675 from chbruyand/dnsdist-tls-materials-notfound

dnsdist: skip DoT/DoH frontend when a tls configuration error occurs

2 years agodnsdist: Fix formatting 11675/head
Remi Gacogne [Fri, 14 Oct 2022 12:47:30 +0000 (14:47 +0200)] 
dnsdist: Fix formatting

2 years agodnsdist: skip DoT/DoH frontend when a tls configuration error occurs
Charles-Henri Bruyand [Wed, 1 Jun 2022 15:47:49 +0000 (17:47 +0200)] 
dnsdist: skip DoT/DoH frontend when a tls configuration error occurs

2 years agoauth: add note about lmdb-random-ids and catalog zones producers 12091/head
Kees Monshouwer [Fri, 14 Oct 2022 11:54:07 +0000 (13:54 +0200)] 
auth: add note about lmdb-random-ids and catalog zones producers

2 years agoMerge pull request #12070 from mind04/pdns-metadata
Peter van Dijk [Fri, 14 Oct 2022 07:56:28 +0000 (09:56 +0200)] 
Merge pull request #12070 from mind04/pdns-metadata

auth: pdnsutil check-zone, skip metadata check for backends without g…

2 years agoMerge pull request #12084 from rgacogne/fix-spell-checking
Peter van Dijk [Wed, 12 Oct 2022 11:29:58 +0000 (13:29 +0200)] 
Merge pull request #12084 from rgacogne/fix-spell-checking

Fix spell-checking issues

2 years agoTwo more spell-checking issues 12084/head
Remi Gacogne [Wed, 12 Oct 2022 08:44:28 +0000 (10:44 +0200)] 
Two more spell-checking issues

2 years agoFix spell-checking issues
Remi Gacogne [Wed, 12 Oct 2022 08:42:03 +0000 (10:42 +0200)] 
Fix spell-checking issues

2 years agoMerge pull request #12074 from christofchen/getPoolNames
Remi Gacogne [Tue, 11 Oct 2022 15:06:54 +0000 (17:06 +0200)] 
Merge pull request #12074 from christofchen/getPoolNames

add getPoolNames() function, returning a list of pool names

2 years agoMerge pull request #12082 from rgacogne/coverity-network-range-computation
Remi Gacogne [Tue, 11 Oct 2022 12:54:08 +0000 (14:54 +0200)] 
Merge pull request #12082 from rgacogne/coverity-network-range-computation

dnsdist: Cleaner way of getting the IP/masks associated to a network interface

2 years agodnsdist: Get rid of "magic" numbers when converting a network mask 12082/head
Remi Gacogne [Tue, 11 Oct 2022 12:16:35 +0000 (14:16 +0200)] 
dnsdist: Get rid of "magic" numbers when converting a network mask

2 years agoCleaner way of getting the IP/masks associated to a network interface
Remi Gacogne [Tue, 11 Oct 2022 08:06:07 +0000 (10:06 +0200)] 
Cleaner way of getting the IP/masks associated to a network interface

Fixes coverity's report CID 1498958.

2 years agoMerge pull request #12077 from christofchen/expungeByNameFix
Remi Gacogne [Mon, 10 Oct 2022 13:16:54 +0000 (15:16 +0200)] 
Merge pull request #12077 from christofchen/expungeByNameFix

retain output when expunging from multiple caches

2 years agoMerge pull request #12022 from rgacogne/ddist-dnsparser-helpers
Remi Gacogne [Mon, 10 Oct 2022 13:11:48 +0000 (15:11 +0200)] 
Merge pull request #12022 from rgacogne/ddist-dnsparser-helpers

dnsdist: Add Lua helpers to look into the content of DNS payloads

2 years agoMerge pull request #12071 from rgacogne/ddist-fix-newthread-version
Remi Gacogne [Mon, 10 Oct 2022 09:46:50 +0000 (11:46 +0200)] 
Merge pull request #12071 from rgacogne/ddist-fix-newthread-version

dnsdist: 'newThread()' and co were actually introduced in 1.8

2 years agodnsdist: Apply suggestions from Charles-Henri (thanks!) 12022/head
Remi Gacogne [Thu, 6 Oct 2022 16:06:35 +0000 (18:06 +0200)] 
dnsdist: Apply suggestions from Charles-Henri (thanks!)

2 years agodnsdist: Add regular Lua bindings for the DNS packet overlay
Remi Gacogne [Mon, 26 Sep 2022 15:25:51 +0000 (17:25 +0200)] 
dnsdist: Add regular Lua bindings for the DNS packet overlay

2 years agodnsdist: Better bounds checking in Lua FFI overlay accessors
Remi Gacogne [Mon, 28 Feb 2022 15:05:28 +0000 (16:05 +0100)] 
dnsdist: Better bounds checking in Lua FFI overlay accessors

2 years agodnsdist: Add unit test for our DNS packet overlay
Remi Gacogne [Tue, 25 Jan 2022 15:32:48 +0000 (16:32 +0100)] 
dnsdist: Add unit test for our DNS packet overlay

2 years agodnsdist: Remove unreachable catch while parsing a DNS packet
Remi Gacogne [Tue, 19 Apr 2022 15:21:00 +0000 (17:21 +0200)] 
dnsdist: Remove unreachable catch while parsing a DNS packet

2 years agodnsdist: Add Lua FFI helpers for parsing a DNS packet
Remi Gacogne [Tue, 4 Jan 2022 17:10:01 +0000 (18:10 +0100)] 
dnsdist: Add Lua FFI helpers for parsing a DNS packet

2 years agoMerge pull request #11994 from rgacogne/ddist-more-lua-net-bindings
Remi Gacogne [Mon, 10 Oct 2022 07:54:22 +0000 (09:54 +0200)] 
Merge pull request #11994 from rgacogne/ddist-more-lua-net-bindings

dnsdist: Add more Lua bindings for network-related operations

2 years agoMerge pull request #11901 from rgacogne/ddist-faster-cache-lookups-doh
Remi Gacogne [Mon, 10 Oct 2022 07:54:01 +0000 (09:54 +0200)] 
Merge pull request #11901 from rgacogne/ddist-faster-cache-lookups-doh

dnsdist: Faster cache-lookups for DNS over HTTPS queries

2 years agoUpdate pdns/dnsdistdist/docs/reference/config.rst 12074/head
Christof Chen [Sat, 8 Oct 2022 15:10:43 +0000 (17:10 +0200)] 
Update pdns/dnsdistdist/docs/reference/config.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoformatting
Christof Chen [Sat, 8 Oct 2022 15:06:39 +0000 (17:06 +0200)] 
formatting

2 years agoretain output when expunging from multiple caches 12077/head
Christof Chen [Fri, 7 Oct 2022 20:58:02 +0000 (22:58 +0200)] 
retain output when expunging from multiple caches

2 years agofix formatting
Christof Chen [Fri, 7 Oct 2022 19:46:03 +0000 (21:46 +0200)] 
fix formatting

2 years agoadd documentation
Christof Chen [Fri, 7 Oct 2022 18:53:50 +0000 (20:53 +0200)] 
add documentation

2 years agoadd getPoolNames() function
Christof Chen [Fri, 7 Oct 2022 18:32:37 +0000 (20:32 +0200)] 
add getPoolNames() function

2 years agodnsdist: Apply Charles-Henri's suggestions (thanks!) 11994/head
Remi Gacogne [Fri, 7 Oct 2022 16:01:03 +0000 (18:01 +0200)] 
dnsdist: Apply Charles-Henri's suggestions (thanks!)

2 years agodnsdist: Better coverage of Lua network bindings
Remi Gacogne [Wed, 20 Apr 2022 10:22:43 +0000 (12:22 +0200)] 
dnsdist: Better coverage of Lua network bindings

2 years agodnsdist: Add a Lua binding for the getResolvers() function
Remi Gacogne [Wed, 9 Feb 2022 14:13:41 +0000 (15:13 +0100)] 
dnsdist: Add a Lua binding for the getResolvers() function

2 years agodnsdist: Add Lua FFI interface to network endpoint
Remi Gacogne [Mon, 11 Apr 2022 16:12:38 +0000 (18:12 +0200)] 
dnsdist: Add Lua FFI interface to network endpoint

2 years agodnsdist: Prevent the allocation of a large buffer in NetworkListener::readCB()
Remi Gacogne [Sat, 5 Mar 2022 16:06:29 +0000 (18:06 +0200)] 
dnsdist: Prevent the allocation of a large buffer in NetworkListener::readCB()

2 years agodnsdist: Add more unit tests for the Lua network helpers
Remi Gacogne [Mon, 24 Jan 2022 16:53:54 +0000 (17:53 +0100)] 
dnsdist: Add more unit tests for the Lua network helpers

2 years agodnsdist: Add Lua helpers for network operations
Remi Gacogne [Mon, 31 Jan 2022 15:06:47 +0000 (16:06 +0100)] 
dnsdist: Add Lua helpers for network operations

2 years agodnsdist: Add the 'vinfolog' Lua binding
Remi Gacogne [Wed, 12 Jan 2022 15:15:17 +0000 (16:15 +0100)] 
dnsdist: Add the 'vinfolog' Lua binding

2 years agodnsdist: Add getListOfRangesOfNetworkInterface() Lua binding
Remi Gacogne [Mon, 9 May 2022 10:27:33 +0000 (12:27 +0200)] 
dnsdist: Add getListOfRangesOfNetworkInterface() Lua binding

2 years agodnsdist: 'newThread()' and co were actually introduced in 1.8 12071/head
Remi Gacogne [Fri, 7 Oct 2022 15:45:57 +0000 (17:45 +0200)] 
dnsdist: 'newThread()' and co were actually introduced in 1.8

And not in 1.7.0 as the documentation was stating.

2 years agoauth: pdnsutil check-zone, skip metadata check for backends without getAllDomainMetad... 12070/head
Kees Monshouwer [Fri, 7 Oct 2022 14:41:03 +0000 (16:41 +0200)] 
auth: pdnsutil check-zone, skip metadata check for backends without getAllDomainMetadata()

2 years agoMerge pull request #12003 from rgacogne/ddist-single-acceptor
Remi Gacogne [Fri, 7 Oct 2022 13:51:54 +0000 (15:51 +0200)] 
Merge pull request #12003 from rgacogne/ddist-single-acceptor

dnsdist: Add a 'single acceptor thread' build option, reducing the number of threads

2 years agoMerge pull request #12008 from rgacogne/ddist-rings-inspection
Remi Gacogne [Fri, 7 Oct 2022 13:51:02 +0000 (15:51 +0200)] 
Merge pull request #12008 from rgacogne/ddist-rings-inspection

dnsdist: Add Lua binding for inspecting the in-memory ring buffers

2 years agoMerge pull request #12012 from rgacogne/ddist-more-svc-tests
Remi Gacogne [Thu, 6 Oct 2022 14:40:52 +0000 (16:40 +0200)] 
Merge pull request #12012 from rgacogne/ddist-more-svc-tests

dnsdist: More SVC unit tests

2 years agoMerge pull request #11729 from rgacogne/ddist-fix-setecsaction
Remi Gacogne [Thu, 6 Oct 2022 14:06:08 +0000 (16:06 +0200)] 
Merge pull request #11729 from rgacogne/ddist-fix-setecsaction

dnsdist: Fix a bug in SetEDNSOptionAction

2 years agoMerge pull request #12025 from rgacogne/proxy-protocol-payload-alloc
Remi Gacogne [Thu, 6 Oct 2022 14:05:06 +0000 (16:05 +0200)] 
Merge pull request #12025 from rgacogne/proxy-protocol-payload-alloc

Proxy Protocol: Only allocate once when generating the payload

2 years agoMerge pull request #12067 from rgacogne/ednscookie_32_time_t
Remi Gacogne [Thu, 6 Oct 2022 09:45:02 +0000 (11:45 +0200)] 
Merge pull request #12067 from rgacogne/ednscookie_32_time_t

ednscookies: Fix another store_truncates_time_t coverity report

2 years agoMerge pull request #12066 from rgacogne/auth-makebytesfromhex
Remi Gacogne [Thu, 6 Oct 2022 09:05:59 +0000 (11:05 +0200)] 
Merge pull request #12066 from rgacogne/auth-makebytesfromhex

auth: Detect invalid bytes in `makeBytesFromHex()`

2 years agoApply Otto's suggestion 12066/head
Remi Gacogne [Thu, 6 Oct 2022 08:14:50 +0000 (10:14 +0200)] 
Apply Otto's suggestion

2 years agoednscookies: Fix another store_truncates_time_t coverity report 12067/head
Remi Gacogne [Thu, 6 Oct 2022 08:11:55 +0000 (10:11 +0200)] 
ednscookies: Fix another store_truncates_time_t coverity report

The truncation is due to DNS specific protocol properties.

Fixes Coverity CID 380097.

2 years agomisc: Switch to a std::array in makeHexDump()
Remi Gacogne [Thu, 6 Oct 2022 07:56:47 +0000 (09:56 +0200)] 
misc: Switch to a std::array in makeHexDump()

2 years agoauth: Detect invalid bytes in makeBytesFromHex()
Remi Gacogne [Thu, 6 Oct 2022 07:55:48 +0000 (09:55 +0200)] 
auth: Detect invalid bytes in makeBytesFromHex()

Also only allocate the required number of bytes, not twice that.

2 years agoMerge pull request #12058 from omoerbeek/rec-prep-4.8.0-beta1
Otto Moerbeek [Wed, 5 Oct 2022 09:51:08 +0000 (11:51 +0200)] 
Merge pull request #12058 from omoerbeek/rec-prep-4.8.0-beta1

rec: Prep for rec-4.8.0-beta1

2 years agoPrep for rec-4.8.0-beta1 12058/head
Otto Moerbeek [Mon, 3 Oct 2022 13:10:33 +0000 (15:10 +0200)] 
Prep for rec-4.8.0-beta1

2 years agoMerge pull request #12057 from omoerbeek/rec-move-rec-specific-file2
Otto Moerbeek [Tue, 4 Oct 2022 08:40:26 +0000 (10:40 +0200)] 
Merge pull request #12057 from omoerbeek/rec-move-rec-specific-file2

rec: Test move a rec-specific file to recursordist approach 2

2 years agoMerge pull request #12054 from omoerbeek/rec-fix-locked-regr-test
Otto Moerbeek [Mon, 3 Oct 2022 14:48:21 +0000 (16:48 +0200)] 
Merge pull request #12054 from omoerbeek/rec-fix-locked-regr-test

Rec: fix locked regr test

2 years agoAnd then move file 12057/head
Otto Moerbeek [Mon, 3 Oct 2022 14:43:52 +0000 (16:43 +0200)] 
And then move file