Messages in this thread | | | Subject | Re: [PATCH] make ipv4 multicast packets only get delivered to sockets that are joined to group | From | David Stevens <> | Date | Wed, 13 Sep 2006 07:32:22 -0700 |
| |
netdev-owner@vger.kernel.org wrote on 09/13/2006 07:13:55 AM:
> Only > the socket that is bound to the group address to which the packet was > sent should get it.
This is not true on any OS I'm aware of, including the original sockets multicast implementation on early BSD.
Multicast group membership is per-interface, not per-socket. Joining a group on any socket on the machine allows packets for that group to be delivered on the interface where it was joined.
Delivery of packets to a socket is determined by the binding, and INADDR_ANY means "any".
IPv6 behaves the same way. +-DLS
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |