[tor-dev] #32888 IPv6 and 'Address' option

c c at chroniko.jp
Sun Jun 14 10:41:13 UTC 2020


Trac <https://trac.torproject.org/projects/tor/ticket/32888> describes
that "we should also log [for] IPv4 and IPv6: the Address torrc option"
and as tor(1) states, 'Address' takes only an IPv4 address and port.

So what is suggested here? Make 'Address' support IPv6 to be consistent
with other options ('ORPort', 'SocksPort', 'TransPort', 'DNSPort', and
the like all support multiple declarations per torrc, both IPv4 and
IPv6)? If we will have IPv6-only relays in the future, this option
would make quite a bit of sense.

Since I'm on the topic of #32888, I went ahead and pushed the IPv6
logging portion to <https://github.com/torproject/tor/pull/1932> and
have tested with 'ORPort [::1]:9001' and it seems to log successfully.
Not a big change, so I expect it to be an easy merge.

Caitlin


More information about the tor-dev mailing list