Add 'sshuttle --hostwatch' subcommand.

This tries to discover local hostnames and prints them to stdout.  Will be
used by the server for auto-hostname tracking.
This commit is contained in:
Avery Pennarun
2010-05-08 01:30:34 -04:00
parent 680941cb0c
commit a2ea5ab455
3 changed files with 225 additions and 1 deletions

View File

@ -16,6 +16,10 @@ def debug2(s):
if verbose >= 2:
log(s)
def debug3(s):
if verbose >= 3:
log(s)
class Fatal(Exception):
pass