]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Add an option to set the SSL proxy protocol TLV 13506/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 17 Nov 2023 11:14:19 +0000 (12:14 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 17 Nov 2023 11:49:05 +0000 (12:49 +0100)
commit6ad3e2e308ab29620bcc31caf5554c957909addd
tree6f150423c8ab47ce447019a3dbb0ce049d85ac92
parent7b3d7a5cafe6c256559038b820737c022d3c3854
dnsdist: Add an option to set the SSL proxy protocol TLV

When the new `proxyProtocolAdvertiseTLS` to `newServer` is set, and
the query has been received from the client over an encrypted channel,
the SSL proxy protocol TLV is set in the proxy protocol payload sent
to the backend.
pdns/dnsdist-lua.cc
pdns/dnsdist-protocols.cc
pdns/dnsdist-protocols.hh
pdns/dnsdist.cc
pdns/dnsdist.hh
pdns/dnsdistdist/docs/reference/config.rst
pdns/proxy-protocol.hh
regression-tests.dnsdist/test_ProxyProtocol.py