[tor-dev] iObfs: obfs4proxy on iOS

Mike Tigas mike at tig.as
Thu Apr 14 00:16:19 UTC 2016

David Fifield:
>> > There are trivial forks of obfs4[1] and goptlib[2] that simply hard-code
>> > some options that are normally sent as environment variables because
>> > obfs4proxy runs in managed mode[3].
> […]
> This is radical. Maybe you don't need the fork of goptlib if you do
> os.Setenv on the relevant variables before calling pt.ClientSetup in
> obfs4?

Awesome. Thanks for the tip: nuked the goptlib fork *and* cleaned up the
obfs4 fork a bunch:

As for the rest of iObfs, the build is a little more streamlined now,
using a fork of gomobile (since mainline doesn't build for i386 by
default) and the now-smaller obfs fork:

And things are in fairly clean shape now. There's an example in my repo
now[1] showing minimally what it takes to link and implement Tor into a
webview app[2] and then how to link & implement obfs4proxy into it[3].

[1]: https://github.com/mtigas/iObfs/tree/master/example

Mike Tigas
News Applications Developer, ProPublica
@mtigas | https://mike.tig.as/ | 0xA993E7156E0E9923

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20160413/6afd815e/attachment.sig>

More information about the tor-dev mailing list