Be more lenient in our fix for bug 11149

There are still quite a few 0.2.3.2x relays running for x<5, and while I
agree they should upgrade, I don't think cutting them out of the network
is a net win on either side.
This commit is contained in:
Roger Dingledine
2014-03-23 02:53:08 -04:00
parent f560eeadc3
commit ddaeb4deee
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -374,9 +374,9 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname,
strmap_size(fingerprint_list->fp_by_name),
digestmap_size(fingerprint_list->status_by_digest));
/* Versions before Tor 0.2.3.25 are too old to support, and aren't
* getting any more security fixes. Disable them. */
if (platform && !tor_version_as_new_as(platform,"0.2.3.25")) {
/* Versions before Tor 0.2.3.16-alpha are too old to support, and are
* missing some important security fixes too. Disable them. */
if (platform && !tor_version_as_new_as(platform,"0.2.3.16-alpha")) {
if (msg)
*msg = "Tor version is insecure or unsupported. Please upgrade!";
return FP_REJECT;