]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
12 months agoMerge pull request #14429 from rgacogne/ddist-xsk-backend-race
Remi Gacogne [Fri, 12 Jul 2024 10:34:47 +0000 (12:34 +0200)] 
Merge pull request #14429 from rgacogne/ddist-xsk-backend-race

dnsdist: Fix a race in the XSK/AF_XDP backend handling code

12 months agodnsdist: Avoid a double lookup when UMEM state debugging is enabled 14429/head
Remi Gacogne [Fri, 12 Jul 2024 09:49:44 +0000 (11:49 +0200)] 
dnsdist: Avoid a double lookup when UMEM state debugging is enabled

12 months agodnsdist: Set the shared XSK frames in the XskWorker constructor
Remi Gacogne [Fri, 12 Jul 2024 07:41:53 +0000 (09:41 +0200)] 
dnsdist: Set the shared XSK frames in the XskWorker constructor

12 months agoMerge pull request #14456 from omoerbeek/ci-build-rec-51
Otto Moerbeek [Fri, 12 Jul 2024 07:16:24 +0000 (09:16 +0200)] 
Merge pull request #14456 from omoerbeek/ci-build-rec-51

rec: move to rec-5.1.x for builder-releases-dispatch.yml as well

12 months agoMerge pull request #14430 from omoerbeek/rec-sanitize
Otto Moerbeek [Fri, 12 Jul 2024 05:39:13 +0000 (07:39 +0200)] 
Merge pull request #14430 from omoerbeek/rec-sanitize

rec: refactor sanitizeRecords and fix order dependency

12 months agoAs noted by rgacogne: additional record type check can be done in first pass 14430/head
Otto Moerbeek [Wed, 10 Jul 2024 12:43:44 +0000 (14:43 +0200)] 
As noted by rgacogne: additional record type check can be done in first pass

12 months agoMerge pull request #14453 from omoerbeek/rec-prep-5.1.0
Otto Moerbeek [Wed, 10 Jul 2024 08:21:09 +0000 (10:21 +0200)] 
Merge pull request #14453 from omoerbeek/rec-prep-5.1.0

rec: prep for rec-5.1.0

12 months agorec: move to rec-5.1.x for builder-releases-dispatch.yml as well 14456/head
Otto Moerbeek [Wed, 10 Jul 2024 07:06:56 +0000 (09:06 +0200)] 
rec: move to rec-5.1.x for builder-releases-dispatch.yml as well

Missed in #14441

12 months agoMerge pull request #14451 from omoerbeek/rec-docs-not-quiet
Otto Moerbeek [Tue, 9 Jul 2024 14:27:06 +0000 (16:27 +0200)] 
Merge pull request #14451 from omoerbeek/rec-docs-not-quiet

rec: document log lines produced by logging.quiet set to false

12 months agoMerge pull request #14454 from Habbie/catalog-order-by
Peter van Dijk [Tue, 9 Jul 2024 13:31:16 +0000 (15:31 +0200)] 
Merge pull request #14454 from Habbie/catalog-order-by

auth catalogs SQL: force order of domains to avoid spurious rehashes

12 months agoMerge pull request #14443 from PowerDNS/dependabot/pip/pdns/recursordist/docs/certifi...
Otto Moerbeek [Tue, 9 Jul 2024 12:45:47 +0000 (14:45 +0200)] 
Merge pull request #14443 from PowerDNS/dependabot/pip/pdns/recursordist/docs/certifi-2024.7.4

build(deps): bump certifi from 2024.2.2 to 2024.7.4 in /pdns/recursordist/docs

12 months agoApply text suggestions from @rgacogne 14451/head
Otto Moerbeek [Tue, 9 Jul 2024 12:45:00 +0000 (14:45 +0200)] 
Apply text suggestions from @rgacogne

12 months agoauth catalogs SQL: force order of domains to avoid spurious rehashes 14454/head
Peter van Dijk [Tue, 9 Jul 2024 12:19:46 +0000 (14:19 +0200)] 
auth catalogs SQL: force order of domains to avoid spurious rehashes

fixes #13963

12 months agoMerge pull request #14448 from Habbie/daily-master-packages
Peter van Dijk [Tue, 9 Jul 2024 11:32:28 +0000 (13:32 +0200)] 
Merge pull request #14448 from Habbie/daily-master-packages

gh actions: daily master build of packages

12 months agorec: prep for rec-5.1.0 14453/head
Otto Moerbeek [Tue, 9 Jul 2024 09:30:51 +0000 (11:30 +0200)] 
rec: prep for rec-5.1.0

12 months agorec: document log lines produced by logging.quiet set to false
Otto Moerbeek [Tue, 9 Jul 2024 08:08:40 +0000 (10:08 +0200)] 
rec: document log lines produced by logging.quiet set to false

Fixes #14440

12 months agogh actions: daily master build of packages 14448/head
Peter van Dijk [Mon, 8 Jul 2024 11:52:17 +0000 (13:52 +0200)] 
gh actions: daily master build of packages

12 months agodnsdist: Fix wrong assertions in AF_XDP/XSK code
Remi Gacogne [Tue, 9 Jul 2024 08:33:48 +0000 (10:33 +0200)] 
dnsdist: Fix wrong assertions in AF_XDP/XSK code

12 months agobuild(deps): bump certifi in /pdns/recursordist/docs 14443/head
dependabot[bot] [Tue, 9 Jul 2024 08:20:40 +0000 (08:20 +0000)] 
build(deps): bump certifi in /pdns/recursordist/docs

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoMerge pull request #14441 from omoerbeek/ci-build-rec-5.1.x-daily
Otto Moerbeek [Tue, 9 Jul 2024 08:19:36 +0000 (10:19 +0200)] 
Merge pull request #14441 from omoerbeek/ci-build-rec-5.1.x-daily

CI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x

12 months agoMerge pull request #14417 from rgacogne/ddist-xsk-doc-script
Remi Gacogne [Tue, 9 Jul 2024 07:45:31 +0000 (09:45 +0200)] 
Merge pull request #14417 from rgacogne/ddist-xsk-doc-script

dnsdist: Better documentation and debug informations for `XSK`/`AF_XDP`

12 months agoMerge pull request #14398 from rgacogne/ddist-logging-per-thread-ffi
Remi Gacogne [Tue, 9 Jul 2024 07:43:03 +0000 (09:43 +0200)] 
Merge pull request #14398 from rgacogne/ddist-logging-per-thread-ffi

dnsdist: Make the logging functions available to all Lua environments

12 months agoCI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x 14441/head
Otto Moerbeek [Tue, 9 Jul 2024 06:54:54 +0000 (08:54 +0200)] 
CI: start building rel/rec-5.1.x daily, and drop rel/rec-4.8.x

12 months agoMerge pull request #14431 from tjikkun/no_include_engine
Remi Gacogne [Mon, 8 Jul 2024 13:35:28 +0000 (15:35 +0200)] 
Merge pull request #14431 from tjikkun/no_include_engine

Don't include openssl/engine.h if it's not going to be used

12 months agodnsdist: Fix code formatting
Remi Gacogne [Mon, 8 Jul 2024 12:58:20 +0000 (14:58 +0200)] 
dnsdist: Fix code formatting

12 months agodnsdist: Make the code used to debug UMEM issues work with multiple queues
Remi Gacogne [Mon, 8 Jul 2024 12:47:54 +0000 (14:47 +0200)] 
dnsdist: Make the code used to debug UMEM issues work with multiple queues

12 months agodnsdist: Fix a data race in the AF_XDP/XSK dnsdist <-> backend code
Remi Gacogne [Mon, 8 Jul 2024 12:43:21 +0000 (14:43 +0200)] 
dnsdist: Fix a data race in the AF_XDP/XSK dnsdist <-> backend code

The existing code was sharing the same XskWorker between the thread
handling incoming queries (possibly replying right away for
self-answered and cache hit responses) and the one handling responses
coming from a backend (without XSK), which is wrong since the internal
queues are single-producer (and single consumer, but a worker is only
assigned to a single XskRouter which is OK).
This commit introduces a new, separate worker for the threads handling
responses coming from a backend without XSK (it was already the case
for responses coming from a backend via XSK). The new worker is marked
"outgoing-only" to ensure we are not confused about what it can be used
for, which is only sending packets, not receiving any.

12 months agoMerge pull request #14434 from PowerDNS/dependabot/pip/docs/certifi-2024.7.4
Remi Gacogne [Mon, 8 Jul 2024 08:06:04 +0000 (10:06 +0200)] 
Merge pull request #14434 from PowerDNS/dependabot/pip/docs/certifi-2024.7.4

build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs

12 months agobuild(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs 14434/head
dependabot[bot] [Sun, 7 Jul 2024 19:45:43 +0000 (19:45 +0000)] 
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs

Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoMerge pull request #14433 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/certifi...
Remi Gacogne [Sun, 7 Jul 2024 19:44:12 +0000 (21:44 +0200)] 
Merge pull request #14433 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/certifi-2024.7.4

build(deps): bump certifi from 2024.2.2 to 2024.7.4 in /pdns/dnsdistdist/docs

12 months agobuild(deps): bump certifi in /pdns/dnsdistdist/docs 14433/head
dependabot[bot] [Sat, 6 Jul 2024 13:26:38 +0000 (13:26 +0000)] 
build(deps): bump certifi in /pdns/dnsdistdist/docs

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoMerge pull request #14432 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2024.7.4
Remi Gacogne [Sat, 6 Jul 2024 13:25:40 +0000 (15:25 +0200)] 
Merge pull request #14432 from PowerDNS/dependabot/pip/pdns/keyroller/certifi-2024.7.4

build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller

12 months agobuild(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller 14432/head
dependabot[bot] [Sat, 6 Jul 2024 01:13:21 +0000 (01:13 +0000)] 
build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /pdns/keyroller

Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoDon't include openssl/engine.h if it's not going to be used 14431/head
Sander Hoentjen [Fri, 5 Jul 2024 14:38:12 +0000 (16:38 +0200)] 
Don't include openssl/engine.h if it's not going to be used

12 months agoSplit sanitizerecord in two loops to avoid order dependency in authority section
Otto Moerbeek [Fri, 5 Jul 2024 08:33:27 +0000 (10:33 +0200)] 
Split sanitizerecord in two loops to avoid order dependency in authority section

Also avoid some repeated section tests by using nested ifs.

12 months agodnsdist: Fix a race in the XSK/AF_XDP backend handling code
Remi Gacogne [Thu, 4 Jul 2024 15:16:54 +0000 (17:16 +0200)] 
dnsdist: Fix a race in the XSK/AF_XDP backend handling code

For performance reasons we used to keep a local list of available frames
in our `XskWorker` object, like we are doing in the `XskSocket` one,
to avoid having to go to the shared list which is protected by a lock.
Unfortunately, while it works well for the `XskSocket` because it is
accessed by a single `XskRouter` thread, the `XskWorker` object can
be accessed by multiple threads at once: `XskResponderThread`,
`responderThread`, `XskClientThread` and `XskRouter`. Most of the
time these threads do not acquire nor release frames to the local
list, but `responderThread` does acquire one when a response frame
is punted to the regular networking stack, and all of them release
frames when an unexpected condition occurs, for example when a queue
is full. This leads to memory corruption and to a crash.

This commit gets rid of the local list of frames in the `XskWorker`
object, acquiring and releasing them to the shared list instead, since
performance in these cases is likely not as critical. If it turns out
to be too slow, we can look into caching a few frames in a thread-local
list, but then we need to be careful not to hold on them indefinitely
which might be tricky.

12 months agoDisallow irrelevant SOA records in ANSWER section and adapt test_bogus_does_not_repla...
Otto Moerbeek [Fri, 5 Jul 2024 07:48:19 +0000 (09:48 +0200)] 
Disallow irrelevant SOA records in ANSWER section and adapt test_bogus_does_not_replace_secure_in_the_cache test to not use them

12 months agoReplace s_redirectionQTypes by a simple function and simplify logging in sanitizeRecords
Otto Moerbeek [Fri, 5 Jul 2024 07:36:46 +0000 (09:36 +0200)] 
Replace s_redirectionQTypes by a simple function and simplify logging in sanitizeRecords

12 months agoAdd some comments on what's happening in sanitizeRecords,
Otto Moerbeek [Wed, 3 Jul 2024 11:16:46 +0000 (13:16 +0200)] 
Add some comments on what's happening in sanitizeRecords,
including a few questions I had when looking at the code

12 months agoMerge pull request #14425 from aj-gh/recursor-fixtypo1
Otto Moerbeek [Fri, 5 Jul 2024 05:13:39 +0000 (07:13 +0200)] 
Merge pull request #14425 from aj-gh/recursor-fixtypo1

Recursor: Fix processsing typo.

12 months agoMerge pull request #14420 from rgacogne/fix-provenance-copy
Remi Gacogne [Thu, 4 Jul 2024 14:02:55 +0000 (16:02 +0200)] 
Merge pull request #14420 from rgacogne/fix-provenance-copy

build-package: Fix copy of the provenance attestations

12 months agoFix processsing typo. 14425/head
Andreas Jakum [Thu, 4 Jul 2024 13:29:47 +0000 (15:29 +0200)] 
Fix processsing typo.

12 months agoMerge pull request #14418 from Habbie/no-el7-arm64
Peter van Dijk [Thu, 4 Jul 2024 13:10:50 +0000 (15:10 +0200)] 
Merge pull request #14418 from Habbie/no-el7-arm64

exclude el7 from arm64 in daily package builds

12 months agobuild-package: Fix copy of the provenance attestations 14420/head
Remi Gacogne [Thu, 4 Jul 2024 12:38:31 +0000 (14:38 +0200)] 
build-package: Fix copy of the provenance attestations

12 months agoMerge pull request #14419 from omoerbeek/followup-14327
Otto Moerbeek [Thu, 4 Jul 2024 12:29:05 +0000 (14:29 +0200)] 
Merge pull request #14419 from omoerbeek/followup-14327

Fix compile error on OPENSSL_VERSION_MAJOR < 3

12 months agoFix compile error on OPENSSL_VERSION_MAJOR < 3 14419/head
Otto Moerbeek [Thu, 4 Jul 2024 11:56:21 +0000 (13:56 +0200)] 
Fix compile error on OPENSSL_VERSION_MAJOR < 3

../pdns/libssl.cc:637:28: error: no member named 'content' in 'OpenSSLTLSTicketKey'

12 months agoMerge pull request #14327 from chbruyand/dnsdist-tickets-key-hook
Remi Gacogne [Thu, 4 Jul 2024 11:17:32 +0000 (13:17 +0200)] 
Merge pull request #14327 from chbruyand/dnsdist-tickets-key-hook

dnsdist: add support for a callback when a new tickets key is added

12 months agodnsdist: Use a narrower scope for tickets_key_added_hook 14327/head
Remi Gacogne [Thu, 4 Jul 2024 10:09:51 +0000 (12:09 +0200)] 
dnsdist: Use a narrower scope for tickets_key_added_hook

12 months agoexclude el7 from arm64 in daily package builds 14418/head
Peter van Dijk [Thu, 4 Jul 2024 09:41:12 +0000 (11:41 +0200)] 
exclude el7 from arm64 in daily package builds

missed this spot in #14406

12 months agodnsdist: Fix a typo in the constants documentation 14417/head
Remi Gacogne [Thu, 4 Jul 2024 08:38:26 +0000 (10:38 +0200)] 
dnsdist: Fix a typo in the constants documentation

12 months agodnsdist: Document how to use ``XSK``/``AF_XDP`` under systemd
Remi Gacogne [Thu, 4 Jul 2024 08:38:06 +0000 (10:38 +0200)] 
dnsdist: Document how to use ``XSK``/``AF_XDP`` under systemd

12 months agodnsdist: Add information, with better formatting, to our XDP script
Remi Gacogne [Thu, 4 Jul 2024 08:26:48 +0000 (10:26 +0200)] 
dnsdist: Add information, with better formatting, to our XDP script

12 months agodnsdist: Use a recursive mutex for the Lua lock
Remi Gacogne [Wed, 3 Jul 2024 12:25:39 +0000 (14:25 +0200)] 
dnsdist: Use a recursive mutex for the Lua lock

12 months agodnsdist: fix build of dnsdist least version
Charles-Henri Bruyand [Wed, 3 Jul 2024 11:23:30 +0000 (13:23 +0200)] 
dnsdist: fix build of dnsdist least version

12 months agodnsdist: fix gnutls lib flags
Charles-Henri Bruyand [Wed, 3 Jul 2024 11:22:57 +0000 (13:22 +0200)] 
dnsdist: fix gnutls lib flags

12 months agoMerge pull request #14409 from fredmorcos/various-cleanups
Fred Morcos [Wed, 3 Jul 2024 09:37:03 +0000 (11:37 +0200)] 
Merge pull request #14409 from fredmorcos/various-cleanups

Various cleanups

12 months agoMerge pull request #14401 from omoerbeek/rec-prep-20240703
Otto Moerbeek [Wed, 3 Jul 2024 09:00:52 +0000 (11:00 +0200)] 
Merge pull request #14401 from omoerbeek/rec-prep-20240703

rec: Prep for rec-4.9.7 and 5.0.7 releases

12 months agoSome formatting of pdnsutil.cc 14409/head
Fred Morcos [Tue, 2 Jul 2024 20:21:28 +0000 (22:21 +0200)] 
Some formatting of pdnsutil.cc

12 months agoFix missing includes in lua2api2.hh
Fred Morcos [Tue, 2 Jul 2024 20:20:33 +0000 (22:20 +0200)] 
Fix missing includes in lua2api2.hh

12 months agodndist: apply Remi's comments, thanks
Charles-Henri Bruyand [Tue, 2 Jul 2024 13:41:18 +0000 (15:41 +0200)] 
dndist: apply Remi's comments, thanks

12 months agotidy
Charles-Henri Bruyand [Fri, 28 Jun 2024 08:52:01 +0000 (10:52 +0200)] 
tidy

12 months agoCleanup geoipbackend.cc
Fred Morcos [Tue, 2 Jul 2024 20:20:04 +0000 (22:20 +0200)] 
Cleanup geoipbackend.cc

12 months agoCleanup dnspacket.cc
Fred Morcos [Tue, 2 Jul 2024 20:19:34 +0000 (22:19 +0200)] 
Cleanup dnspacket.cc

12 months agoFormatting and minor fix in misc.hh
Fred Morcos [Tue, 2 Jul 2024 20:19:17 +0000 (22:19 +0200)] 
Formatting and minor fix in misc.hh

12 months agoFix config.h include in opensslsigners
Fred Morcos [Tue, 2 Jul 2024 20:18:55 +0000 (22:18 +0200)] 
Fix config.h include in opensslsigners

12 months agoMerge pull request #14408 from omoerbeek/rec-throttle-reason
Otto Moerbeek [Tue, 2 Jul 2024 13:59:12 +0000 (15:59 +0200)] 
Merge pull request #14408 from omoerbeek/rec-throttle-reason

Rec throttle reason

12 months agoMerge pull request #14406 from Habbie/daily-build-el-7
Peter van Dijk [Tue, 2 Jul 2024 13:02:49 +0000 (15:02 +0200)] 
Merge pull request #14406 from Habbie/daily-build-el-7

daily package build: use el-7 target instead of centos-7

12 months agoReformat 14408/head
Otto Moerbeek [Tue, 2 Jul 2024 12:47:50 +0000 (14:47 +0200)] 
Reformat

12 months agoMerge pull request #14404 from omoerbeek/yahttp-router
Otto Moerbeek [Tue, 2 Jul 2024 12:21:55 +0000 (14:21 +0200)] 
Merge pull request #14404 from omoerbeek/yahttp-router

Yahttp router: appease coverity wrt unsigned underflow in match()

12 months agoMerge pull request #14343 from PowerDNS/dependabot/github_actions/docker/build-push...
Remi Gacogne [Tue, 2 Jul 2024 12:16:24 +0000 (14:16 +0200)] 
Merge pull request #14343 from PowerDNS/dependabot/github_actions/docker/build-push-action-6

Bump docker/build-push-action from 5 to 6

12 months agoMerge pull request #14407 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/urllib3...
Remi Gacogne [Tue, 2 Jul 2024 12:02:31 +0000 (14:02 +0200)] 
Merge pull request #14407 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/urllib3-2.2.2

build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/dnsdistdist/docs

13 months agoRemember reason we're throttling
Otto Moerbeek [Fri, 28 Jun 2024 14:01:51 +0000 (16:01 +0200)] 
Remember reason we're throttling

13 months agobuild(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/dnsdistdist/docs 14407/head
dependabot[bot] [Tue, 2 Jul 2024 11:17:47 +0000 (11:17 +0000)] 
build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/dnsdistdist/docs

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.0...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
13 months agodaily package build: use el-7 target instead of centos-7 14406/head
Peter van Dijk [Tue, 2 Jul 2024 11:17:16 +0000 (13:17 +0200)] 
daily package build: use el-7 target instead of centos-7

13 months agoMerge pull request #14399 from rgacogne/pkgs-slsa-dir
Remi Gacogne [Tue, 2 Jul 2024 11:16:38 +0000 (13:16 +0200)] 
Merge pull request #14399 from rgacogne/pkgs-slsa-dir

build-packages: Upload SLSA attestations to the right directory

13 months agoMerge pull request #14396 from omoerbeek/tidy-20240627
Otto Moerbeek [Tue, 2 Jul 2024 11:09:03 +0000 (13:09 +0200)] 
Merge pull request #14396 from omoerbeek/tidy-20240627

Tidy sstuf.hh and shuffle.??

13 months agoAvoid upos underflowing in match loop 14404/head
Otto Moerbeek [Tue, 2 Jul 2024 10:22:29 +0000 (12:22 +0200)] 
Avoid upos underflowing in match loop

13 months agono else block after break statement
Otto Moerbeek [Tue, 2 Jul 2024 10:20:48 +0000 (12:20 +0200)] 
no else block after break statement

13 months agoMerge pull request #14400 from Habbie/el7-on-ol7
Peter van Dijk [Tue, 2 Jul 2024 10:17:15 +0000 (12:17 +0200)] 
Merge pull request #14400 from Habbie/el7-on-ol7

switch el7 builds to Oracle Linux 7

13 months agoPrep for rec-4.9.7 and 5.0.7 releases 14401/head
Otto Moerbeek [Tue, 2 Jul 2024 07:46:10 +0000 (09:46 +0200)] 
Prep for rec-4.9.7 and 5.0.7 releases

13 months agoAlso convert callers of readWithTimeout(), as suggested by @rgacogne 14396/head
Otto Moerbeek [Tue, 2 Jul 2024 10:02:52 +0000 (12:02 +0200)] 
Also convert callers of readWithTimeout(), as suggested by @rgacogne

13 months agoswitch el7 builds to Oracle Linux 7 14400/head
Peter van Dijk [Tue, 2 Jul 2024 09:19:31 +0000 (11:19 +0200)] 
switch el7 builds to Oracle Linux 7

13 months agobuild-packages: Upload SLSA attestations to the right directory 14399/head
Remi Gacogne [Tue, 2 Jul 2024 07:41:28 +0000 (09:41 +0200)] 
build-packages: Upload SLSA attestations to the right directory

13 months agodnsdist: Make the logging functions available to all Lua environments 14398/head
Remi Gacogne [Mon, 1 Jul 2024 09:17:52 +0000 (11:17 +0200)] 
dnsdist: Make the logging functions available to all Lua environments

They were not available to the per-thread FFI rule, action and
load-balancing policy environments.

13 months agoUntemplatize Throttle class
Otto Moerbeek [Fri, 28 Jun 2024 13:17:59 +0000 (15:17 +0200)] 
Untemplatize Throttle class

13 months agoTidy sstuff.hh
Otto Moerbeek [Wed, 26 Jun 2024 13:32:52 +0000 (15:32 +0200)] 
Tidy sstuff.hh

Note the readWithTimeout() return type change to make things more consistent
Plus some asserted things that caught my eye.

13 months agoMerge pull request #14395 from rgacogne/ddist-dedup-prometheus-help-type-custom-labels
Remi Gacogne [Fri, 28 Jun 2024 09:28:19 +0000 (11:28 +0200)] 
Merge pull request #14395 from rgacogne/ddist-dedup-prometheus-help-type-custom-labels

dnsdist: Dedup Prometheus help and type lines for custom metrics with labels

13 months agodnsdist: Do not implicitly convert count()'s `size_type` to `bool` 14395/head
Remi Gacogne [Fri, 28 Jun 2024 08:51:30 +0000 (10:51 +0200)] 
dnsdist: Do not implicitly convert count()'s `size_type` to `bool`

13 months agodnsdist: Dedup Prometheus help and type lines for custom metrics with labels
Remi Gacogne [Fri, 28 Jun 2024 08:45:56 +0000 (10:45 +0200)] 
dnsdist: Dedup Prometheus help and type lines for custom metrics with labels

13 months agoMerge pull request #14376 from rgacogne/ddist-upstatus-race
Remi Gacogne [Fri, 28 Jun 2024 08:33:26 +0000 (10:33 +0200)] 
Merge pull request #14376 from rgacogne/ddist-upstatus-race

dnsdist: Fix a race when accessing a backend health status

13 months agoMerge pull request #14392 from rgacogne/ddist-quiche-0.22.0
Remi Gacogne [Fri, 28 Jun 2024 08:33:07 +0000 (10:33 +0200)] 
Merge pull request #14392 from rgacogne/ddist-quiche-0.22.0

dnsdist: Handle Quiche >= 0.22.0

13 months agodnsdist: make sure to acquire lua context lock before calling TicketsKeyAdded callback
Charles-Henri Bruyand [Fri, 28 Jun 2024 08:26:49 +0000 (10:26 +0200)] 
dnsdist: make sure to acquire lua context lock before calling TicketsKeyAdded callback

13 months agoMerge pull request #14393 from rgacogne/port-mask
Remi Gacogne [Fri, 28 Jun 2024 07:54:30 +0000 (09:54 +0200)] 
Merge pull request #14393 from rgacogne/port-mask

AddressAndPortRange: Make it clearer only low-order bits matter to us

13 months agodnsdist: Be consistent when accessing a backend health status 14376/head
Remi Gacogne [Fri, 28 Jun 2024 07:53:26 +0000 (09:53 +0200)] 
dnsdist: Be consistent when accessing a backend health status

13 months agoMerge pull request #14387 from omoerbeek/tidy-20240626
Otto Moerbeek [Fri, 28 Jun 2024 05:46:24 +0000 (07:46 +0200)] 
Merge pull request #14387 from omoerbeek/tidy-20240626

Tidy lock.hh, cachecleaner.hh and sholder.hh

13 months agoMerge pull request #14386 from omoerbeek/rec-coverity-1544951
Otto Moerbeek [Fri, 28 Jun 2024 05:46:07 +0000 (07:46 +0200)] 
Merge pull request #14386 from omoerbeek/rec-coverity-1544951

rec: Fix coverity 1544951 copy_instead_of_move

13 months agoMerge pull request #14385 from omoerbeek/tidy-axfrtimeout
Otto Moerbeek [Fri, 28 Jun 2024 05:45:50 +0000 (07:45 +0200)] 
Merge pull request #14385 from omoerbeek/tidy-axfrtimeout

Tidy AXFRRetriever::timeoutReadn

13 months agoAddressAndPortRange: Make it clearer only low-order bits matter to us 14393/head
Remi Gacogne [Thu, 27 Jun 2024 14:27:54 +0000 (16:27 +0200)] 
AddressAndPortRange: Make it clearer only low-order bits matter to us

Hopefully Coverity will take the hint.

13 months agodnsdist: Handle Quiche >= 0.22.0 14392/head
Remi Gacogne [Thu, 27 Jun 2024 14:07:20 +0000 (16:07 +0200)] 
dnsdist: Handle Quiche >= 0.22.0

Quiche broke its existing API in 0.22.0: https://github.com/cloudflare/quiche/pull/1726
This pull request adds m4 code to detect whether the Quiche version
we are building against is >= 0.22.0, and if it is defines
`HAVE_QUICHE_STREAM_ERROR_CODES` which is later used by the code
using Quiche to know which version of the API to use.

13 months agodnsdist: move the setTicketsKeyAddedHook to a unique callback for every tls context
Charles-Henri Bruyand [Thu, 27 Jun 2024 13:02:39 +0000 (15:02 +0200)] 
dnsdist: move the setTicketsKeyAddedHook to a unique callback for every tls context