'GETINFO exit-policy/full' fails when disconnected
Hi lovely network team folks. When not connected to a network the GETINFO exit-policy/full command fails with 551 Descriptor still rebuilding - not ready yet.
This is with tor commit 7e4ac02.
% cat ~/.tor/torrc
DataDirectory /home/atagar/.tor
ORPort 9052
ControlPort 9051
ExitPolicy reject *:*
% telnet localhost 9051
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
AUTHENTICATE
250 OK
GETINFO exit-policy/full
551 Descriptor still rebuilding - not ready yet
This concerns me because stem's get_exit_policy() method now relies on this GETINFO option. Previously I failed back to our own (somewhat complicated) python code for puzzling out our exit policy. I dropped that recently since this GETINFO option is now universally available on all non-deprecated tor versions.
Definitely rather not re-add our python fallback to work around this. :P