]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agodnsdist changelog: fix indentation of this line 13036/head
Peter van Dijk [Mon, 17 Jul 2023 07:03:23 +0000 (09:03 +0200)] 
dnsdist changelog: fix indentation of this line

2 years agoMerge pull request #13034 from Call-Me-G-Now/patch-2
Peter van Dijk [Mon, 17 Jul 2023 06:55:47 +0000 (08:55 +0200)] 
Merge pull request #13034 from Call-Me-G-Now/patch-2

Update recursor changelog

2 years agoMerge pull request #13033 from Call-Me-G-Now/patch-1
Peter van Dijk [Mon, 17 Jul 2023 06:55:00 +0000 (08:55 +0200)] 
Merge pull request #13033 from Call-Me-G-Now/patch-1

update changelog

2 years agoUpdate changelog 13034/head
Call-Me-G-Now [Sun, 16 Jul 2023 19:58:55 +0000 (21:58 +0200)] 
Update changelog

Naming inconsistencies pdns-auth <> pdns-rec docs

- Release Notes <> Release Guide
- upgrading.html <> upgrade.html

2 years agoUpdate changelog
Call-Me-G-Now [Sun, 16 Jul 2023 19:54:07 +0000 (21:54 +0200)] 
Update changelog

2 years agocleanup 13033/head
Call-Me-G-Now [Sun, 16 Jul 2023 19:17:50 +0000 (21:17 +0200)] 
cleanup

2 years agoupdate changelog
Call-Me-G-Now [Sun, 16 Jul 2023 19:12:33 +0000 (21:12 +0200)] 
update changelog

2 years agoMerge pull request #13029 from kovacs-andras/master
Peter van Dijk [Thu, 13 Jul 2023 23:19:09 +0000 (01:19 +0200)] 
Merge pull request #13029 from kovacs-andras/master

wait for mysql.service

2 years agowait for mysql.service 13029/head
Andras Kovacs [Thu, 13 Jul 2023 20:44:02 +0000 (22:44 +0200)] 
wait for mysql.service

2 years agoMerge pull request #13022 from omoerbeek/rec-fix-arc4random-linking
Otto Moerbeek [Wed, 12 Jul 2023 14:26:36 +0000 (16:26 +0200)] 
Merge pull request #13022 from omoerbeek/rec-fix-arc4random-linking

rec: libarc4random should be linked even if libsodium is not used

2 years agorec: libarc4random should be linked even if libsodium is not used 13022/head
Otto Moerbeek [Wed, 12 Jul 2023 13:43:55 +0000 (15:43 +0200)] 
rec: libarc4random should be linked even if libsodium is not used

2 years agoMerge pull request #13009 from rgacogne/ddist-heathcheck-metrics
Remi Gacogne [Tue, 11 Jul 2023 08:59:43 +0000 (10:59 +0200)] 
Merge pull request #13009 from rgacogne/ddist-heathcheck-metrics

dnsdist: Add metrics for health-check failures

2 years agodnsdist: Add a couple comments in the health-check timeout handling code 13009/head
Remi Gacogne [Tue, 11 Jul 2023 08:15:51 +0000 (10:15 +0200)] 
dnsdist: Add a couple comments in the health-check timeout handling code

2 years agodnsdist: Add metrics for health-check failures
Remi Gacogne [Mon, 10 Jul 2023 11:50:57 +0000 (13:50 +0200)] 
dnsdist: Add metrics for health-check failures

2 years agoMerge pull request #12938 from omoerbeek/auth-coverty-time_t
Otto Moerbeek [Mon, 10 Jul 2023 08:56:04 +0000 (10:56 +0200)] 
Merge pull request #12938 from omoerbeek/auth-coverty-time_t

auth: Fix coverity time_t related warnings

2 years agoMerge pull request #12912 from omoerbeek/rec-nose-to-pytest
Otto Moerbeek [Mon, 10 Jul 2023 08:55:48 +0000 (10:55 +0200)] 
Merge pull request #12912 from omoerbeek/rec-nose-to-pytest

rec: Upgrade regression tests to use pytest instead of nose

2 years agoMerge pull request #12805 from hlindqvist/clarify-log-aa-not-set
Otto Moerbeek [Mon, 10 Jul 2023 08:55:06 +0000 (10:55 +0200)] 
Merge pull request #12805 from hlindqvist/clarify-log-aa-not-set

Clarify log message for NODATA/NXDOMAIN without AA

2 years agoMerge pull request #12976 from rgacogne/ddist-fix-doh-xforwardedfor-maxtcpconnperclient
Remi Gacogne [Mon, 10 Jul 2023 08:48:40 +0000 (10:48 +0200)] 
Merge pull request #12976 from rgacogne/ddist-fix-doh-xforwardedfor-maxtcpconnperclient

dnsdist: Fix a crash when X-Forwarded-For overrides the initial source IP

2 years agoMerge pull request #12974 from rgacogne/ddist-coverity-394511
Remi Gacogne [Mon, 10 Jul 2023 08:47:20 +0000 (10:47 +0200)] 
Merge pull request #12974 from rgacogne/ddist-coverity-394511

dnsdist: Fix "Pointer to local outside storage" reported by Coverity

2 years agoMerge pull request #13001 from omoerbeek/arc4random-build-fix2
Otto Moerbeek [Fri, 7 Jul 2023 13:50:17 +0000 (15:50 +0200)] 
Merge pull request #13001 from omoerbeek/arc4random-build-fix2

Fix build part2: include chacha_private.h and explicit_bzero.c

2 years agoMerge pull request #13002 from Habbie/auth-4.8.1-docs-secpoll
Peter van Dijk [Fri, 7 Jul 2023 12:52:28 +0000 (14:52 +0200)] 
Merge pull request #13002 from Habbie/auth-4.8.1-docs-secpoll

auth 4.8.1: docs & secpoll

2 years agoauth 4.8.1: docs & secpoll 13002/head
Peter van Dijk [Fri, 7 Jul 2023 12:32:33 +0000 (14:32 +0200)] 
auth 4.8.1: docs & secpoll

2 years agoUse PDNS_CHECK_SECURE_MEMSET, as suggested by @rcagogne 13001/head
Otto Moerbeek [Fri, 7 Jul 2023 12:03:33 +0000 (14:03 +0200)] 
Use PDNS_CHECK_SECURE_MEMSET, as suggested by @rcagogne

2 years agoAlso include explcit_bzero(), which is needed when using older glibc
Otto Moerbeek [Fri, 7 Jul 2023 10:49:24 +0000 (12:49 +0200)] 
Also include explcit_bzero(), which is needed when using older glibc

2 years agoFix build: put chacha_private.h into _SOURCES
Otto Moerbeek [Fri, 7 Jul 2023 10:02:14 +0000 (12:02 +0200)] 
Fix build: put chacha_private.h into _SOURCES

Also fix redundant declaration warnings

Followup to #12999

2 years agoMerge pull request #12999 from omoerbeek/arc4random-build-fix
Otto Moerbeek [Fri, 7 Jul 2023 09:51:55 +0000 (11:51 +0200)] 
Merge pull request #12999 from omoerbeek/arc4random-build-fix

Fix build: put arc4random.hh into _SOURCES

2 years agoFix build: put arc4random.hh into _SOURCES 12999/head
Otto Moerbeek [Fri, 7 Jul 2023 09:04:23 +0000 (11:04 +0200)] 
Fix build: put arc4random.hh into _SOURCES

Also a tiny bit of cleanup

2 years agoMerge pull request #12931 from omoerbeek/use-arc4random
Otto Moerbeek [Fri, 7 Jul 2023 06:14:26 +0000 (08:14 +0200)] 
Merge pull request #12931 from omoerbeek/use-arc4random

Use arc4random only for random values

2 years agoMerge pull request #12985 from Habbie/lmdb-check-index
Peter van Dijk [Thu, 6 Jul 2023 14:59:26 +0000 (16:59 +0200)] 
Merge pull request #12985 from Habbie/lmdb-check-index

auth lmdb: add backend commands for checking & refreshing indexes

