Tor 0.4.9.2-alpha-dev
|
#include <geoip_stats.h>
Public Member Functions | |
HT_ENTRY (clientmap_entry_t) node | |
Data Fields | |
tor_addr_t | addr |
char * | transport_name |
unsigned int | last_seen_in_minutes:30 |
unsigned int | action:2 |
dos_client_stats_t | dos_stats |
Entry in a map from IP address to the last time we've seen an incoming connection from that IP address. Used by bridges only to track which countries have them blocked, or the DoS mitigation subsystem if enabled.
Definition at line 79 of file geoip_stats.h.
unsigned int action |
Definition at line 91 of file geoip_stats.h.
tor_addr_t addr |
Definition at line 81 of file geoip_stats.h.
dos_client_stats_t dos_stats |
Definition at line 95 of file geoip_stats.h.
unsigned int last_seen_in_minutes |
Time when we last saw this IP address, in MINUTES since the epoch.
(This will run out of space around 4011 CE. If Tor is still in use around 4000 CE, please remember to add more bits to last_seen_in_minutes.)
Definition at line 90 of file geoip_stats.h.
char* transport_name |
Definition at line 84 of file geoip_stats.h.