mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
Started building clients.
This commit is contained in:
parent
a464841867
commit
2f13741896
@ -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__()
|
||||
|
||||
21
ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py
Normal file
21
ugly_hacks/santiago/scripts/freedombuddy-ssh-vpn-client.py
Normal 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.
|
||||
|
||||
"""
|
||||
Loading…
x
Reference in New Issue
Block a user