diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-25 12:39:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-25 12:39:00 -0400 |
commit | 95d9f7e9cce96d684a1f0279aa82c68d0b6182be (patch) | |
tree | 3928668f93b72e958818ff333c517b81a26fb123 /src/or/config.c | |
parent | dc014c97472e3adf2306938841c13de0040a2ff0 (diff) | |
parent | 38609f1354104f14bf7dde540b932450ab9a54cc (diff) | |
download | tor-95d9f7e9cce96d684a1f0279aa82c68d0b6182be.tar.gz tor-95d9f7e9cce96d684a1f0279aa82c68d0b6182be.zip |
Merge remote-tracking branch 'rransom/warn-about-hses-without-guards'
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 462fc73c0a..00ca427f45 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -2538,6 +2538,15 @@ options_validate(or_options_t *old_options, or_options_t *options, options->UseEntryGuards = 0; } + if (!(options->UseEntryGuards) && + (options->RendConfigLines != NULL)) { + log_warn(LD_CONFIG, + "UseEntryGuards is disabled, but you have configured one or more " + "hidden services on this Tor instance. Your hidden services " + "will be very easy to locate using a well-known attack -- see " + "http://freehaven.net/anonbib/#hs-attack06 for details."); + } + if (!(options->LearnCircuitBuildTimeout) && options->CircuitBuildTimeout < RECOMMENDED_MIN_CIRCUIT_BUILD_TIMEOUT) { log_warn(LD_CONFIG, |