[guardian-dev] Fwd: Re: Orbot VPN service

Delyan Kratunov guardian at delyan.me
Fri Oct 24 04:35:48 EDT 2014


Thanks for your reply, glad we're on the same page.

> Happy to fork tun2socks and tune it for our needs. I don't think we
> should start from scratch, and the code definitely needs to be C/native
> for performance reasons.

I took a look at tun2socks and it is trivial to add this BUT I can't seem to 
be able to build it on my machine.

badvpn doesn't seem integrated in external/Makefile and as such is a bit of 
mystery to me building-wise. Its cmake files seem to be using system openssl 
(and nss!) which is also just asking for trouble. Nothing seems to be 
specifying the location of the android headers either (e.g., jni.h). I can sit 
down and patch compile-tun2socks.sh but I wouldn't mind if you committed a 
build script.

I'll sit down this weekend to figure out what the biggest UX/UI wins would be. 
Gradle support or at least building the native parts from the ant script would 
be nice for new devs (speaking from personal experience).

-- Delyan


More information about the Guardian-dev mailing list