diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-15 17:24:13 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-19 16:02:19 -0400 |
commit | 343f7aa05967df43c3f7e5b392b66e21c08b7cb1 (patch) | |
tree | 3ae18397f084e343189e716b2258d48e77858860 /src/or/config.c | |
parent | c6ca199888102a825f004f8613331f97525da486 (diff) | |
download | tor-343f7aa05967df43c3f7e5b392b66e21c08b7cb1.tar tor-343f7aa05967df43c3f7e5b392b66e21c08b7cb1.tar.gz |
Make the guard lifetime configurable and adjustable via the consensus
Fixes 8240.
(Don't actually increase the default guard lifetime. It seems likely to
break too many things if done precipitiously.)
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 90a5dfbda..6ccd65a57 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -302,6 +302,7 @@ static config_var_t _option_vars[] = { #endif OBSOLETE("GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays"), OBSOLETE("Group"), + V(GuardLifetime, INTERVAL, "0 minutes"), V(HardwareAccel, BOOL, "0"), V(HeartbeatPeriod, INTERVAL, "6 hours"), V(AccelName, STRING, NULL), |