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
| ||
|
Date: Tue, 4 May 2010 15:26:52 -0700 From: enh <enh@...gle.com> To: David Miller <davem@...emloft.net> Cc: brian.haley@...com, dlstevens@...ibm.com, netdev@...r.kernel.org, netdev-owner@...r.kernel.org Subject: Re: linux kernel's IPV6_MULTICAST_HOPS default is 64; should be 1? On Tue, May 4, 2010 at 14:46, David Miller <davem@...emloft.net> wrote: > From: Brian Haley <brian.haley@...com> > Date: Tue, 04 May 2010 10:40:58 -0400 > >> Specifying -1 for setsockopt(IPV6_MULTICAST_HOPS) should set the socket >> value back to the system default value of IPV6_DEFAULT_MCASTHOPS (1). >> >> Signed-off-by: Brian Haley <brian.haley@...com> > > In cast it wasn't clear from my other reply, I'm not applying this > patch because I intentionally left this behavior there based upon > some comments from Elliot in that this lets developers get the > old default by asking for "-1" explicitly with a setsockopt. (for the record, i don't need that behavior myself, and have no opinion on whether or not it makes sense for you guys... i'll only ever call setsockopt with 0 <= value <= 255. all i need is for the default when i never call setsockopt to be 1. for now, i've added a work-around where i explicitly call setsockopt with 1 when i create the socket.) -- Elliott Hughes - http://who/enh - http://jessies.org/~enh/ -- 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