Hi David,

Le Mardi 19 Janvier 2010 14:17:44, David Leadbeater a écrit :
> Hi,
> 
> I've been using haproxy to achieve a result similar to sslh[1].
> 
> The relevant part of the config looks like this:
> 
>   listen ssl :443
>     tcp-request inspect-delay 2s
>     acl is_ssl req_ssl_ver 2:3.1
>     tcp-request content accept if is_ssl
>     use_backend ssh if !is_ssl
>     server www-ssl :444
> 
>   backend ssh
>     mode tcp
>     server ssh :22
> 
> This seems to work fine on 1.4-dev6, however on version 1.3.22 it
> doesn't seem to work. It's not a huge issue as I don't mind using the
> development version, but I just wondered if this was a known bug in
> 1.3.22?

This is part of the development made by Willy at the beginning of the 1.4 
branch.
In versions 1.3.x, use_backend is only available for http mode, but since 
1.4-dev1 it's also available for tcp mode.

See this commit for more details : 
http://haproxy.1wt.eu/git?p=haproxy.git;a=commit;h=1d0dfb155df56f256b615049a0d9333595a35501


-- 
Cyril Bonté

Reply via email to