Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong explanation for gateway ports option #108

Open
colemar opened this issue Jun 5, 2024 · 0 comments
Open

Wrong explanation for gateway ports option #108

colemar opened this issue Jun 5, 2024 · 0 comments

Comments

@colemar
Copy link

colemar commented Jun 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant