diff options
author | Roger Dingledine <arma@torproject.org> | 2005-08-24 14:31:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-08-24 14:31:32 +0000 |
commit | 86f85f240c23c72653982af13a9fa311c5ae94cf (patch) | |
tree | 7fdc5d26ac4318aacf636e1179da9f636e37c8dc /src/or/or.h | |
parent | e54e970a82010eadccca3582ceb75738bee335c8 (diff) | |
download | tor-86f85f240c23c72653982af13a9fa311c5ae94cf.tar.gz tor-86f85f240c23c72653982af13a9fa311c5ae94cf.zip |
be much more conservative about logging reachability complaints.
the ones it logs now are probably genuine problem servers.
svn:r4832
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 4e35ba8655..35c883eda6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -738,6 +738,7 @@ typedef struct { int is_running; /**< As far as we know, is this OR currently running? */ time_t status_set_at; /**< When did we last update is_running? */ time_t last_reachable; /**< When was the last time we could reach this OR? */ + time_t testing_since; /**< When did we start testing reachability for this OR? */ int is_verified; /**< Has a trusted dirserver validated this OR? */ smartlist_t *declared_family; /**< Nicknames of router which this router @@ -1624,6 +1625,8 @@ char *dirserver_getinfo_unregistered(const char *question); int dirserv_load_from_directory_string(const char *dir); void dirserv_free_descriptors(void); int list_server_status(smartlist_t *routers, char **router_status_out); +void dirserv_log_unreachable_servers(time_t now); +void dirserv_router_has_begun_reachability_testing(char *digest, time_t now); void dirserv_remove_old_servers(int age); int dirserv_dump_directory_to_string(char **dir_out, crypto_pk_env_t *private_key); |