qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 br


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken
Date: Mon, 8 Apr 2013 13:12:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Apr 01, 2013 at 11:32:29AM +0200, Samuel Thibault wrote:
> Mike Lovell, le Mon 01 Apr 2013 00:35:03 -0600, a écrit :
> > On 03/08/2013 05:47 AM, Samuel Thibault wrote:
> > >Samuel Thibault, le Fri 08 Mar 2013 10:08:55 +0100, a écrit :
> > >>There does exist some unique address, which is returned by recvfrom,
> > >>I'll have a look at how to get access to it.
> > >Ah, no, it's not unique... It's just the host IP address and the same
> > >port as the multicast address, so it'll be the same for all qemus on the
> > >same host.  I've checked how Linux bounces the datagram, it's through
> > >the loopback interface, and thus dispatched over all listeners without
> > >distinction. I don't see any way to get the information that the packet
> > >comes from us, except using the ethernet content.
> > 
> > one solution is to actually use two sockets. one that is bound to the
> > multicast address, which receives the multicast packets, and another that is
> > just bound to any ephemeral udp port, which is used for sending packets.
> 
> Mmm, that should work indeed.
> 
> > if the group is interested is a solution like this, i can probably make some
> > time over the next couple days to cook up a patch. thoughts?
> 
> Yes, please.

Yeah, great.  It's a real problem that people are hitting so it would be
worth fixing.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]