I want to turn on an LED if any vpn connection is up.
   I'd like to minitor every couple seconds, 5 at most.

I can:    ipsec auto --status  and grep for an up connection
but that's a lot of overhead every few seconds.

Does anyone know if IPSec puts anything in /proc that signifies the status of
connections?
It won't do me any good to fiddle the up-down scripts because
the connection could be down due to network or routing problems.




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to