juniper-vpn-py icon indicating copy to clipboard operation
juniper-vpn-py copied to clipboard

force python2, add basic matrixcard support

Open mindrunner opened this issue 9 years ago • 3 comments

Main reason for this pull request is extended 2-Factor support. My organization uses matrixcards for auth. Server gives me an index and I have to enter the key. This patch enables parsing the webform and shows the matrixcard index on CLI. No error checking yet, nothing. Works for me, but dont know about any other setups out there. Happy to improve if needed for getting this upstream. Furthermore:

some ssl-context stuff i dont understand from: https://github.com/dnschneid/crouton/wiki/Juniper-Junos-Pulse-VPN-with-OpenConnect

python2 in shebang, cus script fails when running on a python3 default system.

mindrunner avatar Nov 14 '16 14:11 mindrunner

Added Patch from @jlinton to automatically disconnect existing/stale connections.

mindrunner avatar Nov 14 '16 15:11 mindrunner

@mindrunner if you don't have time I am happy to split this up into three pull requests to Russ can pull it in, let me know.

johnou avatar May 17 '17 08:05 johnou

I am not (or barely) using this at the moment and Pulse is end of life in my company in favour of a absolutely non working Citrix Netscaler Setup... Feel free to make whatever you like to my code and get it upstream!

mindrunner avatar May 31 '17 16:05 mindrunner