summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-19 20:09:51 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-19 20:09:51 -0400
commit05ad2db283744609ea9414c2ba434a495e183a3f (patch)
tree3f9a77ccc4d51e1c56844e4704bfa2df39f9e2ba
parent675119d79a2e1cb8b47639d1383d2e631f9412e5 (diff)
downloadtor-05ad2db283744609ea9414c2ba434a495e183a3f.tar.gz
tor-05ad2db283744609ea9414c2ba434a495e183a3f.zip
Add comments to explain when things were deprecated
-rw-r--r--src/or/config.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c1f82c8e0c..a94e9595d6 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -589,6 +589,7 @@ static const config_var_t testing_tor_network_defaults[] = {
#undef OBSOLETE
static const config_deprecation_t option_deprecation_notes_[] = {
+ /* Deprecated since 0.2.9.2-alpha... */
{ "AllowDotExit", "Unrestricted use of the .exit notation can be used for "
"a wide variety of application-level attacks." },
{ "AllowInvalidNodes", "There is no reason to enable this option; at best "
@@ -612,7 +613,6 @@ static const config_deprecation_t option_deprecation_notes_[] = {
{ "TLSECGroup", "The default is a nice secure choice; the other option "
"is less secure." },
{ "UseNTorHandshake", "The ntor handshake should always be used." },
-
{ "ControlListenAddress", "Use ControlPort instead." },
{ "DirListenAddress", "Use DirPort instead, possibly with the "
"NoAdvertise sub-option" },
@@ -622,6 +622,7 @@ static const config_deprecation_t option_deprecation_notes_[] = {
{ "NATDListenAddress", "Use NATDPort instead." },
{ "ORListenAddress", "Use ORPort instead, possibly with the "
"NoAdvertise sub-option" },
+ /* End of options deprecated since 0.2.9.2-alpha. */
{ NULL, NULL }
};
@@ -6551,27 +6552,27 @@ parse_port_config(smartlist_t *out,
}
}
if (!strcasecmp(elt, "CacheIPv4DNS")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
cache_ipv4 = ! no;
continue;
} else if (!strcasecmp(elt, "CacheIPv6DNS")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
cache_ipv6 = ! no;
continue;
} else if (!strcasecmp(elt, "CacheDNS")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
cache_ipv4 = cache_ipv6 = ! no;
continue;
} else if (!strcasecmp(elt, "UseIPv4Cache")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
use_cached_ipv4 = ! no;
continue;
} else if (!strcasecmp(elt, "UseIPv6Cache")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
use_cached_ipv6 = ! no;
continue;
} else if (!strcasecmp(elt, "UseDNSCache")) {
- warn_client_dns_cache(elt, no);
+ warn_client_dns_cache(elt, no); // since 0.2.9.2-alpha
use_cached_ipv4 = use_cached_ipv6 = ! no;
continue;
} else if (!strcasecmp(elt, "PreferIPv6Automap")) {