diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-06 16:57:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-06 16:57:42 +0000 |
commit | 6f1ceaefaacec3f70e0ae68be8e67718a1f49d36 (patch) | |
tree | f47931f122e298d214e6d08e2550c9993e5b2a66 /src/or/config.c | |
parent | fe040342e7f82c137774117ac209ac5b9e081a1d (diff) | |
download | tor-6f1ceaefaacec3f70e0ae68be8e67718a1f49d36.tar.gz tor-6f1ceaefaacec3f70e0ae68be8e67718a1f49d36.zip |
Slightly better messages on ControlListenAddress 0.0.0.0
svn:r17963
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0e055ea8b8..f733c362f7 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3390,16 +3390,24 @@ options_validate(or_options_t *old_options, or_options_t *options, if (!options->HashedControlPassword && !options->HashedControlSessionPassword && !options->CookieAuthentication) { - log_warn(LD_CONFIG, "You have a ControlListenAddress set to accept " - "connections from a non-local address. This means that " - "any program on the internet can reconfigure your Tor. " - "That's so bad that I'm closing your ControlPort for you."); + log_warn(LD_CONFIG, + "You have a ControlListenAddress set to accept " + "unauthenticated connections from a non-local address. " + "This means that programs not running on your computer " + "can reconfigure your Tor, without even having to guess a " + "password. That's so bad that I'm closing your ControlPort " + "for you. If you need to control your Tor remotely, try " + "enabling authentication and using a tool like stunnel or " + "ssh to encrypt remote access."); options->ControlPort = 0; } else { log_warn(LD_CONFIG, "You have a ControlListenAddress set to accept " "connections from a non-local address. This means that " "programs not running on your computer can reconfigure your " - "Tor. That's pretty bad!"); + "Tor. That's pretty bad, since the controller " + "protocol isn't encrypted! Maybe you should just listen on " + "127.0.0.1 and use a tool like stunnel or ssh to encrypt " + "remote connections to your control port."); } } } |