Hannes Frederic Sowa
82b276cd2b
ipv6: protect protocols not handling ipv4 from v4 connection/bind attempts
...
Some ipv6 protocols cannot handle ipv4 addresses, so we must not allow
connecting and binding to them. sendmsg logic does already check msg->name
for this but must trust already connected sockets which could be set up
for connection to ipv4 address family.
Per-socket flag ipv6only is of no use here, as it is under users control
by setsockopt.
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-21 16:59:19 -08:00
..
2014-01-09 23:25:48 +01:00
2013-08-31 22:30:00 -04:00
2014-01-19 19:55:50 -08:00
2013-09-04 14:14:53 -04:00
2014-01-19 17:12:31 -08:00
2013-12-06 12:37:56 -05:00
2013-02-18 14:53:08 -05:00
2014-01-21 16:59:19 -08:00
2013-12-06 12:37:56 -05:00
2013-05-28 23:49:07 -07:00
2013-09-11 15:52:27 -04:00
2014-01-15 15:53:18 -08:00
2014-01-21 16:53:23 -08:00
2013-12-06 07:24:39 +01:00
2013-10-19 19:45:35 -04:00
2014-01-02 03:30:35 -05:00
2014-01-19 17:12:31 -08:00
2014-01-15 15:53:18 -08:00
2013-04-29 13:54:36 -04:00
2013-08-08 22:24:59 -07:00
2014-01-07 16:21:31 -05:00
2014-01-13 11:22:54 -08:00
2014-01-15 15:53:18 -08:00
2014-01-14 14:42:42 -08:00
2014-01-14 17:37:25 -08:00
2013-12-06 12:37:56 -05:00
2014-01-19 19:53:18 -08:00
2013-10-28 20:07:50 -04:00
2013-10-10 12:00:01 +02:00
2014-01-17 18:12:29 -08:00
2013-12-06 12:37:56 -05:00
2013-12-09 20:56:12 -05:00
2013-05-23 11:58:55 +02:00
2013-08-31 22:30:00 -04:00
2014-01-21 16:59:19 -08:00
2013-08-08 22:24:59 -07:00
2013-11-28 18:47:51 -05:00
2014-01-21 16:59:19 -08:00
2013-10-23 17:01:40 -04:00
2014-01-06 17:37:45 -05:00
2014-01-06 17:37:45 -05:00
2013-12-06 07:24:39 +01:00
2014-01-19 17:12:31 -08:00
2014-01-21 16:52:31 -08:00
2013-12-12 13:47:53 -05:00
2013-12-06 12:37:56 -05:00
2013-10-19 19:12:11 -04:00
2013-11-05 22:09:53 -05:00
2014-01-19 19:53:18 -08:00
2013-05-11 16:26:38 -07:00
2013-12-06 12:37:56 -05:00
2013-10-09 13:16:36 +02:00
2013-08-26 12:40:53 +02:00
2013-11-01 07:08:46 +01:00
2013-08-14 13:07:12 +02:00
2013-12-06 12:37:56 -05:00