TCP: check min TTL on received ICMP packets
commit97e3ecd112ba45eb217cddab59f48659bc15d9d0
authorstephen hemminger <shemminger@vyatta.com>
Thu, 18 Mar 2010 11:27:32 +0000 (18 11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Mar 2010 04:00:42 +0000 (19 21:00 -0700)
tree2e50eb442323387fd998e99ec560f58f1cdaf54e
parent10414444cb8a8ee8893e00390b7cf40502e28352
TCP: check min TTL on received ICMP packets

This adds RFC5082 checks for TTL on received ICMP packets.
It adds some security against spoofed ICMP packets
disrupting GTSM protected sessions.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c