[tor-bugs] #24604 [Core Tor/Tor]: Decorate IPv6 addresses in connection_t->address to avoid ambiguity

2017-12-12 Thread Tor Bug Tracker & Wiki
#24604: Decorate IPv6 addresses in connection_t->address to avoid ambiguity
--+
 Reporter:  teor  |  Owner:  (none)
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:  ipv6, tor-relay
Actual Points:|  Parent ID:  #24403
   Points:  2 |   Reviewer:
  Sponsor:  SponsorV-can  |
--+
 Currently, connection_t->address can be in one of three formats:
 * hostname: www.example.com
 * IPv4: 1.1.1.1
 * IPv6: 2003::0001

 Tor often uses this address with a port like this:
 * hostname: www.example.com:1234
 * IPv4: 1.1.1.1:1234
 * IPv6: 2003::0001:1234

 The IPv6 case is ambiguous, and we should fix it.

 One way of fixing it is to provide a flag if address is an IPv6 literal,
 and a function to format address and port. (Unfortunately, we can't always
 decorate IPv6 addresses, because that would cause bugs in other code and
 in controllers.)

 Then we would need to go through every instance of `conn->address` and
 find the ones that use a port. This may also require a spec update, like
 #24603.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #24604 [Core Tor/Tor]: Decorate IPv6 addresses in connection_t->address to avoid ambiguity

2020-01-20 Thread Tor Bug Tracker & Wiki
#24604: Decorate IPv6 addresses in connection_t->address to avoid ambiguity
-+-
 Reporter:  teor |  Owner:  (none)
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  ipv6, tor-relay, |  Actual Points:
  034-triage-20180328, 034-removed-20180328  |
Parent ID:  #32314   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * parent:  #24403 => #32314


Comment:

 #32314 should fix this issue

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs