[Openswan Users] Facing a problem with updown script

Paul Wouters paul at xelerance.com
Tue Nov 18 11:39:05 EST 2008


On Tue, 18 Nov 2008, Anirudh Kamatgi wrote:

> I have a custom updown script written in perl.
> Whenever this script gets called with 'down-client', I want to parse the
> output of 'ipsec auto --status' inside this script.
> I am assigning the output to a perl array( my @status = `ipsec auto
> --status`; ).
> However, the script hangs at this point.

Does the script rely on DNS at the other end of a tunnle that is down?

> I can see 2 shell processes executing the <path to ipsec>/ipsec/auto command
> and one whack process.
> After I kill the whack process, things get back to normal.

add plutodebug=controlmore and see if the logs say more.

Paul



More information about the Users mailing list