[strongSwan] Crash when eth goes down and vpn connection is still established

Tobias Brunner tobias at strongswan.org
Tue Nov 13 09:14:03 CET 2012


Hi Gerald,

> I get an endless recursion in function get_route. It seems that the
> eth interface is already down, but the default gateway is still there
> (at least route->gtw contains the ip addr of the default gateway, how
> it was before the eth was disconnected).
> 
> Any idea how to fix this?

The patch at [1] should fix the problem in your specific situation.  A
second patch [2] also in more complicated scenarios (e.g. two such
routes with no addresses assigned to the interfaces).

Regards,
Tobias

[1] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=5be88ca6
[2] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=cbd52e7d




More information about the Users mailing list