8000 get_local_socket_name() does not always work · Issue #35 · vrpn/vrpn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

get_local_socket_name() does not always work #35

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

Open
russell-taylor opened this issue Jan 15, 2015 · 1 comment
Open

get_local_socket_name() does not always work #35

russell-taylor opened this issue Jan 15, 2015 · 1 comment

Comments

@russell-taylor
Copy link
Contributor

Isop W. Alexander sent a report showing that a machine with two ports (172.28.0.10 and 192.168.191.130) sent a connection request that came from the 172 IP address but that had the name of the 192 interface in the message as the host to call back. This turned out to be unroutable, so the server failed to call back on the correct IP address. Presumably, this happens when the gateway is configured to be a single outgoing NIC. This was on a Linux box. We need a more reliable way to select the outgoing NIC.

This function was added to keep Windows from complaining about trying to make network connections for the case where we're using loopback. It does work for that case.

@russell-taylor
Copy link
Contributor Author

The problem is the inconsistency between IP address being used and the IP address the far side is told to call back. This may have existed before we switched to get_local_socket_name(), and the problem may be that the server is connecting to the IP it heard from rather than the one requested. Before, since the host was listening on all IPs, this would have worked (but perhaps should not have).

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
0