Started building clients.

This commit is contained in:
Nick Daly 2012-06-28 00:45:16 -05:00
parent a464841867
commit 2f13741896
2 changed files with 22 additions and 4 deletions

View File

@ -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__()

View File

@ -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.
"""