maxv 89306ac8eb Remove the IN6_IS_ADDR_V4MAPPED checks in the protocol functions. They
are useless, because the IPv6 entry point (ip6_input) already performs
them.

The checks were first added in the protocol functions:

	Wed Dec 22 04:03:02 1999 UTC (18 years, 1 month ago) by itojun

"drop IPv6 packets with v4 mapped address on src/dst.  they are illegal
and may be used to fool IPv6 implementations (by using ::ffff:127.0.0.1 as
source you may be able to pretend the packet is from local node)"

Shortly afterwards they were also added in the IPv6 entry point, but
where not removed from the protocol functions:

	Mon Jan 31 10:33:22 2000 UTC (18 years ago) by itojun

"be proactive about malicious packet on the wire.  we fear that v4 mapped
address to be used as a tool to hose security filters (like bypassing
"local host only" filter by using ::ffff:127.0.0.1)."

OpenBSD did the same a few months ago. FreeBSD has never had these checks.
2018-02-08 19:58:05 +00:00
..
2018-01-26 09:29:15 +00:00
2018-02-04 09:17:54 +00:00
2018-02-08 10:52:05 +00:00
2018-02-08 08:04:45 +00:00
2018-02-08 09:05:16 +00:00
2018-02-08 09:05:16 +00:00
2018-02-08 09:05:16 +00:00
2018-02-08 09:05:16 +00:00
2018-02-07 08:50:13 +00:00