yrutschle / sslh

Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)
https://www.rutschle.net/tech/sslh/README.html
GNU General Public License v2.0
4.55k stars 368 forks source link

Feature request: Support for proxy protocol for https (haproxy compatible) #182

Open motienko opened 6 years ago

motienko commented 6 years ago

Hello!

Feature request: Support for proxy protocol for https (haproxy compatible).

Usefull for detecting clients real IP4/IP6 address on webserver or other servers

Please see docs https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

motienko commented 6 years ago

By the way, nginx and maybe some other servers support only proxy protocol v1 at nowdays. So this feature request is only for proxy protocol v1. Or proxy protocol v2 should be selectable by the additional option.