YARP IP Theft #2756
Replies: 6 comments 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
-
Related code (shared by @drdanz), currently commented out: yarp/src/libYARP_serversql/src/yarp/serversql/impl/NameServiceOnTriples.cpp Lines 209 to 245 in c6adf01 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Lately, we have been experiencing this more often. A common source of issues is when someone wants to read a port opened by the robot yarprobotinterface. For example, if we do |
Beta Was this translation helpful? Give feedback.
-
As previously discussed, there is no easy solution to the general problem of Regarding your issue about |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions