multicast-relay relays SSDP multicast packets (as well as any other multicast/broadcast packets) to all available interfaces.
If multicast-relay is used with --ssdpUnicastAddr, SSDP multicast packets are still relayed to all interfaces. This behaviour is not optimal - SSDP unicast listener is created only for --ssdpUnicastAddr, so unicast responses on interfaces with different addresses will be never received.
Steps to reproduce: run multicast-relay.py --verbose --foreground --interfaces $IFACE1 $IFACE2 --ssdpUnicastAddr $IFACE1_ADDR, send a SSDP multicast packet from another machine connected to the same network as $IFACE1
Expected behaviour: packet is not relayed to $IFACE2 (since the unicast listener listens on $IFACE1)
Actual behaviour: packet is relayed from $IFACE1 to $IFACE2
multicast-relay relays SSDP multicast packets (as well as any other multicast/broadcast packets) to all available interfaces.
If multicast-relay is used with
--ssdpUnicastAddr
, SSDP multicast packets are still relayed to all interfaces. This behaviour is not optimal - SSDP unicast listener is created only for--ssdpUnicastAddr
, so unicast responses on interfaces with different addresses will be never received.Steps to reproduce: run
multicast-relay.py --verbose --foreground --interfaces $IFACE1 $IFACE2 --ssdpUnicastAddr $IFACE1_ADDR
, send a SSDP multicast packet from another machine connected to the same network as$IFACE1
Expected behaviour: packet is not relayed to
$IFACE2
(since the unicast listener listens on$IFACE1
)Actual behaviour: packet is relayed from
$IFACE1
to$IFACE2