-
Notifications
You must be signed in to change notification settings - Fork 194
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
YARP IP Theft discussion #2520
Comments
My proposition for this problem was to check the IP of the module opening the port. If a module wants to register a port, but that port is already registered by another address, then something is likely going wrong. I don't know whether this check should be done by the name server, or inside the This would still allow avoiding running |
Related code (shared by @drdanz), currently commented out: yarp/src/libYARP_serversql/src/yarp/serversql/impl/NameServiceOnTriples.cpp Lines 209 to 245 in c6adf01
|
The code above assumes that the port is able to reply to the As discussed, the limits in this approch are:
The proposal by @S-Dafarra is reasonable, and will fix the delay in case of a restart, but it is still problematic for non-YARP ports. There are anyway several other safety related issues, for example, anyone can just call |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
There is an unclear aspect of how the YARP port registration works, quoting @Nicogene from robotology/icub-tech-support#999 (comment):
We opened this issue to understand if this aspect can be improved, either by changing the behavior or by just documenting it better.
The text was updated successfully, but these errors were encountered: