[tor-bugs] #22697 [Core Tor/Tor]: Tor should mandatory require brackets around ipv6 address

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 4 16:42:23 UTC 2017


#22697: Tor should mandatory require brackets around ipv6 address
--------------------------+------------------------------------
 Reporter:  toralf        |          Owner:
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.3-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:1 atagar]:
 > 10:21 < atagar> I'd very much favor saying tor should require square
 brackets as it does with the spec. Otherwise your example (reject6
 2a00:1450:4001:0058::7/16:443) is a pita to parse since the '/16' is
 optional, so that means I'd also need to make sense of
 '2a00:1450:4001:0058::7:443'.

 This would break existing torrcs: but we should at least make the brackets
 mandatory when there is a port and no mask.

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


More information about the tor-bugs mailing list