diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-11-22 11:16:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-11-22 11:16:36 -0500 |
commit | 2af14b671da59a34e05c5240e9b30e5417893ddc (patch) | |
tree | 579d73c501c3a3360bd3d0b8693db28c5685937a /src | |
parent | 2bd64f9e8f613a885ace601787fbbfde607810b6 (diff) | |
download | tor-2af14b671da59a34e05c5240e9b30e5417893ddc.tar tor-2af14b671da59a34e05c5240e9b30e5417893ddc.tar.gz |
Have authorities reject routers running verions susceptible to bug 1038.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 42d7d561c..4cd6123f4 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -393,6 +393,11 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname, if (msg) *msg = "Tor version is far too old to work."; return FP_REJECT; + } else if (platform && tor_version_as_new_as(platform,"0.2.1.3-alpha") + && !tor_version_as_new_as(platform, "0.2.1.19")) { + if (msg) + *msg = "Tor version is too buggy to work."; + return FP_REJECT; } result = dirserv_get_name_status(id_digest, nickname); |