Hello,
I'm currently developping orwall, a UI over iptables allowing to block all IP traffic and forcing selected apps through Orbot (while blocking the others), among other things.
I'm wondering if there's a way to ask Orbot, if installed, its SOCKS and TransPort configuration. I think NetCipher lib may do it, but I'm not that sure.
Thanks in advance for your answer/help :).
Cheers,
C.
On 07/29/2014 03:03 PM, CJ wrote:
I'm currently developping orwall, a UI over iptables allowing to block all IP traffic and forcing selected apps through Orbot (while blocking the others), among other things.
I'm wondering if there's a way to ask Orbot, if installed, its SOCKS and TransPort configuration. I think NetCipher lib may do it, but I'm not that sure.
This feature is underway. You can add a ticket on Github or via our dev tracker: https://dev.guardianproject.info/projects/onionkit
For most users, it will be default (9040, 9050, etc), but its definitely possible that people can change them, especially if they have the dreaded Samsung Link conflict.
As for the implementation, it will simply be an Intent you send to Orbot and it will respond with the values.
+n
On 29/07/14 21:19, Nathan Freitas wrote:
On 07/29/2014 03:03 PM, CJ wrote:
I'm currently developping orwall, a UI over iptables allowing to block all IP traffic and forcing selected apps through Orbot (while blocking the others), among other things.
I'm wondering if there's a way to ask Orbot, if installed, its SOCKS and TransPort configuration. I think NetCipher lib may do it, but I'm not that sure.
This feature is underway. You can add a ticket on Github or via our dev tracker: https://dev.guardianproject.info/projects/onionkit
For most users, it will be default (9040, 9050, etc), but its definitely possible that people can change them, especially if they have the dreaded Samsung Link conflict.
As for the implementation, it will simply be an Intent you send to Orbot and it will respond with the values.
+n
Hello Nathan,
Thanks for the tip, I'll open a feature request :). In the meanwhile, I suppose I'll get the current setting the user may edit.
I'll use this lib in order to detect Orbot and propose the installation, as it seems to do it properly. Happy to be able to play a bit with that.
Cheers,
C.