[guardian-dev] Patches to improve mobile hidden service performance

Nathan of Guardian nathan at guardianproject.info
Mon Oct 6 18:48:23 EDT 2014


Wow, can't wait to try these out!

On Mon, Oct 6, 2014, at 02:36 PM, Michael Rogers wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi all,
> 
> I've been experimenting with small changes to Tor to improve the
> performance of mobile hidden services. Attached are patches for Tor
> (https://git.torproject.org/tor.git, tor-0.2.24 tag) and jtorctl
> (https://github.com/guardianproject/jtorctl.git, master branch) that
> make two performance improvements:
> 
> 1. Each time the network's enabled, don't try to build introduction
> circuits until we've successfully built a circuit. This avoids a
> problem where we'd try to build introduction circuits immediately, all
> the circuits would fail, and we'd wait for 5 minutes before trying again.
> 
> 2. Added a command to the control protocol to purge any cached state
> relating to a specified hidden service. This command can be used
> before trying to connect to the service to force Tor to download a
> fresh descriptor.
> 
> I've only done small-scale testing of these patches so far. I'd be
> interested to know whether they improve performance for your apps. If
> they seem to be useful I'll submit them upstream.
> 
> Cheers,
> Michael
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> 
> iQEcBAEBCAAGBQJUMuFJAAoJEBEET9GfxSfMqFwH/iOVr9rV0Yy4gh3lnkZBkl4S
> 8ihYRFQagrs5WzZfX/K29RW/EGsjrJiQxnXBagikuMnRStBi35/7Ol1goJ/be5ZM
> oi78ZjTNJf3tdE4BTXZcBkjd4OOA1K1lmIzTORLS48G9Rvkd+idU9uRA1qCjaWrc
> HP5+bjF+4Xc8YH5NfXXuli8/od89eYiEq5oL5BILUxI1K1eTLQZcQ1ECiRffCJJB
> yVXIYHtzJqnYIKJRa739EBk3FP0aPZc62PBtiaGUZsXSw9FKH6MqOjLd+EefppEY
> 0pqb56cHTdnBcpDtqocgtIp+2hmhz0cC0SpP90vLqxeS4L0xfN+r8eWxia2QfHQ=
> =8Ccr
> -----END PGP SIGNATURE-----
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit:
>         https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info
> 
> You are subscribed as: nathan at guardianproject.info
> Email had 4 attachments:
> + tor.patch
>   7k (text/x-patch)
> + jtorctl.patch
>   1k (text/x-patch)
> + tor.patch.sig
>   1k (application/pgp-signature)
> + jtorctl.patch.sig
>   1k (application/pgp-signature)


-- 
  Nathan of Guardian
  nathan at guardianproject.info


More information about the Guardian-dev mailing list