Class SanitizedBridgesWriter

java.lang.Object
org.torproject.metrics.collector.sync.SyncManager
org.torproject.metrics.collector.cron.CollecTorMain
org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Callable<java.lang.Object>

public class SanitizedBridgesWriter
extends CollecTorMain

Sanitizes bridge descriptors, i.e., removes all possibly sensitive information from them, and writes them to a local directory structure. During the sanitizing process, all information about the bridge identity or IP address are removed or replaced. The goal is to keep the sanitized bridge descriptors useful for statistical analysis while not making it easier for an adversary to enumerate bridges.

There are three types of bridge descriptors: bridge network statuses (lists of all bridges at a given time), server descriptors (published by the bridge to advertise their capabilities), and extra-info descriptors (published by the bridge, mainly for statistical analysis).