Patrick McHardy ee51b1b6ce [XFRM]: IPsec tunnel wildcard address support
When the source address of a tunnel is given as 0.0.0.0 do a routing lookup
to get the real source address for the destination and fill that into the
acquire message. This allows to specify policies like this:

spdadd 172.16.128.13/32 172.16.0.0/20 any -P out ipsec
        esp/tunnel/0.0.0.0-x.x.x.x/require;
spdadd 172.16.0.0/20 172.16.128.13/32 any -P in ipsec
        esp/tunnel/x.x.x.x-0.0.0.0/require;

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-01-13 14:34:36 -08:00
..
2006-01-13 14:29:07 -08:00
2006-01-13 14:29:07 -08:00
2006-01-11 18:42:14 -08:00
2006-01-13 14:29:07 -08:00
2006-01-13 14:29:07 -08:00
2006-01-11 18:42:14 -08:00
2006-01-13 14:29:07 -08:00
2006-01-13 14:29:07 -08:00
2006-01-07 13:24:25 -08:00
2006-01-13 14:29:07 -08:00
2006-01-13 14:29:07 -08:00
2006-01-13 14:29:07 -08:00
2005-10-25 23:54:01 -02:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2005-08-29 16:01:32 -07:00
2006-01-13 14:29:07 -08:00