X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsecurity%2Fuva_web_proxy.sh;h=9ef3b8d40c01c694661b61d375237dadddd17ec7;hb=refs%2Fheads%2Frelease-2.140.132;hp=c7c51edac2cb4267535ddfe7f30cbb1423a1fa35;hpb=11d6e23c4abf1274261d034d0d31b3a9390f7e06;p=feisty_meow.git diff --git a/scripts/security/uva_web_proxy.sh b/scripts/security/uva_web_proxy.sh index c7c51eda..9ef3b8d4 100644 --- a/scripts/security/uva_web_proxy.sh +++ b/scripts/security/uva_web_proxy.sh @@ -4,21 +4,24 @@ # a web proxy like squid. when used for SMTP, it ensures that none of the # text is seen on whatever network one is on before it's sent from the remote # server. +# +# it accepts a single parameter so far, which will be used as the name of a +# sound file to play. #hmmm: none of the user info below will work for others: parameterize it. -#source $HOME/yeti/scripts/launch_feisty_meow.sh +#ssh_host=khandroma.cs.virginia.edu +ssh_host=mason.cs.virginia.edu -soundfile=$FEISTY_MEOW_DIR/database/sounds/woouoo.wav +soundfile=$FEISTY_MEOW_APEX/infobase/sounds/woouoo.wav if [ ! -z "$1" ]; then soundfile=$1 fi while true; do - echo Connecting uva web sites via khandroma. - ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -D localhost:14420 fred@khandroma.cs.virginia.edu + echo Connecting uva web sites via a machine on site: $ssh_host + ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -D localhost:14420 fred@$ssh_host bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile -#hmmm: parameterize this for the sound to be played. doofus. echo "Got dumped from tunnels; re-establishing connection." echo "Note: if you're being asked for a password, you haven't set up an RSA key yet." sleep 14