]> code.communitydata.science - nu-vpn-proxy.git/commitdiff
removed two out-of-date commands
authorBenjamin Mako Hill <mako@atdot.cc>
Mon, 10 Mar 2025 16:19:49 +0000 (09:19 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Mon, 10 Mar 2025 16:19:49 +0000 (09:19 -0700)
openconnect_command-general.sh [deleted file]
openconnect_command-http.sh [deleted file]

diff --git a/openconnect_command-general.sh b/openconnect_command-general.sh
deleted file mode 100755 (executable)
index 59f32e9..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-# change to the vpn file directory
-cd ~/bin/nu-vpn-proxy
-
-## do the authentication
-eval $( ./gp-saml-gui.py -v --gateway --clientos=Linux vpn-connect2.northwestern.edu ) 
-
-echo "$COOKIE" | sudo openconnect --useragent="PAN GlobalConnect" --version-string='6.3.0-33' --protocol=gp -u "$USER" --os="$OS" --passwd-on-stdin "$HOST" --csd-wrapper="hipreport-modified.sh" --reconnect-timeout 60
-
diff --git a/openconnect_command-http.sh b/openconnect_command-http.sh
deleted file mode 100755 (executable)
index 335fd81..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-LOG_FILE=/tmp/nu-globalprotect-saml.log
-PID_FILE=/tmp/nu-vpn-openconnect_http.pid
-
-exec > $LOG_FILE
-
-# change to the vpn file directory
-cd ~/bin/nu-vpn-proxy
-
-## do the authentication
-eval $( ./gp-saml-gui.py -v --gateway --clientos=Linux vpn-connect2.northwestern.edu ) 
-
-
-echo "$COOKIE" | /usr/sbin/openconnect --verbose --useragent="PAN GlobalConnect" --version-string='6.3.0-33' --protocol=gp -u "$USER" --os="$OS" --passwd-on-stdin "$HOST" --csd-wrapper="hipreport-modified.sh" --reconnect-timeout 60 --script-tun --script "ocproxy -D 8181 --keepalive 5 --verbose" -b --pid-file "${PID_FILE}"
-
-

Community Data Science Collective || Want to submit a patch?