diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-09-24 12:30:25 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2013-09-24 12:30:25 +0100 |
commit | 43b9b5138999f0b8619cc7f90c1b09c1b9aac42c (patch) | |
tree | 6f9001f8e1c8eb005d4c1dca1c236f754cb3f60a /src/or | |
parent | 11352b0ce152624553c7e698242144c2470db362 (diff) | |
download | tor-43b9b5138999f0b8619cc7f90c1b09c1b9aac42c.tar tor-43b9b5138999f0b8619cc7f90c1b09c1b9aac42c.tar.gz |
Warn when the Extended ORPort should be on but it's not.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 37b42e891..8f5e544f7 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3176,6 +3176,17 @@ options_validate(or_options_t *old_options, or_options_t *options, smartlist_free(options_sl); } + /* If we are a bridge with a pluggable transport proxy but no + Extended ORPort, inform the user that she is missing out. */ + if (server_mode(options) && options->ServerTransportPlugin && + !options->ExtORPort_lines) { + log_notice(LD_CONFIG, "We are a bridge with a pluggable transport " + "proxy but the Extended ORPort is disabled. The " + "Extended ORPort helps Tor communicate with the pluggable " + "transport proxy. Please enable it using the ExtORPort " + "torrc option."); + } + if (options->ConstrainedSockets) { /* If the user wants to constrain socket buffer use, make sure the desired * limit is between MIN|MAX_TCPSOCK_BUFFER in k increments. */ |