Sfoglia il codice sorgente

Increase default required uptime for HSDirs to 25 hours

Robert Ransom 13 anni fa
parent
commit
f45261cb29
3 ha cambiato i file con 7 aggiunte e 2 eliminazioni
  1. 5 0
      changes/bug2649b
  2. 1 1
      doc/tor.1.txt
  3. 1 1
      src/or/config.c

+ 5 - 0
changes/bug2649b

@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - Change the default required uptime for a relay to be accepted as
+      a HSDir from 24 hours to 25 hours.  Bugfix on 0.2.0.10-alpha;
+      fixes bug 2649.
+

+ 1 - 1
doc/tor.1.txt

@@ -1183,7 +1183,7 @@ if DirPort is non-zero):
 
 **MinUptimeHidServDirectoryV2** __N__ **seconds**|**minutes**|**hours**|**days**|**weeks**::
     Minimum uptime of a v2 hidden service directory to be accepted as such by
-    authoritative directories. (Default: 24 hours)
+    authoritative directories. (Default: 25 hours)
 
 **DirPort** __PORT__|**auto**::
     If this option is nonzero, advertise the directory service on this port.

+ 1 - 1
src/or/config.c

@@ -401,7 +401,7 @@ static config_var_t _option_vars[] = {
   VAR("__HashedControlSessionPassword", LINELIST, HashedControlSessionPassword,
       NULL),
   VAR("__OwningControllerProcess",STRING,OwningControllerProcess, NULL),
-  V(MinUptimeHidServDirectoryV2, INTERVAL, "24 hours"),
+  V(MinUptimeHidServDirectoryV2, INTERVAL, "25 hours"),
   V(VoteOnHidServDirectoriesV2,  BOOL,     "1"),
   V(_UsingTestNetworkDefaults,   BOOL,     "0"),