[tor-bugs] #17573 [Tor]: Update max_dl_per_request for IPv6 address length

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 12 23:42:13 UTC 2016


#17573: Update max_dl_per_request for IPv6 address length
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  defect                               |         Status:
 Priority:  Medium                               |  needs_revision
Component:  Tor                                  |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.8.x-final
 Keywords:  easy, ipv6, TorCoreTeam201601,       |        Version:
  201512-deferred                                |     Resolution:
Parent ID:  #17811                               |  Actual Points:
  Sponsor:                                       |         Points:
-------------------------------------------------+-------------------------
Changes (by teor):

 * status:  needs_review => needs_revision


Comment:

 Thanks for this patch.

 Code review:
 * the original calculation was missing the port, which can be up to 6
 characters extra: ":65535". Let's fix this existing bug while we're at it.
 * As far as I can tell, the IPv6 address should be in square brackets, to
 avoid ambiguity with an added ":port".

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


More information about the tor-bugs mailing list