This is a patch used by the Android app Briar (since October 2014) that we would like to upstream. It adds an HSFORGET command to the control protocol which clears any cached client state relating to a specified hidden service. This can be used to flush state that's likely to be stale before trying to connect to a hidden service via an unstable network connection (such as a mobile data connection).
Trac: Username: str4d
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Thanks for this! That sounds useful and also until we have a way to reliably detect network changes in tor, I can see a use for that (well clearly you have one :).
(This also need a control-spec.txt change)
Trac: Status: needs_review to needs_revision Sponsor: N/Ato SponsorR-can Points: N/Ato small Keywords: TorCoreTeam201604 deleted, tor-hs added
New patches uploaded that add descriptor-cookie support (as part of fixing a bug in the previous patch), as well as tests for the new rendcache and rendclient functions per comment:5.
The rendcache test currently fails, but not due to the new code - the descriptor fails to parse during test setup. I copied the descriptor from src/test/test_hs.c so it should have been fine... I am also unsure how duplicate test data should be handled in the Tor testing framework. Pointers welcome :)