I have updated my strongswan to git HEAD and tested it. The patch fixes the problem.
Thanks Gerald > -----Original Message----- > From: Tobias Brunner [mailto:[email protected]] > Sent: Tuesday, November 13, 2012 9:14 AM > To: Gerald Richter - ECOS > Cc: [email protected] > 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 _______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
