Wrong explanation for gateway ports option
colemar opened this issue · 0 comments
colemar commented
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.