I made some progress since the introduction of Viperin-Z. Most notably:
- Version 0.1.2 fixes the uninstall and vpnc detection bugs
- An experimental version 0.1.3 is now available from the feed which adds support for vpnc options "Enable Single DES", "UDP Encapsulate" and "Disable NAT Traversal". Experimental, because my provider doesn't require any of these, so I can't try them out.
To answer the question on how a successful connection is detected: I check /var/run/vpnc/pid for a vpnc process ID, then verify if a process with the given ID really exists.
~ pipacs.