[sslh] sslh not working together with curl

Matt Smith sslh at xtaz.co.uk
Tue Feb 10 16:47:52 CET 2015


On Feb 10 16:31, Yves Rutschle wrote:
>On Tue, Feb 10, 2015 at 10:24:27AM +0100, Matthias Fechner wrote:
>> If I try to add a new line in listen section like
>>     { host: "IPv6IP; port: "443"; }
>>
>> For the IPv6IP I used a normal IPv6 IP like 2a01:138:....
>>
>> If I insert the second line sslh refuses to start so I guess sslh cannot
>> handle IPv6?
>
>It should work fine with IPv6, although I am not completely
>sure it would support both IPv6 ad IPv4 (I don't see why
>not, but I don't use IPv6 myself yet, and that was added
>quite a while ago so I forgot if I tested that
>specifically).
>
>-> Does it work if you ruun sslh on IPv6 only (remove the
>IPv4 lin)?
>-> What does it say when it "refuses to start" (run it with
>-f -v to have as much info as possible).
>

For your info I run it with both v4 and v6 and it works fine. But I 
configure it on the command line rather than using the config file. So I 
do something like this:

sslh-select -u nobody -n -p 1.2.3.4:443 -p 2001:123:123::1:443 -t 2 
--on-timeout ssh --tls 127.0.0.1:443 --http 127.0.0.1:80 --ssh 
127.0.0.1:22 --openvpn 127.0.0.1:1194 --anyprot 127.0.0.1:443

It makes it listen on both v4 and v6, but then just forwards everything 
to v4. What would be nice actually is if you could have an option to 
forward v4 to v4 and v6 to v6, but then I guess the command line would 
get rather complicated for not much point.


-- 
Matt



More information about the sslh mailing list