Skip to content

how to limit SharedMemory feature to localhost only #2721

Answered by EduPonz
keith4ever asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @keith4ever ,

I'm not sure completely sure I understand what you mean, but I'll make a guess. I take you want to limit DDS communication to the host, and that you do not want data to be exchanged between different machines because you have somehow duplicated nodes that are not meant to communicate with one another, is that correct?

Being the shared memory transport (SHM) an intra-machine IPC mechanism, it usage is always limited to the local host. However, Fast DDS Domain Participants have, by default, two different transports enabled: SHM and UDPv4. This is the reason why you're seeing data going into your LAN. To achieve machine communication isolation, you have several options:

  • Hav…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jespersmith
Comment options

Answer selected by JLBuenoLopez
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants