login
Header Space

 
 

Re: [PATCH] RAW6: Do not allow set IPV6_CHECKSUM for ICMPv6 socket

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: YOSHIFUJI Hideaki / <yoshfuji@...>
Cc: <davem@...>, <ellre923@...>, <wangchen@...>, <netdev@...>
Date: Thursday, April 24, 2008 - 11:26 am

Le Thursday 24 April 2008 15:19:53 YOSHIFUJI Hideaki / 吉藤英明, vous avez écrit :

I wonder why RFC3542 forbids the contentious case. Is it a security 
consideration, that userland should not be allowed to create bogus ICMPv6 
packets (IPV6_CHECKSUM can be set after dropping root after opening a raw 
socket, right?), or is it just some random IETF folklore ??

I'd note that my ndisc6 package does call setsockopt(SOL_IPV6, 
ICMPV6_CHECKSUM). Fortunately, it does not check for error values, so I don't 
really care if this is changed.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] RAW6: Do not allow set IPV6_CHECKSUM for ICMPv6 ..., YOSHIFUJI Hideaki / , (Thu Apr 24, 8:19 am)
Re: [PATCH] RAW6: Do not allow set IPV6_CHECKSUM for ICMPv6 ..., Rémi Denis-Courmont, (Thu Apr 24, 11:26 am)
speck-geostationary