diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index ff578b0b4b..1082a79c6a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2527,11 +2527,17 @@ typedef struct { * count of how many client addresses have contacted us so that we can help * the bridge authority guess which countries have blocked access to us. */ int BridgeRecordUsageByCountry; + #ifdef ENABLE_GEOIP_STATS - /* DOCDOC all of these. */ + /** If true, and Tor is built with GEOIP_STATS support, and we're a + * directory, record how many directory requests we get from each country. */ int DirRecordUsageByCountry; + /** Round all GeoIP results to the next multiple of this value, to avoid + * leaking information. */ int DirRecordUsageGranularity; + /** Time interval: purge geoip stats after this long. */ int DirRecordUsageRetainIPs; + /** Time interval: Flush geoip data to disk this often. */ int DirRecordUsageSaveInterval; #endif |