----- Forwarded Message ----- From: "Boris Gimelbrand" <borisg@xxxxxxxxxx> To: or-dev@xxxxxxxx Sent: Monday, January 5, 2009 2:30:04 PM (GMT+0200) Auto-Detected Subject: 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
Attachment:
country.patch
Description: Binary data