ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This has been asked before and as far as I know this is not possible.

ROS uses the regular TCP/IP stack of your OS and does not do anything special to request specific ports.

You could see whether limiting the ephemeral port range used by Linux works, but know that limiting it as you are suggesting can potentially lead to problems.

This has been asked before and as far as I know this is not possible.

ROS uses the regular TCP/IP stack of your OS and does not do anything special to request specific ports.

You could see whether limiting the ephemeral port range used by Linux works, but know that limiting it as you are suggesting can potentially lead to problems.


Edit: see #q12206 for a related / basically a duplicate of this question.

This has been asked before and as far as I know this is not possible.

ROS uses the regular TCP/IP stack of your OS and does not do anything special to request specific ports.

You could see whether limiting the ephemeral port range used by Linux works, but know that limiting it as you are suggesting can potentially lead to problems.


Edit: see #q12206 for a related / basically a duplicate of this question.


Edit2:

Since our application is going to be in public domain [..]

do you mean public domain as in licensing, or on a publicly accessible IP?

If the latter: you probably already know, but there is no security (ie: authentication, auditing, encryption, etc) in ROS1, so make sure you take sufficient measures to protect your infrastructure.

Would a VPN not work?