diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-03-16 12:21:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-03-16 12:21:57 -0400 |
commit | 49eec76c5e74e951245c84f495c72978eba2b52a (patch) | |
tree | f91029dfb4ba2e2505316ca9dcbfcbcf93362516 /src/feature/dirauth | |
parent | af713ddb4bf58f1549aed174dbbe0ae780169125 (diff) | |
parent | 855cd533e17f4dc4cd055fa8bb31ee3b187451dc (diff) | |
download | tor-49eec76c5e74e951245c84f495c72978eba2b52a.tar.gz tor-49eec76c5e74e951245c84f495c72978eba2b52a.zip |
Merge branch 'maint-0.4.3'
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r-- | src/feature/dirauth/process_descs.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/feature/dirauth/process_descs.c b/src/feature/dirauth/process_descs.c index baf8f8c217..5c918ca0b4 100644 --- a/src/feature/dirauth/process_descs.c +++ b/src/feature/dirauth/process_descs.c @@ -399,22 +399,21 @@ dirserv_rejects_tor_version(const char *platform, static const char please_upgrade_string[] = "Tor version is insecure or unsupported. Please upgrade!"; - /* Versions before Tor 0.2.9 are unsupported. Versions between 0.2.9.0 and - * 0.2.9.4 suffer from bug #20499, where relays don't keep their consensus - * up to date */ - if (!tor_version_as_new_as(platform,"0.2.9.5-alpha")) { + /* Versions before Tor 0.3.5 are unsupported. + * + * Also, reject unstable versions of 0.3.5, since (as of this writing) + * they are almost none of the network. */ + if (!tor_version_as_new_as(platform,"0.3.5.7")) { if (msg) *msg = please_upgrade_string; return true; } - /* Series between Tor 0.3.0 and 0.3.4 inclusive are unsupported, and some - * have bug #27841, which makes them broken as intro points. Reject them. - * - * Also reject unstable versions of 0.3.5, since (as of this writing) - * they are almost none of the network. */ - if (tor_version_as_new_as(platform,"0.3.0.0-alpha-dev") && - !tor_version_as_new_as(platform,"0.3.5.7")) { + /* Series between Tor 0.3.6 and 0.4.1.4-rc inclusive are unsupported. + * Reject them. 0.3.6.0-alpha-dev only existed for a short time, before + * it was renamed to 0.4.0.0-alpha-dev. */ + if (tor_version_as_new_as(platform,"0.3.6.0-alpha-dev") && + !tor_version_as_new_as(platform,"0.4.1.5")) { if (msg) { *msg = please_upgrade_string; } |