Skip to content
List Connected Connections (Feature Req?)
Got a problem with Viscosity or need help? Ask here!
I understand that Viscosity doesn't have a direct way of listing currently-connected connections -- one needs to loop through all connections, get state ( posting.php?mode=quote&f=9&p=7534 )
That gets unnecessarily tedious when one has 1-2K connections.
I use single-adapter mode (see the 1-2K possible connections above), and a direct method to get currently-connected connections would be really useful so I can close any current connection before opening a new one.
Is this a feature you could add?
I suppose I could cache the name of the last-used connection, etc, etc, but it's not foolproof; better I get that info directly from Viscosity.
Hmm, wait, you use parts of openvpn/client under the covers, correct? Perhaps I could interrogate its admin/management port or some such?
For something much more low-brow, in your opinion would it be better to interrogate 1-2K connections to find the 1 connected one, or simply kill/restart Viscosity.exe?
Pls advise.
That gets unnecessarily tedious when one has 1-2K connections.
I use single-adapter mode (see the 1-2K possible connections above), and a direct method to get currently-connected connections would be really useful so I can close any current connection before opening a new one.
Is this a feature you could add?
I suppose I could cache the name of the last-used connection, etc, etc, but it's not foolproof; better I get that info directly from Viscosity.
Hmm, wait, you use parts of openvpn/client under the covers, correct? Perhaps I could interrogate its admin/management port or some such?
For something much more low-brow, in your opinion would it be better to interrogate 1-2K connections to find the 1 connected one, or simply kill/restart Viscosity.exe?
Pls advise.
Hi Tek,
Killing Viscosity.exe would most likely leave the openvpn connection intact, you would need to kill openvpn.exe.
We'll add your request to our feature list.
Regards,
Eric
Killing Viscosity.exe would most likely leave the openvpn connection intact, you would need to kill openvpn.exe.
We'll add your request to our feature list.
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Hi tek,
Viscosity is using the interface so I'm afraid there is not a way to query it. If you have a requirement to use the management interface Viscosity may not suit your requirements.
Regards,
Eric
Viscosity is using the interface so I'm afraid there is not a way to query it. If you have a requirement to use the management interface Viscosity may not suit your requirements.
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
5 posts
Page 1 of 1