tasty revision to load feisty for full use
[feisty_meow.git] / scripts / security / uva_web_proxy.sh
index c7c51edac2cb4267535ddfe7f30cbb1423a1fa35..9ef3b8d40c01c694661b61d375237dadddd17ec7 100644 (file)
@@ -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