From: Remi Gacogne Date: Mon, 23 Mar 2020 15:55:50 +0000 (+0100) Subject: dnsdist: Document that we only support the version 2 of the Proxy Protocol X-Git-Tag: dnsdist-1.5.0-rc1~25^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=426ebf6b13c71981b9617acfda3eff02a646f70c;p=thirdparty%2Fpdns.git dnsdist: Document that we only support the version 2 of the Proxy Protocol --- 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`.