[tor-bugs] #5454 [Stem]: ExitPolicy Class for stem

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jul 7 20:07:27 UTC 2012


#5454: ExitPolicy Class for stem
-------------------------+--------------------------------------------------
 Reporter:  gsathya      |          Owner:  atagar        
     Type:  enhancement  |         Status:  needs_revision
 Priority:  normal       |      Milestone:                
Component:  Stem         |        Version:                
 Keywords:               |         Parent:                
   Points:               |   Actualpoints:                
-------------------------+--------------------------------------------------
Changes (by atagar):

  * status:  needs_review => needs_revision


Comment:

 Damn, I screwed up on this. Arm is parsing a torrc's exit policy rather
 than the dir-spec's exitpattern...
 https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l924

 They're similar, but not the same. An exitpattern is better defined and
 stricter in what it'll accept. For instance, ports are not optional and it
 does not contain the 'private' alias.

 I'll take over this task and rewrite the parser when I'm able (unless
 you're eager to dig into writing a strict parser). Sorry about the
 confusion.

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


More information about the tor-bugs mailing list