Browse Source

Merge branch 'ticket20575_031_01_squashed'

Nick Mathewson 8 years ago
parent
commit
e01e4e0146
3 changed files with 14 additions and 2 deletions
  1. 4 0
      changes/ticket20575
  2. 3 2
      doc/tor.1.txt
  3. 7 0
      src/or/config.c

+ 4 - 0
changes/ticket20575

@@ -0,0 +1,4 @@
+  o Deprecation (config):
+    - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. It only
+      applies to direct unencrypted HTTP connections to your directory server,
+      which your Tor probably isn't using. Fixes bug 20575.

+ 3 - 2
doc/tor.1.txt

@@ -521,13 +521,14 @@ GENERAL OPTIONS
 [[HTTPProxy]] **HTTPProxy** __host__[:__port__]::
 [[HTTPProxy]] **HTTPProxy** __host__[:__port__]::
     Tor will make all its directory requests through this host:port (or host:80
     Tor will make all its directory requests through this host:port (or host:80
     if port is not specified), rather than connecting directly to any directory
     if port is not specified), rather than connecting directly to any directory
-    servers.
+    servers. (DEPRECATED: As of 0.3.1.0-alpha you should use HTTPSProxy.)
 
 
 [[HTTPProxyAuthenticator]] **HTTPProxyAuthenticator** __username:password__::
 [[HTTPProxyAuthenticator]] **HTTPProxyAuthenticator** __username:password__::
     If defined, Tor will use this username:password for Basic HTTP proxy
     If defined, Tor will use this username:password for Basic HTTP proxy
     authentication, as in RFC 2617. This is currently the only form of HTTP
     authentication, as in RFC 2617. This is currently the only form of HTTP
     proxy authentication that Tor supports; feel free to submit a patch if you
     proxy authentication that Tor supports; feel free to submit a patch if you
-    want it to support others.
+    want it to support others. (DEPRECATED: As of 0.3.1.0-alpha you should use
+    HTTPSProxyAuthenticator.)
 
 
 [[HTTPSProxy]] **HTTPSProxy** __host__[:__port__]::
 [[HTTPSProxy]] **HTTPSProxy** __host__[:__port__]::
     Tor will make all its OR (SSL) connections through this host:port (or
     Tor will make all its OR (SSL) connections through this host:port (or

+ 7 - 0
src/or/config.c

@@ -673,6 +673,13 @@ static const config_deprecation_t option_deprecation_notes_[] = {
     "easier to fingerprint, and may open you to esoteric attacks." },
     "easier to fingerprint, and may open you to esoteric attacks." },
   /* End of options deprecated since 0.2.9.2-alpha. */
   /* End of options deprecated since 0.2.9.2-alpha. */
 
 
+  /* Deprecated since 0.3.2.0-alpha. */
+  { "HTTPProxy", "It only applies to direct unencrypted HTTP connections "
+    "to your directory server, which your Tor probably wasn't using." },
+  { "HTTPProxyAuthenticator", "HTTPProxy is deprecated in favor of HTTPSProxy "
+    "which should be used with HTTPSProxyAuthenticator." },
+  /* End of options deprecated since 0.3.2.0-alpha. */
+
   { NULL, NULL }
   { NULL, NULL }
 };
 };