summaryrefslogtreecommitdiffstats
path: root/fs/qnx6
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-09-04 00:19:40 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-04 14:53:20 -0400
commit58c0ecfd8d9871cfa35bcdbf3e7b3ee9ca62ea67 (patch)
treee499cc587c7609380ca9c8bf75fab219d4c4e22d /fs/qnx6
parente3f5b17047dec4acd8957dad053e70d87f18d97e (diff)
downloadlinux-58c0ecfd8d9871cfa35bcdbf3e7b3ee9ca62ea67.tar.bz2
net: ipv6: mld: implement RFC3810 MLDv2 mode only
RFC3810, 10. Security Considerations says under subsection 10.1. Query Message: A forged Version 1 Query message will put MLDv2 listeners on that link in MLDv1 Host Compatibility Mode. This scenario can be avoided by providing MLDv2 hosts with a configuration option to ignore Version 1 messages completely. Hence, implement a MLDv2-only mode that will ignore MLDv1 traffic: echo 2 > /proc/sys/net/ipv6/conf/ethX/force_mld_version or echo 2 > /proc/sys/net/ipv6/conf/all/force_mld_version Note that <all> device has a higher precedence as it was previously also the case in the macro MLD_V1_SEEN() that would "short-circuit" if condition on <all> case. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/qnx6')
0 files changed, 0 insertions, 0 deletions