[tor-bugs] #11010 [Tor]: add ClientConnectPolicy config option

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 6 00:32:18 UTC 2014


#11010: add ClientConnectPolicy config option
-----------------------------+------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Tor: unspecified
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------

Comment (by cypherpunks):

 The patch above is my very first for tor, and the most C I've written in a
 while, so I'm looking forward to hearing what I've done wrong :)

 One thing I don't understand is what the expression "!conn->use_begindir
 && !conn->chosen_exit_name && !circ" in connection_edge.c is for - I just
 copied that from the consider_plaintext_ports code directly above the code
 I inserted. (Under which conditions would that expression be exepected to
 evaluate to false?)

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


More information about the tor-bugs mailing list