Opened 11 months ago

Last modified 9 months ago

#31190 new enhancement

List all valid DirPort urls

Reported by: atagar Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-spec
Cc: Actual Points:
Parent ID: #28982 Points:
Reviewer: Sponsor:


Hi network team. Every so often folks stumble on DirPort resources Stem doesn't recognize...

Unfortunately section 'B' is the closest enumeration we have, but even it doesn't include everything...

Could we spec a listing of all urls the DirPort supports (similar to the GETINFO section in the control-spec)?


Child Tickets

Change History (3)

comment:1 Changed 11 months ago by nickm

Keywords: tor-spec added
Milestone: Tor: unspecified

This is worth doing in Tor. In the meantime, though, I'd wonder if it's possible that that Stem might want to have some may to support unrecognized dirport URLs.

comment:2 Changed 11 months ago by atagar

Hi Nick. The trouble with unrecognized DirPort urls is that Stem needs to know the descriptor type it should parse the response as.

comment:3 Changed 9 months ago by teor

Parent ID: #28982

If we do #28982, and turn all DirPort URLs into GETINFOs, stem will be able to get this listing over the control port.
And we can add any missing URLs to the dir-spec as stem finds new ones.
We can then update the control-spec to reference the list in the dir-spec.

Note: See TracTickets for help on using tickets.