New minimum uptime to become an HSDir is 96 hours.

This commit is contained in:
George Kadianakis 2015-01-14 12:47:54 +00:00
parent 17c568b95c
commit 220f419da1
2 changed files with 5 additions and 1 deletions

4
changes/bug14149 Normal file
View File

@ -0,0 +1,4 @@
o Minor features (hidden service parameters):
- Make hidden service Sybil attacks harder by changing the minimum
time required to become an HSDir from 25 hours up to 96 hours.
Addresses ticket #14149.

View File

@ -439,7 +439,7 @@ static config_var_t option_vars_[] = {
VAR("__HashedControlSessionPassword", LINELIST, HashedControlSessionPassword,
NULL),
VAR("__OwningControllerProcess",STRING,OwningControllerProcess, NULL),
V(MinUptimeHidServDirectoryV2, INTERVAL, "25 hours"),
V(MinUptimeHidServDirectoryV2, INTERVAL, "96 hours"),
V(VoteOnHidServDirectoriesV2, BOOL, "1"),
V(TestingServerDownloadSchedule, CSV_INTERVAL, "0, 0, 0, 60, 60, 120, "
"300, 900, 2147483647"),