securesocketfunneling / ssf

Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell, standalone and cross platform

Home Page:https://securesocketfunneling.github.io/ssf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong explanation for gateway ports option

colemar opened this issue · comments

This option description in the main page is misleading:
-g: Allow gateway ports. Allow client to bind local sockets for a service to a specific address rather than "localhost"
Actually, it should read:
-g: Allow gateway ports. Allow client to bind local sockets for a service to a specific address rather than "any" address
because this command line triggers a warning

sudo ./ssf 127.0.0.1 -p 8011 -U 127.0.0.1:53:127.0.0.53:53 -v trace
...
[warning] [microservice] [datagram_listener]: cannot listen on network interface <127.0.0.1> without gateway ports option
...

while this does not
sudo ./ssf 127.0.0.1 -p 8011 -U 127.0.0.1:53:127.0.0.53:53 -g -v trace

I guess this is not important tough, because the warning is also wrong, in fact the client proceeds to listen on 127.0.0.1:53 nonetheless.