Commit 9ddd6e7c authored by Damian Johnson's avatar Damian Johnson
Browse files

Check dizum's prior address

Dizum moved...

Alex has requested monitoring of its old address, which will hopefully forward
until clients that reference it get deprecated.
parent 0ae0b8b2
......@@ -344,6 +344,7 @@ def run_checks(consensuses, votes):
all_issues = []
......@@ -914,6 +915,23 @@ def shared_random_reveal_partitioning(latest_consensus, consensuses, votes):
elif matches[0] != reveal:
issues.append(Issue(Runlevel.WARNING, 'SHARED_RANDOM_REVEAL_MISMATCH', authority = authority, their_v3ident = v3ident, our_value = matches[0], their_value = reveal, to = [authority]))
def old_dizum_address_reachable(latest_consensus, consensuses, votes):
Check that dizum's old address is still reachable...
desc = stem.descriptor.remote.their_server_descriptor(endpoints = [('', 80)]).run()[0]
if desc.nickname != 'dizum':
raise IOError("Unexpected nickname at dizum's old address (%s)" % desc.nickname)
except Exception as exc:
return Issue(Runlevel.WARNING, 'OLD_DIZUM_UNAVAILABLE', address = '', error = exc, to = ['dizum'])
def get_consensuses():
Provides a mapping of directory authority nicknames to their present consensus.
......@@ -22,6 +22,7 @@ msg TOR_OUT_OF_DATE => The following authorities are an out of date version of
msg BADEXIT_OUT_OF_SYNC => Authorities disagree about the BadExit flag for {fingerprint} ({counts})
msg BANDWIDTH_AUTHORITIES_OUT_OF_SYNC => Bandwidth authorities have a substantially different number of measured entries: {authorities}
msg AUTHORITY_UNAVAILABLE => Unable to retrieve the {fetch_type} from {authority} ({url}): {error}
msg OLD_DIZUM_UNAVAILABLE => Unable to reach dizum's prior address ({address}): {error}
msg UNABLE_TO_REACH_ORPORT => Unable to reach the ORPort of {authority} ({address}, port {port}): {error}
msg CURRENT_SHARED_RANDOM_MISSING => Consensus is missing a current shared random value (shared-rand-current-value)
msg PREVIOUS_SHARED_RANDOM_MISSING => Consensus is missing a previous shared random value (shared-rand-previous-value)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment