From 220f419da12b0a4c20ef282aee6374a6fac0d20f Mon Sep 17 00:00:00 2001
From: George Kadianakis <desnacked@riseup.net>
Date: Wed, 14 Jan 2015 12:47:54 +0000
Subject: [PATCH] New minimum uptime to become an HSDir is 96 hours.

---
 changes/bug14149 | 4 ++++
 src/or/config.c  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 changes/bug14149

diff --git a/changes/bug14149 b/changes/bug14149
new file mode 100644
index 0000000000..d655a14354
--- /dev/null
+++ b/changes/bug14149
@@ -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.
\ No newline at end of file
diff --git a/src/or/config.c b/src/or/config.c
index 3b82c1e064..5db065f000 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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"),
-- 
GitLab