]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agodnsdist: Handle Quiche >= 0.22.0 14392/head
Remi Gacogne [Thu, 27 Jun 2024 14:07:20 +0000 (16:07 +0200)] 
dnsdist: Handle Quiche >= 0.22.0

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

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

2 years agodnsdist: add support for a callback when a new tickets key is added to the tls context
Charles-Henri Bruyand [Fri, 14 Jun 2024 15:34:04 +0000 (17:34 +0200)] 
dnsdist: add support for a callback when a new tickets key is added to the tls context

2 years agoMerge pull request #14368 from omoerbeek/auth-odbc-build
Fred Morcos [Wed, 26 Jun 2024 13:13:08 +0000 (15:13 +0200)] 
Merge pull request #14368 from omoerbeek/auth-odbc-build

auth: allow -lodbc in a non-standard location

2 years agoFormat sstuff.hh
Otto Moerbeek [Wed, 26 Jun 2024 12:57:19 +0000 (14:57 +0200)] 
Format sstuff.hh

2 years agoTidy shuffle.cc
Otto Moerbeek [Wed, 26 Jun 2024 12:53:33 +0000 (14:53 +0200)] 
Tidy shuffle.cc

2 years agoMerge pull request #14384 from omoerbeek/rec-debian-lua
Otto Moerbeek [Wed, 26 Jun 2024 12:37:17 +0000 (14:37 +0200)] 
Merge pull request #14384 from omoerbeek/rec-debian-lua

rec: keep Lua config for now as existing configs might use it

2 years agoMerge pull request #14388 from omoerbeek/auth-followup-14370
Otto Moerbeek [Wed, 26 Jun 2024 12:34:08 +0000 (14:34 +0200)] 
Merge pull request #14388 from omoerbeek/auth-followup-14370

auth: followup to 14370: add boost depedendency

2 years agoUpdate meson.build 14388/head
Otto Moerbeek [Wed, 26 Jun 2024 12:00:48 +0000 (14:00 +0200)] 
Update meson.build

Co-authored-by: Fred Morcos <fm@fredmorcos.com>
2 years agoauth: followup to 14370: add boost depedendency
Otto Moerbeek [Wed, 26 Jun 2024 11:23:31 +0000 (13:23 +0200)] 
auth: followup to 14370: add boost depedendency

2 years agorec: keep Lua config as existing configs might use it 14384/head
Otto Moerbeek [Tue, 25 Jun 2024 14:31:48 +0000 (16:31 +0200)] 
rec: keep Lua config as existing configs might use it

2 years agoMerge pull request #14370 from fredmorcos/fix-lmdb-backend-symbols
Fred Morcos [Wed, 26 Jun 2024 10:22:28 +0000 (12:22 +0200)] 
Merge pull request #14370 from fredmorcos/fix-lmdb-backend-symbols

Fix the LMDB backend not finding symbols in `pdns-auth` and `pdns-auth-util`

2 years agoTidy 14387/head
Otto Moerbeek [Wed, 26 Jun 2024 09:53:57 +0000 (11:53 +0200)] 
Tidy

2 years agoReformat
Otto Moerbeek [Wed, 26 Jun 2024 09:37:23 +0000 (11:37 +0200)] 
Reformat

2 years agoFix coverity 1544951 copy_instead_of_move 14386/head
Otto Moerbeek [Wed, 26 Jun 2024 08:13:28 +0000 (10:13 +0200)] 
Fix coverity 1544951 copy_instead_of_move

2 years agoTidy AXFRRetriever::timeoutReadn 14385/head
Otto Moerbeek [Wed, 26 Jun 2024 08:06:25 +0000 (10:06 +0200)] 
Tidy AXFRRetriever::timeoutReadn

Including a fix to timeout potentially underflowing.
Coverity complains about n (now called bytesRead) overflowing, but that's a false positive, as numread is bounded.

2 years agoMerge pull request #14381 from omoerbeek/readn2-cleanup
Otto Moerbeek [Tue, 25 Jun 2024 14:12:15 +0000 (16:12 +0200)] 
Merge pull request #14381 from omoerbeek/readn2-cleanup

Cleanup read2n and mark unixDie as [[noreturn]]

2 years agoCleanup read2n and mark unixDie as [[noreturtn]] 14381/head
Otto Moerbeek [Tue, 25 Jun 2024 12:46:30 +0000 (14:46 +0200)] 
Cleanup read2n and mark unixDie as [[noreturtn]]

It might even be the case that this makes Coverity realize
pos does not overflow.

2 years agoMerge pull request #14377 from omoerbeek/rec-prep-5.1.0-rc1
Otto Moerbeek [Tue, 25 Jun 2024 09:55:36 +0000 (11:55 +0200)] 
Merge pull request #14377 from omoerbeek/rec-prep-5.1.0-rc1

Prep for rec-5.1.0-rc1

2 years agoPrep for rec-5.1.0-rc1 14377/head
Otto Moerbeek [Mon, 24 Jun 2024 13:56:10 +0000 (15:56 +0200)] 
Prep for rec-5.1.0-rc1

2 years agodnsdist: Fix a race when accessing a backend health status
Remi Gacogne [Mon, 24 Jun 2024 11:19:01 +0000 (13:19 +0200)] 
dnsdist: Fix a race when accessing a backend health status

While there should not be much risk in a data race involving a boolean
apart from getting an outdated value, it's still undefined behaviour
and it rightfully makes TSAN unhappy.
This commit makes the status atomic: hopefully using relaxed memory
ordering when reading the status will make it as cheap as a regular
non-atomic read on most platforms.

2 years agoMerge pull request #14374 from omoerbeek/rec-debian-tweaks rec-5.2.0-alpha0
Otto Moerbeek [Mon, 24 Jun 2024 10:56:34 +0000 (12:56 +0200)] 
Merge pull request #14374 from omoerbeek/rec-debian-tweaks

Rec followup to #14265: use correct file suffix for reloading and debian tweaks

2 years agoAlso use variable suffix for file when reloading YAML-Lua config 14374/head
Otto Moerbeek [Mon, 24 Jun 2024 09:32:00 +0000 (11:32 +0200)] 
Also use variable suffix for file when reloading YAML-Lua config

2 years agoMerge pull request #14363 from omoerbeek/rec-rename-new-udr-settings
Otto Moerbeek [Mon, 24 Jun 2024 09:10:51 +0000 (11:10 +0200)] 
Merge pull request #14363 from omoerbeek/rec-rename-new-udr-settings

rec: make names of new udr settings consistent with existing scheme

2 years agoMerge pull request #14373 from omoerbeek/rec-dns64-double-soa
Otto Moerbeek [Mon, 24 Jun 2024 07:54:58 +0000 (09:54 +0200)] 
Merge pull request #14373 from omoerbeek/rec-dns64-double-soa

rec: don't send double SOA record in the case of a dns64 CNAME that does not resolve

2 years agoAdd test for duplicate SOA record in the dns64/NODATA case 14373/head
Otto Moerbeek [Fri, 21 Jun 2024 14:31:24 +0000 (16:31 +0200)] 
Add test for duplicate SOA record in the dns64/NODATA case

2 years agorec: tweak debian install, as suggested by @zeha
Otto Moerbeek [Mon, 24 Jun 2024 07:12:58 +0000 (09:12 +0200)] 
rec: tweak debian install, as suggested by @zeha

2 years agoAuth/meson: Fix LMDB backend not finding symbols in `pdns-auth-util` 14370/head
Fred Morcos [Sun, 23 Jun 2024 18:46:01 +0000 (20:46 +0200)] 
Auth/meson: Fix LMDB backend not finding symbols in `pdns-auth-util`

This also makes `uuid-utils.{cc,hh}` a separate `link_whole` library to allow keeping its
symbols from being stripped at link time.

