https://epics.anl.gov/core-talk/2022/msg00456.php
Mentions #93 as fixing an "escape" of 224.0.0.128 multicast traffic which should be limited to the loopback interface. A more complete fix should treat failure to set IP_MULTICAST_IF as a fatal error. Instead, currently a message is logged, and the socket is used anyway.
|
try { |
|
InetAddress group = InetAddress.getByName("224.0.0.128"); |
|
localBroadcastAddress = new InetSocketAddress(group, broadcastPort); |
|
searchTransport.join(group, localNIF); |
|
|
|
// NOTE: this disables usage of multicast addresses in EPICS_PVA_ADDR_LIST |
|
searchTransport.setMutlicastNIF(localNIF, true); |
|
|
|
logger.config("Local multicast enabled on " + localBroadcastAddress + ":" + broadcastPort |
|
+ " using " + localNIF.getDisplayName() + "."); |
|
} catch (Exception th) { |
|
logger.log(Level.CONFIG, "Failed to initialize local multicast, funcionality disabled.", th); |
|
} |
https://epics.anl.gov/core-talk/2022/msg00456.php
Mentions #93 as fixing an "escape" of
224.0.0.128multicast traffic which should be limited to the loopback interface. A more complete fix should treat failure to setIP_MULTICAST_IFas a fatal error. Instead, currently a message is logged, and the socket is used anyway.epicsCoreJava/pvAccessJava/src/org/epics/pvaccess/client/impl/remote/ClientContextImpl.java
Lines 461 to 473 in 3a32ca5