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

Use peer_addr of incoming daemon connection for registration #1

Merged

Conversation

phil-opp
Copy link

@phil-opp phil-opp commented Apr 17, 2024

We are not interested in the local bind address of the daemon. Instead, we want to use the IP address under which the daemon is available from other machines.

This should also avoids the issue that connecting to 0.0.0.0 is not possible on Windows (we want to use 0.0.0.0 as default bind address).

Limitations

Note that this solution does not cover port remappings yet. For example, a router between the daemon and the internet might map the daemon's listen port to some other port number. In this case, the port number in the Register message would be incorrect. To fix this, we would need to make the advertised port number configurable independently of the daemon's bind port number.

…ocket

We are not interested in the local bind address of the daemon. Instead, we want to use the IP address under which the daemon is available from other machines.

This should also avoids the issue that connecting to 0.0.0.0 is not possible on Windows (we want to use 0.0.0.0 as default bind address).
@Michael-J-Ward Michael-J-Ward merged commit 01707fc into Michael-J-Ward:configurable-bind-mounts Apr 17, 2024
Michael-J-Ward pushed a commit that referenced this pull request Aug 13, 2024
…l-method

Add derivation fo python ros2 bridge
Michael-J-Ward pushed a commit that referenced this pull request Aug 13, 2024
Fix for action PR: Return data from `downcast` function
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

Successfully merging this pull request may close these issues.

2 participants