Commit 2af14b67 authored by Nick Mathewson's avatar Nick Mathewson 🦞
Browse files

Have authorities reject routers running verions susceptible to bug 1038.

parent 2bd64f9e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
  o Minor features (authorities)
    - Directory authorities now reject server running any version of
      Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
      known bugs that keep RELAY_EARY cells from working on rendezvous
      circuits.  Followup to fix for bug 2081.
+5 −0
Original line number Diff line number Diff line
@@ -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);