[tor-bugs] #993 [Tor Relay]: Add ExitPolicy by country

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Jan 9 19:55:50 UTC 2011


#993: Add ExitPolicy by country
--------------------------------+-------------------------------------------
 Reporter:  Zakhar              |         Type:  enhancement
   Status:  new                 |     Priority:  minor      
Milestone:  Tor: 0.2.3.x-final  |    Component:  Tor Relay  
  Version:  0.2.0.34            |   Resolution:  None       
 Keywords:                      |       Parent:             
--------------------------------+-------------------------------------------

Comment(by privacyresearch):

 Hi all,

 we tried to do the same.

 In order to implement the feature of country without modifying the
 exitpolicy syntax in the descriptors we would think to use a tricks.

 The "ExitPolicy" parameter require an IP address.

 There are certain networks unroutable trough TOR (like 127/8 and multicast
 224/8).

 Why not assign 127.127.0.0/16 for a mapping of IP/COUNTRYCODE .

 That way the user configuring torrc can write:
 ExitPolicy reject IT # block italy

 but this would translate in the descriptors like 127.127.10.10 (if
 CountryCode "IT" is assigned by a convention to 127.127.10.10).

 That way within TOR ExitPolicy syntax we would reserve some classes for
 added ExitPolicy information, now to be used for "Country", but in future
 who know.


 This would also don't break backward compatibility of descriptors.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/993#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list