17
0
Commit Graph

39 Commits

Author SHA1 Message Date
94e337f5c2 Commands to connect / disconnect from NU vpn. 2022-05-11 20:03:51 -07:00
1bb65fdf5f Merge branch 'master' of code:nu-vpn-proxy 2022-05-10 16:03:08 -07:00
aaronshaw
b7fca54e99 include an IPV6 address 2020-11-20 11:47:06 -06:00
aaronshaw
40750a034c Merge branch 'master' of code.communitydata.science:nu-vpn-proxy 2020-11-20 11:13:04 -06:00
ee30b5c0ea Merge branch 'master' of code:nu-vpn-proxy into master 2020-11-20 08:53:41 -08:00
b61f124435 nate's settings 2020-11-20 08:53:38 -08:00
Benjamin Mako Hill
3a52ba3fb9 Merge branch 'master' of code.communitydata.science:nu-vpn-proxy into cdsc 2020-11-19 17:40:23 -08:00
Benjamin Mako Hill
ce4ad0575b disable IPv6 (it doesn't seem to work) 2020-11-19 17:39:48 -08:00
b7693c957d Minor changes to README. 2020-10-07 23:03:23 -07:00
Jeremy Foote
25c91f73ec Fixing typo in connecting to kibo via SSH 2020-06-10 09:20:11 -04:00
aaronshaw
575dc5e176 noting version requirement for openconnect 2020-06-09 21:08:03 -05:00
aaronshaw
c31fa095ab documentation bug. providing a correct path to the general vpn script in the readme. 2020-06-09 20:13:40 -05:00
Benjamin Mako Hill
60fc49fd8e updated documentation with new material 2020-06-09 16:13:39 -07:00
Benjamin Mako Hill
7e13b54cde initial version of the CDSC version of scripts 2020-06-09 16:04:15 -07:00
Daniel Lenski
47b2c41af7 have test-globalprotect-login.py suggest a new invocation of itself (gateway login) after a successful portal getconfig
Based on cookies suggested by @yuezk at https://gitlab.com/openconnect/openconnect/-/merge_requests/109
2020-05-13 13:34:14 -07:00
Daniel Lenski
6133ffeb7a use either PyGObject (import gi, maintained) or pgi (import pgi, old/unmaintained)
ping #7
2020-03-29 09:54:24 -07:00
Daniel Lenski
4ee7744d7d need to base64-decode URLs from SAML REDIRECT too 2020-03-29 09:54:24 -07:00
Daniel Lenski
6ee0c49794 I swear I know how to write Python 🤦🏻‍♂ 2020-03-23 15:18:36 -07:00
Daniel Lenski
d8929a47d1 minimal .travis.yml (just verifies that script can be byte-compiled) 2020-03-23 12:58:17 -07:00
Daniel Lenski
f381399b8f we have reports of prelogin-cookie used for portal login; don't do interface switcheroo by default, just mention it 2020-03-23 12:58:17 -07:00
Daniel Lenski
dc4665ee97 make verbose=1 the default, add -q/--quiet to suppress it 2020-03-23 12:58:17 -07:00
Daniel Lenski
66438abc7c include clientos in output command-lines and environment variables 2020-03-23 12:58:17 -07:00
Daniel Lenski
6bbbe47904 fix too-hurried ambiguity warnings, fix b64 encoding for SAML REDIRECT too 2020-03-23 12:32:39 -07:00
Daniel Lenski
2cf05074cc include clientos in prelogin.esp parameters (ping #6)
Apparently, it affects whether the prelogin.esp response contains SAML tags
in some cases.
(see https://github.com/dlenski/gp-saml-gui/issues/6#issuecomment-599743060)

This fits in with a long line of mystifying issues caused by GlobalProtect servers
silently handling different `clientos` values in stupidly different ways.
(see https://gitlab.com/openconnect/openconnect/-/merge_requests/17)
2020-03-17 15:55:21 -07:00
Daniel Lenski
3e09aecfec clarify ambiguities in destination, slightly better error messages 2020-03-13 10:54:42 -07:00
Daniel Lenski
8ca97e5bdb assume server from which we received SAML results is the right one for final GP authentication
Should fix https://gitlab.com/openconnect/openconnect/issues/97

In particular: https://gitlab.com/openconnect/openconnect/issues/97#note_276932462
2020-01-25 17:15:01 -08:00
Daniel Lenski
ef2bfa6b56 extensive cleanup, more logging 2020-01-25 16:55:45 -08:00
Daniel Lenski
b1c36bf95e this script should live here 2020-01-25 16:46:12 -08:00
Daniel Lenski
dae4360c38 better SSL error handling (especially, distinguish cert from non-cert errors) 2020-01-24 00:19:05 -08:00
Daniel Lenski
10e4628f35 should use shlex.quote() instead of repr() 2020-01-24 00:17:02 -08:00
Daniel Lenski
2cbd24046b pass along --no-verify flag to WebKit2 GUI (ping #5) 2019-11-25 13:06:25 -08:00
Dan Lenski
37bfe26183
Merge pull request #4 from jasonaowen/install
Add installation notes
2019-10-21 09:43:35 -07:00
Daniel Lenski
32265e4504 add requirements.txt 2019-10-18 21:20:02 -07:00
Jason Owen
70f96b0f2d Add installation notes
Add some instructions on how to install the dependencies needed to use
this tool.
2019-10-18 17:06:53 -07:00
Daniel Lenski
f923c1247c SAML auth isn't done until we've gotten the username and cookie headers specifically (ping #2) 2019-09-19 14:02:42 -07:00
Daniel Lenski
ff4d825290 add --external and --uri for convenient debugging/futzing purposes 2019-09-17 10:51:50 -07:00
Daniel Lenski
f429acaa10 log other resources loaded when verbosity > 1 (e.g. -vv flag) 2019-09-16 21:23:40 -07:00
Daniel Lenski
d30ca2c960 persist cookies 2019-09-16 19:57:48 -07:00
Daniel Lenski
4e5cd24588 initial commit 2019-09-16 19:57:48 -07:00