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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0905291008300.17436@gentwo.org>
Date:	Fri, 29 May 2009 10:12:18 -0400 (EDT)
From:	Christoph Lameter <cl@...ux-foundation.org>
To:	Neil Horman <nhorman@...driver.com>
cc:	Nivedita Singhvi <niv@...ibm.com>, netdev <netdev@...r.kernel.org>,
	David Stevens <dlstevens@...ibm.com>,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] Multicast socket option

On Fri, 29 May 2009, Neil Horman wrote:

> > diff -urN linux-2.6.29.2/net/ipv4/igmp.c linux-2.6.29.2.new/net/ipv4/igmp.c
> > --- linux-2.6.29.2/net/ipv4/igmp.c	2009-04-27 13:37:11.000000000 -0400
> > +++ linux-2.6.29.2.new/net/ipv4/igmp.c	2009-05-18 16:22:33.000000000 -0400
> > @@ -2196,7 +2196,7 @@
> > 			break;
> > 	}
> > 	if (!pmc)
> > -		return 1;
> > +		return inet->mc_all;
>
> This change also filters out broadcasts sent to sockets listening on a given
> port.  Is that what you want?

Look at the beginning of the function:

   if (!ipv4_is_multicast(loc_addr))
                return 1;


will return 1 for broadcast.

--
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