[tor-bugs] #11360 [Tor]: Listen on IPv6 by default for SocksPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 31 16:21:09 UTC 2014


#11360: Listen on IPv6 by default for SocksPort
-----------------------------+--------------------------
     Reporter:  dgoulet      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.???
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by nickm):

 So, the trickiest part here is that right now the code assumes 1:1
 correspondence between *Port lines in the configuration file and
 port_cfg_t entries; and it also assumes a 1:(0,1) correspondence between
 port_cfg_t entries as created by parse_port_config(), and listener
 connections as opened in retry_listener_ports().  One of those
 correspondences would need to get relaxed to be 1:many, but I'm not sure
 which.  It would be cleaner to do the latter, if practical.

 To start out, have a look at the port_cfg_t structure, how
 retry_listener_ports() reconciles a port_cfg_t list with a list of
 listener connections, and at how parse_port_config() generates port_cfg_t.

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


More information about the tor-bugs mailing list