summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-10-14 11:43:33 -0400
committerNick Mathewson <nickm@torproject.org>2013-10-14 11:43:33 -0400
commit7f2415683a86dcd72270b75c467a6ddc5649a7a8 (patch)
tree99db67e8b214dae48379cce3a1deb21c7f2c8786
parenta26a5794a308ce30c5d2cf8d16e57903cbf9c8fb (diff)
parent43b9b5138999f0b8619cc7f90c1b09c1b9aac42c (diff)
downloadtor-7f2415683a86dcd72270b75c467a6ddc5649a7a8.tar.gz
tor-7f2415683a86dcd72270b75c467a6ddc5649a7a8.zip
Merge remote-tracking branch 'asn/bug9651'
-rw-r--r--src/or/config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 985bebd599..89f9e9ba47 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3258,6 +3258,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. */