]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
17 months agoauth-4.6.x: remove spell checker 13886/head
Peter van Dijk [Mon, 11 Mar 2024 08:37:50 +0000 (09:37 +0100)] 
auth-4.6.x: remove spell checker

19 months agoMerge pull request #13569 from romeroalx/rel/auth-4.6.x-wc
romeroalx [Wed, 13 Dec 2023 06:17:21 +0000 (07:17 +0100)] 
Merge pull request #13569 from romeroalx/rel/auth-4.6.x-wc

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

20 months agomake builder workflow reusable 13569/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:49:50 +0000 (16:49 +0100)] 
make build-and-test-all reusable

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 #13341 from Habbie/backport-13245-to-auth-4.6.x
Peter van Dijk [Fri, 6 Oct 2023 15:01:22 +0000 (17:01 +0200)] 
Merge pull request #13341 from Habbie/backport-13245-to-auth-4.6.x

auth-4.6: smysql: stop explicity setting MYSQL_OPT_RECONNECT to 0

22 months agosmysql: stop explicity setting MYSQL_OPT_RECONNECT to 0 13341/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 #13338 from Habbie/backport-12562-to-auth-4.6.x
Peter van Dijk [Fri, 6 Oct 2023 13:39:33 +0000 (15:39 +0200)] 
Merge pull request #13338 from Habbie/backport-12562-to-auth-4.6.x

auth-4.6: fix github actions grub issue

22 months agoUpdate FIXME comment in build-scripts/gh-actions-setup-inv 13338/head
romeroalx [Fri, 17 Feb 2023 13:59:34 +0000 (14:59 +0100)] 
Update FIXME comment in build-scripts/gh-actions-setup-inv

Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit 03db3c76cf5b8fdf6df24180e8e5cf64f706e14d)

22 months agoworkaround for grub error raised after apt-get dist-upgrade
Alexis Romero [Fri, 17 Feb 2023 10:13:01 +0000 (11:13 +0100)] 
workaround for grub error raised after apt-get dist-upgrade

(cherry picked from commit 735582e64f176c9fbca3c3fc20c162f6c94ae8cd)

2 years agoMerge pull request #12629 from romeroalx/update-gh-actions-auth-to-4.6
Peter van Dijk [Fri, 24 Mar 2023 08:53:01 +0000 (09:53 +0100)] 
Merge pull request #12629 from romeroalx/update-gh-actions-auth-to-4.6

Backport GH Actions updates from master to auth-4.6.x

2 years agoUse actions/cache@v3 12629/head
Josh Soref [Thu, 9 Mar 2023 15:47:41 +0000 (10:47 -0500)] 
Use actions/cache@v3

2 years agoUse actions/checkout@v3
Josh Soref [Thu, 9 Mar 2023 15:47:03 +0000 (10:47 -0500)] 
Use actions/checkout@v3

2 years agogh actions: simplified collector job in build-and-test-all.yml
Alexis Romero [Thu, 16 Feb 2023 05:54:23 +0000 (06:54 +0100)] 
gh actions: simplified collector job in build-and-test-all.yml

2 years agoAvoid Microsoft repo for ODBC. Step 1: codeql allow apt downgrades
Alexis Romero [Thu, 23 Feb 2023 10:03:30 +0000 (11:03 +0100)] 
Avoid Microsoft repo for ODBC. Step 1: codeql allow apt downgrades

2 years agoAvoid Microsoft repo for ODBC. Step 1: allow apt downgrades
Alexis Romero [Wed, 22 Feb 2023 10:48:28 +0000 (11:48 +0100)] 
Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades

2 years agoremoved ldap and geoip-mmdb tests from circleci
Alexis Romero [Thu, 16 Feb 2023 05:55:48 +0000 (06:55 +0100)] 
removed ldap and geoip-mmdb tests from circleci

2 years agogh actions: added ldap and geoip-mmdb tests
Alexis Romero [Thu, 16 Feb 2023 05:52:49 +0000 (06:52 +0100)] 
gh actions: added ldap and geoip-mmdb tests

2 years agoGH actions: added auth odbc{sqlitle3, mssql} tests. Removed from CircleCI
Alexis Romero [Thu, 9 Feb 2023 11:16:04 +0000 (12:16 +0100)] 
GH actions: added auth odbc{sqlitle3, mssql} tests. Removed from CircleCI

