Skip to content

Wrong explanation for gateway ports option #108

Description

@colemar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions