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

Re: Country patch for Tor



On Mon, Jan 05, 2009 at 02:30:04PM +0200, Boris Gimelbrand wrote:
> 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.

Have you seen the new node list syntax in the development series, in
0.2.1.6-alpha and later?  Now you can do similar things with:
    
    # Use exit nodes in GB.
    ExitNodes {gb}

    # Use exit nodes in countries that have won the World Cup
    # recently. Also use any exit node at MIT.
    ExitNodes {it}, {br}, {fr}, 18.0.0.0/8

    # Don't use an exit node in any country that is sinking under
    # water.
    ExcludeExitNodes {mv}

{This is one of the reasons it's usually better to write feature
patches against the development series (where we add features) than
against stable versions.}
 
yrs,
-- 
Nick Mathewson