mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Dirservers no longer accept tors released before December 2011.
Implements ticket 6789.
This commit is contained in:
parent
3fe2161d28
commit
26cee96911
7
changes/bug6789
Normal file
7
changes/bug6789
Normal file
@ -0,0 +1,7 @@
|
||||
o Minor features (directory authority):
|
||||
- Directory authorities no long accept descriptors for any version of
|
||||
Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
|
||||
These versions are insecure, unsupported, or both. Implements ticket
|
||||
#6789.
|
||||
|
||||
|
@ -398,18 +398,18 @@ 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.1.30 have known security issues that
|
||||
/* Versions before Tor 0.2.2.35 have known security issues that
|
||||
* make them unsuitable for the current network. */
|
||||
if (platform && !tor_version_as_new_as(platform,"0.2.1.30")) {
|
||||
if (platform && !tor_version_as_new_as(platform,"0.2.2.35")) {
|
||||
if (msg)
|
||||
*msg = "Tor version is insecure. Please upgrade!";
|
||||
*msg = "Tor version is insecure or unsupported. Please upgrade!";
|
||||
return FP_REJECT;
|
||||
} else if (platform && tor_version_as_new_as(platform,"0.2.2.1-alpha")) {
|
||||
/* Versions from 0.2.2.1-alpha...0.2.2.20-alpha have known security
|
||||
} else if (platform && tor_version_as_new_as(platform,"0.2.3.0-alpha")) {
|
||||
/* Versions from 0.2.3-alpha...0.2.3.9-alpha have known security
|
||||
* issues that make them unusable for the current network */
|
||||
if (!tor_version_as_new_as(platform, "0.2.2.21-alpha")) {
|
||||
if (!tor_version_as_new_as(platform, "0.2.3.10-alpha")) {
|
||||
if (msg)
|
||||
*msg = "Tor version is insecure. Please upgrade!";
|
||||
*msg = "Tor version is insecure or unsupported. Please upgrade!";
|
||||
return FP_REJECT;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user