2 years agocodeql workflow: set ubuntu mirror
Peter van Dijk [Mon, 6 Feb 2023 10:41:18 +0000 (11:41 +0100)] 
codeql workflow: set ubuntu mirror

2 years agobuild-and-test-all: add functionality to quickly switch ubuntu mirrors
Peter van Dijk [Fri, 13 Jan 2023 10:06:14 +0000 (11:06 +0100)] 
build-and-test-all: add functionality to quickly switch ubuntu mirrors

2 years agoSet policy to not start/enable services by default
Otto [Sat, 18 Dec 2021 19:24:14 +0000 (20:24 +0100)] 
Set policy to not start/enable services by default

2 years agoRestrict permissions for GITHUB_TOKEN in our workflows
Remi Gacogne [Thu, 1 Dec 2022 13:34:19 +0000 (14:34 +0100)] 
Restrict permissions for GITHUB_TOKEN in our workflows

Added using https://github.com/step-security/secure-workflows
For more information see:
- https://github.com/ossf/scorecard/blob/d8fefc9b246db3600c777e9d60d441d7c386ce1d/docs/checks.md#token-permissions
- https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/

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 agoSwitch from set-output tot GITHUB_OUTPUT
Josh Soref [Tue, 6 Dec 2022 17:39:08 +0000 (12:39 -0500)] 
Switch from set-output tot GITHUB_OUTPUT

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.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 agobuild(deps): bump actions/checkout from 2.3.4 to 3.1.0
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 agoMerge pull request #12303 from Habbie/backport-12028-to-auth-4.6.x auth-4.6.4
Peter van Dijk [Thu, 8 Dec 2022 15:32:54 +0000 (16:32 +0100)] 
Merge pull request #12303 from Habbie/backport-12028-to-auth-4.6.x

auth 4.6: pdnsutil edit-zone, detect capitalization changes in LUA, TXT and SPF records

2 years agoauth: pdnsutil edit-zone, detect capitalization changes in LUA, TXT and SPF records 12303/head
Kees Monshouwer [Tue, 27 Sep 2022 11:05:54 +0000 (13:05 +0200)] 
auth: pdnsutil edit-zone, detect capitalization changes in LUA, TXT and SPF records

(cherry picked from commit 75ab58cdbd1ddb5772e5f37f94e312b233d271ad)

2 years agoMerge pull request #12295 from Habbie/backport-12132-to-auth-4.6.x
Peter van Dijk [Thu, 8 Dec 2022 08:03:58 +0000 (09:03 +0100)] 
Merge pull request #12295 from Habbie/backport-12132-to-auth-4.6.x

auth 4.6: take into account default urlcheck timeout is 2 seconds for Lua records tests

2 years agoThis test assumes the health check timeout is 1 second, while it is 2 seconds by... 12295/head
Otto Moerbeek [Tue, 25 Oct 2022 13:36:31 +0000 (15:36 +0200)] 
This test assumes the health check timeout is 1 second, while it is 2 seconds by default.

Adapt tests to take that into account, which resolves the occasional failure as tested locally.

(cherry picked from commit 2abc153929e22c4abad73f1eba9395e00f18febd)

2 years agoMerge pull request #12286 from Habbie/4.6-lmdb-no-alsonotify
Peter van Dijk [Wed, 7 Dec 2022 13:09:24 +0000 (14:09 +0100)] 
Merge pull request #12286 from Habbie/4.6-lmdb-no-alsonotify

auth-4.6.x: Revert "auth lmdb: implement alsoNotifies"

2 years agoRevert "auth lmdb: implement alsoNotifies, fixes #12256" 12286/head
Peter van Dijk [Tue, 6 Dec 2022 17:58:55 +0000 (18:58 +0100)] 
Revert "auth lmdb: implement alsoNotifies, fixes #12256"

This reverts commit 3fabf69763ad45f40055b8344746cc009968a17e.

2 years agoMerge pull request #12267 from Habbie/backport-12264-to-auth-4.6.x
Peter van Dijk [Mon, 5 Dec 2022 14:13:17 +0000 (15:13 +0100)] 
Merge pull request #12267 from Habbie/backport-12264-to-auth-4.6.x

auth 4.6 lmdb: implement alsoNotifies

2 years agoauth lmdb: implement alsoNotifies, fixes #12256 12267/head
Peter van Dijk [Mon, 5 Dec 2022 12:26:36 +0000 (13:26 +0100)] 
auth lmdb: implement alsoNotifies, fixes #12256

(cherry picked from commit b0e178a7fae71dca241f08b4faa861130a150a76)

2 years agoMerge pull request #11945 from mind04/auth-4.6.x-bp-11908
Peter van Dijk [Thu, 27 Oct 2022 14:52:09 +0000 (16:52 +0200)] 
Merge pull request #11945 from mind04/auth-4.6.x-bp-11908

auth-4.6.x: initialize zone cache after dropping privileges; Detect invalid bytes in makeBytesFromHex()

2 years agoauth: Detect invalid bytes in makeBytesFromHex() 11945/head
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 agoauth-4.6.x: initialize zone cache after dropping privileges
Kees Monshouwer [Mon, 12 Sep 2022 11:32:50 +0000 (13:32 +0200)] 
auth-4.6.x: initialize zone cache after dropping privileges

2 years agoMerge pull request #12035 from Habbie/backport-11882-to-auth-4.6.x
Peter van Dijk [Tue, 27 Sep 2022 14:29:17 +0000 (16:29 +0200)] 
Merge pull request #12035 from Habbie/backport-11882-to-auth-4.6.x

auth-4.6: Log "NULL" for nullptr-bound properties instead of dereferencing

2 years agoMerge pull request #12033 from Habbie/backport-11929-to-auth-4.6.x
Peter van Dijk [Tue, 27 Sep 2022 14:29:00 +0000 (16:29 +0200)] 
Merge pull request #12033 from Habbie/backport-11929-to-auth-4.6.x

auth-4.6 LUA records: we only need one IsUpOracle checker thread

2 years agoMerge pull request #12031 from Habbie/backport-11953-to-auth-4.6.x
Peter van Dijk [Tue, 27 Sep 2022 14:28:48 +0000 (16:28 +0200)] 
Merge pull request #12031 from Habbie/backport-11953-to-auth-4.6.x

auth-4.6: axfr-retriever: abort on chunk with TC set

2 years agoauth LUA: fix "braces around scalar initializer" warning 12033/head
Peter van Dijk [Mon, 12 Sep 2022 07:36:56 +0000 (09:36 +0200)] 
auth LUA: fix "braces around scalar initializer" warning

inspired by #6188

(cherry picked from commit d27a2d307e4a0dcf0671046910994a2bf3ba945e)

2 years agoLog "NULL" for nullptr-bound properties instead of dereferencing 12035/head
Fred Morcos [Wed, 24 Aug 2022 21:13:49 +0000 (23:13 +0200)] 
Log "NULL" for nullptr-bound properties instead of dereferencing

Fixes the issue where pdnsutil would segfault when query logging is enabled, and would
leave the db unmodified. Surprisingly, the segfault only happened on FreeBSD.

Fixes #11731

(cherry picked from commit fd4fd2dae2f29f668b7ad0645c112b12854ab834)

2 years agoauth LUA records: we only need one IsUpOracle checker thread
Peter van Dijk [Sun, 11 Sep 2022 11:31:02 +0000 (13:31 +0200)] 
auth LUA records: we only need one IsUpOracle checker thread

(cherry picked from commit 37f625b0af0b5e818de97b83dd96709df118ad6b)

2 years agoaxfr-retriever: abort on chunk with TC set 12031/head
Peter van Dijk [Wed, 14 Sep 2022 11:22:09 +0000 (13:22 +0200)] 
axfr-retriever: abort on chunk with TC set

(cherry picked from commit 0923e5df06e10e7afb19dc5ce534b07450792ab1)

2 years agoMerge pull request #11978 from Habbie/backport-11961-to-auth-4.6.x
Peter van Dijk [Mon, 19 Sep 2022 17:50:30 +0000 (19:50 +0200)] 
Merge pull request #11978 from Habbie/backport-11961-to-auth-4.6.x

auth 4.6.x docker: upgrade to bullseye

2 years agodocker: upgrade to bullseye 11978/head
Peter van Dijk [Thu, 15 Sep 2022 13:14:34 +0000 (15:14 +0200)] 
docker: upgrade to bullseye

(cherry picked from commit a0d3acff25a92627186ee43bead110aef416f59a)

2 years agoMerge pull request #11871 from Habbie/backport-11842-to-auth-4.6.x
Peter van Dijk [Fri, 9 Sep 2022 13:13:07 +0000 (15:13 +0200)] 
Merge pull request #11871 from Habbie/backport-11842-to-auth-4.6.x

auth-4.6.x: use getInnerRemote() for the remotes ring

2 years agouse getInnerRemote() for the remotes ring - backport of #11842 11871/head
Peter van Dijk [Mon, 22 Aug 2022 12:54:29 +0000 (14:54 +0200)] 
use getInnerRemote() for the remotes ring - backport of #11842

3 years agoMerge pull request #11778 from Habbie/backport-11395-to-auth-4.6.x auth-4.6.3
Peter van Dijk [Tue, 12 Jul 2022 07:32:15 +0000 (09:32 +0200)] 
Merge pull request #11778 from Habbie/backport-11395-to-auth-4.6.x

auth-4.6.x deb test: upstream more lenient startup wait

3 years agoauth deb test: upstream more lenient startup wait 11778/head
Peter van Dijk [Mon, 7 Mar 2022 08:09:51 +0000 (09:09 +0100)] 
auth deb test: upstream more lenient startup wait

(cherry picked from commit 1b494d46d9b4d8c894443f07ce1d4d13ba2768cb)

3 years agoMerge pull request #11765 from mind04/pdns-lmdb-deletedomain-bp
Peter van Dijk [Mon, 11 Jul 2022 09:48:51 +0000 (11:48 +0200)] 
Merge pull request #11765 from mind04/pdns-lmdb-deletedomain-bp

auth-4.6.x: fix deleteDomain() in lmdb backend

3 years agoauth-4.6.x: fix deleteDomain() in lmdb backend 11765/head
Kees Monshouwer [Wed, 6 Jul 2022 17:53:41 +0000 (19:53 +0200)] 
auth-4.6.x: fix deleteDomain() in lmdb backend

3 years agoMerge pull request #11756 from Habbie/backport-11641-to-auth-4.6.x
Peter van Dijk [Tue, 5 Jul 2022 07:59:13 +0000 (09:59 +0200)] 
Merge pull request #11756 from Habbie/backport-11641-to-auth-4.6.x

auth-4.6.x: Move to v2 for CodeQL action, v1 will be deprecated dec 2022

3 years agoMerge pull request #11746 from Habbie/backport-11738-to-auth-4.6.x
Peter van Dijk [Mon, 4 Jul 2022 18:33:03 +0000 (20:33 +0200)] 
Merge pull request #11746 from Habbie/backport-11738-to-auth-4.6.x

auth-4.6.x 2136: match autosplit TXT correctly

3 years agoMove to v2 for CodeQL action, v1 will be deprecated dec 2022 11756/head
Otto Moerbeek [Tue, 24 May 2022 10:36:28 +0000 (12:36 +0200)] 
Move to v2 for CodeQL action, v1 will be deprecated dec 2022

(cherry picked from commit a0c99342e7aa22e16a75d9e7daa4de69d087bc38)

3 years agoMerge pull request #11741 from Habbie/backport-11735-to-auth-4.6.x
Peter van Dijk [Mon, 4 Jul 2022 18:00:51 +0000 (20:00 +0200)] 
Merge pull request #11741 from Habbie/backport-11735-to-auth-4.6.x

auth-4.6: dh_builddeb: force gzip compression, thanks Zash!

3 years agoalso update expected_results for the tinydns-data-check test 11746/head
Peter van Dijk [Mon, 4 Jul 2022 14:54:43 +0000 (16:54 +0200)] 
also update expected_results for the tinydns-data-check test

(cherry picked from commit 98a841f1438e015ae254f44af17cc1dcaa437d1b)

3 years agoauth 2136: in recently added TXT tests, hide SOA details
Peter van Dijk [Mon, 4 Jul 2022 14:07:22 +0000 (16:07 +0200)] 
auth 2136: in recently added TXT tests, hide SOA details

(cherry picked from commit 735dcf2cd1d0838368d2231a3c815f4f31b92087)

3 years agoauth 2136: match autosplit TXT correctly
Peter van Dijk [Fri, 1 Jul 2022 10:24:13 +0000 (12:24 +0200)] 
auth 2136: match autosplit TXT correctly

(cherry picked from commit d040cb869d63d78a34e9efe9f517fa8829fbf6d9)

3 years agoauth: add a bunch of passing rfc2136 TXT tests
Peter van Dijk [Fri, 1 Jul 2022 07:44:24 +0000 (09:44 +0200)] 
auth: add a bunch of passing rfc2136 TXT tests

(cherry picked from commit 9fca38077c5538d4a886629fc229f9b0f3150b02)

3 years agodh_builddeb: force gzip compression, thanks Zash! 11741/head
Peter van Dijk [Thu, 30 Jun 2022 11:51:00 +0000 (13:51 +0200)] 
dh_builddeb: force gzip compression, thanks Zash!

(cherry picked from commit bbfa37c0232b56e2227668717dbb97ce4f01d990)

3 years agoMerge pull request #11406 from Habbie/4.6.x-lmdb-backports auth-4.6.2
Peter van Dijk [Mon, 28 Mar 2022 18:16:13 +0000 (20:16 +0200)] 
Merge pull request #11406 from Habbie/4.6.x-lmdb-backports

auth-4.6.x: LMDB backports

3 years agoMerge pull request #11409 from Habbie/backport-11389-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 17:15:58 +0000 (19:15 +0200)] 
Merge pull request #11409 from Habbie/backport-11389-to-auth-4.6.x

auth-4.6.x API: fetch individual rrsets

3 years agoMerge pull request #11407 from Habbie/backport-11314-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 17:15:48 +0000 (19:15 +0200)] 
Merge pull request #11407 from Habbie/backport-11314-to-auth-4.6.x

auth-4.6.x: fix proxy protocol query statistics and add more detailed latency metrics

3 years agoMerge pull request #11408 from Habbie/backport-11227-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 16:14:35 +0000 (18:14 +0200)] 
Merge pull request #11408 from Habbie/backport-11227-to-auth-4.6.x

auth 4.6.x LUA: add ifurlextup function

3 years agoMerge pull request #11404 from Habbie/backport-11199-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 16:13:01 +0000 (18:13 +0200)] 
Merge pull request #11404 from Habbie/backport-11199-to-auth-4.6.x

auth-4.6.x: add Ubuntu jammy target

3 years agoMerge pull request #11455 from Habbie/auth-4.6.x-xfr
Peter van Dijk [Mon, 28 Mar 2022 09:51:16 +0000 (11:51 +0200)] 
Merge pull request #11455 from Habbie/auth-4.6.x-xfr

auth 4.6.x IXFR-in: Fix a case where an incomplete read caused by netw…

3 years agoMerge pull request #11461 from Habbie/backport-11449-to-auth-4.6.x
Otto Moerbeek [Fri, 25 Mar 2022 15:33:39 +0000 (16:33 +0100)] 
Merge pull request #11461 from Habbie/backport-11449-to-auth-4.6.x

auth-4.6.x docs: Pin jinja2 to < 3.1.0

3 years agodocs: Pin jinja2 to < 3.1.0 11461/head
Remi Gacogne [Fri, 25 Mar 2022 08:45:55 +0000 (09:45 +0100)] 
docs: Pin jinja2 to < 3.1.0

Jinja2 3.1.0 removed deprecated code that is still used by sphinx
1.8.x, and it looks like our custom sphinx extensions are not working
with more recent versions of sphinx..

See:
- https://github.com/pallets/jinja/issues/1631
- https://github.com/readthedocs/readthedocs.org/issues/9037

and

- https://github.com/PowerDNS/pdns/pull/7712

The exact error is:
```
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py))
```

(cherry picked from commit 92ad29702011ac7cbd0d7d118ba612e7e07cedbe)

3 years agoauth, rec IXFR-in: Fix a case where an incomplete read caused by network error might... 11455/head auth-4.6.1
Otto Moerbeek [Tue, 8 Mar 2022 14:36:48 +0000 (15:36 +0100)] 
auth, rec IXFR-in: Fix a case where an incomplete read caused by network error might result in a truncated zone.

As we might break from the loop early, we need to check if the end SOA was seen after the loop.
Also make sure we detect end conditions for both AXFR and IXFR style properly, to avoid processing
data after the end marker.

3 years agoauth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A 11409/head
Peter van Dijk [Thu, 3 Mar 2022 10:42:58 +0000 (11:42 +0100)] 
auth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A

(cherry picked from commit 486210b80662f9d87050283bd6d0e81f0152140b)

3 years agows-auth: small refactor to pass full req to fillZone
Peter van Dijk [Thu, 3 Mar 2022 10:18:56 +0000 (11:18 +0100)] 
ws-auth: small refactor to pass full req to fillZone

(cherry picked from commit de7fd3c605ed09d75efb8e456d7b187d645dbb0e)

3 years agoauth LUA: add ifurlextup function 11408/head
Peter van Dijk [Fri, 21 Jan 2022 14:58:46 +0000 (15:58 +0100)] 
auth LUA: add ifurlextup function

(cherry picked from commit 95d0df69a79243d4a510d24afa07e08734ac5200)

3 years agoauth: fix proxy protocol query statistics 11407/head
Kees Monshouwer [Thu, 10 Feb 2022 23:13:19 +0000 (00:13 +0100)] 
auth: fix proxy protocol query statistics

(cherry picked from commit 208abc4cd8d13d683e3703f533140d350304eef1)

3 years agoauth: add cache and backend latency metrics
Kees Monshouwer [Thu, 10 Feb 2022 22:36:47 +0000 (23:36 +0100)] 
auth: add cache and backend latency metrics

(cherry picked from commit 386c5b136c62427e53ab74ed7dbed5a3aea20606)

3 years agoauth lmdb: default values for KeyDataDB members, thanks ubsan 11406/head
Peter van Dijk [Wed, 9 Feb 2022 10:55:25 +0000 (11:55 +0100)] 
auth lmdb: default values for KeyDataDB members, thanks ubsan

(cherry picked from commit 9f5f4decf700e0616608e8dff67d29c312de2584, backport of #11306)

3 years agoauth lmdb: make map size configurable
Peter van Dijk [Tue, 15 Feb 2022 15:21:32 +0000 (16:21 +0100)] 
auth lmdb: make map size configurable

(cherry picked from commit aded4962afb7232d7ef878b6197eaeb273eef871, backport of #11328)

3 years agoauth lmdb random-ids: stop generating negative numbers
Peter van Dijk [Thu, 24 Feb 2022 16:19:21 +0000 (17:19 +0100)] 
auth lmdb random-ids: stop generating negative numbers

regression testing now happens with random IDs, except for HTTP API testing

(cherry picked from commit 529fe29fd4064447a3298a02076059cc7ac0596b, backport of #11354)

3 years agoauth lmdb: add random ID generation feature
Peter van Dijk [Fri, 4 Feb 2022 15:08:18 +0000 (16:08 +0100)] 
auth lmdb: add random ID generation feature

(cherry picked from commit a824a629ab13d2d5516221ec47a849755b221e5f, backport of #11309)

3 years agoauth lmdb: add a UUID to newly created databases
Peter van Dijk [Wed, 26 Jan 2022 12:24:25 +0000 (13:24 +0100)] 
auth lmdb: add a UUID to newly created databases

(cherry picked from commit ba731a422ab3eb3c31d85d3683338abadb5a800b, backport of #11241)

3 years agotest ubuntu jammy build target 11404/head
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

(cherry picked from commit e3d50799180eb4499f8dda5263773775301bfa7e)

3 years agoadd ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:04 +0000 (12:12 +0100)] 
add ubuntu jammy build target

(cherry picked from commit 6c1e5fd70b4dd4e75b18ff8c75f93c7d22122643)

3 years agoMerge pull request #11272 from Habbie/backport-11262-to-auth-4.6.x
Peter van Dijk [Thu, 3 Feb 2022 10:20:43 +0000 (11:20 +0100)] 
Merge pull request #11272 from Habbie/backport-11262-to-auth-4.6.x

auth-4.6.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible

3 years agobuilder: add el-7 alias for centos-7 11272/head
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)] 
builder: add el-7 alias for centos-7

(cherry picked from commit 6bd3c9bb23f5dfc385a66647ab175ec2812d6617)

3 years agotake centos 8-stream from quay
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)] 
take centos 8-stream from quay

