diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-08-20 11:32:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-08-20 11:32:38 -0400 |
commit | d8a8e8339781f7a1e98838c100d3f875c9bb9df7 (patch) | |
tree | 2eab90175600128a0262f1e438b368a0c61294d3 /src | |
parent | 89b424037b1a2e88b986bc5a8015375c49431204 (diff) | |
parent | 219f7415d1765db8c59dc7530416a4293416c869 (diff) | |
download | tor-d8a8e8339781f7a1e98838c100d3f875c9bb9df7.tar tor-d8a8e8339781f7a1e98838c100d3f875c9bb9df7.tar.gz |
Merge commit 'sebastian/bug1843'
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9d98d1545..7ad272f74 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3501,6 +3501,13 @@ options_validate(or_options_t *old_options, or_options_t *options, "upgrade your Tor controller as soon as possible."); } + if (options->CookieAuthFileGroupReadable && !options->CookieAuthFile) { + log_warn(LD_CONFIG, "You set the CookieAuthFileGroupReadable but did " + "not configure a the path for the cookie file via " + "CookieAuthFile. This means your cookie will not be group " + "readable."); + } + if (options->UseEntryGuards && ! options->NumEntryGuards) REJECT("Cannot enable UseEntryGuards with NumEntryGuards set to 0"); |