Country patch for Tor
Boris Gimelbrand
borisg at yoggie.com
Mon Jan 5 12:30:04 UTC 2009
Hi,
I added a patch that enables choosing exit node country from configuration file.
It uses already existing functions that access GeoIP database.
I also added an option to load one country only from the GeoIP database,
for limited resources systems.
The new parameters are:
ExitCountry, e.g. "ExitCountry gb" for Britain.
GeoIPExitCountryOnly - if true, load only the country chosen in ExitCountry from GeoIP database.
Sample configuration:
GeoIPFile /etc/yoggie/torIpToCountry.csv
GeoIPExitCountryOnly 1
ExitCountry gb
Thanks
Sincerely
Boris Gimelbrand
More information about the tor-dev
mailing list