You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eugene Petrenko (JIRA)" <ji...@apache.org> on 2016/02/24 18:29:18 UTC
[jira] [Created] (SSHD-656) Support The PROXY protocol
Eugene Petrenko created SSHD-656:
------------------------------------
Summary: Support The PROXY protocol
Key: SSHD-656
URL: https://issues.apache.org/jira/browse/SSHD-656
Project: MINA SSHD
Issue Type: New Feature
Reporter: Eugene Petrenko
Load Balancing and other higher availability services are included between client and SSHD server and works on TCP level. This makes an actual client address shown in the SSHD server to be a load balancer address, not a real client address. This makes it hard to use SSHD for multi-node production scenarios.
There are several ways to solve the issue.
The first one is to include complex TCP routing to have specific packets delivered correctly. This is too hard to setup
It looks like using {{The PROXY Protocol}} is the possible, easy and more or less standard way to pass actual client/server addresses to the server over TCP. The protocol is implemented by a number of TCP-based servers (including nginx, Amazon Load Balancer, Apache, github enterprise, see the link below for details)
Protocol specification is here
http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)