Opened 6 years ago

Closed 6 years ago

#11008 closed defect (fixed)

Accept Non-Tor Platform line in Server Descriptor

Reported by: sysrqb Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Stem currently assumes the platform line in the server descriptor starts with "platform Tor".

platform_match = re.match("^Tor (\S*).* on (.*)$", value)

There exist other implementations which say something else, such as "platform node-Tor". Maybe changing "^Tor" to "(\w*)" will work, but there could be a better way.

Child Tickets

Change History (2)

comment:1 Changed 6 years ago by sysrqb

There are instances of node-Tor that exist in the wild. For example,

comment:2 Changed 6 years ago by atagar

Resolution: fixed
Status: newclosed

Added support for node-Tor relays. Thanks for the catch!

Note: See TracTickets for help on using tickets.