2 years agoMerge pull request #12990 from Habbie/lmdb-dup-delete-rwtx
Peter van Dijk [Thu, 6 Jul 2023 14:58:46 +0000 (16:58 +0200)] 
Merge pull request #12990 from Habbie/lmdb-dup-delete-rwtx

auth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list

2 years agodelint waitFor2Data 12931/head
Otto Moerbeek [Tue, 20 Jun 2023 14:57:21 +0000 (16:57 +0200)] 
delint waitFor2Data

2 years agoRemove commented out code, add #pragma once
Otto Moerbeek [Tue, 20 Jun 2023 14:47:35 +0000 (16:47 +0200)] 
Remove commented out code, add #pragma once

2 years agoBuild libarc4random in CodeQL target for dnsdist
Otto Moerbeek [Tue, 20 Jun 2023 14:31:27 +0000 (16:31 +0200)] 
Build libarc4random in CodeQL target for dnsdist

2 years agoFix dependency for remote backend test code
Otto Moerbeek [Tue, 20 Jun 2023 13:29:03 +0000 (15:29 +0200)] 
Fix dependency for remote backend test code

2 years agoFuzzing target needs arc4random as well
Otto Moerbeek [Tue, 20 Jun 2023 11:46:50 +0000 (13:46 +0200)] 
Fuzzing target needs arc4random as well

2 years agoFix configure syntax
Otto Moerbeek [Tue, 20 Jun 2023 11:11:07 +0000 (13:11 +0200)] 
Fix configure syntax

2 years agoZap reference to dns_random_urandom.cc
Otto Moerbeek [Tue, 20 Jun 2023 10:56:23 +0000 (12:56 +0200)] 
Zap reference to dns_random_urandom.cc

2 years agoFormat
Otto Moerbeek [Tue, 20 Jun 2023 10:52:41 +0000 (12:52 +0200)] 
Format

2 years agoStop using random(), only place left is in dnsdist-random.cc as a fallback
Otto Moerbeek [Tue, 20 Jun 2023 10:50:36 +0000 (12:50 +0200)] 
Stop using random(), only place left is in dnsdist-random.cc as a fallback

2 years agoTweaks for macOS
Otto Moerbeek [Tue, 20 Jun 2023 10:01:54 +0000 (12:01 +0200)] 
Tweaks for macOS

2 years agoStart buildina and using arc4random
Otto Moerbeek [Tue, 20 Jun 2023 09:19:42 +0000 (11:19 +0200)] 
Start buildina and using arc4random

2 years agoPort of the openss-poratble arc4random code to our build environment
Otto Moerbeek [Tue, 20 Jun 2023 09:17:00 +0000 (11:17 +0200)] 
Port of the openss-poratble arc4random code to our build environment

2 years agoInitial needed files from openssh-portable
Otto Moerbeek [Tue, 20 Jun 2023 08:02:52 +0000 (10:02 +0200)] 
Initial needed files from openssh-portable

2 years agoauth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get... 12990/head
Peter van Dijk [Thu, 6 Jul 2023 13:09:07 +0000 (15:09 +0200)] 
auth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get ID list

2 years agoauth lmdb: add index refresh-all backend command 12985/head
Peter van Dijk [Thu, 6 Jul 2023 10:28:22 +0000 (12:28 +0200)] 
auth lmdb: add index refresh-all backend command

2 years agoauth lmdb: add 'index check domains' and 'index refresh domains <ID>' backend-cmds
Peter van Dijk [Tue, 4 Jul 2023 18:25:09 +0000 (20:25 +0200)] 
auth lmdb: add 'index check domains' and 'index refresh domains <ID>' backend-cmds

2 years agoMerge pull request #12776 from jacobbunk/tsig-qtype
Remi Gacogne [Tue, 4 Jul 2023 14:40:29 +0000 (16:40 +0200)] 
Merge pull request #12776 from jacobbunk/tsig-qtype

Make DNSQType.TSIG available in dnsdist

2 years agoauth: Simplify the SQL upgrade condition 12776/head
Remi Gacogne [Mon, 3 Jul 2023 18:08:36 +0000 (20:08 +0200)] 
auth: Simplify the SQL upgrade condition

2 years agodnsdist: Make clang-tidy happy 12976/head
Remi Gacogne [Mon, 3 Jul 2023 18:03:54 +0000 (20:03 +0200)] 
dnsdist: Make clang-tidy happy

We will have to come back if ComboAddress ever becomes heavier, but
hey.

2 years agoMerge pull request #12979 from rgacogne/build-package-workflow-permissions
Remi Gacogne [Mon, 3 Jul 2023 17:59:57 +0000 (19:59 +0200)] 
Merge pull request #12979 from rgacogne/build-package-workflow-permissions

builder-dispatch: Explicitly grant permissions to the build package workflow

2 years agobuilder-dispatch: Explicitly grant id-token: write to the build package workflow 12979/head
Remi Gacogne [Mon, 3 Jul 2023 13:28:21 +0000 (15:28 +0200)] 
builder-dispatch: Explicitly grant id-token: write to the build package workflow

2 years agodnsdist: Fix a crash when X-Forwarded-For overrides the initial source IP
Remi Gacogne [Mon, 3 Jul 2023 12:06:05 +0000 (14:06 +0200)] 
dnsdist: Fix a crash when X-Forwarded-For overrides the initial source IP

When both the processing of X-Forwarded-For DNS-over-https headers
(`trustForwardedForHeader=true`) and a maximum number of concurrent
TCP connections per client (`setMaxTCPConnectionsPerClient()`) are
enabled, dnsdist could crash because of an uncaught exception:
```
dnsdist[X]: terminate called after throwing an instance of 'std::runtime_error'
dnsdist[X]:   what():  DOH thread failed to launch: map::at
```
This was caused by the TCP connection being first accounted for with the
initial source IP (from the upstream HTTP proxy) but later released using
the IP extracted from the X-Forwarded-For header, leading to an unexpected
failure to locate the corresponding entry in the map.

We might not actually want to enforce the maximum number of concurrent
TCP connections per client when X-Forwarded-For processing is enabled,
though, because we usually want to rate limit the actual client and
not the HTTP proxy, but X-Forwarded-For being set per HTTP query, instead
of per-connection, makes that pretty much impossible at our level since
the same connection from the HTTP proxy can be reused for several clients.
The proxy protocol would be a better option to enforce that limit.

2 years agoMerge pull request #12955 from rgacogne/ddist-fix-doc-codeblocks
Remi Gacogne [Mon, 3 Jul 2023 11:38:25 +0000 (13:38 +0200)] 
Merge pull request #12955 from rgacogne/ddist-fix-doc-codeblocks

dnsdist: Fix the rendering of some Lua configuration examples

2 years agoMerge pull request #12970 from rgacogne/fix-build-provenance
Remi Gacogne [Mon, 3 Jul 2023 11:29:53 +0000 (13:29 +0200)] 
Merge pull request #12970 from rgacogne/fix-build-provenance

build-packages: Fix the package buikding workflow

2 years agoClarify which types are supported, implemented, meta, etc
Remi Gacogne [Fri, 12 May 2023 10:53:00 +0000 (12:53 +0200)] 
Clarify which types are supported, implemented, meta, etc

2 years agoMerge pull request #12851 from cunha/docker-debian-version
Remi Gacogne [Mon, 3 Jul 2023 08:38:26 +0000 (10:38 +0200)] 
Merge pull request #12851 from cunha/docker-debian-version

Update base Debian version in Docker docs

2 years agoMerge pull request #12854 from ghoshbishakh/patch-1
Remi Gacogne [Mon, 3 Jul 2023 08:38:09 +0000 (10:38 +0200)] 
Merge pull request #12854 from ghoshbishakh/patch-1

Documentation fix in HTTP API - zone.rst

2 years agoMerge pull request #12954 from Habbie/generate-repo-files-error-crash
Remi Gacogne [Mon, 3 Jul 2023 08:31:48 +0000 (10:31 +0200)] 
Merge pull request #12954 from Habbie/generate-repo-files-error-crash

