]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 weeks agoMerge pull request #15796 from Habbie/backport-13970-to-auth-4.9.x rel/auth-4.9.x auth-4.9.7
Peter van Dijk [Fri, 4 Jul 2025 14:38:51 +0000 (16:38 +0200)] 
Merge pull request #15796 from Habbie/backport-13970-to-auth-4.9.x

auth-4.9.x: explicit permissions in build-tags

4 weeks agoAllow build-tags to run on forks 15796/head
Josh Soref [Fri, 22 Mar 2024 12:33:44 +0000 (08:33 -0400)] 
Allow build-tags to run on forks

build-tags uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
As of f107ec62467b8779db9bbdb175721ef232ed52e5, that workflow requires:

    permissions:
      actions: read   # To read the workflow path.
      id-token: write # To sign the provenance.
      contents: write # To be able to upload assets as release artifacts

Per https://docs.github.com/en/actions/using-workflows/reusing-workflows
in order for this to work, the calling job (in build-tags) needs to
have the maximum required permissions in order for the calling workflow
to be run.

(cherry picked from commit 8c4888c19d4997d7e443c6ad4953e716ee5429b0)

4 weeks agoMerge pull request #15770 from miodvallat/backport-15063-to-auth-4.9.x auth-4.9.6
Miod Vallat [Thu, 3 Jul 2025 10:05:29 +0000 (12:05 +0200)] 
Merge pull request #15770 from miodvallat/backport-15063-to-auth-4.9.x

auth-4.9.x: backport compilation fix

4 weeks agoMerge pull request #15772 from miodvallat/backport-15594-to-auth-4.9.x
Miod Vallat [Thu, 3 Jul 2025 10:05:18 +0000 (12:05 +0200)] 
Merge pull request #15772 from miodvallat/backport-15594-to-auth-4.9.x

auth-4.9.x: backport crash on --version caused by doubly loaded modules

4 weeks agoMerge pull request #15771 from miodvallat/backport-15518-to-auth-4.9.x
Miod Vallat [Thu, 3 Jul 2025 10:05:06 +0000 (12:05 +0200)] 
Merge pull request #15771 from miodvallat/backport-15518-to-auth-4.9.x

auth-4.9.x: backport lowercase TSIG payload

4 weeks agoauth docker: avoid crash on --version caused by doubly loaded modules 15772/head
Peter van Dijk [Tue, 27 May 2025 11:27:08 +0000 (13:27 +0200)] 
auth docker: avoid crash on --version caused by doubly loaded modules

(cherry picked from commit 25c77d520c23365127b9313364c26cd71fca2eff)

4 weeks agoTSIG payload: use canonical (lowercase) name format 15771/head
Peter van Dijk [Sun, 4 May 2025 14:21:38 +0000 (16:21 +0200)] 
TSIG payload: use canonical (lowercase) name format

(cherry picked from commit 51e2123c83ecafb4fa4e55815010721d2b73d77d)

4 weeks agoInclude cstdint to get uint64_t 15770/head
Otto Moerbeek [Mon, 20 Jan 2025 10:09:42 +0000 (11:09 +0100)] 
Include cstdint to get uint64_t

Should fix #15060

(cherry picked from commit 23dd0603511f7b34f43e8d6c121aa4277d2cb317)

5 weeks agoMerge pull request #15736 from miodvallat/backport-15677-to-auth-4.9.x
Miod Vallat [Mon, 30 Jun 2025 12:55:05 +0000 (14:55 +0200)] 
Merge pull request #15736 from miodvallat/backport-15677-to-auth-4.9.x

auth-4.9.x: backport lmdb mapsize fix

5 weeks agoForce callers of getMDBEnv() to always specify the maximum map size. 15736/head
Miod Vallat [Mon, 16 Jun 2025 06:22:24 +0000 (08:22 +0200)] 
Force callers of getMDBEnv() to always specify the maximum map size.

Fixes: #12901
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 862702653299ba91580acdf2bfa8ab09c29362b5)

5 weeks agoMerge pull request #15720 from miodvallat/lmdbls_race_fix_backport
Miod Vallat [Thu, 26 Jun 2025 10:22:08 +0000 (12:22 +0200)] 
Merge pull request #15720 from miodvallat/lmdbls_race_fix_backport

auth-4.9.x: backport lmdb lightning stream race fix

6 weeks agoClose race window during which various flag values might be incorrect. 15720/head
Miod Vallat [Mon, 23 Jun 2025 08:27:52 +0000 (10:27 +0200)] 
Close race window during which various flag values might be incorrect.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 9ca3a5c9f17126d8a2850bf41a457f31f08f4df1)

7 weeks agoMerge pull request #15625 from romeroalx/backport-14565-to-auth-4.9.x
Alexis Romero [Fri, 13 Jun 2025 09:08:03 +0000 (11:08 +0200)] 
Merge pull request #15625 from romeroalx/backport-14565-to-auth-4.9.x

auth-4.9.x: backport 14565 - gh actions - coveralls: avoid CI failure by setting fail-on-error: false

2 months agogh actions - coveralls: avoid CI failure by setting fail-on-error: false 15625/head
romeroalx [Mon, 15 Jul 2024 10:41:57 +0000 (12:41 +0200)] 
gh actions - coveralls: avoid CI failure by setting fail-on-error: false

3 months agoMerge pull request #15486 from omoerbeek/auth-4.9.x-ubuntu-24 auth-4.9.5
Peter van Dijk [Tue, 29 Apr 2025 11:15:12 +0000 (13:15 +0200)] 
Merge pull request #15486 from omoerbeek/auth-4.9.x-ubuntu-24

auth 4.9.x: move to ubuntu 24 for package building

3 months agoauth-4.9.x: move to Ubuntu 24 for package build and other CI 15486/head
Otto Moerbeek [Tue, 29 Apr 2025 08:59:53 +0000 (10:59 +0200)] 
auth-4.9.x: move to Ubuntu 24 for package build and other CI

3 months agoMerge pull request #15237 from Habbie/backport-15176-to-auth-4.9.x
Peter van Dijk [Wed, 23 Apr 2025 09:48:17 +0000 (11:48 +0200)] 
Merge pull request #15237 from Habbie/backport-15176-to-auth-4.9.x

auth-4.9: lmdb-safe: add prefix() cursor; use it in list/lookup/get

4 months agoMerge pull request #15347 from miodvallat/backport-15339-to-auth-4.9.x
Miod Vallat [Mon, 24 Mar 2025 12:59:46 +0000 (13:59 +0100)] 
Merge pull request #15347 from miodvallat/backport-15339-to-auth-4.9.x

auth-4.9.x: Handle marked-as-deleted elements in ReadonlyOperations::get<>

4 months agoMerge pull request #15345 from miodvallat/backport-15340-to-auth-4.9.x
Miod Vallat [Mon, 24 Mar 2025 12:56:04 +0000 (13:56 +0100)] 
Merge pull request #15345 from miodvallat/backport-15340-to-auth-4.9.x

auth-4.9.x: mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms

4 months agoHandle marked-as-deleted elements in ReadonlyOperations::get<> 15347/head
Miod Vallat [Fri, 21 Mar 2025 11:00:56 +0000 (12:00 +0100)] 
Handle marked-as-deleted elements in ReadonlyOperations::get<>

(cherry picked from commit 1d8242cd7f4e4235c6a2aeb43574121dce2122c8)

4 months agomysql: use MYSQL_TYPE_LONGLONG on 64bit platforms 15345/head
Chris Hofstaedtler [Fri, 21 Mar 2025 11:54:21 +0000 (12:54 +0100)] 
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms

Found on s390x

(cherry picked from commit 3f4aaf81caf5f4549e7bfcf3a3c746168c9c4175)

5 months agoexplicit int checks 15237/head
Peter van Dijk [Fri, 28 Feb 2025 11:02:22 +0000 (12:02 +0100)] 
explicit int checks

(cherry picked from commit e8c23ea6aeb052b78928a10b98691e108eb12874)

5 months agoremove redundant check
Peter van Dijk [Fri, 28 Feb 2025 11:01:33 +0000 (12:01 +0100)] 
remove redundant check

(cherry picked from commit bce1a016a0fe7c42a479987cbaf8e3e92e3c403b)

5 months agoadjust updateDNSSECOrderNameAndAuth to prefix() lookup
Peter van Dijk [Fri, 28 Feb 2025 10:23:35 +0000 (11:23 +0100)] 
adjust updateDNSSECOrderNameAndAuth to prefix() lookup

