]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist settings docs: fix derailed sentence 15633/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 5 Jun 2025 13:52:22 +0000 (15:52 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 5 Jun 2025 14:02:19 +0000 (16:02 +0200)
pdns/dnsdistdist/dnsdist-settings-definitions.yml
pdns/dnsdistdist/docs/reference/config.rst
pdns/dnsdistdist/docs/reference/yaml-settings.rst

index 2f6de6f2d1f0fe2d58bf3cf7751a76915bc791d7..5af3b7cf4ba9304c523dd4bcffc9bd007abc053f 100644 (file)
@@ -1950,7 +1950,7 @@ proxy_protocol:
       lua-name: "setProxyProtocolMaximumPayloadSize"
       internal-field-name: "d_proxyProtocolMaximumSize"
       runtime-configurable: true
-      description: "Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can’t be set to a value lower than 16 since it would deny of Proxy Protocol headers"
+      description: "Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can’t be set to a value lower than 16 - the absolute minimum size of a Proxy Protocol header"
     - name: "apply_acl_to_proxied_clients"
       type: "bool"
       default: "false"
index d40feaafcdb2d56370852aa66c6603a5798edc27..5d9bcaebe45fde5d0df1f891eef292677b831e35 100644 (file)
@@ -2332,7 +2332,7 @@ Other functions
 
   .. versionadded:: 1.6.0
 
-  Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can't be set to a value lower than 16 since it would deny of Proxy Protocol headers.
+  Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can't be set to a value lower than 16 - the absolute minimum size of a Proxy Protocol header.
 
   :param int size: The maximum size in bytes (default is 512)
 
index 9d94ae03437e71b95b73163dc295a28535daf832..c5b5d63cf5ce3be5f84d736d617439183f3077a4 100644 (file)
@@ -792,7 +792,7 @@ ProxyProtocolConfiguration
 Proxy Protocol-related settings
 
 - **acl**: Sequence of String ``("")`` - Set the list of netmasks from which a Proxy Protocol header will be required, over UDP, TCP and DNS over TLS. The default is empty. Note that a proxy protocol payload will be required from these clients, regular DNS queries will no longer be accepted if they are not preceded by a proxy protocol payload. Be also aware that, if ``apply_acl_to_proxied_clients`` is set (default is false), the general ACL will be applied to the source IP address as seen by dnsdist first, but also to the source IP address provided in the Proxy Protocol header.
-- **maximum_payload_size**: Unsigned integer ``(512)`` - Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can’t be set to a value lower than 16 since it would deny of Proxy Protocol headers
+- **maximum_payload_size**: Unsigned integer ``(512)`` - Set the maximum size of a Proxy Protocol payload that dnsdist is willing to accept, in bytes. The default is 512, which is more than enough except for very large TLV data. This setting can’t be set to a value lower than 16 - the absolute minimum size of a Proxy Protocol header
 - **apply_acl_to_proxied_clients**: Boolean ``(false)`` - Whether the general ACL should be applied to the source IP address provided in the Proxy Protocol header, in addition to being applied to the source IP address as seen by dnsdist first