From 2f137418962308b31e7173bf0cd42303f2341718 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Thu, 28 Jun 2012 00:45:16 -0500 Subject: [PATCH] Started building clients. --- .../santiago/protocols/https/controller.py | 5 +---- .../scripts/freedombuddy-ssh-vpn-client.py | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py diff --git a/ugly_hacks/santiago/protocols/https/controller.py b/ugly_hacks/santiago/protocols/https/controller.py index c01f773e8..0632a1c7a 100644 --- a/ugly_hacks/santiago/protocols/https/controller.py +++ b/ugly_hacks/santiago/protocols/https/controller.py @@ -218,10 +218,7 @@ class RestMonitor(santiago.RestController): # FIXME build tests for this. # FIXME change page headers based on encoding. - # TODO http://tools.cherrypy.org/wiki/ParameterDemonstration - # TODO http://docs.cherrypy.org/dev/concepts/dispatching.html - # TODO https://appmecha.wordpress.com/2008/11/08/variable-url-parameters/ - # TODO https://duckduckgo.com/?q=cherrypy+combine+positional+and+keyword+parameters + # http://ha.ckers.org/xss.html def __init__(self, aSantiago): super(RestMonitor, self).__init__() diff --git a/ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py b/ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py new file mode 100644 index 000000000..06274c823 --- /dev/null +++ b/ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py @@ -0,0 +1,21 @@ +"""The FreedomBuddy SSH VPN Client. + +This script automatically sets up an SSH VPN to a specific, trusted host. + +#. It pings Santiago's local cache for any SSH VPN hosts run by the + particular buddy. +#. It attempts to form an SSH VPN on all of those addresses. +#. If all of them fail, it'll ping each of the buddy's Santiagi: + + #. It'll try connecting to all the addresses returned by each + Santiago before moving on to the next Santiago. + +This is generic and doesn't need to live in this script. + +When connecting, it must do the following: + +#. SOME SSH VPN STUFF. +#. A LITTLE MORE. +#. AND THE LAST OF IT. + +"""