[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #25852 [Core Tor/Tor]: GETINFO exit-policy for tor client should return 551
#25852: GETINFO exit-policy for tor client should return 551
--------------------------------------------+------------------------------
Reporter: dmr | Owner: (none)
Type: defect | Status:
| needs_revision
Priority: Medium | Milestone: Tor:
| 0.3.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-spec, tor-client, fast-fix | Actual Points:
Parent ID: | Points:
Reviewer: dgoulet | Sponsor:
--------------------------------------------+------------------------------
Comment (by atagar):
Gotcha, thanks David. I'll leave this in your capable hands but for what
it's worth the reason I bring this up is largely about cacheability. When
'GETINFO exit-policy/full' returns something I can safely cache it
until...
a. A SETCONF changes our ExitPolicy.
b. Our externally facing address changes.
Tor provides events for those so once I get my hands on a policy I can
skip future GETINFO calls (Nyx does a lot of this to lessen its load on
tor).
In the case of error responses I'm curious about cacheability too. In
particular if it's transient (ie. I should retry) or not. Both the error
cases above are less 'error' than 'no exit policy until X' so I can cache
that. So if we can differentiate them from other (possibly transient)
errors that would be helpful.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25852#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs