]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 months agobuild(deps): bump actions/cache from 3 to 4 14907/head
dependabot[bot] [Thu, 18 Jan 2024 15:21:24 +0000 (15:21 +0000)] 
build(deps): bump actions/cache from 3 to 4

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
8 months agobuild(deps): bump actions/checkout from 3 to 4
dependabot[bot] [Mon, 27 Nov 2023 15:34:52 +0000 (15:34 +0000)] 
build(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
8 months agoci: Update upload-artifact and download-artifact to version 4
Remi Gacogne [Mon, 8 Jan 2024 16:14:20 +0000 (17:14 +0100)] 
ci: Update upload-artifact and download-artifact to version 4

8 months agoMerge pull request #14884 from romeroalx/backport-14862-to-auth-4.8.x
Peter van Dijk [Tue, 26 Nov 2024 09:02:40 +0000 (10:02 +0100)] 
Merge pull request #14884 from romeroalx/backport-14862-to-auth-4.8.x

auth-4.8.x: Backport 14862 - builder: remove ubuntu lunar as it is EOL

8 months agobuilder: remove ubuntu lunar+mantic as they are EOL 14884/head
Peter van Dijk [Fri, 22 Nov 2024 09:08:40 +0000 (10:08 +0100)] 
builder: remove ubuntu lunar+mantic as they are EOL

10 months agoMerge pull request #14689 from Habbie/backport-14686-to-auth-4.8.x
Peter van Dijk [Fri, 20 Sep 2024 12:37:42 +0000 (14:37 +0200)] 
Merge pull request #14689 from Habbie/backport-14686-to-auth-4.8.x

auth 4.8 mssql CI: switch to 2022-CU12 image

10 months agoauth mssql CI: switch to 2022-CU12 image 14689/head
Peter van Dijk [Thu, 19 Sep 2024 08:47:07 +0000 (10:47 +0200)] 
auth mssql CI: switch to 2022-CU12 image

https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240915.1 broke mssql.

https://github.com/microsoft/mssql-docker/issues/868 fits the kernel upgrade.

this commit switches from 2017-GA to 2022-CU12, which unbreaks the build

(cherry picked from commit 0b805ddebc3e14f78effa44ebf06377c593276ed)

13 months agoMerge pull request #14462 from omoerbeek/backport-14445-to-auth-4.8.x
Otto Moerbeek [Fri, 12 Jul 2024 09:45:22 +0000 (11:45 +0200)] 
Merge pull request #14462 from omoerbeek/backport-14445-to-auth-4.8.x

auth: Backport 14445 to auth 4.8.x: use el-7 for daily build

13 months agorec 4.9.x: daily build for el-7 instead of centos-7 14462/head
Otto Moerbeek [Tue, 9 Jul 2024 08:19:07 +0000 (10:19 +0200)] 
rec 4.9.x: daily build for el-7 instead of centos-7

(cherry picked from commit 8a0e619a2a7d027d24e26fb23ecade0573592382)

13 months agoMerge pull request #14421 from Habbie/backport-14403-to-auth-4.8.x
Peter van Dijk [Tue, 9 Jul 2024 07:59:17 +0000 (09:59 +0200)] 
Merge pull request #14421 from Habbie/backport-14403-to-auth-4.8.x

auth-4.8: switch el7 builds to Oracle Linux 7

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

(cherry picked from commit 73a1b98f92c671c590540ac19d74d70499f89066)
(cherry picked from commit 87e2e08b41de7453f144721ed232219052205651)

13 months agoMerge pull request #14423 from Habbie/backport-14405-to-auth-4.8.x
Peter van Dijk [Fri, 5 Jul 2024 13:13:41 +0000 (15:13 +0200)] 
Merge pull request #14423 from Habbie/backport-14405-to-auth-4.8.x

auth-4.8: dns.cc: use pdns::views::UnsignedCharView

13 months agodns.cc: use pdns::views::UnsignedCharView 14423/head
Otto Moerbeek [Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)] 
dns.cc: use pdns::views::UnsignedCharView

Includes minor cleanup and additions to make UnsignedCharView usable for this use case.
Supersedes #14356
Fixes
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]

(cherry picked from commit 949ea9456dbe76e78aeff5f6f37f218549d1b493)
(cherry picked from commit c3a5649044ae49bdf0f0271744d76b948efcffc5)

13 months agoimport views.hh from master
Peter van Dijk [Tue, 2 Jul 2024 10:48:38 +0000 (12:48 +0200)] 
import views.hh from master

(cherry picked from commit 99bf661661e46c6ca4ee71b955fb00f5b9baa130)

13 months agoMerge pull request #14314 from romeroalx/backport-14241-to-auth-4.8.x
Peter van Dijk [Mon, 1 Jul 2024 11:05:54 +0000 (13:05 +0200)] 
Merge pull request #14314 from romeroalx/backport-14241-to-auth-4.8.x

auth-4.8.x: Backport removal of centos-8 and centos-8-stream as build targets

14 months agoremove centos-8 and centos-8-stream as build targets 14314/head
romeroalx [Tue, 4 Jun 2024 09:16:18 +0000 (11:16 +0200)] 
remove centos-8 and centos-8-stream as build targets

14 months agoMerge pull request #14290 from romeroalx/backport-14171-to-auth-4.8.x-2
Peter van Dijk [Thu, 6 Jun 2024 14:46:39 +0000 (16:46 +0200)] 
Merge pull request #14290 from romeroalx/backport-14171-to-auth-4.8.x-2

auth-4.8.x: backport of #14171 for fixing the build of images on new tags

14 months agoMerge pull request #14246 from ns-sjorgedeaguiar/backport-14218-to-auth-4.8.x
Peter van Dijk [Thu, 6 Jun 2024 11:10:50 +0000 (13:10 +0200)] 
Merge pull request #14246 from ns-sjorgedeaguiar/backport-14218-to-auth-4.8.x

auth web: Backport 14218 to auth-4.8.x: make request/response timeout configurable

14 months agogh actions: add WF for building and pushing images when a new tag is created 14290/head
romeroalx [Tue, 14 May 2024 15:45:08 +0000 (17:45 +0200)] 
gh actions: add WF for building and pushing images when a new tag is created

14 months agogh actions: add WF for building and pushing images manually
romeroalx [Tue, 14 May 2024 15:43:26 +0000 (17:43 +0200)] 
gh actions: add WF for building and pushing images manually

14 months agogh actions: modify docker.yml for building and pushing images daily (master)
romeroalx [Tue, 14 May 2024 15:40:11 +0000 (17:40 +0200)] 
gh actions: modify docker.yml for building and pushing images daily (master)

14 months agogh actions: add WF for building and pushing multi-platform images on workflow_call...
romeroalx [Tue, 14 May 2024 15:35:44 +0000 (17:35 +0200)] 
gh actions: add WF for building and pushing multi-platform images on workflow_call events

14 months agoauth web: make request/response timeout configurable 14246/head
Samir Aguiar [Mon, 20 May 2024 21:08:36 +0000 (21:08 +0000)] 
auth web: make request/response timeout configurable

14 months agoMerge pull request #14211 from romeroalx/backport-14171-to-auth-4.8.x
Peter van Dijk [Fri, 24 May 2024 08:18:04 +0000 (10:18 +0200)] 
Merge pull request #14211 from romeroalx/backport-14171-to-auth-4.8.x

auth-4.8.x: Partial backport of #14171 for fixing the build of arm64 images

14 months agoAdding liblua5.3-dev/libluajit-5.1-dev to dockerfiles 14211/head
romeroalx [Tue, 14 May 2024 15:26:05 +0000 (17:26 +0200)] 
Adding liblua5.3-dev/libluajit-5.1-dev to dockerfiles

14 months agoMerge pull request #14153 from romeroalx/backport-14044-to-auth-4.8.x
Peter van Dijk [Fri, 17 May 2024 12:34:37 +0000 (14:34 +0200)] 
Merge pull request #14153 from romeroalx/backport-14044-to-auth-4.8.x

auth: Backport 14044 to auth-4.8.x: gh actions - replace yq snap in collect job build-and-test-all

15 months agogh actions - build-and-test-all: use a ubuntu-22 runner for job collect 14153/head
romeroalx [Thu, 9 May 2024 14:36:59 +0000 (16:36 +0200)] 
gh actions - build-and-test-all: use a ubuntu-22 runner for job collect

16 months agogh actions - replace yq snap in collect job build-and-test-all
romeroalx [Fri, 5 Apr 2024 10:02:55 +0000 (12:02 +0200)] 
gh actions - replace yq snap in collect job build-and-test-all

19 months agoMerge pull request #13626 from Habbie/backport-13552-to-auth-4.8.x auth-4.8.4
Peter van Dijk [Mon, 18 Dec 2023 11:33:02 +0000 (12:33 +0100)] 
Merge pull request #13626 from Habbie/backport-13552-to-auth-4.8.x

auth-4.8: extend the systemd startup timeout during lmdb schema migrations

19 months agoMerge pull request #13625 from Habbie/backport-13619-to-auth-4.8.x
Peter van Dijk [Mon, 18 Dec 2023 11:32:41 +0000 (12:32 +0100)] 
Merge pull request #13625 from Habbie/backport-13619-to-auth-4.8.x

auth-4.8: Add supervisor to Auth container image

19 months agoMerge pull request #13624 from Habbie/backport-13093-to-auth-4.8.x
Peter van Dijk [Thu, 14 Dec 2023 15:02:18 +0000 (16:02 +0100)] 
Merge pull request #13624 from Habbie/backport-13093-to-auth-4.8.x

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

19 months agoauth, extend the systemd startup timeout during lmdb schema migrations 13626/head
Kees Monshouwer [Tue, 28 Nov 2023 19:52:53 +0000 (20:52 +0100)] 
auth, extend the systemd startup timeout during lmdb schema migrations

(cherry picked from commit bd61829b3fbaf654129be0b77183d0b2ab966fe7)

19 months agoone sentence per line 13625/head
Peter van Dijk [Thu, 14 Dec 2023 10:32:18 +0000 (11:32 +0100)] 
one sentence per line

(cherry picked from commit 670426f796a849ed3a733aa750fac285ad0b81ad)

19 months agoMinor docs change regarding supervisord in Kubernetes
Nico Vaatstra [Wed, 13 Dec 2023 14:12:36 +0000 (15:12 +0100)] 
Minor docs change regarding supervisord in Kubernetes

(cherry picked from commit 9759a3983789f64fe3ac6a56ed671cdda467644d)

19 months agoSupervisor in Auth container image
Nico Vaatstra [Wed, 13 Dec 2023 14:01:10 +0000 (15:01 +0100)] 
Supervisor in Auth container image

(cherry picked from commit 638d656cb6d9fea17d8065ea8ac173a99518ada2)

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

(cherry picked from commit b16aa8e4d785babed1b4b45e8165fed9f473a86b)

20 months agoMerge pull request #13534 from romeroalx/auth-4.8.x-workflow-call
Peter van Dijk [Tue, 5 Dec 2023 14:12:50 +0000 (15:12 +0100)] 
Merge pull request #13534 from romeroalx/auth-4.8.x-workflow-call

GH Actions - rel/auth-4.8.x: make build-and-test-all and builder workflows reusable from other branches

20 months agomake builder workflow reusable 13534/head
romeroalx [Wed, 22 Nov 2023 13:07:38 +0000 (14:07 +0100)] 
make builder workflow reusable

20 months agomake build-and-test-all reusable
Alexis Romero [Thu, 16 Nov 2023 15:38:05 +0000 (16:38 +0100)] 
make build-and-test-all reusable

20 months agotest ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

20 months agobuilder: drop ubuntu kinetic, it is EOL
Peter van Dijk [Thu, 14 Sep 2023 06:35:05 +0000 (08:35 +0200)] 
builder: drop ubuntu kinetic, it is EOL

20 months agoSwitch from deprecated ::set-output
Josh Soref [Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)] 
Switch from deprecated ::set-output

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

22 months agoMerge pull request #13316 from Habbie/backport-13136-to-auth-4.8.x auth-4.8.3
Peter van Dijk [Tue, 3 Oct 2023 07:43:52 +0000 (09:43 +0200)] 
Merge pull request #13316 from Habbie/backport-13136-to-auth-4.8.x

auth-4.8: ixfrdist: set AA=1 on SOA responses

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

(cherry picked from commit 63f3e97b0def39e0199a3c1c28d611ec7f74a686)

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

(cherry picked from commit 255ec835c0c0475f86ec81ed838dd3014d365043)

22 months agoMerge pull request #13271 from Habbie/backport-13245-to-auth-4.8.x
Peter van Dijk [Mon, 25 Sep 2023 13:53:14 +0000 (15:53 +0200)] 
Merge pull request #13271 from Habbie/backport-13245-to-auth-4.8.x

auth-4.8.x: smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0

22 months agosmysql: stop explicity setting MYSQL_OPT_RECONNECT to 0 13271/head
Peter van Dijk [Tue, 12 Sep 2023 15:09:57 +0000 (17:09 +0200)] 
smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0

Setting this option, even to 0, causes spurious warnings to the console
with recent libmysqlclient versions. The upstream bug
( https://bugs.mysql.com/bug.php?id=112089 )
has now been open for a month, so we're implementing a workaround.

0 was the default since at least MySQL 5.7, perhaps longer.

closes #13242

(cherry picked from commit f1cbc20b72ab95531f0a84bab40ac6ea1610241f)

22 months agoMerge pull request #13240 from Habbie/backport-13238-to-auth-4.8.x
Peter van Dijk [Mon, 18 Sep 2023 07:46:16 +0000 (09:46 +0200)] 
Merge pull request #13240 from Habbie/backport-13238-to-auth-4.8.x

auth-4.8: add default-catalog-zone setting

22 months agoauth: add default-catalog-zone setting 13240/head
Peter van Dijk [Tue, 12 Sep 2023 10:34:43 +0000 (12:34 +0200)] 
auth: add default-catalog-zone setting

(cherry picked from commit c8734ecd8cca0089a8a9c032bfab1069f60381e6)

23 months agoMerge pull request #13186 from Habbie/backport-13105-to-auth-4.8.x auth-4.8.2
Peter van Dijk [Mon, 4 Sep 2023 10:12:49 +0000 (12:12 +0200)] 
Merge pull request #13186 from Habbie/backport-13105-to-auth-4.8.x

auth-4.8.x: (I)XFR: handle partial read of len prefix

23 months agoMerge pull request #13187 from Habbie/backport-13071-to-auth-4.8.x
Peter van Dijk [Thu, 31 Aug 2023 18:38:37 +0000 (20:38 +0200)] 
Merge pull request #13187 from Habbie/backport-13071-to-auth-4.8.x

auth-4.8.x: fix code producing json

23 months agoclang-tidy: Disable cppcoreguidelines-special-member-functions 13186/head
Remi Gacogne [Fri, 12 May 2023 13:29:37 +0000 (15:29 +0200)] 
clang-tidy: Disable cppcoreguidelines-special-member-functions

We will need to re-enable it once https://github.com/PowerDNS/pdns/issues/12809
has been fixed.

(cherry picked from commit 4c6dd7970397f2220c015ab2403cc9f1977c1d19)

23 months agoMerge pull request #13188 from Habbie/backport-13018-to-auth-4.8.x
Peter van Dijk [Wed, 30 Aug 2023 12:59:10 +0000 (14:59 +0200)] 
Merge pull request #13188 from Habbie/backport-13018-to-auth-4.8.x

auth-4.8.x: calidns: fix setting an ECS source of 0

23 months agoMerge pull request #13189 from Habbie/backport-13005-to-auth-4.8.x
Peter van Dijk [Wed, 30 Aug 2023 12:58:47 +0000 (14:58 +0200)] 
Merge pull request #13189 from Habbie/backport-13005-to-auth-4.8.x

auth-4.8.x: Fix incorrect optsize

23 months agoFix incorrect optsize 13189/head
Jelle Kaufmann [Sun, 9 Jul 2023 05:04:12 +0000 (07:04 +0200)] 
Fix incorrect optsize

(cherry picked from commit ca250bdad16b9ac6a2789541be88bf17a653262b)

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

(cherry picked from commit ba770e4f65aefdadc489a169ae66fd20c897162c)

23 months agoSkip smileys for now, they take 4 bytes to encode and out current mysql 13187/head
Otto Moerbeek [Mon, 31 Jul 2023 13:51:31 +0000 (15:51 +0200)] 
Skip smileys for now, they take 4 bytes to encode and out current mysql
schema has 'utf8', which only handles 3 bytes max, should be changed to
utf8mb4 one day.

(cherry picked from commit 93ad866b4e2f4afb017e8b3b08041598a2378ea5)

23 months agoTest a few non-ASCII chars in comments
Otto Moerbeek [Mon, 31 Jul 2023 12:44:13 +0000 (14:44 +0200)] 
Test a few non-ASCII chars in comments

(cherry picked from commit 56726eb113ab135ec890e79e94c0393986e9edad)

23 months agoAdd a few testcases for "incomplete" URLs
Otto Moerbeek [Wed, 26 Jul 2023 07:35:05 +0000 (09:35 +0200)] 
Add a few testcases for "incomplete" URLs

(cherry picked from commit 7ab40a80547d112914b71919d8f4aa14cc24b047)

23 months agoCheck all chars in the URL are valid URL chars.
Otto Moerbeek [Fri, 21 Jul 2023 12:23:02 +0000 (14:23 +0200)] 
Check all chars in the URL are valid URL chars.

Should probably (also) be done in YaHTTP::URL, though currently the
return value of YaHTTP::URL::parse() is completely ignored, so
there is no easy way to do.

(cherry picked from commit 35eb2fcffa40e7f70b716e99158efe72a0e864d9)

23 months agoImplement recomendationm from #13050: step 1
Otto Moerbeek [Fri, 21 Jul 2023 11:43:57 +0000 (13:43 +0200)] 
Implement recomendationm from #13050: step 1

Revert #12660

(cherry picked from commit 26f5d6058d8b0cf4ad2f8da729cb906796c297a0)

23 months agoremove redundant assignment
Otto Moerbeek [Wed, 9 Aug 2023 08:09:36 +0000 (10:09 +0200)] 
remove redundant assignment

(cherry picked from commit 8d3ab63b412fb4b9fd8732af47a5d1c18ba7e786)

23 months 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

(cherry picked from commit 8faf5a90992b2613cf5999c8dd5e26b0025050b7)

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

(cherry picked from commit 8fb5bba04f7a211ac2eb815f5c340e69070dc3e0)

23 months agoMerge pull request #13194 from Habbie/auth-4.8-docker-compose-space
Peter van Dijk [Wed, 30 Aug 2023 11:53:43 +0000 (13:53 +0200)] 
Merge pull request #13194 from Habbie/auth-4.8-docker-compose-space

auth-4.8: unbreak docker compose

23 months agounverbose apt 13194/head
Peter van Dijk [Tue, 29 Aug 2023 14:24:21 +0000 (16:24 +0200)] 
unverbose apt

23 months agoswitch from `docker-compose` to `docker compose` and
Peter van Dijk [Tue, 29 Aug 2023 13:07:19 +0000 (15:07 +0200)] 
switch from `docker-compose` to `docker compose` and
stop installing docker-compose because that uninstalls runc

23 months agoMerge pull request #13099 from Habbie/backport-13096-to-auth-4.8.x
Peter van Dijk [Mon, 14 Aug 2023 07:37:26 +0000 (09:37 +0200)] 
Merge pull request #13099 from Habbie/backport-13096-to-auth-4.8.x

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

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

(cherry picked from commit e0e59b3868b4caf7a2e4f93e6d8a802b8d83eccd)

2 years agoMerge pull request #12996 from Habbie/backport-12990-to-auth-4.8.x auth-4.8.1
Peter van Dijk [Thu, 6 Jul 2023 16:27:26 +0000 (18:27 +0200)] 
Merge pull request #12996 from Habbie/backport-12990-to-auth-4.8.x

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

2 years agoMerge pull request #12997 from Habbie/backport-12985-to-auth-4.8.x
Peter van Dijk [Thu, 6 Jul 2023 16:19:03 +0000 (18:19 +0200)] 
Merge pull request #12997 from Habbie/backport-12985-to-auth-4.8.x

auth 4.8 lmdb: add backend commands for checking & refreshing indexes

2 years agoMerge pull request #12993 from Habbie/backport-12935-to-auth-4.8.x
Peter van Dijk [Thu, 6 Jul 2023 16:18:48 +0000 (18:18 +0200)] 
Merge pull request #12993 from Habbie/backport-12935-to-auth-4.8.x

auth-4.8.x: Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL

2 years agoMerge pull request #12992 from Habbie/backport-12892-to-auth-4.8.x
Peter van Dijk [Thu, 6 Jul 2023 15:06:10 +0000 (17:06 +0200)] 
Merge pull request #12992 from Habbie/backport-12892-to-auth-4.8.x

auth-4.8: YaHTTP: Prevent integer overflow on very large chunks

2 years agoMerge pull request #12991 from Habbie/backport-12961-to-auth-4.8.x
Peter van Dijk [Thu, 6 Jul 2023 15:05:38 +0000 (17:05 +0200)] 
Merge pull request #12991 from Habbie/backport-12961-to-auth-4.8.x

auth-4.8.x: Work around Red Hat 8 pooping the bed in OpenSSL's headers

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

(cherry picked from commit a451e81e890c91833d8f0c66488f488647ed51b6)

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

(cherry picked from commit d250e94f22407e2c8a08853229c8030382c75581)

2 years agoauth lmdb: in Lightning Stream mode, during deleteDomain, use RW transaction to get... 12996/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

(cherry picked from commit 3a99c00de710001bf28b940578ddc8d92272b28a)

2 years agoStop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL 12993/head
Remi Gacogne [Wed, 21 Jun 2023 12:58:15 +0000 (14:58 +0200)] 
Stop using the now deprecated ERR_load_CRYPTO_strings() to detect OpenSSL

And move to BN_new() instead, which has been present since at least
0.9.6 and is still in 3.1.

(cherry picked from commit 9fcef4932c9323b085984f8a087045fef70103f5)

2 years agoYaHTTP: Prevent integer overflow on very large chunks 12992/head
Remi Gacogne [Wed, 8 Mar 2023 17:25:30 +0000 (18:25 +0100)] 
YaHTTP: Prevent integer overflow on very large chunks

If the chunk_size is very close to the maximum value of an integer,
we trigger an integer overflow when checking if we have a trailing
newline after the payload.
Reported by OSS-Fuzz as:
https://oss-fuzz.com/testcase-detail/6439610474692608
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56804

(cherry picked from commit b602982fc5b4fb9139dec591541e0c070ceb47f5)

2 years agoWork around Red Hat 8 pooping the bed in OpenSSL's headers 12991/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

(cherry picked from commit 3dabf2d4a1a478fb00a232259e8043f075eb4d03)

2 years agoMerge pull request #12878 from Habbie/auth-4.8.x-partial-12792
Peter van Dijk [Tue, 13 Jun 2023 07:08:28 +0000 (09:08 +0200)] 
Merge pull request #12878 from Habbie/auth-4.8.x-partial-12792

auth-4.8: Don't fail when there are no warnings produced by clang-tidy

2 years agoDon't fail when there are no warnings produced by clang-tidy 12878/head
Fred Morcos [Mon, 8 May 2023 12:30:48 +0000 (14:30 +0200)] 
Don't fail when there are no warnings produced by clang-tidy

2 years agoMerge pull request #12869 from Habbie/backport-12860-to-auth-4.8.x auth-4.8.0
Peter van Dijk [Wed, 31 May 2023 21:57:54 +0000 (23:57 +0200)] 
Merge pull request #12869 from Habbie/backport-12860-to-auth-4.8.x

auth-4.8.x: do not answer with broken TYPE0 data when expanding an ENT wildcard

2 years agoMerge pull request #12872 from Habbie/backport-12866-to-auth-4.8.x
Peter van Dijk [Wed, 31 May 2023 21:57:25 +0000 (23:57 +0200)] 
Merge pull request #12872 from Habbie/backport-12866-to-auth-4.8.x

auth-4.8.x: lmdb: delete duplicate domain entries in deleteDomain

2 years agoMerge pull request #12868 from Habbie/backport-12859-to-auth-4.8.x
Peter van Dijk [Wed, 31 May 2023 21:56:14 +0000 (23:56 +0200)] 
Merge pull request #12868 from Habbie/backport-12859-to-auth-4.8.x

auth-4.8.x: pdnsutil: if user pushes unknown key in response to "problem with zone" prompt, do not throw away their changes

2 years agodocument shards=1 enforcement 12872/head
Peter van Dijk [Wed, 31 May 2023 08:33:56 +0000 (10:33 +0200)] 
document shards=1 enforcement

(cherry picked from commit 80ad487a185430a2f2878734018fc77803ec3d96)

2 years agoformat
Peter van Dijk [Wed, 31 May 2023 08:33:48 +0000 (10:33 +0200)] 
format

(cherry picked from commit 28b19cd03961e52ea5e7aa091cee5bc8af594c2f)

2 years agosimplify
Peter van Dijk [Wed, 31 May 2023 08:25:12 +0000 (10:25 +0200)] 
simplify

(cherry picked from commit 9bd88b4b317aa347e95d723042e4b4098d1b619c)

2 years agouse d_transactiondomain[id]
Peter van Dijk [Wed, 31 May 2023 07:34:02 +0000 (09:34 +0200)] 
use d_transactiondomain[id]

(cherry picked from commit 2f2cafa93d85e54e8a60b5a118e0c57aec80822f)

2 years agoUpdate modules/lmdbbackend/lmdbbackend.cc
Peter van Dijk [Wed, 31 May 2023 07:27:48 +0000 (09:27 +0200)] 
Update modules/lmdbbackend/lmdbbackend.cc

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 76eac3db390d121786d6f3da43e174ff2ebc31f3)

2 years agoonly throw when idvec is empty
Peter van Dijk [Wed, 31 May 2023 07:25:26 +0000 (09:25 +0200)] 
only throw when idvec is empty

(cherry picked from commit 53fdfae2c0e0aff70bb6ab5a834cffff084fbf7c)

2 years agoauth lmdb: enforce shards=1 when running in lightning-stream mode
Peter van Dijk [Tue, 30 May 2023 16:50:47 +0000 (18:50 +0200)] 
auth lmdb: enforce shards=1 when running in lightning-stream mode

(cherry picked from commit 38eb2496bacf10df57569d937f6de85b59592c4a)

2 years agoauth lmdb: delete duplicate domain entries in deleteDomain
Peter van Dijk [Tue, 30 May 2023 15:03:47 +0000 (17:03 +0200)] 
auth lmdb: delete duplicate domain entries in deleteDomain

(cherry picked from commit b2d1d86ad632f48fd4ae7dffa26f3eac05a8dce2)

2 years agopdnsutil: if user pushes unknown key in response to "problem with zone" prompt, do... 12868/head
Peter van Dijk [Sun, 28 May 2023 20:39:33 +0000 (22:39 +0200)] 
pdnsutil: if user pushes unknown key in response to "problem with zone" prompt, do not throw away their changes

(cherry picked from commit 1ad0d42532e4934290bcf251f9e9865cc4519f01)

2 years agoauth: do not answer with broken TYPE0 data when expanding an ENT wildcard 12869/head
Peter van Dijk [Sun, 28 May 2023 21:05:35 +0000 (23:05 +0200)] 
auth: do not answer with broken TYPE0 data when expanding an ENT wildcard

(cherry picked from commit e6d4f36b935567256ddcb01a9539bc784a3b814e)

2 years agoMerge pull request #12871 from Habbie/backport-12818-to-auth-4.8.x
Peter van Dijk [Wed, 31 May 2023 21:06:12 +0000 (23:06 +0200)] 
Merge pull request #12871 from Habbie/backport-12818-to-auth-4.8.x

auth-4.8.x: clang-tidy: Increase the cognitive complexity threshold to 75

2 years agoclang-tidy: Increase the cognitive complexity threshold to 75 12871/head
Remi Gacogne [Mon, 15 May 2023 08:57:53 +0000 (10:57 +0200)] 
clang-tidy: Increase the cognitive complexity threshold to 75

The current level of 50 is too low for a function like
'handleQueuedHealthChecks' which is quite simple.

(cherry picked from commit 1463e0417a11bb97017662d7e4adf2abac846d19)

2 years agoMerge pull request #12828 from Habbie/backport-12780-to-auth-4.8.x
Peter van Dijk [Wed, 31 May 2023 12:10:53 +0000 (14:10 +0200)] 
Merge pull request #12828 from Habbie/backport-12780-to-auth-4.8.x

auth-4.8: add setting workaround-11804-max-chunk-records #12780

2 years agoMerge pull request #12827 from Habbie/backport-12683-to-auth-4.8.x
Peter van Dijk [Wed, 31 May 2023 12:09:44 +0000 (14:09 +0200)] 
Merge pull request #12827 from Habbie/backport-12683-to-auth-4.8.x

auth-4.8.x: remove ubuntu bionic target

2 years agoMerge pull request #12826 from Habbie/auth-4.8-ci-cleanup
Peter van Dijk [Wed, 31 May 2023 12:09:13 +0000 (14:09 +0200)] 
Merge pull request #12826 from Habbie/auth-4.8-ci-cleanup

auth-4.8.x: clean up CI jobs for this branch