generate-repo-files: don't crash when the process errors

2 years agodnsdist: Fix "Pointer to local outside storage" reported by Coverity 12974/head
Remi Gacogne [Fri, 30 Jun 2023 16:16:03 +0000 (18:16 +0200)] 
dnsdist: Fix "Pointer to local outside storage" reported by Coverity

We use a temporary `std::string` for a very short tile after it is no
longer required to exist when adding a new custom metric.
Reported by Coverity as CID 394511.

2 years agoMerge pull request #12973 from jacobbunk/statnode-document-trailing-dot
Remi Gacogne [Fri, 30 Jun 2023 15:33:45 +0000 (17:33 +0200)] 
Merge pull request #12973 from jacobbunk/statnode-document-trailing-dot

Document the trailing '.' in StatNode.fullname

2 years agoDocument the trailing '.' in StatNode.fullname 12973/head
Jacob Bunk Nielsen [Fri, 30 Jun 2023 13:41:40 +0000 (15:41 +0200)] 
Document the trailing '.' in StatNode.fullname

2 years agoMerge pull request #12971 from jacobbunk/fix-statnodestats-doc
Remi Gacogne [Fri, 30 Jun 2023 13:23:00 +0000 (15:23 +0200)] 
Merge pull request #12971 from jacobbunk/fix-statnodestats-doc

Document the StatNodeStats.hits attribute.

2 years agoUpdate pdns/dnsdistdist/docs/reference/config.rst 12971/head
Jacob Bunk Nielsen [Fri, 30 Jun 2023 13:22:16 +0000 (15:22 +0200)] 
Update pdns/dnsdistdist/docs/reference/config.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoDocument the StatNodeStats.hits attribute.
Jacob Bunk Nielsen [Fri, 30 Jun 2023 11:28:34 +0000 (13:28 +0200)] 
Document the StatNodeStats.hits attribute.

2 years agoMerge pull request #12969 from omoerbeek/rec-prep-49
Otto Moerbeek [Fri, 30 Jun 2023 09:58:43 +0000 (11:58 +0200)] 
Merge pull request #12969 from omoerbeek/rec-prep-49

Prep for rec-4.9.0

2 years agobuild-tags: Fix product names 12970/head
Remi Gacogne [Fri, 30 Jun 2023 07:55:35 +0000 (09:55 +0200)] 
build-tags: Fix product names

2 years agobuild-packages: Normalize 'recursor' to 'pdns-recursor'
Remi Gacogne [Fri, 30 Jun 2023 07:55:08 +0000 (09:55 +0200)] 
build-packages: Normalize 'recursor' to 'pdns-recursor'

2 years agoPrep for rec-4.9.0 12969/head
Otto Moerbeek [Thu, 29 Jun 2023 12:41:52 +0000 (14:41 +0200)] 
Prep for rec-4.9.0

2 years agoMerge pull request #12917 from omoerbeek/delint-pdns-recursor
Otto Moerbeek [Thu, 29 Jun 2023 13:12:55 +0000 (15:12 +0200)] 
Merge pull request #12917 from omoerbeek/delint-pdns-recursor

rec: Delint pdns recursor.cc

2 years agoMerge pull request #12963 from omoerbeek/rec-step4-iter2
Otto Moerbeek [Thu, 29 Jun 2023 12:50:24 +0000 (14:50 +0200)] 
Merge pull request #12963 from omoerbeek/rec-step4-iter2

rec: fix qname length getting out-of-sync with qname-minimization iteration count (approach 2)

2 years agoMerge pull request #12964 from Habbie/cov-on-22.04
Peter van Dijk [Thu, 29 Jun 2023 12:02:39 +0000 (14:02 +0200)] 
Merge pull request #12964 from Habbie/cov-on-22.04

coverity: bump to ubuntu 22.04

2 years agoMerge pull request #12877 from Habbie/sdist-alpine-3.18
Peter van Dijk [Thu, 29 Jun 2023 12:02:23 +0000 (14:02 +0200)] 
Merge pull request #12877 from Habbie/sdist-alpine-3.18

bump sdist builders to alpine 3.18

2 years agoMerge pull request #12965 from Habbie/provenance-centos-7
Peter van Dijk [Thu, 29 Jun 2023 11:22:00 +0000 (13:22 +0200)] 
Merge pull request #12965 from Habbie/provenance-centos-7

workaround: recognise centos-7 target name too in provenance generation

2 years agoTake one suggestion form review. The others keep on producing clang-tidy 12917/head
Otto Moerbeek [Thu, 29 Jun 2023 10:52:32 +0000 (12:52 +0200)] 
Take one suggestion form review. The others keep on producing clang-tidy
issues.

2 years agoReformat
Otto Moerbeek [Wed, 14 Jun 2023 07:56:56 +0000 (09:56 +0200)] 
Reformat

2 years agoDelint pdns_recursor.cc
Otto Moerbeek [Wed, 17 May 2023 13:36:44 +0000 (15:36 +0200)] 
Delint pdns_recursor.cc

2 years agorec: fix qname length getting out-of-sync with qname-minimization iteration count 12963/head
Otto Moerbeek [Thu, 29 Jun 2023 07:31:46 +0000 (09:31 +0200)] 
rec: fix qname length getting out-of-sync with qname-minimization iteration count

Approach two: fall back to non-QM mode if loop detected
Fixes #12956

2 years agoworkaround: recognise centos-7 target name too in provenance generation 12965/head
Peter van Dijk [Thu, 29 Jun 2023 10:26:05 +0000 (12:26 +0200)] 
workaround: recognise centos-7 target name too in provenance generation

2 years agocoverity: bump to ubuntu 22.04 12964/head
Peter van Dijk [Thu, 29 Jun 2023 07:09:22 +0000 (09:09 +0200)] 
coverity: bump to ubuntu 22.04

2 years agoMerge pull request #12961 from rgacogne/doing-red-hat-job-myself
Remi Gacogne [Wed, 28 Jun 2023 15:33:47 +0000 (17:33 +0200)] 
Merge pull request #12961 from rgacogne/doing-red-hat-job-myself

Work around RHEL8 pooping the bed in OpenSSL's headers

2 years agoWork around Red Hat 8 pooping the bed in OpenSSL's headers 12961/head
Remi Gacogne [Wed, 28 Jun 2023 13:23:35 +0000 (15:23 +0200)] 
Work around Red Hat 8 pooping the bed in OpenSSL's headers

The openssl/kdf.h header on EL8 is invalid because someone backported
a work-in-progress feature to an older OpenSSL branch and did not
bother to backport the fixes that were added later.

Red Hat declined to fix their mess and helpfully suggested we do the
work instead in https://bugzilla.redhat.com/show_bug.cgi?id=2215856

2 years agoMerge pull request #12921 from rgacogne/ddist-declare-custom-metrics-at-runtime
Remi Gacogne [Wed, 28 Jun 2023 12:40:22 +0000 (14:40 +0200)] 
Merge pull request #12921 from rgacogne/ddist-declare-custom-metrics-at-runtime

dnsdist: Allow declaring custom metrics at runtime

2 years agoMerge pull request #12556 from rgacogne/generate-provenance
Remi Gacogne [Wed, 28 Jun 2023 08:58:56 +0000 (10:58 +0200)] 
Merge pull request #12556 from rgacogne/generate-provenance

Builder-dispatch: Generate provenance for built artifacts

2 years agoMerge pull request #12957 from dwfreed/patch-1
Otto Moerbeek [Wed, 28 Jun 2023 05:49:11 +0000 (07:49 +0200)] 
Merge pull request #12957 from dwfreed/patch-1

rec: include qname when logging skip of step 4 of qname minimization

2 years agorec: include qname when logging skip of step 4 of qname minimization 12957/head
Doug Freed [Wed, 28 Jun 2023 05:13:51 +0000 (00:13 -0500)] 
rec: include qname when logging skip of step 4 of qname minimization

2 years agodnsdist: Fix the rendering of some Lua configuration examples 12955/head
Remi Gacogne [Tue, 27 Jun 2023 16:09:09 +0000 (18:09 +0200)] 
dnsdist: Fix the rendering of some Lua configuration examples

2 years agogenerate-repo-files: don't crash when the process errors 12954/head
Peter van Dijk [Tue, 27 Jun 2023 15:16:15 +0000 (17:16 +0200)] 
generate-repo-files: don't crash when the process errors

2 years agoWarn about the duplicated content in builder-dispatch and build-packages 12556/head
Remi Gacogne [Tue, 27 Jun 2023 14:55:42 +0000 (16:55 +0200)] 
Warn about the duplicated content in builder-dispatch and build-packages

2 years agobuild-packages: Upload the provenance artifacts to downloads.powerdns.com
Remi Gacogne [Tue, 27 Jun 2023 12:38:50 +0000 (14:38 +0200)] 
build-packages: Upload the provenance artifacts to downloads.powerdns.com

2 years agoMerge pull request #12952 from omoerbeek/rec-coverity-moves-part1
Otto Moerbeek [Tue, 27 Jun 2023 14:41:30 +0000 (16:41 +0200)] 
Merge pull request #12952 from omoerbeek/rec-coverity-moves-part1

rec: fix a set of move optimizations, as suggested by coverity

2 years agodnsdist: Fix a typo spotted by Otto in the docs 12921/head
Remi Gacogne [Tue, 27 Jun 2023 14:18:39 +0000 (16:18 +0200)] 
dnsdist: Fix a typo spotted by Otto in the docs

2 years agodnsdist: Fix the initial value of the custom gauge in our tests
Remi Gacogne [Tue, 27 Jun 2023 14:18:04 +0000 (16:18 +0200)] 
dnsdist: Fix the initial value of the custom gauge in our tests

Thanks Otto!

2 years agodnsdist: Apply clang-tidy's suggestions
Remi Gacogne [Fri, 16 Jun 2023 14:55:37 +0000 (16:55 +0200)] 
dnsdist: Apply clang-tidy's suggestions

2 years agodnsdist: Fix formatting in dnsdist-metrics.{cc,hh}
Remi Gacogne [Fri, 16 Jun 2023 13:12:57 +0000 (15:12 +0200)] 
dnsdist: Fix formatting in dnsdist-metrics.{cc,hh}

2 years agodnsdist: Move metrics to dnsdist-metrics.{cc,hh}
Remi Gacogne [Fri, 16 Jun 2023 13:00:07 +0000 (15:00 +0200)] 
dnsdist: Move metrics to dnsdist-metrics.{cc,hh}

This makes it possible to get more parts of the code out of the
dnsdist.hh header, which ideally should go.

2 years agodnsdist: Implement a FFI method to declare a new custom metric
Remi Gacogne [Fri, 16 Jun 2023 11:39:16 +0000 (13:39 +0200)] 
dnsdist: Implement a FFI method to declare a new custom metric

2 years agodnsdist: Allow declaring custom metrics at runtime
Remi Gacogne [Thu, 15 Jun 2023 12:17:03 +0000 (14:17 +0200)] 
dnsdist: Allow declaring custom metrics at runtime

Also fixes a bug in the prometheus HELP and TYPE messages for custom
metrics with labels, and adds a method to increment a counter by more
than one.

2 years agoMerge pull request #10776 from Habbie/python-requirement-hashes
Peter van Dijk [Tue, 27 Jun 2023 13:24:52 +0000 (15:24 +0200)] 
Merge pull request #10776 from Habbie/python-requirement-hashes

docs: generate requirements.txt with package hashes

2 years agoauth docs: generate requirements.txt with package hashes 10776/head
Peter van Dijk [Tue, 27 Jun 2023 11:37:52 +0000 (13:37 +0200)] 
auth docs: generate requirements.txt with package hashes

2 years agoupdate docs builder workflow to ubuntu 22.04, get invoke from apt
Peter van Dijk [Tue, 27 Jun 2023 11:49:55 +0000 (13:49 +0200)] 
update docs builder workflow to ubuntu 22.04, get invoke from apt