lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <OF9194BEB8.A965F7A7-ON882574A5.00076CE8-882574A5.00084E9D@us.ibm.com>
Date:	Wed, 13 Aug 2008 18:30:44 -0700
From:	David Stevens <dlstevens@...ibm.com>
To:	Daniel Ng <daniel_ng11@...os.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Multicast socket behaviour?

netdev-owner@...r.kernel.org wrote on 08/13/2008 05:08:58 PM:

> David Stevens <dlstevens <at> us.ibm.com> writes:
> > it usually doesn't make sense for an app in a single multicast
> > routing domain to want to join on multiple interfaces
> 
> Now, what if I have a linear network of say 3 Linux boxes, connected 
together 
> simply:
> 
> A----PPP0-------B-----PPP1------C
> 
> All machines are DVMRP multicast routers.
> 
> In order for B to hear the multicast packets originated from both A and 
C, 
> wouldn't B need to join the DVMRP multicast group on *both* its PPP 
interfaces?

        I don't believe so. An application on B can join the
group on either PPP0 or PPP1 and the multicast router on
whichever one you join is responsible for forwarding any
packets for that group to all links that have a listener
for it.
        If B itself is the multicast router, then it may
touch the packets twice, but logically all three hosts are
in the same routing domain and an application can listen
to groups on any link. If your app joins on both links,
I'd expect you to get 2 copies of everything.

        I've done a lot of work on the host-side of multicasting,
but nothing with multicast routing, so I certainly could
be wrong, but I believe an app on B in this case shouldn't
join on both links, either.

                                                        +-DLS


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