(cherry picked from commit 2f9edddc0c9c1f8a68e154f6c12e3fd214420563)

3 years agobuilder CI: switch oraclelinux-8 to el-8
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)] 
builder CI: switch oraclelinux-8 to el-8

cleanup

(cherry picked from commit 1b27721782ad3dc547ed448a257c59829ff0bd94)

3 years agobuilder: archs for oraclelinux-8; el-8 symlinks
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)] 
builder: archs for oraclelinux-8; el-8 symlinks

(cherry picked from commit dee53cf16161a6c45560475b647de420842532ef)

3 years agoMerge pull request #11235 from Habbie/backport-11197-to-auth-4.6.x
Peter van Dijk [Thu, 27 Jan 2022 12:58:15 +0000 (13:58 +0100)] 
Merge pull request #11235 from Habbie/backport-11197-to-auth-4.6.x

auth-4.6.x: Stop using the now deprecated and useless std::binary_function

3 years agoMerge pull request #11233 from Habbie/backport-11196-to-auth-4.6.x
Peter van Dijk [Tue, 25 Jan 2022 15:54:13 +0000 (16:54 +0100)] 
Merge pull request #11233 from Habbie/backport-11196-to-auth-4.6.x

auth-4.6: Fix build with OpenSSL 3.0.0

3 years agoStop using the now deprecated and useless std::binary_function 11235/head
Peter van Dijk [Tue, 25 Jan 2022 15:51:46 +0000 (16:51 +0100)] 
Stop using the now deprecated and useless std::binary_function

It is no longer needed since the types can now be automatically
deduced, has been deprecated in C++11 and removed in C++17.

(cherry picked from commit 7587bcbea8a9cb3058cb2e6d7f6a2597494b6713)

3 years agoFix build with OpenSSL 3.0.0 11233/head
Remi Gacogne [Mon, 17 Jan 2022 15:13:09 +0000 (16:13 +0100)] 
Fix build with OpenSSL 3.0.0

(cherry picked from commit 8535f66672ec9d1eebf5835d3e53238973a80478)

3 years agoMerge pull request #11206 from Habbie/backport-11090-to-auth-4.6.x auth-4.6.0
Peter van Dijk [Mon, 24 Jan 2022 10:59:59 +0000 (11:59 +0100)] 
Merge pull request #11206 from Habbie/backport-11090-to-auth-4.6.x

auth-4.6.x: show QType by name in log message

3 years agoMerge pull request #11205 from Habbie/backport-11194-to-auth-4.6.x
Peter van Dijk [Mon, 24 Jan 2022 10:59:46 +0000 (11:59 +0100)] 
Merge pull request #11205 from Habbie/backport-11194-to-auth-4.6.x

auth 4.6.x swagger: add a syntax test and fix a few things

3 years agoMerge pull request #11220 from mind04/pdns-bp-cds
Peter van Dijk [Thu, 20 Jan 2022 15:44:15 +0000 (16:44 +0100)] 
Merge pull request #11220 from mind04/pdns-bp-cds

auth-4.6.x: fix multiple CDS records in an AXFR

3 years agoauth: test CDS multi digest and removal 11220/head
Kees Monshouwer [Thu, 20 Jan 2022 11:00:21 +0000 (12:00 +0100)] 
auth: test CDS multi digest  and removal

3 years agoauth: test CDS with multiple keys
Kees Monshouwer [Thu, 20 Jan 2022 10:43:23 +0000 (11:43 +0100)] 
auth: test CDS with multiple keys

3 years agoauth: fix multiple CDS records in an AXFR
Kees Monshouwer [Thu, 20 Jan 2022 10:13:21 +0000 (11:13 +0100)] 
auth: fix multiple CDS records in an AXFR