[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #32314 [Core Tor/Tor]: Can't connect to literal IPv6 address containing double colon



#32314: Can't connect to literal IPv6 address containing double colon
--------------------------+------------------------------------
 Reporter:  liberat       |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.4.1.6
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:4 liberat]:
 > > This isn't quite right. Addresses and ports in Tor cells are binary.
 So the string parsing all happens on the client.
 >
 > I could be wrong.  But according to the spec, the payload of the
 RELAY_BEGIN cell is:
 > {{{
 >          ADDRPORT [nul-terminated string]
 >          FLAGS    [4 bytes]
 >
 >    ADDRPORT is made of ADDRESS | ':' | PORT | [00]
 >
 >    where  ADDRESS can be a DNS hostname, or an IPv4 address in
 >    dotted-quad format, or an IPv6 address surrounded by square brackets;
 >    and where PORT is a decimal integer between 1 and 65535, inclusive.
 > }}}

 You're right, I was thinking of EXTEND2 cells, not BEGIN cells.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32314#comment:6>
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