Opened 5 months ago

Closed 8 weeks ago

#25853 closed defect (fixed)

Behavior for Controller.get_exit_policy() for tor client

Reported by: dmr Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Normal Keywords: controller easy
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In #25423 it was noticed that...

[...] the client-only configuration ALWAYS returns this:

>>> GETINFO exit-policy/full
551 router_get_my_routerinfo returned NULL

#25852 tracks implementing defined behavior in tor and the control spec to return 551 in this scenario.

This ticket tracks any necessary changes to stem.control for Controller.get_exit_policy() to return the appropriate ExitPolicy (perhaps None) for tor clients.

Child Tickets

Change History (3)

comment:1 Changed 5 months ago by atagar

Keywords: controller easy added

comment:2 Changed 8 weeks ago by atagar

This turned out to be more involved than I thought but in the end got to a good spot. Change pushed.

https://gitweb.torproject.org/stem.git/commit/?id=542fa1f

comment:3 Changed 8 weeks ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.