2 years agoAuth/Meson: Add libsystemd dependency to LMDB backend
Fred Morcos [Sun, 23 Jun 2024 18:45:42 +0000 (20:45 +0200)] 
Auth/Meson: Add libsystemd dependency to LMDB backend

2 years agoauth: allow -lodbc in a non-standard location 14368/head
Otto Moerbeek [Fri, 21 Jun 2024 12:29:20 +0000 (14:29 +0200)] 
auth: allow -lodbc in a non-standard location

needed for e.g. macOS with non-dylib odbc

2 years agoMerge pull request #14265 from omoerbeek/rec-yaml-as-conf
Otto Moerbeek [Fri, 21 Jun 2024 10:20:34 +0000 (12:20 +0200)] 
Merge pull request #14265 from omoerbeek/rec-yaml-as-conf

rec: allow recursor.conf file to contain YAML to ease transition to YAML config

2 years agoMerge pull request #14366 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.19
Remi Gacogne [Fri, 21 Jun 2024 10:07:23 +0000 (12:07 +0200)] 
Merge pull request #14366 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.19

build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller

2 years agoMerge pull request #14360 from rgacogne/auth-fix-distributor-unit-test-leak
Remi Gacogne [Fri, 21 Jun 2024 10:04:06 +0000 (12:04 +0200)] 
Merge pull request #14360 from rgacogne/auth-fix-distributor-unit-test-leak

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

2 years agobuild(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller 14366/head
dependabot[bot] [Fri, 21 Jun 2024 09:27:02 +0000 (09:27 +0000)] 
build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #14345 from PowerDNS/dependabot/pip/pdns/recursordist/docs/urllib3...
Otto Moerbeek [Fri, 21 Jun 2024 09:21:42 +0000 (11:21 +0200)] 
Merge pull request #14345 from PowerDNS/dependabot/pip/pdns/recursordist/docs/urllib3-2.2.2

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

2 years agoauth: Use [[maybe_unused]] in the distributor unit tests 14360/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.

2 years agoMerge pull request #14318 from omoerbeek/rec-nsname-pbout
Otto Moerbeek [Fri, 21 Jun 2024 09:07:03 +0000 (11:07 +0200)] 
Merge pull request #14318 from omoerbeek/rec-nsname-pbout

rec: add nsName into outgoing protobuf request/response messages

2 years agoInstall a small YAML default config instead of one with everything commented out 14265/head
Otto Moerbeek [Fri, 7 Jun 2024 11:49:49 +0000 (13:49 +0200)] 
Install a small YAML default config instead of one with everything commented out

2 years agoDocument the new approach of reading YAML from a recursor.conf file
Otto Moerbeek [Fri, 7 Jun 2024 08:01:17 +0000 (10:01 +0200)] 
Document the new approach of reading YAML from a recursor.conf file

2 years agoGenerate no more .conf-dist file
Otto Moerbeek [Mon, 3 Jun 2024 12:37:35 +0000 (14:37 +0200)] 
Generate no more .conf-dist file

2 years agoAdapt RH packaging
Otto Moerbeek [Mon, 3 Jun 2024 12:59:08 +0000 (14:59 +0200)] 
Adapt RH packaging

2 years agoAdapt Debian packaging
Otto Moerbeek [Mon, 3 Jun 2024 14:07:27 +0000 (16:07 +0200)] 
Adapt Debian packaging

2 years agorec: allow recursor.conf file to contain YAML
Otto Moerbeek [Wed, 29 May 2024 09:20:52 +0000 (11:20 +0200)] 
rec: allow recursor.conf file to contain YAML

This should us to work around the packaging issues discussed in #13935.
THe idea is that modify the parsing so that .conf files also *may* contain YAML.

The search for a config file then becomes:

1. Try read recuror.yml if it exists. If valid, done. If it is invalid punt.
2. Try read recursor.conf as YAML. If it is valid, done.
3. If it is invalid, try to read as old-style.

This means that the status of recursor.conf as a config file does not change.

This allows us to install a default YAML config into recursor.conf for new installs.
Of course we leave recursor.conf (and recursor.yml) alone for existing installs.

This is a draft. I will add docs and packaging changes after this is deemed
the way to proceed.

2 years agorec: make names of new udr settings consistent with existing scheme 14363/head
Otto Moerbeek [Wed, 19 Jun 2024 14:26:29 +0000 (16:26 +0200)] 
rec: make names of new udr settings consistent with existing scheme

2 years agoRemove potential double SOA records if the target of a dns64 name is NODATA
Otto Moerbeek [Fri, 21 Jun 2024 08:05:42 +0000 (10:05 +0200)] 
Remove potential double SOA records if the target of a dns64 name is NODATA

2 years agoUse const ref for string arg 14318/head
Otto Moerbeek [Fri, 21 Jun 2024 07:46:33 +0000 (09:46 +0200)] 
Use const ref for string arg

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoMerge pull request #14359 from omoerbeek/use-ucharview
Otto Moerbeek [Fri, 21 Jun 2024 05:45:08 +0000 (07:45 +0200)] 
Merge pull request #14359 from omoerbeek/use-ucharview

dns.cc: use pdns::views::UnsignedCharView

2 years agoMerge pull request #14358 from omoerbeek/rec-docs-mem
Otto Moerbeek [Fri, 21 Jun 2024 05:44:45 +0000 (07:44 +0200)] 
Merge pull request #14358 from omoerbeek/rec-docs-mem

rec: describe (roughly) memory usage

2 years agoMerge pull request #14350 from rgacogne/ddist-changelog-secpoll-1.9.5
Remi Gacogne [Thu, 20 Jun 2024 09:41:09 +0000 (11:41 +0200)] 
Merge pull request #14350 from rgacogne/ddist-changelog-secpoll-1.9.5

dnsdist: Prepare ChangeLog and secpoll for 1.9.5

2 years 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.

2 years agodnsdist: Fix formatting in the 1.9.5 ChangeLog 14350/head
Remi Gacogne [Thu, 20 Jun 2024 07:42:06 +0000 (09:42 +0200)] 
dnsdist: Fix formatting in the 1.9.5 ChangeLog

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agodnsdist: Fix formatting in the 1.9.5 ChangeLog
Remi Gacogne [Thu, 20 Jun 2024 07:42:00 +0000 (09:42 +0200)] 
dnsdist: Fix formatting in the 1.9.5 ChangeLog

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agodns.cc: use pdns::views::UnsignedCharView 14359/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]

2 years agorec: describe (roughly) memory usage 14358/head
Otto Moerbeek [Wed, 19 Jun 2024 09:35:15 +0000 (11:35 +0200)] 
rec: describe (roughly) memory usage

Also fix a few refs

2 years agoauth API: when querying with rrset_name, respect it for comments too 14045/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

2 years agoMerge pull request #14311 from romeroalx/remove-auth-46-daily-builds
Peter van Dijk [Tue, 18 Jun 2024 12:00:22 +0000 (14:00 +0200)] 
Merge pull request #14311 from romeroalx/remove-auth-46-daily-builds

GH Actions: remove rel/auth-4.6.x from daily/weekly builds

2 years agoMerge pull request #14346 from omoerbeek/rec-pb-tags-tcp
Otto Moerbeek [Tue, 18 Jun 2024 09:19:41 +0000 (11:19 +0200)] 
Merge pull request #14346 from omoerbeek/rec-pb-tags-tcp

rec: fix TCP case for policy tags set by gettag(_ffi)

2 years agoRefactor test to avoid code duplciation, as suggested by @rgacogne 14346/head
Otto Moerbeek [Tue, 18 Jun 2024 08:35:08 +0000 (10:35 +0200)] 
Refactor test to avoid code duplciation, as suggested by @rgacogne

2 years agodnsdist: Prepare ChangeLog and secpoll for 1.9.5
Remi Gacogne [Mon, 17 Jun 2024 14:15:19 +0000 (16:15 +0200)] 
dnsdist: Prepare ChangeLog and secpoll for 1.9.5

2 years agorec: fix TCP case for cached policy tags
Otto Moerbeek [Mon, 17 Jun 2024 12:58:01 +0000 (14:58 +0200)] 
rec: fix TCP case for cached policy tags

2 years agoMerge pull request #14326 from rgacogne/ddist-grepq-ms-parsing
Remi Gacogne [Tue, 18 Jun 2024 07:39:03 +0000 (09:39 +0200)] 
Merge pull request #14326 from rgacogne/ddist-grepq-ms-parsing

dnsdist: Use `pdns::checked_stoi` instead of `sscanf` for `grepq`'s ms

2 years agobuild(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/recursordist/docs 14345/head
dependabot[bot] [Tue, 18 Jun 2024 07:37:11 +0000 (07:37 +0000)] 
build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/recursordist/docs

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #14344 from PowerDNS/dependabot/pip/docs/urllib3-2.2.2
Remi Gacogne [Tue, 18 Jun 2024 07:36:09 +0000 (09:36 +0200)] 
Merge pull request #14344 from PowerDNS/dependabot/pip/docs/urllib3-2.2.2

Bump urllib3 from 2.0.7 to 2.2.2 in /docs

2 years agoMerge pull request #14341 from rgacogne/ddist-race-web-handlers
Remi Gacogne [Tue, 18 Jun 2024 07:35:13 +0000 (09:35 +0200)] 
Merge pull request #14341 from rgacogne/ddist-race-web-handlers

dnsdist: Fix a race condition with custom Lua web handlers

2 years agoBump urllib3 from 2.0.7 to 2.2.2 in /docs 14344/head
dependabot[bot] [Mon, 17 Jun 2024 22:30:28 +0000 (22:30 +0000)] 
Bump urllib3 from 2.0.7 to 2.2.2 in /docs

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump docker/build-push-action from 5 to 6 14343/head
dependabot[bot] [Mon, 17 Jun 2024 14:12:02 +0000 (14:12 +0000)] 
Bump docker/build-push-action from 5 to 6

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agodnsdist: Fix a clang-tidy warning in the custom web handlers code 14341/head
Remi Gacogne [Mon, 17 Jun 2024 13:58:06 +0000 (15:58 +0200)] 
dnsdist: Fix a clang-tidy warning in the custom web handlers code

2 years agoMerge pull request #14330 from rgacogne/move-snmp-headers
Remi Gacogne [Mon, 17 Jun 2024 12:55:58 +0000 (14:55 +0200)] 
Merge pull request #14330 from rgacogne/move-snmp-headers

snmp-agent: Move net-snmp headers out of our headers

2 years agodnsdist: Fix replacement of existing custom web handlers
Remi Gacogne [Mon, 17 Jun 2024 12:36:48 +0000 (14:36 +0200)] 
dnsdist: Fix replacement of existing custom web handlers

2 years agoMerge pull request #14340 from omoerbeek/rec-pp-remotes
Otto Moerbeek [Mon, 17 Jun 2024 11:45:24 +0000 (13:45 +0200)] 
Merge pull request #14340 from omoerbeek/rec-pp-remotes

rec: fix client remotes count when using proxy protocol

2 years agoAdd regression test for remote count when using proxy protocol 14340/head
Otto Moerbeek [Mon, 17 Jun 2024 09:24:04 +0000 (11:24 +0200)] 
Add regression test for remote count when using proxy protocol

2 years agodnsdist: Fix a race condition with custom Lua web handlers
Remi Gacogne [Mon, 17 Jun 2024 10:16:38 +0000 (12:16 +0200)] 
dnsdist: Fix a race condition with custom Lua web handlers

Custom web handlers written in Lua modify the global Lua context,
but until now they did not take the lock protecting it so a data
race condition was possible.
Reported by TSAN while running our unit tests.

2 years agoMerge pull request #14328 from chbruyand/dnsdist-runtests
Remi Gacogne [Mon, 17 Jun 2024 09:34:44 +0000 (11:34 +0200)] 
Merge pull request #14328 from chbruyand/dnsdist-runtests

dnsdist: update test runner for mac

2 years agoMerge pull request #14275 from esensar/feature/udr-ignore-list
Otto Moerbeek [Mon, 17 Jun 2024 09:25:07 +0000 (11:25 +0200)] 
Merge pull request #14275 from esensar/feature/udr-ignore-list

rec: add options for ignoring domains for UDR purposes

2 years agorec: count substituted remote in case of proxy protocol
Otto Moerbeek [Mon, 17 Jun 2024 09:22:47 +0000 (11:22 +0200)] 
rec: count substituted remote in case of proxy protocol

Other remote counts are already doing that

2 years agosnmp-agent: Move net-snmp headers out of our headers 14330/head
Remi Gacogne [Mon, 17 Jun 2024 08:33:39 +0000 (10:33 +0200)] 
snmp-agent: Move net-snmp headers out of our headers

The net-snmp headers are unfortunately defining things that we do not
want, like `INET6` and `HAVE_LIBSSL`, so it's better for us not to
include them from our headers.

2 years agodnsdist: update test runner for mac with dynamic prefix and up to date package name... 14328/head
Charles-Henri Bruyand [Sat, 15 Jun 2024 10:51:35 +0000 (12:51 +0200)] 
dnsdist: update test runner for mac with dynamic prefix and up to date package name for curl

2 years agodnsdist: Use `pdns::checked_stoi` instead of `sscanf` for `grepq`'s ms 14326/head
Remi Gacogne [Fri, 14 Jun 2024 08:48:57 +0000 (10:48 +0200)] 
dnsdist: Use `pdns::checked_stoi` instead of `sscanf` for `grepq`'s ms

2 years agoMerge pull request #14324 from Habbie/auth-lua-docs-backquote-nit
Peter van Dijk [Thu, 13 Jun 2024 11:01:53 +0000 (13:01 +0200)] 
Merge pull request #14324 from Habbie/auth-lua-docs-backquote-nit

auth docs: remove stray backquote

2 years agoMerge pull request #14302 from rgacogne/ddist-ffi-svc
Remi Gacogne [Thu, 13 Jun 2024 10:44:54 +0000 (12:44 +0200)] 
Merge pull request #14302 from rgacogne/ddist-ffi-svc

dnsdist: Add Lua FFI bindings to generate SVC responses

2 years agodnsdist: Apply suggestion from Charles-Henri's review (thanks!) 14302/head
Remi Gacogne [Thu, 13 Jun 2024 10:01:33 +0000 (12:01 +0200)] 
dnsdist: Apply suggestion from Charles-Henri's review (thanks!)

2 years agoauth docs: remove stray backquote 14324/head
Peter van Dijk [Thu, 13 Jun 2024 08:09:25 +0000 (10:09 +0200)] 
auth docs: remove stray backquote

2 years agoMerge pull request #14280 from rgacogne/ddist-doc-ebpf-capability
Remi Gacogne [Thu, 13 Jun 2024 08:05:42 +0000 (10:05 +0200)] 
Merge pull request #14280 from rgacogne/ddist-doc-ebpf-capability

dnsdist: Document that eBPF socket filtering requires `CAP_SYS_ADMIN`

2 years agoMerge pull request #14183 from fredmorcos/auth-regression-tests-meson
Fred Morcos [Wed, 12 Jun 2024 12:35:50 +0000 (14:35 +0200)] 
Merge pull request #14183 from fredmorcos/auth-regression-tests-meson

Support meson in regression tests harness

2 years agoRename PDNS_MESON_PATH to PDNS_BUILD_PATH 14183/head
Fred Morcos [Mon, 10 Jun 2024 12:43:38 +0000 (14:43 +0200)] 
Rename PDNS_MESON_PATH to PDNS_BUILD_PATH

This also ensures that PDNS_BUILD_PATH is set to `.` when the user does not pass it. This
stays consistent with the behavior we previously had.

2 years agoMeson: Integrate auth geoip backend regression test
Fred Morcos [Wed, 15 May 2024 12:41:17 +0000 (14:41 +0200)] 
Meson: Integrate auth geoip backend regression test

2 years agoAuth: Adapt backend regression tests harness to Meson builds
Fred Morcos [Wed, 15 May 2024 11:27:06 +0000 (13:27 +0200)] 
Auth: Adapt backend regression tests harness to Meson builds

2 years agoFix remaining formatting issues in settings/table.py 14275/head
Ensar Sarajčić [Wed, 12 Jun 2024 09:52:33 +0000 (11:52 +0200)] 
Fix remaining formatting issues in settings/table.py

2 years agoFix formatting for settings/table.py
Ensar Sarajčić [Wed, 12 Jun 2024 09:44:28 +0000 (11:44 +0200)] 
Fix formatting for settings/table.py

2 years agoMerge branch 'master' into feature/udr-ignore-list
Ensar Sarajčić [Wed, 12 Jun 2024 09:36:41 +0000 (11:36 +0200)] 
Merge branch 'master' into feature/udr-ignore-list

2 years agorec: add nsName into outgoing protobuf request/response messages
Otto Moerbeek [Wed, 12 Jun 2024 09:28:25 +0000 (11:28 +0200)] 
rec: add nsName into outgoing protobuf request/response messages

As there is no good existing field, I opted to add it as a meta
field.  We might want to make this optional, potentially clients
could not expect this.  TBD.

2 years agoMerge pull request #14312 from omoerbeek/rec-pbout-udr
Otto Moerbeek [Wed, 12 Jun 2024 09:25:48 +0000 (11:25 +0200)] 
Merge pull request #14312 from omoerbeek/rec-pbout-udr

rec: do not add UDR field to outgoingProtobuf answer messages

2 years agoMerge pull request #14307 from aerique/feature/update-repo-test-script
aerique [Wed, 12 Jun 2024 08:56:37 +0000 (10:56 +0200)] 
Merge pull request #14307 from aerique/feature/update-repo-test-script

Update repo test script.

2 years agoMerge pull request #14309 from omoerbeek/rec-cname-bound-settable
Otto Moerbeek [Wed, 12 Jun 2024 08:40:23 +0000 (10:40 +0200)] 
Merge pull request #14309 from omoerbeek/rec-cname-bound-settable

rec: make max CNAME chain length handled settable, previously fixed at 10

2 years agorec: do not add UDR field to outgoingProtobuf answer messages 14312/head
Otto Moerbeek [Wed, 12 Jun 2024 08:39:19 +0000 (10:39 +0200)] 
rec: do not add UDR field to outgoingProtobuf answer messages

2 years agorec: make max CNAME chain length handled settable, previously fixed at 10 14309/head
Otto Moerbeek [Mon, 10 Jun 2024 13:53:23 +0000 (15:53 +0200)] 
rec: make max CNAME chain length handled settable, previously fixed at 10

2 years agoUpdate repo test script version. 14307/head
Erik Winkels [Mon, 10 Jun 2024 12:20:45 +0000 (14:20 +0200)] 
Update repo test script version.

2 years agoRemove support for EOL versions from repo test script.
Erik Winkels [Mon, 10 Jun 2024 12:20:17 +0000 (14:20 +0200)] 
Remove support for EOL versions from repo test script.

Add `rec-51` support to repo test script.

2 years agoUpdate version regex for Python 3.
Erik Winkels [Mon, 10 Jun 2024 11:35:56 +0000 (13:35 +0200)] 
Update version regex for Python 3.

(I think Python 3 and not Python 3.something specific.)

2 years agoRemove Ubuntu Bionic and add Noble to repo test script.
Erik Winkels [Mon, 10 Jun 2024 11:35:21 +0000 (13:35 +0200)] 
Remove Ubuntu Bionic and add Noble to repo test script.