module TorControl::Info::DirServer

Overview

A series of lines listing directory contents, provided according to the specification for the URLs listed in Section 4.4 of dir-spec.txt. Note that Tor MUST NOT provide private information, such as descriptors for routers not marked as general-purpose. When asked for 'authority' information for which this Tor is not authoritative, Tor replies with an empty string.

Note that, as of Tor 0.2.3.3-alpha, Tor clients don't download server descriptors anymore, but microdescriptors. So, a "551 Servers unavailable" reply to all "GETINFO dir/server/*" requests is actually correct. If you have an old program which absolutely requires server descriptors to work, try setting UseMicrodescriptors 0 or FetchUselessDescriptors 1 in your client's torrc.

Defined in:

get_info.cr

Constant Summary

All = "dir/server/all"
Authority = "dir/server/authority"