Weird socket configuration?
The feedback is part of the Ubuntu Security team review done by Chris Coulson on https://bugs.launchpad.net/ubuntu/+source/gssdp/+bug/1799977
The review was done on 1.2.0
'Unless I've misunderstood something, the way that the sockets are configured seems a bit weird and I think there might be a bug. The IP_MULTICAST_IF sockopt is set (via gssdp_socket_mcast_interface_set) and IP_ADD_MEMBERSHIP is set (via g_socket_join_multicast_group) on the same socket - the one that receives multicast packets. Shouldn't the IP_MULTICAST_IF sockopt be set on the other 2 sockets (the ones sending multicast packets) instead?'