(cherry picked from commit 251efe484a2b5a7c4c9f8aff5e22c60ac1b8bf1a)

5 months agolmdb-safe: add prefix() cursor; use it in list/lookup/get
Peter van Dijk [Wed, 19 Feb 2025 18:28:22 +0000 (19:28 +0100)] 
lmdb-safe: add prefix() cursor; use it in list/lookup/get

(cherry picked from commit 753b6a5a777fb8c83e5466343222a1b37fea6c03)

5 months agoMerge pull request #15228 from miodvallat/backport-15222-to-auth-4.9.x
Peter van Dijk [Fri, 28 Feb 2025 14:46:01 +0000 (15:46 +0100)] 
Merge pull request #15228 from miodvallat/backport-15222-to-auth-4.9.x

auth 4.9.x: Backport "Damage control in Lua createForward() and createForward6()."

5 months agoDamage control in Lua createForward() and createForward6(). 15228/head
Miod Vallat [Wed, 26 Feb 2025 13:31:50 +0000 (14:31 +0100)] 
Damage control in Lua createForward() and createForward6().

- make sure all computed results are passed to a ComboAddress
  constructor, which will reject ill-formed data. This wasn't the case
  in createForward, when interpreting part of the requested name as an
  ipv4 address encoded in hexadecimal (e.g. 7f000001), but the actual
  name wasn't.
  This would otherwise end up with a SERVFAIL answer and a Lua stack
  traceback containing messages such as:
    Unable to convert presentation address '4294967292.xx.yy.zz'
  for a name ending with "-4" and six hex digits.

- wrap these functions into a try/catch block in order to cope with
  possible exceptions raised by ComboAddress.
  This wasn't the case in createForward6 when the requested name
  contains at least 8 dots - this doesn't imply each component is a
  valid ipv6 chunk.

(cherry picked from commit 97800540ef65f19cd9cb6e2624682c0840a6eafc)

6 months agoMerge pull request #15094 from mind04/auth49-backport-15093 auth-4.9.4
Peter van Dijk [Mon, 3 Feb 2025 12:46:16 +0000 (13:46 +0100)] 
Merge pull request #15094 from mind04/auth49-backport-15093

auth-4.9 check return value of getCatalogMembers()

6 months agoauth, check return value of getCatalogMembers() 15094/head
Kees Monshouwer [Tue, 28 Jan 2025 17:33:20 +0000 (18:33 +0100)] 
auth, check return value of getCatalogMembers()

7 months agoMerge pull request #14968 from Habbie/backport-14823-to-auth-4.9.x auth-4.9.3
Peter van Dijk [Mon, 16 Dec 2024 08:09:43 +0000 (09:09 +0100)] 
Merge pull request #14968 from Habbie/backport-14823-to-auth-4.9.x

auth-4.9: SVCB parser: allow quotes around port=

7 months agoSVCB parser: allow quotes around port= 14968/head
Peter van Dijk [Fri, 15 Nov 2024 11:47:13 +0000 (12:47 +0100)] 
SVCB parser: allow quotes around port=

(cherry picked from commit 430280109b4a27240be737258f118dd3a1ed8199)

7 months agoCI binary check: allow the tinydns data.cdb
Peter van Dijk [Fri, 15 Nov 2024 11:47:38 +0000 (12:47 +0100)] 
CI binary check: allow the tinydns data.cdb

(cherry picked from commit e31e6238896c5908d2f0d15e082722cd244ffc49)

8 months agoMerge pull request #14871 from romeroalx/backport-14862-to-auth-4.9.x
Peter van Dijk [Mon, 25 Nov 2024 08:36:42 +0000 (09:36 +0100)] 
Merge pull request #14871 from romeroalx/backport-14862-to-auth-4.9.x

auth-4.9.x: Backport 14862 - builder: remove ubuntu lunar+mantic as they are EOL

8 months agobuilder: remove ubuntu lunar+mantic as they are EOL 14871/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 #14711 from Habbie/backport-14261-to-auth-4.9.x auth-4.9.2
Peter van Dijk [Thu, 26 Sep 2024 10:47:11 +0000 (12:47 +0200)] 
Merge pull request #14711 from Habbie/backport-14261-to-auth-4.9.x

auth-4.9 pdnsutil check-zone: make LUA records optional

10 months agoMerge pull request #14710 from Habbie/backport-14404-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 10:46:27 +0000 (12:46 +0200)] 
Merge pull request #14710 from Habbie/backport-14404-to-auth-4.9.x

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

10 months agoMerge pull request #14708 from Habbie/backport-14550-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 10:46:09 +0000 (12:46 +0200)] 
Merge pull request #14708 from Habbie/backport-14550-to-auth-4.9.x

auth-4.9 json11: add include for cstdint

10 months agoMerge pull request #14709 from Habbie/backport-14562-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 10:45:58 +0000 (12:45 +0200)] 
Merge pull request #14709 from Habbie/backport-14562-to-auth-4.9.x

auth-4.9: Fix build with boost 1.86.0

10 months agoMerge pull request #14675 from Habbie/backport-14045-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 10:34:38 +0000 (12:34 +0200)] 
Merge pull request #14675 from Habbie/backport-14045-to-auth-4.9.x

auth 4.9 API: when querying with rrset_name, respect it for comments too

10 months agoMerge pull request #14707 from Habbie/backport-14642-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 10:33:27 +0000 (12:33 +0200)] 
Merge pull request #14707 from Habbie/backport-14642-to-auth-4.9.x

auth-4.9: more and better thread names

10 months agoMerge pull request #14712 from Habbie/backport-14394-to-auth-4.9.x
Peter van Dijk [Thu, 26 Sep 2024 09:07:25 +0000 (11:07 +0200)] 
Merge pull request #14712 from Habbie/backport-14394-to-auth-4.9.x

auth-4.9: provide dns packet when doing lookup for presigned signatures

10 months agoattempted to fix linter 14712/head
d-wibowo [Wed, 3 Jul 2024 02:20:44 +0000 (09:20 +0700)] 
attempted to fix linter

(cherry picked from commit f79e410fcaa399319107ca059cf1b3bab0012f2f)

10 months agoauth: provide dns packet when doing lookup for presigned signatures
d-wibowo [Fri, 28 Jun 2024 08:01:20 +0000 (15:01 +0700)] 
auth: provide dns packet when doing lookup for presigned signatures

(cherry picked from commit 3a764efd5899360cd359e6b90460978e573b3cc1)

10 months agopdnsutil check-zone: make LUA records optional 14711/head
Sven Wegener [Thu, 30 May 2024 09:02:34 +0000 (11:02 +0200)] 
pdnsutil check-zone: make LUA records optional

Merge #14011 added checking for LUA records to checkZone(), but LUA
records depend on --enable-lua-records and the change causes a build
error without.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit 175b5e6f9b59c25f87a7491f01a73a6e942e1eb8)

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

(cherry picked from commit 09462bda7f8da4e59307e0d6a7446d499c1da34c)

10 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

(cherry picked from commit 9ecf2b37287270be3d06ac3d5570f5d67a0bb364)

10 months agoFix build with boost 1.86.0 14709/head
Michael Cho [Fri, 16 Aug 2024 02:49:17 +0000 (22:49 -0400)] 
Fix build with boost 1.86.0

Boost 1.86.0 changes seem to no longer indirectly include header which
causes build to fail with:
```
uuid-utils.cc:38:58:
error: 'random' is not a class, namespace, or enumeration
```

boost/random/mersenne_twister.hpp has been available since Boost 1.21.2

(cherry picked from commit eed56000b1d68ac083b8e8bea4ff0ea30a1579c4)

10 months agojson11: add include for cstdint 14708/head
Peter van Dijk [Fri, 9 Aug 2024 17:41:46 +0000 (19:41 +0200)] 
json11: add include for cstdint

fixes #14549, which came with a patch

(cherry picked from commit 8d6d32bef74aa2cba41421645936fade35c71c72)

10 months agoMerge pull request #14706 from Habbie/backport-14670-to-auth-4.9.x
Peter van Dijk [Wed, 25 Sep 2024 11:49:23 +0000 (13:49 +0200)] 
Merge pull request #14706 from Habbie/backport-14670-to-auth-4.9.x

auth 4.9 webserver.cc: try to pass exception text with 500 errors

10 months agoauth signer: set thread name 14707/head
Peter van Dijk [Tue, 10 Sep 2024 08:13:32 +0000 (10:13 +0200)] 
auth signer: set thread name

