]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge remote-tracking branch 'public/bug9870'
authorNick Mathewson <nickm@torproject.org>
Wed, 2 Apr 2014 00:48:15 +0000 (20:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 2 Apr 2014 00:48:15 +0000 (20:48 -0400)
Conflicts:
src/or/config.c

1  2 
src/or/config.c

diff --cc src/or/config.c
index 909ac145a52ba966bda13a811f931600bcfc9aaf,dcbe88dccd2d672b25a6f67c3f469daeee8af5a8..c42ceb3d02ccd5b8b13d17ffa2747181a48ac9a3
@@@ -1342,26 -1360,6 +1361,19 @@@ options_act(const or_options_t *old_opt
    }
  #endif
  
-   if (options->SafeLogging_ != SAFELOG_SCRUB_ALL &&
-       (!old_options || old_options->SafeLogging_ != options->SafeLogging_)) {
-     log_warn(LD_GENERAL, "Your log may contain sensitive information - you "
-              "disabled SafeLogging. Please log safely. Don't log unless it "
-              "serves an important reason. Overwrite the log afterwards.");
-   }
 +  /* 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 use pluggable transports but the Extended "
 +               "ORPort is disabled. Tor and your pluggable transports proxy "
 +               "communicate with each other via the Extended ORPort so it "
 +               "is suggested you enable it: it will also allow your Bridge "
 +               "to collect statistics about its clients that use pluggable "
 +               "transports. Please enable it using the ExtORPort torrc option "
 +               "(e.g. set 'ExtORPort auto').");
 +  }
 +
    if (options->Bridges) {
      mark_bridge_list();
      for (cl = options->Bridges; cl; cl = cl->next) {