[tor-bugs] #5454 [Stem]: ExitPolicy Class for stem
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Jun 24 10:31:36 UTC 2012
#5454: ExitPolicy Class for stem
-------------------------+--------------------------------------------------
Reporter: gsathya | Owner: atagar
Type: enhancement | Status: needs_information
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by gsathya):
> That seems weird. What is the use of the microdescriptor exit policy
then? The point of an exit polity is to let the client know if you're
willing to service a particular destination or not. If it doesn't answer
that question, then how is it used by a tor client?
I'm pretty clueless here.
> Note that this doesn't block us from making a class for *descriptor*
exit policies. Making that and tests would be a fine first step (and be
something that we could finally tie into the Descriptor class).
Okay, let me do that. Also do you want me to check the exit policy string
with a regexp for errors? I'm guessing this would take a while if we have
to match _every_ other pattern _and_ check for correctness(like octets
should be less than 256 etc)?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5454#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list