Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #27306

Closed
Open
Created Aug 24, 2018 by Damian Johnson@atagar

'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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking