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

Re: [tor-bugs] #25712 [Metrics/Library]: Replace ServerDescriptor#getHiddenServiceDirVersions with ServerDescriptor#isHiddenServiceDir



#25712: Replace ServerDescriptor#getHiddenServiceDirVersions with
ServerDescriptor#isHiddenServiceDir
-----------------------------+--------------------------------
 Reporter:  karsten          |          Owner:  karsten
     Type:  enhancement      |         Status:  needs_revision
 Priority:  Low              |      Milestone:
Component:  Metrics/Library  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+--------------------------------
Changes (by teor):

 * status:  needs_review => needs_revision


Comment:

 Hi Karsten,

 I think that testHiddenServiceDirVersions2And3() should not throw a parse
 error. Extra arguments are allowed at the end of directory lines, unless
 specifically prohibited in the spec:
 https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n261

 The spec change in #25284 documents that tor has always ignored version
 arguments on this line. It does not make trailing arguments invalid, and
 some non-tor implementations may use them.

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