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

Nodemanager using natpunchaffix should ignore nodeman.cfg ports list #74

Open
choksi81 opened this issue May 24, 2014 · 0 comments
Open
Assignees

Comments

@choksi81
Copy link
Contributor

Amongst other things, the nodemanager takes from its configuration file a list of "well-known" (i.e. typical for Seattle) TCP ports to listen on. If the node has a public IP address, the nodemanager will listen on that address and one of the ports for incoming TCP connections. It will also advertise that IP and port under the user keys of the owner(s) and user(s) of the node.

If the node has a private IP address, it needs to use a NAT forwarder as incoming connections from the public Internet won't be routed to it. Currently, the nodemanager also uses a port from the ports list as the source port for its outgoing connection to the NAT forwarder.This doesn't make sense. That port is never visible to any client trying to connect to the node via the forwarder. Just use a random ephemeral port.

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

3 participants