[tor-bugs] #15010 [Tor]: Hidden service descriptor spec clarifications

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 24 03:49:57 UTC 2015


#15010: Hidden service descriptor spec clarifications
--------------------+---------------------
 Reporter:  atagar  |          Owner:
     Type:  defect  |         Status:  new
 Priority:  minor   |      Milestone:
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+---------------------
 Hi Nick, as per #15004 I'm adding the ability to parse hidden service
 descriptors to Stem. In general the
 [https://gitweb.torproject.org/torspec.git/tree/rend-spec.txt#n222 rend-
 spec] is delightfully clear, though there's a couple spots that could do
 with clarification...

 * The 'version' and 'protocol-versions' fields are defined as a **version-
 number** which isn't a thing. In practice these versions are presently
 integers, but I need for the spec to explicitly either say they're
 integers or what they can contain. This will determine if they're an int
 or str in Stem.

 * The 'introduction-points' contains a 'ip-address' with a field defined
 as a **ip-address**. Again, that's not a well defined type. For this one
 I'm curious 'is this IPv4? IPv6? Would IPv32 be cool too?'. This will
 determine if/how I try to validate this field.

 Cheers! -Damian

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


More information about the tor-bugs mailing list