[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Country patch for Tor



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