From 426ebf6b13c71981b9617acfda3eff02a646f70c Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 23 Mar 2020 16:55:50 +0100 Subject: [PATCH] dnsdist: Document that we only support the version 2 of the Proxy Protocol --- pdns/dnsdistdist/docs/advanced/proxyprotocol.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/advanced/proxyprotocol.rst b/pdns/dnsdistdist/docs/advanced/proxyprotocol.rst index 7ecb3dc0b2..90db387483 100644 --- a/pdns/dnsdistdist/docs/advanced/proxyprotocol.rst +++ b/pdns/dnsdistdist/docs/advanced/proxyprotocol.rst @@ -2,7 +2,7 @@ Using the Proxy Protocol ------------------------ In order to provide the downstream server with the address of the real client, or at least the one talking to dnsdist, the ``useProxyProtocol`` parameter can be used when creating a :func:`new server `. -This parameter indicates whether a Proxy Protocol header should be prepended to the query before forwarding it to the backend, over UDP or TCP. This header contains the initial source and destination addresses and ports, and can also contain several custom values in a Type-Length-Value format. More information about the Proxy Protocol can be found at https://www.haproxy.org/download/2.2/doc/proxy-protocol.txt +This parameter indicates whether a Proxy Protocol version 2 (binary) header should be prepended to the query before forwarding it to the backend, over UDP or TCP. This header contains the initial source and destination addresses and ports, and can also contain several custom values in a Type-Length-Value format. More information about the Proxy Protocol can be found at https://www.haproxy.org/download/2.2/doc/proxy-protocol.txt Custom values can be added to the header via :meth:`DNSQuestion:setProxyProtocolValues` and :func:`SetProxyProtocolValuesAction`. -- 2.47.2