[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: assigned
Priority: Medium | Milestone: Tor: 0.2.???
Component: Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-client ipv6 | Actual Points:
Parent ID: #17811 | Points:
Sponsor: |
-----------------------------+------------------------------
Comment (by teor):
One way to implement this change:
* In parse_ports, pass a default IPv4 and IPv6 address to
parse_port_config
* Either or both addresses can be NULL (meaning "no listener for this
family")
* In parse_port_config, create a port for IPv4 and IPv6
* don't add IPv6 if there's a matching IPv6 in the port list
* don't add IPv6 if IPv4 is 0.0.0.0 and 0.0.0.0 binds to IPv6 as well
* maybe don't add IPv4 if IPv6 is :: and :: binds to IPv4 as well,
alternately, just pass 0.0.0.0 and NULL to parse_port_config to avoid this
issue
* make logging of "protocol not supported" on non-IPv6 systems quieter
* maybe add new options DefaultLoopbackListenerUseIPv4/6 to allow
listeners to be turned on or off for IPv4/6 in the torrc
* this avoids changing behaviour of existing 0.0.0.0 configs, which I
think is the right way to do it
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11360#comment:12>
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