(cherry picked from commit deb84f4456271ce8d941ceb3d5d16b8b81083d7a)

10 months agoauth communicator: fix retrieval thread name
Peter van Dijk [Tue, 10 Sep 2024 08:13:25 +0000 (10:13 +0200)] 
auth communicator: fix retrieval thread name

(cherry picked from commit fdc906cf85b84648241f0a6a1a54f266cb970c31)

10 months agoauth LUA: reset thread name after async runs
Peter van Dijk [Tue, 10 Sep 2024 08:13:00 +0000 (10:13 +0200)] 
auth LUA: reset thread name after async runs

(cherry picked from commit 9f2121926497c89c9071fff372e2d0601f066928)

10 months agoauth LUA: better thread names
Peter van Dijk [Mon, 9 Sep 2024 14:04:00 +0000 (16:04 +0200)] 
auth LUA: better thread names

(cherry picked from commit 9efb060542d8dbdab9384f626acf312e0266c27c)

10 months agowebserver.cc: try to pass exception text with 500 errors 14706/head
Peter van Dijk [Fri, 13 Sep 2024 13:46:06 +0000 (15:46 +0200)] 
webserver.cc: try to pass exception text with 500 errors

fixes #14637 -if- the client sends `Accept: application/json`

(cherry picked from commit 27ff9f415d5c1431dd78486e691a008f969f5843)

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

auth 4.9 mssql CI: switch to 2022-CU12 image

10 months agoauth mssql CI: switch to 2022-CU12 image 14688/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)

10 months agoauth API: when querying with rrset_name, respect it for comments too 14675/head
Peter van Dijk [Tue, 18 Jun 2024 18:25:23 +0000 (20:25 +0200)] 
auth API: when querying with rrset_name, respect it for comments too

(cherry picked from commit e8e31cdbddaab406e614d3d858d318a28b391a9d)

11 months agoMerge pull request #14603 from Habbie/backport-14576-to-auth-4.9.x
Peter van Dijk [Wed, 28 Aug 2024 09:50:55 +0000 (11:50 +0200)] 
Merge pull request #14603 from Habbie/backport-14576-to-auth-4.9.x

auth-4.9: ssqlite3: use "begin immediate" to avoid later fights over upgrading to write

11 months agossqlite3: use "begin immediate" to avoid later fights over upgrading to write 14603/head
Peter van Dijk [Wed, 21 Aug 2024 08:23:56 +0000 (10:23 +0200)] 
ssqlite3: use "begin immediate" to avoid later fights over upgrading to write

fixes #14564

(cherry picked from commit 63851a822fb5651cd7720c7f7f597309aeaa82a7)

11 months agoMerge pull request #14526 from Habbie/backport-14454-to-auth-4.9.x
Peter van Dijk [Fri, 9 Aug 2024 11:08:04 +0000 (13:08 +0200)] 
Merge pull request #14526 from Habbie/backport-14454-to-auth-4.9.x

auth-4.9: fix domain ordering in catalog SQL query

12 months agofix info-all-primary order by in odbc-sqlite3 14526/head
Peter van Dijk [Thu, 18 Jul 2024 11:10:47 +0000 (13:10 +0200)] 
fix info-all-primary order by in odbc-sqlite3

(cherry picked from commit bade6bc7d8e74aa20de6a0b277c1682c0eb85b10)

12 months agoenable primary=yes during auth regression tests
Peter van Dijk [Thu, 18 Jul 2024 11:07:19 +0000 (13:07 +0200)] 
enable primary=yes during auth regression tests

(cherry picked from commit 3f4a27577b3c3ca5a563402aacbf2260ad0c4fc8)

12 months agoauth gmysql: use table alias name in ORDER BY
Peter van Dijk [Thu, 18 Jul 2024 11:07:11 +0000 (13:07 +0200)] 
auth gmysql: use table alias name in ORDER BY

(cherry picked from commit 7a8ca8c13b2e8e6627eef2fd7281f99d0e86c80b)

12 months agoauth catalogs SQL: force order of domains to avoid spurious rehashes
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

(cherry picked from commit 72819aec4c38c97314f0686c3b9e84aa52be4854)

12 months agoMerge pull request #14527 from Habbie/backport-14360-to-auth-4.9.x
Peter van Dijk [Thu, 25 Jul 2024 12:41:39 +0000 (14:41 +0200)] 
Merge pull request #14527 from Habbie/backport-14360-to-auth-4.9.x

auth-4.9: Better fix for the leak reported by LSAN in test-distributor_hh.cc

12 months agoauth: Use [[maybe_unused]] in the distributor unit tests 14527/head
Remi Gacogne [Fri, 21 Jun 2024 09:10:28 +0000 (11:10 +0200)] 
auth: Use [[maybe_unused]] in the distributor unit tests

As suggested by Otto.

(cherry picked from commit 9525b32a1350f10441b6921f64151f1d9156ab52)

12 months agoauth: Better fix for the leak reported by LSAN in test-distributor_hh.cc
Remi Gacogne [Thu, 20 Jun 2024 08:21:48 +0000 (10:21 +0200)] 
auth: Better fix for the leak reported by LSAN in test-distributor_hh.cc

This unit test is checking that we correctly throw when too many queries
are waiting in the distribution pipe, by making the mock backend slow
on purpose. Once the distributor has been restarted as expected, we need
to wait until the mock backend has processed all queued queries, otherwise
Leak Sanitizer will rightfully report a memory leak.

(cherry picked from commit 681cdfb76c06fbfe89e1ae606ac629e42829cb7c)

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

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

12 months agorec 4.9.x: daily build for el-7 instead of centos-7 14463/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 #14403 from Habbie/backport-14400-to-auth-4.9.x
Peter van Dijk [Thu, 4 Jul 2024 13:12:57 +0000 (15:12 +0200)] 
Merge pull request #14403 from Habbie/backport-14400-to-auth-4.9.x

auth-4.9: switch el7 builds to Oracle Linux 7

13 months agoswitch el7 builds to Oracle Linux 7 14403/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)

13 months agoMerge pull request #14405 from Habbie/backport-14359-to-auth-4.9.x
Peter van Dijk [Tue, 2 Jul 2024 13:03:01 +0000 (15:03 +0200)] 
Merge pull request #14405 from Habbie/backport-14359-to-auth-4.9.x

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

13 months agodns.cc: use pdns::views::UnsignedCharView 14405/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)

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

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

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

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

13 months agoMerge pull request #14303 from Habbie/backport-14277-to-auth-4.9.x
Peter van Dijk [Mon, 10 Jun 2024 12:43:07 +0000 (14:43 +0200)] 
Merge pull request #14303 from Habbie/backport-14277-to-auth-4.9.x

auth 4.9 geoipbackend: link C++ filesystem lib if necessary

13 months agoauth geoipbackend: link C++ filesystem lib if necessary 14303/head
Peter van Dijk [Tue, 4 Jun 2024 11:01:36 +0000 (13:01 +0200)] 
auth geoipbackend: link C++ filesystem lib if necessary

(cherry picked from commit 3140f65175c9b5636b8a2e6d074ed61ed41184fe)

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

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

14 months agoMerge pull request #14289 from romeroalx/backport-14171-to-auth-4.9.x-2
Peter van Dijk [Thu, 6 Jun 2024 10:13:09 +0000 (12:13 +0200)] 
Merge pull request #14289 from romeroalx/backport-14171-to-auth-4.9.x-2

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

14 months agogh actions: add WF for building and pushing images when a new tag is created 14289/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 14245/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 #14253 from Habbie/backport-14247-to-auth-4.9.x auth-4.9.1
Peter van Dijk [Mon, 27 May 2024 14:03:45 +0000 (16:03 +0200)] 
Merge pull request #14253 from Habbie/backport-14247-to-auth-4.9.x

auth 4.9 autoconf: allow prerelease systemd versions

14 months agoMerge pull request #14251 from Habbie/backport-14242-to-auth-4.9.x
Peter van Dijk [Mon, 27 May 2024 14:02:55 +0000 (16:02 +0200)] 
Merge pull request #14251 from Habbie/backport-14242-to-auth-4.9.x

auth 4.9 ixfrdist: Fix brokn 'uid' and 'gid' parsing for non-numerical values

14 months agoautoconf: allow prerelease systemd versions 14253/head
Chris Hofstaedtler [Sat, 25 May 2024 15:28:31 +0000 (17:28 +0200)] 
autoconf: allow prerelease systemd versions

For example 256~rc3. Also preemptively support versions like 252.2.

(cherry picked from commit 81e3f38b1909956e228077e4677c34f469ea9835)

14 months agoixfrdist: Fix brokn 'uid' and 'gid' parsing for non-numerical values 14251/head
Remi Gacogne [Fri, 24 May 2024 14:34:14 +0000 (16:34 +0200)] 
ixfrdist: Fix brokn 'uid' and 'gid' parsing for non-numerical values

Introduced in 48d1f24b87dfd95696c0db8311c81dc622717102

(cherry picked from commit f4d0470792e1c6c55ab17a74a312ed5a2fe08d2c)

14 months agoMerge pull request #14230 from Habbie/backport-14200-to-auth-4.9.x
Peter van Dijk [Fri, 24 May 2024 11:21:19 +0000 (13:21 +0200)] 
Merge pull request #14230 from Habbie/backport-14200-to-auth-4.9.x

auth-4.9: Enable LeakSanitizer while running the unit tests in CI

14 months agoMerge pull request #14229 from Habbie/backport-14197-to-auth-4.9.x
Peter van Dijk [Fri, 24 May 2024 08:16:41 +0000 (10:16 +0200)] 
Merge pull request #14229 from Habbie/backport-14197-to-auth-4.9.x

auth-4.9 YaHTTP: Enforce max # of request fields and max request line size

14 months agoauth: Enable LeakSanitizer while running the unit tests in CI 14230/head
Remi Gacogne [Fri, 17 May 2024 14:58:11 +0000 (16:58 +0200)] 
auth: Enable LeakSanitizer while running the unit tests in CI

(cherry picked from commit adef1d05bdce30194d727281949370fc13073604)

14 months agoMerge pull request #14228 from Habbie/backport-14224-to-auth-4.9.x
Peter van Dijk [Fri, 24 May 2024 08:14:51 +0000 (10:14 +0200)] 
Merge pull request #14228 from Habbie/backport-14224-to-auth-4.9.x

auth-4.9: Fix a memory leak report in the distributor unit tests

14 months agoMerge pull request #14231 from Habbie/backport-14033-to-auth-4.9.x
Peter van Dijk [Fri, 24 May 2024 08:12:42 +0000 (10:12 +0200)] 
Merge pull request #14231 from Habbie/backport-14033-to-auth-4.9.x

auth-4.9: Use smart pointers in the remote backend unit tests

14 months agoauth: Use smart pointers in the remote backend unit tests 14231/head
Remi Gacogne [Thu, 4 Apr 2024 13:01:02 +0000 (15:01 +0200)] 
auth: Use smart pointers in the remote backend unit tests

(cherry picked from commit dea9553fffcfc34d6225dd352353b2acd367a752)

14 months agoYaHTTP: Enforce max # of request fields and max request line size 14229/head
Your Name [Mon, 15 Apr 2024 13:45:38 +0000 (15:45 +0200)] 
YaHTTP: Enforce max # of request fields and max request line size

The default values, 8192 bytes for the maximum request line size and
100 fields, are taken from the default settings of Apache HTTPd:
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
- https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfields

Reported by OSS-Fuzz as a timeout in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67993

(cherry picked from commit 249c86a63865e4a980511839887890c3940fc6e6)

14 months agoauth: Fix a memory leak report in the distributor unit tests 14228/head
Remi Gacogne [Thu, 23 May 2024 08:54:05 +0000 (10:54 +0200)] 
auth: Fix a memory leak report in the distributor unit tests

(cherry picked from commit 3faca294178e5c661c7adf036b9e9120b6666312)

14 months agoMerge pull request #14208 from romeroalx/backport-14171-to-auth-4.9.x
Peter van Dijk [Thu, 23 May 2024 12:54:22 +0000 (14:54 +0200)] 
Merge pull request #14208 from romeroalx/backport-14171-to-auth-4.9.x

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

14 months agoMerge pull request #14188 from Habbie/backport-13772-to-auth-4.9.x
Peter van Dijk [Thu, 23 May 2024 12:53:25 +0000 (14:53 +0200)] 
Merge pull request #14188 from Habbie/backport-13772-to-auth-4.9.x

auth 4.9: Change home directory to /var/lib/pdns

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