-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about network matching algorithms #4848
Comments
Hi @Heyangq, Since 192.168.2.x is unreachable for host3, you can try to set
this way host3 will filter-out that IP address before trying to send the data. For more information about it have a look to the docs. |
I also tried the above solution, but there was still blocking, still caught the sendto function blocking from 1.x to 2.x |
|
Unfortunately, 2.1.x of Fast DDS is End-Of-Life, consequently we don't support it anymore. The only possibility is to use allowist or you could try to set |
Is there an already existing issue for this?
Expected behavior
Multi-host communication does not depend on whitelists
Is there a strategy to prevent UDP sendto from blocking?
Current behavior
udp_transport->interface_allowlist.emplace_back("eth2eth", NetmaskFilterKind::OFF);
udp_transport->interface_allowlist.emplace_back("lo", NetmaskFilterKind::OFF);
qos.transport().user_transports.push_back(udp_transport);
qos.transport().use_builtin_transports = false;
The network port on network segment 1.x is set in my whitelist, excluding network segment 2.x
This issue was fixed after I set the whitelist of the Nic name
But I don't want this whitelist to restrict my network communications
Steps to reproduce
The structure of my network is shown below:
I tried using host3 to publish data, host1 and host2 subscribe, but it blocked unexpectedly
I used strace to look at the system function execution of the process and found that it was blocking in UDP sendto
host3 attempts to send data to the IP address of 192.168.2.x, but the IP address is unreachable
Is this a BUG in the DDS internal network matching mechanism?
Fast DDS version/commit
2.14.0
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: