[tor-bugs] #7952 [Tor]: Control port method to get the exit policy

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 23 10:25:44 UTC 2013


#7952: Control port method to get the exit policy
------------------------------------------+---------------------------------
 Reporter:  atagar                        |          Owner:                    
     Type:  enhancement                   |         Status:  needs_information 
 Priority:  normal                        |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                           |        Version:                    
 Keywords:  tor-relay easy small-feature  |         Parent:                    
   Points:                                |   Actualpoints:                    
------------------------------------------+---------------------------------
Changes (by cypherpunks):

  * status:  new => needs_information


Comment:

 Do we want `GETCONF ExitPolicy` to return an entire OR exit policy?
 Currently it returns only the value of `ExitPolicy` parameter in torrc.
 This seems to be consistent with the purpose of GETCONF command. Shouldn't
 the entire exit policy be retrievable via some other control port command?

 Suppose one has refactored the above refenced exit policy dumping code
 into standalone function. Where in control.c should this function be
 called?

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


More information about the tor-bugs mailing list