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

Michael Rogers michael at briarproject.org
Mon Oct 6 14:36:58 EDT 2014


-----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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tor.patch
Type: text/x-patch
Size: 7004 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141006/82ce67ba/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jtorctl.patch
Type: text/x-patch
Size: 1072 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141006/82ce67ba/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tor.patch.sig
Type: application/pgp-signature
Size: 287 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141006/82ce67ba/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jtorctl.patch.sig
Type: application/pgp-signature
Size: 287 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141006/82ce67ba/attachment-0001.sig>


More information about the Guardian-dev mailing list