]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Tue, 21 Jan 2025 15:36:37 +0000 (16:36 +0100)]
rec: document that forwarding catalog zones cannot be combined with Lua config.
Fixes #15052
Otto Moerbeek [Mon, 20 Jan 2025 12:41:29 +0000 (13:41 +0100)]
Merge pull request #15063 from omoerbeek/credentials-include
Include cstdint to get uint64_t
Remi Gacogne [Mon, 20 Jan 2025 11:18:07 +0000 (12:18 +0100)]
Merge pull request #15064 from rgacogne/ddist-fix-el-builds
dnsdist: Fix missing variant header that prevents building on EL8
Remi Gacogne [Mon, 20 Jan 2025 10:44:03 +0000 (11:44 +0100)]
dnsdist: Fix missing variant header that prevents building on EL8
Otto Moerbeek [Mon, 20 Jan 2025 10:30:33 +0000 (11:30 +0100)]
Merge pull request #15056 from omoerbeek/rec-old-settings-warn
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 10:22:39 +0000 (11:22 +0100)]
Merge pull request #15061 from rgacogne/ddist-fix-coverity
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 10:09:42 +0000 (11:09 +0100)]
Include cstdint to get uint64_t
Should fix #15060
Otto Moerbeek [Mon, 20 Jan 2025 09:59:34 +0000 (10:59 +0100)]
Merge pull request #15057 from omoerbeek/rec-coverity-
20250120
rec: Coverity issues missed in last round, all severity "Low"
Otto Moerbeek [Mon, 20 Jan 2025 08:30:13 +0000 (09:30 +0100)]
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 09:27:03 +0000 (10:27 +0100)]
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 08:41:38 +0000 (09:41 +0100)]
rec: Coverity issues missed in last round, all severity "Low"
1587809 Variable copied when it could be moved
1587817 Variable copied when it could be moved
1587819 Variable copied when it could be moved
Remi Gacogne [Fri, 17 Jan 2025 15:53:12 +0000 (16:53 +0100)]
Merge pull request #14969 from rgacogne/ddist-yaml-configuration-harder
dnsdist: Add a new, optional, YAML-based configuration format
Otto Moerbeek [Fri, 17 Jan 2025 15:29:05 +0000 (16:29 +0100)]
Merge pull request #15050 from omoerbeek/rec-coverity-
20240117
rec: New Coverity Variable copied when it could be moved cases
Remi Gacogne [Fri, 17 Jan 2025 14:38:27 +0000 (15:38 +0100)]
dnsdist: Fix broken refs and formatting issues in the YAML docs
Otto Moerbeek [Fri, 17 Jan 2025 13:29:13 +0000 (14:29 +0100)]
Remi Gacogne [Fri, 17 Jan 2025 14:05:39 +0000 (15:05 +0100)]
dnsdist: Ad more missing description for YAML settings
Otto Moerbeek [Fri, 17 Jan 2025 09:09:10 +0000 (10:09 +0100)]
Merge pull request #15040 from omoerbeek/rec-ecs
EDNSSubnetOpts refactoring
Otto Moerbeek [Fri, 17 Jan 2025 08:23:49 +0000 (09:23 +0100)]
Add a method to get the scoped subnet (aka Netmask) as suggested by @rgacogne
Otto Moerbeek [Fri, 17 Jan 2025 08:13:54 +0000 (09:13 +0100)]
Merge pull request #15038 from omoerbeek/rec-record-sizes
rec: Compute size *estimate* for record cache allocated size
Remi Gacogne [Thu, 16 Jan 2025 16:06:49 +0000 (17:06 +0100)]
Merge pull request #15046 from rgacogne/ddist-better-error-msg-source
dnsdist: Better error when we cannot connect a backend socket
Remi Gacogne [Thu, 16 Jan 2025 15:30:50 +0000 (16:30 +0100)]
dnsdist: Better error when we cannot connect a backend socket
Let the user know if we are using a specific interface or source
address to contact the backend, as it is quite helpful to pinpoint
the issue.
Peter van Dijk [Thu, 16 Jan 2025 15:26:11 +0000 (16:26 +0100)]
Merge pull request #15043 from nixargh/docs_autoprimary_setup_add_warning
Docs: Add a warning about non-recursive queries during domain bootstrap on autosecondary
Miod Vallat [Thu, 16 Jan 2025 14:03:05 +0000 (15:03 +0100)]
Merge pull request #15041 from miodvallat/guillotine
Exit gracefully on ^D on control-console
Miod Vallat [Thu, 16 Jan 2025 13:42:20 +0000 (14:42 +0100)]
Merge pull request #15039 from miodvallat/augias_stables_take_1
Hair trimming in pdnsutil #1
Remi Gacogne [Thu, 16 Jan 2025 13:25:35 +0000 (14:25 +0100)]
dnsdist: Add a few missing settings to the YAML configuration
nixargh [Thu, 16 Jan 2025 13:09:14 +0000 (16:09 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Thu, 16 Jan 2025 10:53:48 +0000 (11:53 +0100)]
Merge pull request #15032 from metajiji/patch-1
dnsdist: Use getAddressInfo() instead python daemonized subprocess
Remi Gacogne [Thu, 16 Jan 2025 10:08:42 +0000 (11:08 +0100)]
dnsdist: Simplify the handle of flat settings from YAML
As suggested by Otto (thanks!)
Remi Gacogne [Thu, 16 Jan 2025 10:04:17 +0000 (11:04 +0100)]
dnsdist: Fix the handling of default values for YAML list of strings
nixargh [Thu, 16 Jan 2025 09:43:14 +0000 (12:43 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
nixargh [Thu, 16 Jan 2025 09:42:49 +0000 (12:42 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
nixargh [Thu, 16 Jan 2025 09:41:32 +0000 (12:41 +0300)]
return builder dir
Remi Gacogne [Thu, 16 Jan 2025 09:26:15 +0000 (10:26 +0100)]
dnsdist: Fix Rust warnings, be consistent in the naming of YAML objects
nixargh [Thu, 16 Jan 2025 09:22:14 +0000 (12:22 +0300)]
Merge remote-tracking branch 'origin/master' into docs_autoprimary_setup_add_warning
nixargh [Thu, 16 Jan 2025 09:20:57 +0000 (12:20 +0300)]
Docs: Add warning about non-recursive queries during automatic domain bootstrap
Remi Gacogne [Thu, 16 Jan 2025 08:52:01 +0000 (09:52 +0100)]
dnsdist: Use the better wording suggested by Otto in the upgrade notes
Remi Gacogne [Tue, 14 Jan 2025 16:13:25 +0000 (17:13 +0100)]
dnsdist: Yet more descriptions in the YAML documentation
Remi Gacogne [Mon, 13 Jan 2025 16:03:37 +0000 (17:03 +0100)]
dnsdist: More description in the YAML settings documentation
Remi Gacogne [Mon, 13 Jan 2025 10:56:14 +0000 (11:56 +0100)]
dnsdist: Fix formatting
Remi Gacogne [Mon, 13 Jan 2025 10:25:11 +0000 (11:25 +0100)]
dnsdist: Exit on YAML configuration error
Remi Gacogne [Mon, 13 Jan 2025 10:24:32 +0000 (11:24 +0100)]
dnsdist: Use '_' between YAML words, not '-'
To be consistent with what the recursor is already doing.
Remi Gacogne [Mon, 13 Jan 2025 08:52:21 +0000 (09:52 +0100)]
dnsdist: Stop cleaning dnsdist-configuration-yaml-items-generated.cc and lib.rs
Remi Gacogne [Thu, 9 Jan 2025 11:09:04 +0000 (12:09 +0100)]
dnsdist: Fix clang-tidy warnings
Remi Gacogne [Tue, 7 Jan 2025 15:28:45 +0000 (16:28 +0100)]
dnsdist: Support inline and "detached to a file" Lua code in YAML
Remi Gacogne [Mon, 30 Dec 2024 08:20:38 +0000 (09:20 +0100)]
dnsdist: Fix a small formatting issue
Remi Gacogne [Fri, 27 Dec 2024 16:30:42 +0000 (17:30 +0100)]
dnsdist: Reduce the complexity of the YAML loading function
Remi Gacogne [Fri, 27 Dec 2024 14:54:43 +0000 (15:54 +0100)]
dnsdist: Implement XSK and eBPF via YAML
Remi Gacogne [Fri, 27 Dec 2024 12:23:33 +0000 (13:23 +0100)]
dnsdist: Add more YAML example to the documentation
Remi Gacogne [Fri, 27 Dec 2024 12:01:11 +0000 (13:01 +0100)]
dnsdist: Remove unused Rust validation functions
Remi Gacogne [Fri, 27 Dec 2024 11:59:47 +0000 (12:59 +0100)]
dnsdist: Handle the default LB policy in YAML configuration
Remi Gacogne [Fri, 27 Dec 2024 11:58:58 +0000 (12:58 +0100)]
dnsdist: Handle DNSCrypt in the YAML configuration
Remi Gacogne [Fri, 27 Dec 2024 11:57:19 +0000 (12:57 +0100)]
dnsdist: Generate the YAML documentation
Remi Gacogne [Tue, 24 Dec 2024 16:14:14 +0000 (17:14 +0100)]
dnstap: Clean up the dnstap header
Remi Gacogne [Tue, 24 Dec 2024 16:13:05 +0000 (17:13 +0100)]
dnsdist: Add regression tests using the yaml configuration
Remi Gacogne [Tue, 24 Dec 2024 16:12:34 +0000 (17:12 +0100)]
dnsdist: Clean up the dnsdist protobuf header
Remi Gacogne [Tue, 24 Dec 2024 16:10:08 +0000 (17:10 +0100)]
dnsdist: Add a tool to generate the yaml configuration
Remi Gacogne [Tue, 24 Dec 2024 16:06:44 +0000 (17:06 +0100)]
dnsdist: Load the yaml configuration
Remi Gacogne [Tue, 24 Dec 2024 15:59:24 +0000 (16:59 +0100)]
dnsdist: Use the rules factory to unit test them
Remi Gacogne [Tue, 24 Dec 2024 15:53:19 +0000 (16:53 +0100)]
dnsdist: Add yaml configuration
Remi Gacogne [Tue, 24 Dec 2024 15:33:37 +0000 (16:33 +0100)]
dnsdist: Actually move selectors and actions to proper factories
Remi Gacogne [Tue, 24 Dec 2024 15:17:37 +0000 (16:17 +0100)]
dnsdist: Generate C++ factory and Lua bindings code from YAML definitions
Remi Gacogne [Fri, 23 Aug 2024 13:17:33 +0000 (15:17 +0200)]
dnsdist: Add an optional YAML configuration switch
Remi Gacogne [Tue, 24 Dec 2024 14:34:15 +0000 (15:34 +0100)]
dnsdist: Move the Lua bindings for single items to a separate file
Remi Gacogne [Tue, 24 Dec 2024 14:20:51 +0000 (15:20 +0100)]
QClass: Construct from a string
Remi Gacogne [Tue, 24 Dec 2024 14:20:19 +0000 (15:20 +0100)]
dnsdist: Fix error message for invalid TLS version
Remi Gacogne [Tue, 24 Dec 2024 14:10:46 +0000 (15:10 +0100)]
dnsdist: Move rules to dnsdist-rules-factory.hh
Remi Gacogne [Tue, 24 Dec 2024 14:06:29 +0000 (15:06 +0100)]
dnsdist: Move DNSRule declaration to dnsdist-rules.hh
Remi Gacogne [Tue, 24 Dec 2024 13:48:35 +0000 (14:48 +0100)]
dnsdist: Add a dynamic block rules group register
Remi Gacogne [Tue, 24 Dec 2024 13:41:29 +0000 (14:41 +0100)]
dnsdist: Move HTTP rules to dnsdist-rules.cc
Remi Gacogne [Tue, 24 Dec 2024 11:50:41 +0000 (12:50 +0100)]
dnsdist: Stop using Actions for regular processing
Remi Gacogne [Tue, 24 Dec 2024 11:17:36 +0000 (12:17 +0100)]
dnsdist: Stop using `LimitTTLResponseAction` to limit TTL
Remi Gacogne [Tue, 24 Dec 2024 11:08:30 +0000 (12:08 +0100)]
dnsdist: Move handling of backend parameters out of the Lua code
Remi Gacogne [Tue, 24 Dec 2024 10:57:28 +0000 (11:57 +0100)]
dnsdist: Properly handle built-in LB policies
Remi Gacogne [Tue, 24 Dec 2024 10:53:30 +0000 (11:53 +0100)]
dnsdist: Make SNMP configuration immutable
Remi Gacogne [Tue, 24 Dec 2024 10:43:07 +0000 (11:43 +0100)]
dnsdist: Fix automatic computation of the number of TCP workers
The previous method didn't account for TCP workers for backends.
Remi Gacogne [Tue, 24 Dec 2024 10:38:59 +0000 (11:38 +0100)]
dnsdist: Move functions from dnsdist-actions.hh to dnsdist-actions.cc
Remi Gacogne [Tue, 24 Dec 2024 10:27:12 +0000 (11:27 +0100)]
dnsdist: Add a yaml-based description of settings
Remi Gacogne [Tue, 24 Dec 2024 10:26:50 +0000 (11:26 +0100)]
dnsdist: Add yaml-based descriptions of actions and selectors
Remi Gacogne [Thu, 16 Jan 2025 08:41:48 +0000 (09:41 +0100)]
Merge pull request #15030 from rgacogne/ddist-remove-tlscontext
dnsdist: Remove `TLSContext`
Remi Gacogne [Thu, 16 Jan 2025 08:31:18 +0000 (09:31 +0100)]
Merge pull request #15037 from rgacogne/ddist-document-stat-node-ffi-children
dnsdist: Document `dnsdist_ffi_stat_node_get_children_*` return children+node stats
Miod Vallat [Wed, 15 Jan 2025 14:43:13 +0000 (15:43 +0100)]
If the control console fd is closed, handle this as a "quit" command.
Fixes #1694
Miod Vallat [Wed, 15 Jan 2025 13:03:13 +0000 (14:03 +0100)]
Const me if you can.
Otto Moerbeek [Wed, 15 Jan 2025 12:06:31 +0000 (13:06 +0100)]
Appease clang-tidy
Otto Moerbeek [Tue, 14 Jan 2025 16:03:39 +0000 (17:03 +0100)]
Represent scope as a prefix length and not a full Netmask (ip + prefix) object
Miod Vallat [Wed, 15 Jan 2025 09:24:17 +0000 (10:24 +0100)]
Throw a few bones to clang-tidy.
Miod Vallat [Wed, 15 Jan 2025 08:40:46 +0000 (09:40 +0100)]
Use a container to simplify command dispatch.
Miod Vallat [Wed, 15 Jan 2025 07:48:17 +0000 (08:48 +0100)]
Split main() into one routine per command.
This unfortunately removes the "hash-password" easter egg.
Otto Moerbeek [Tue, 14 Jan 2025 15:20:36 +0000 (16:20 +0100)]
Tidy
Otto Moerbeek [Tue, 14 Jan 2025 13:13:42 +0000 (14:13 +0100)]
Fix estimate of bitmask type
Remi Gacogne [Tue, 14 Jan 2025 11:18:56 +0000 (12:18 +0100)]
Merge pull request #15036 from rgacogne/ddist-improve-secpoll-msgs
dnsdist: Improve error messages on security polling failures
Otto Moerbeek [Wed, 18 Dec 2024 11:33:58 +0000 (12:33 +0100)]
Introduce size *estimate* for record cache allocated size
Remi Gacogne [Tue, 14 Jan 2025 10:17:38 +0000 (11:17 +0100)]
dnsdist: Document `dnsdist_ffi_stat_node_get_children_*` return children+node stats
The `dnsdist_ffi_stat_node_get_children_*` methods return the sum of
the queries or responses received for the children of a node AND the node
itself. It's quite unexpected but breaking the existing behaviour now would be painful.
Remi Gacogne [Tue, 14 Jan 2025 10:13:26 +0000 (11:13 +0100)]
Merge pull request #15029 from rgacogne/ddist-doh3-set-http-response
dnsdist: Add the ability to set custom HTTP responses over DoH3
Remi Gacogne [Tue, 14 Jan 2025 10:10:46 +0000 (11:10 +0100)]
dnsdist: Delint dnsdist-secpoll.cc
Remi Gacogne [Tue, 14 Jan 2025 09:43:26 +0000 (10:43 +0100)]
dnsdist: Reformat dnsdist-secpoll.cc
Remi Gacogne [Tue, 14 Jan 2025 09:42:37 +0000 (10:42 +0100)]
dnsdist: Improve error messages on security polling failures
Otto Moerbeek [Tue, 14 Jan 2025 09:02:32 +0000 (10:02 +0100)]
Merge pull request #15031 from omoerbeek/rec-prep-5.2.0
rec: prep for rec-5.2.0
Otto Moerbeek [Mon, 13 Jan 2025 16:03:54 +0000 (17:03 +0100)]
Merge pull request #15033 from omoerbeek/rec-rpz-tmp-file-deleter
rec: delete temp file on failure to dump RPZ file
Otto Moerbeek [Mon, 13 Jan 2025 14:45:00 +0000 (15:45 +0100)]
Don't forget to delete the pointer itself
Otto Moerbeek [Mon, 13 Jan 2025 13:21:35 +0000 (14:21 +0100)]
rec: delete temp file on failure to dump RPZ file