mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
get rid of the __ConsiderAllRoutersAsHidServDirectories config option
svn:r12528
This commit is contained in:
parent
d62ef13d0a
commit
094096d320
3 changed files with 0 additions and 6 deletions
|
@ -288,8 +288,6 @@ static config_var_t _option_vars[] = {
|
||||||
VAR("VersioningAuthoritativeDirectory",BOOL,VersioningAuthoritativeDir, "0"),
|
VAR("VersioningAuthoritativeDirectory",BOOL,VersioningAuthoritativeDir, "0"),
|
||||||
V(VirtualAddrNetwork, STRING, "127.192.0.0/10"),
|
V(VirtualAddrNetwork, STRING, "127.192.0.0/10"),
|
||||||
VAR("__AllDirActionsPrivate", BOOL, AllDirActionsPrivate, "0"),
|
VAR("__AllDirActionsPrivate", BOOL, AllDirActionsPrivate, "0"),
|
||||||
/*XXXX020 for testing. Maybe remove before -rc. */
|
|
||||||
V(__ConsiderAllRoutersAsHidServDirectories, BOOL, "0"),
|
|
||||||
VAR("__DisablePredictedCircuits",BOOL,DisablePredictedCircuits, "0"),
|
VAR("__DisablePredictedCircuits",BOOL,DisablePredictedCircuits, "0"),
|
||||||
VAR("__LeaveStreamsUnattached",BOOL, LeaveStreamsUnattached, "0"),
|
VAR("__LeaveStreamsUnattached",BOOL, LeaveStreamsUnattached, "0"),
|
||||||
/*XXXX020 for testing. Maybe remove before -rc. */
|
/*XXXX020 for testing. Maybe remove before -rc. */
|
||||||
|
|
|
@ -1909,8 +1909,6 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,
|
||||||
}
|
}
|
||||||
rs->is_bad_exit = listbadexits && ri->is_bad_exit;
|
rs->is_bad_exit = listbadexits && ri->is_bad_exit;
|
||||||
ri->is_hs_dir = dirserv_thinks_router_is_hs_dir(ri, now);
|
ri->is_hs_dir = dirserv_thinks_router_is_hs_dir(ri, now);
|
||||||
if (get_options()->__ConsiderAllRoutersAsHidServDirectories)
|
|
||||||
ri->is_hs_dir = 1; /* Override real value. */
|
|
||||||
rs->is_hs_dir = ri->is_hs_dir;
|
rs->is_hs_dir = ri->is_hs_dir;
|
||||||
/* 0.1.1.9-alpha is the first version to support fetch by descriptor
|
/* 0.1.1.9-alpha is the first version to support fetch by descriptor
|
||||||
* hash. */
|
* hash. */
|
||||||
|
|
|
@ -2092,8 +2092,6 @@ typedef struct {
|
||||||
* them at some point, since I think C says that identifiers beginning with
|
* them at some point, since I think C says that identifiers beginning with
|
||||||
* __ are implementation-reserved or something. */
|
* __ are implementation-reserved or something. */
|
||||||
int __MinUptimeHidServDirectoryV2; /**< Accept hs dirs after what time? */
|
int __MinUptimeHidServDirectoryV2; /**< Accept hs dirs after what time? */
|
||||||
int __ConsiderAllRoutersAsHidServDirectories; /**< Consider all routers as
|
|
||||||
* hidden service dirs? */
|
|
||||||
int FetchUselessDescriptors; /**< Do we fetch non-running descriptors too? */
|
int FetchUselessDescriptors; /**< Do we fetch non-running descriptors too? */
|
||||||
int AllDirActionsPrivate; /**< Should every directory action be sent
|
int AllDirActionsPrivate; /**< Should every directory action be sent
|
||||||
* through a Tor circuit? */
|
* through a Tor circuit? */
|
||||||
|
|
Loading…
Add table
Reference in a new issue