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
2014-01-13 11:22:55 -08:00
2013-06-03 00:07:42 -07:00
2014-01-02 00:08:38 -05:00
2013-12-26 13:43:21 -05:00
2013-12-06 07:24:39 +01:00
2014-01-14 15:15:25 -08:00
2013-10-29 06:39:42 +01:00
2013-10-18 13:53:59 -04:00
2013-12-28 17:01:46 -05:00
2013-12-10 17:54:23 -05:00
2013-12-28 17:01:46 -05:00
2013-11-15 09:32:20 +09:00
2014-01-06 20:28:34 -05:00
2014-01-16 16:08:27 -08:00
2014-01-13 11:22:55 -08:00
2014-01-14 15:15:25 -08:00
2014-01-14 15:15:25 -08:00
2014-01-13 22:35:46 -08:00
2013-10-23 17:01:41 -04:00
2013-10-19 19:45:35 -04:00
2013-12-29 16:34:25 -05:00
2013-10-08 23:19:24 -04:00
2013-12-28 17:03:20 -05:00
2014-01-13 11:22:54 -08:00
2013-12-17 16:36:21 -05:00
2014-01-18 23:08:02 -08:00
2013-08-08 22:24:59 -07:00
2014-01-02 03:30:36 -05:00
2014-01-14 15:03:33 -08:00
2014-01-19 19:53:18 -08:00
2013-12-17 16:36:21 -05:00
2014-01-21 16:48:18 -08:00
2014-01-18 23:08:02 -08:00
2013-06-03 00:07:42 -07:00
2013-04-02 14:35:33 -04:00
2014-01-18 23:08:02 -08:00
2014-01-18 00:55:41 -08:00
2013-09-03 21:41:43 -04:00
2014-01-06 20:28:34 -05:00
2013-04-18 20:27:55 +02:00
2014-01-21 16:59:19 -08:00
2014-01-02 03:30:36 -05:00
2013-11-28 18:47:51 -05:00
2014-01-18 23:04:16 -08:00
2014-01-13 11:22:54 -08:00
2013-12-26 13:43:21 -05:00
2014-01-13 11:22:54 -08:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2012-01-11 12:56:06 -08:00
2013-11-04 19:57:47 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-11-04 19:57:59 -05:00
2013-12-29 16:34:24 -05:00
2014-01-21 16:52:31 -08:00
2013-11-04 19:57:59 -05:00
2013-12-05 21:01:01 -05:00
2014-01-18 00:55:41 -08:00
2014-01-17 17:56:33 -08:00
2014-01-14 18:53:48 -08:00
2013-12-29 16:34:24 -05:00
2013-12-26 13:43:21 -05:00
2013-11-04 19:57:59 -05:00
2013-10-29 22:50:41 -04:00
2013-11-04 19:57:59 -05:00
2013-10-19 19:12:11 -04:00
2013-11-04 19:57:59 -05:00
2013-03-21 11:47:50 -04:00
2013-12-26 13:43:55 -05:00
2014-01-06 16:34:34 -05:00
2012-03-11 23:42:51 -07:00
2013-04-19 14:57:56 -04:00
2013-10-19 19:12:11 -04:00
2014-01-02 19:06:47 -05:00
2014-01-18 23:04:16 -08:00
2012-03-12 17:05:21 -07:00
2013-02-15 15:10:37 -05:00
2013-12-26 13:43:21 -05:00
2013-09-30 15:24:57 -04:00
2013-08-26 12:40:53 +02:00
2013-11-01 07:08:46 +01:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00