detect final tunnel setup

Gernot Hillier gernot.hillier at siemens.com
Mon Feb 5 03:43:22 PST 2018


Hi there!

I'm looking for a way to detect when tunnel setup is finished, i.e.
vpnc-script completed its tasks and tun-device as well as all routes are
setup.

My first guess was waiting until "openconnect -b" forks, but it seems
the vpnc_script is run in openconnect_mainloop already in the background.

Did I overlook anything or is there currently no mechanism to get this
information? So my best bet would be to add some custom (D-Bus?)
notification to my vpnc-script right?

-- 
Gernot Hillier
Siemens AG, Corporate Competence Center Embedded Linux



More information about the openconnect-devel mailing list