|
1004 | 1004 | </participant> |
1005 | 1005 | <!--><--> |
1006 | 1006 |
|
| 1007 | +<!-->PARTICIPANT-NETMASK-FILTER<--> |
| 1008 | +<!-- |
| 1009 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 1010 | +<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> |
| 1011 | +--> |
| 1012 | + <participant profile_name="CustomTcpParticipantNetmaskFilterParticipant"> |
| 1013 | + <rtps> |
| 1014 | + <ignore_non_matching_locators>true</ignore_non_matching_locators> |
| 1015 | + <netmask_filter>ON</netmask_filter> |
| 1016 | + </rtps> |
| 1017 | + </participant> |
| 1018 | +<!--><--> |
| 1019 | + |
| 1020 | +<!-->TRANSPORT-NETMASK-FILTER<--> |
| 1021 | +<!-- |
| 1022 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 1023 | +<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> |
| 1024 | +--> |
| 1025 | + <transport_descriptors> |
| 1026 | + <transport_descriptor> |
| 1027 | + <transport_id>CustomTcpTransportNetmaskFilter</transport_id> |
| 1028 | + <type>TCPv4</type> |
| 1029 | + <netmask_filter>ON</netmask_filter> |
| 1030 | + </transport_descriptor> |
| 1031 | + </transport_descriptors> |
| 1032 | + |
| 1033 | + <participant profile_name="CustomTcpTransportNetmaskFilterParticipant"> |
| 1034 | + <rtps> |
| 1035 | + <useBuiltinTransports>false</useBuiltinTransports> |
| 1036 | + <userTransports> |
| 1037 | + <transport_id>CustomTcpTransportNetmaskFilter</transport_id> |
| 1038 | + </userTransports> |
| 1039 | + <ignore_non_matching_locators>true</ignore_non_matching_locators> |
| 1040 | + </rtps> |
| 1041 | + </participant> |
| 1042 | +<!--><--> |
| 1043 | + |
| 1044 | +<!-->INTERFACES-ALLOWLIST<--> |
| 1045 | +<!-- |
| 1046 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 1047 | +<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> |
| 1048 | +--> |
| 1049 | + <transport_descriptors> |
| 1050 | + <transport_descriptor> |
| 1051 | + <transport_id>CustomTcpTransportAllowlist</transport_id> |
| 1052 | + <type>TCPv4</type> |
| 1053 | + <interfaces> |
| 1054 | + <allowlist> |
| 1055 | + <interface name="wlp59s0" netmask_filter="ON"/> |
| 1056 | + <interface name="192.168.1.10" netmask_filter="OFF"/> |
| 1057 | + </allowlist> |
| 1058 | + </interfaces> |
| 1059 | + </transport_descriptor> |
| 1060 | + </transport_descriptors> |
| 1061 | + |
| 1062 | + <participant profile_name="CustomTcpTransportAllowlistParticipant"> |
| 1063 | + <rtps> |
| 1064 | + <useBuiltinTransports>false</useBuiltinTransports> |
| 1065 | + <userTransports> |
| 1066 | + <transport_id>CustomTcpTransportAllowlist</transport_id> |
| 1067 | + </userTransports> |
| 1068 | + </rtps> |
| 1069 | + </participant> |
| 1070 | +<!--><--> |
| 1071 | + |
| 1072 | +<!-->INTERFACES-BLOCKLIST<--> |
| 1073 | +<!-- |
| 1074 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 1075 | +<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> |
| 1076 | +--> |
| 1077 | + <transport_descriptors> |
| 1078 | + <transport_descriptor> |
| 1079 | + <transport_id>CustomTcpTransportBlocklist</transport_id> |
| 1080 | + <type>TCPv4</type> |
| 1081 | + <interfaces> |
| 1082 | + <blocklist> |
| 1083 | + <interface name="127.0.0.1"/> |
| 1084 | + <interface name="docker0"/> |
| 1085 | + </blocklist> |
| 1086 | + </interfaces> |
| 1087 | + </transport_descriptor> |
| 1088 | + </transport_descriptors> |
| 1089 | + |
| 1090 | + <participant profile_name="CustomTcpTransportBlocklistParticipant"> |
| 1091 | + <rtps> |
| 1092 | + <useBuiltinTransports>false</useBuiltinTransports> |
| 1093 | + <userTransports> |
| 1094 | + <transport_id>CustomTcpTransportBlocklist</transport_id> |
| 1095 | + </userTransports> |
| 1096 | + </rtps> |
| 1097 | + </participant> |
| 1098 | +<!--><--> |
| 1099 | + |
1007 | 1100 | <!-->CONF-TRANSPORT_METAMULTICASTLOCATOR<--> |
1008 | 1101 | <!-- |
1009 | 1102 | <?xml version="1.0" encoding="UTF-8" ?> |
|
1094 | 1187 | <transport_id>CustomTransport</transport_id> |
1095 | 1188 | <type>UDPv4</type> |
1096 | 1189 | <interfaceWhiteList> |
1097 | | - <address>127.0.0.1</address> |
| 1190 | + <address>192.168.1.10</address> |
| 1191 | + <interface>lo</interface> |
1098 | 1192 | </interfaceWhiteList> |
1099 | 1193 | </transport_descriptor> |
1100 | 1194 |
|
|
1110 | 1204 | <maxInitialPeersRange>100</maxInitialPeersRange> |
1111 | 1205 | <interfaceWhiteList> |
1112 | 1206 | <address>192.168.1.41</address> |
1113 | | - <address>127.0.0.1</address> |
| 1207 | + <interface>lo</interface> |
1114 | 1208 | </interfaceWhiteList> |
1115 | 1209 | <wan_addr>80.80.55.44</wan_addr> |
1116 | 1210 | <output_port>5101</output_port> |
|
1279 | 1373 |
|
1280 | 1374 | <listenSocketBufferSize>8192</listenSocketBufferSize> |
1281 | 1375 |
|
| 1376 | + <netmask_filter>ON</netmask_filter> |
| 1377 | + |
1282 | 1378 | <builtin> |
1283 | 1379 | <!-- BUILTIN --> |
1284 | 1380 | </builtin> |
|
3803 | 3899 | <receiveBufferSize>8192</receiveBufferSize> |
3804 | 3900 | <maxMessageSize>16384</maxMessageSize> |
3805 | 3901 | <maxInitialPeersRange>100</maxInitialPeersRange> |
| 3902 | + <netmask_filter>AUTO</netmask_filter> |
| 3903 | + <interfaces> |
| 3904 | + <allowlist> |
| 3905 | + <interface name="wlp59s0" netmask_filter="ON"/> |
| 3906 | + </allowlist> |
| 3907 | + <blocklist> |
| 3908 | + <interface name="127.0.0.1"/> |
| 3909 | + <interface name="docker0"/> |
| 3910 | + </blocklist> |
| 3911 | + </interfaces> |
3806 | 3912 | <interfaceWhiteList> |
3807 | 3913 | <address>192.168.1.41</address> |
3808 | | - <address>127.0.0.1</address> |
| 3914 | + <interface>lo</interface> |
3809 | 3915 | </interfaceWhiteList> |
3810 | 3916 | <TTL>250</TTL> |
3811 | 3917 | <non_blocking_send>false</non_blocking_send> |
|
0 commit comments