On Sat, Feb 26, 2011 at 9:34 AM, Willy Tarreau <w...@1wt.eu> wrote:
> If you maintain your own servers, wouldn't you be interested in making
> them support the proxy protocol we've added between stunnel and haproxy ?
> It provides the server with a first line containing the protocol (TCPv4,
> TCPv6), source and destination addresses and ports, and does not require
> a state to consume a response. Also since by definition it can only appear
> on the first line of the connection, there is no risk a client would send
> it. It would work like this :
>
>> Client              HAProxy              Backend
>> *------------------------------------------------*
>> connect -------->      |
>>                        | connect ------------->|
>>                        | PROXY TCP4 <IP> ...-->|
>> *===========================*
>>                        | <---------- 220 Ready |
>> USER ----------->      |
>>                        | USER ---------------> |
>>                        | <-------------250 OK  |
>> <---------250 OK       |
>> *------------------------------------------------*
>
> I'm just checking how we could implement something simple, reliable and
> durable.

As am I. I was not aware of that protocol, but that sounds like it
would fit the bill. Is there any other information about that? Is
HAProxy able to insert that protocol line or is that an extension to
stunnel?

Reply via email to