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

richter at ecos.de richter at ecos.de
Tue Nov 13 11:54:50 CET 2012


I have updated my strongswan to git HEAD and tested it. The patch fixes the problem.

Thanks

Gerald


> -----Original Message-----
> From: Tobias Brunner [mailto:tobias at strongswan.org]
> Sent: Tuesday, November 13, 2012 9:14 AM
> To: Gerald Richter - ECOS
> Cc: users at lists.strongswan.org
> Subject: Re: [strongSwan] Crash when eth goes down and vpn connection is
> still established
> 
> 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