Skip to content

[foxy] Use interface whitelist for localhost only (#476)#514

Merged
fujitatomoya merged 1 commit intoros2:foxyfrom
fujitatomoya:foxy-backport-20210304-PR-476
Mar 8, 2021
Merged

[foxy] Use interface whitelist for localhost only (#476)#514
fujitatomoya merged 1 commit intoros2:foxyfrom
fujitatomoya:foxy-backport-20210304-PR-476

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

foxy backport of #476

* Use interface whitelist for localhost only

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
@fujitatomoya fujitatomoya changed the title Use interface whitelist for localhost only (#476) [foxy] Use interface whitelist for localhost only (#476) Mar 4, 2021
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@MiguelCompany @richiware

requesting review just in case. i confirmed this fixes the ros2/ros2#1096 (originally ros2/ros2#1052) with foxy repo.

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI looks okay, waiting for the review.

Copy link
Copy Markdown

@mitsudome-r mitsudome-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I have checked on my machine that it fixes the problem when ROS_LOCALHOST_ONLY is set.

Before (listener node is not being able to receive messages from all talkers):

After:

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@mitsudome-r thanks for checking, let's wait it out for a bit. i do need another review on this.

@richiware @MiguelCompany friendly ping for review.

Copy link
Copy Markdown
Collaborator

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @fujitatomoya

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

windows CI is unrelated to this fix, going in.

@fujitatomoya fujitatomoya merged commit 20b3b1e into ros2:foxy Mar 8, 2021
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.

4 participants