[tor-bugs] #11108 [Tor]: SocksPolicy and DirPolicy ignore port specifications, contrary to documentation

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 5 23:46:51 UTC 2014


#11108: SocksPolicy and DirPolicy ignore port specifications, contrary to
documentation
-----------------------------+---------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  defect       |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-docs tor-client
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------------------

Comment (by cypherpunks):

 Patch looks good to me.

 But, I also just noticed that the documentation for these various policy
 options does not make it entirely clear that there is an implicit default
 "accept *:*" policy for everything, except ReachableAddresses,
 ReachableORAddresses, and ReachableDirAddresses (I think) which have a
 "reject *:*" inserted at the end.

 (It is clear enough in the ExitPolicy example, and the others say they're
 like the ExitPolicy, and one could infer from the examples in the
 Reachable* options that there must be a reject there, but it could be
 clearer.)

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


More information about the tor-bugs mailing list