[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11360 [Tor]: Listen on IPv6 by default for SocksPort
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs