RobotWebTools / rosbridge_suite

Server Implementations of the rosbridge v2 Protocol

Home Page:https://robotwebtools.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

address doesn't seem to have an effect in the websocket bridge

dignakov opened this issue · comments

Description
When launching the ros1 bridge, setting the address does not seem to restrict connections on other addresses. For example, setting it to 127.0.0.1 should only allow connections from the same machine, but I'm able to connect from other computers on the network. Similarly, setting it to an address on one network, allows connections from computers on that network and from other networks.

I compared this with the Foxglove bridge, which works as expected.

Is this a bug, or am I doing something wrong?

  • Library Version: built from current ros1 branch
  • ROS Version: Noetic
  • Platform / OS: Ubuntu 20.04

Steps To Reproduce
(1) start roscore
(2) start anything that publishes data
(3) roslaunch the websocket bridge with an ip address speciefied

Expected Behavior
(4) connections should only be accepted on that interface

Actual Behavior
(4) connections are accepted on any interface