[tor-bugs] #22534 [Core Tor/Tor]: Stop parsing rend protocol versions greater than 7 in legacy hidden service descriptors (was: Stop ignoring rend protocol versions greater than 7 in legacy hidden service descriptors)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 8 07:42:59 UTC 2017


#22534: Stop parsing rend protocol versions greater than 7 in legacy hidden service
descriptors
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Very Low      |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.4.3-alpha
 Severity:  Minor         |     Resolution:
 Keywords:  hs-legacy     |  Actual Points:
Parent ID:                |         Points:  0.2
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 This means Tor generates versions 0-7, but parses versions 0-15.

 If we do want to fix it, we can make REND_PROTOCOL_VERSION_BITMASK_WIDTH
 8, and use it in rend_encode_v2_descriptors(). This will make our parser
 ignore versions 8-15. And nothing will change.

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


More information about the tor-bugs mailing list