[tor-bugs] #27306 [Core Tor/Tor]: 'GETINFO exit-policy/full' fails when disconnected

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 24 18:46:11 UTC 2018


#27306: 'GETINFO exit-policy/full' fails when disconnected
------------------------------+--------------------
     Reporter:  atagar        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Major         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 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

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27306>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list