aboutsummaryrefslogtreecommitdiff
path: root/include/misc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-02-04 13:31:17 +0100
committerMoyster <oysterized@gmail.com>2017-11-18 19:27:06 +0100
commit6c40538dcf66e222611a7f7a19e27d28ca29f0c8 (patch)
tree26b60fe03e7047a50863ff8c59d79508fbbd4675 /include/misc
parente408f441aa93ad9c36a50a339c7177a572fb88db (diff)
ipv4: add option to drop unicast encapsulated in L2 multicast
In order to solve a problem with 802.11, the so-called hole-196 attack, add an option (sysctl) called "drop_unicast_in_l2_multicast" which, if enabled, causes the stack to drop IPv4 unicast packets encapsulated in link-layer multi- or broadcast frames. Such frames can (as an attack) be created by any member of the same wireless network and transmitted as valid encrypted frames since the symmetric key for broadcast frames is shared between all stations. Additionally, enabling this option provides compliance with a SHOULD clause of RFC 1122. Reviewed-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: danielhk <daniel_hk>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions