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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 22 18:52:10 UTC 2017


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

Comment (by atagar):

 Just a little more context...

 10:18 < atagar> toralf: If this is in a descriptor then yes, the square
 brackets are mandatory (https://gitweb.torproject.org/torspec.git/tree
 /dir-spec.txt#n1244). If it's in the torrc then it's unspecified. Tor
 lacks a spec for what it'll accept but all its examples have square
 brackets (https://www.torproject.org/docs/tor-manual.html.en#ExitPolicy).

 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'.

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


More information about the tor-bugs mailing list