summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorEric Dumazet2011-07-22 06:25:58 +0200
committerDavid S. Miller2011-07-22 06:25:58 +0200
commit87c48fa3b4630905f98268dde838ee43626a060c (patch)
tree1374b52ed0514682f836cfa0a6a683eb549c9613 /net/ieee802154
parentipv6: unshare inetpeers (diff)
downloadkernel-qcow2-linux-87c48fa3b4630905f98268dde838ee43626a060c.tar.gz
kernel-qcow2-linux-87c48fa3b4630905f98268dde838ee43626a060c.tar.xz
kernel-qcow2-linux-87c48fa3b4630905f98268dde838ee43626a060c.zip
ipv6: make fragment identifications less predictable
IPv6 fragment identification generation is way beyond what we use for IPv4 : It uses a single generator. Its not scalable and allows DOS attacks. Now inetpeer is IPv6 aware, we can use it to provide a more secure and scalable frag ident generator (per destination, instead of system wide) This patch : 1) defines a new secure_ipv6_id() helper 2) extends inet_getid() to provide 32bit results 3) extends ipv6_select_ident() with a new dest parameter Reported-by: Fernando Gont <fernando@gont.com.ar> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions