Re: [strongSwan] About finding whether the VPN tunnel is working or not

2009-09-23 Thread Andreas Steffen
Yeah, this should work. Andreas bhanushali_bhav...@emc.com wrote: > Hello All , > The following is the situation : > > 1] I am writing code to check whether VPN tunnels are working or not in > my system > > 2] So I do "ipsec status" and it shows me some output . I

[strongSwan] About finding whether the VPN tunnel is working or not

2009-09-23 Thread Bhanushali_Bhavesh
Hello All , The following is the situation : 1] I am writing code to check whether VPN tunnels are working or not in my system 2] So I do "ipsec status" and it shows me some output . I am thinking of grepping for "ESTABLISHED" and "INSTALLED" and If I find these wor