[tor-bugs] #8137 [Torsocks]: add option to allow connections to local addresses

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 19 00:58:00 UTC 2015


#8137: add option to allow connections to local addresses
--------------------------+--------------------------
     Reporter:  proper    |      Owner:  dgoulet
         Type:  defect    |     Status:  needs_review
     Priority:  normal    |  Milestone:
    Component:  Torsocks  |    Version:
   Resolution:            |   Keywords:
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------
Changes (by yawning):

 * status:  assigned => needs_review


Comment:

 This caught my eye as I was looking over the bugs.  See the attached
 patch.  It only fixes intrigeri's issue since, that is dead easy.  I don't
 have the time or motivation to bring back the old "local" config
 directive, although that would be needed for the default
 VirtualAddrNetworkIPv4/IPv6 config.

 Somewhat tested in that:
  * It compiles.
  * The unit tests didn't break (Didn't add any because I'm a bad person).
  * Connections a httpd on 127.0.0.1:someport with aria2c via torsocks:
    * Fail without any option.
    * Fail with the option set to `0`.
    * Succeed with the option set to `1`.

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


More information about the tor-bugs mailing list