Updated sources and changes that makes dns work.
Hope that helps.
https://github.com/SuppSandroB/Ony/blob/master/src/org/torproject/android/vpn/OrbotVpnService.java#L176
https://github.com/SuppSandroB/Ony/blob/master/external/badvpn_dns/tun2socks/tun2socks.c#L1131
// external/tor/src/or/config.c
if (parse_port_config(ports,
options->DNSPort_lines, options->DNSListenAddress,
"DNS", CONN_TYPE_AP_DNS_LISTENER,
"10.0.0.1", 0,
CL_PORT_WARN_NONLOCAL|CL_PORT_TAKES_HOSTNAMES) < 0)
{
*msg = tor_strdup("Invalid DNSPort/DNSListenAddress configuration");
goto err;
}
2015-01-24 17:41 GMT+01:00 SandroB Browser <[email protected]>:
> Ony
> first apk as poc:
> https://github.com/SuppSandroB/Ony/releases/tag/v0.1
>
> Orbot fork that make it work without need for root for all traffic. Uses
> vpn mode.
> - vpn must be started from menu
> - orbot is started as usual
> - sources are not synced yet. still lot of cleanup to be done
> - build with native PIE support
> - local tor dns on port 5400 is used
> - tun2socks is used for vpn bridge
>
>
> 2015-01-24 8:50 GMT+01:00 SandroB Browser <[email protected]>:
>
>> I see. I think that I can make also dns redirection work as it should.
>> Will make some orbot fork and create apk to test.
>> rgrds
>>
>>
>> 2015-01-23 21:13 GMT+01:00 Patrick Connolly <[email protected]
>> >:
>>
>>> > Is there any progress on this?
>>>
>>> https://gitweb.torproject.org/orbot.git/log/?qt=grep&q=vpn
>>>
>>> Code-wise, commits related to "vpn" show last relevant activity was Nov.
>>> 13, so it would seem "no".
>>>
>>> But someone else might be able to fill in on the specifics. My guess is
>>> that it's not priority until Orbot's Android 5.0 support is out, where
>>> presumably the VPN service is better or simply different.
>>>
>>>
>>> --------------------------------------------
>>> Q: Why is this email [hopefully] five sentences or less? | A:
>>> http://five.sentenc.es
>>>
>>> *NOTE* that my incoming emails are delayed from arriving in my inbox
>>> until 9am daily. If you need to reach me sooner, please use other means of
>>> getting in touch. #slowwebmovement
>>> <http://www.musubimail.com/gmail_timer.html>
>>>
>>> On Fri, Jan 23, 2015 at 1:51 PM, SandroB Browser <[email protected]
>>> > wrote:
>>>
>>>> While ago there was some posts that Orbot will support non rooted mode
>>>> with vpn.
>>>> Is there any progress on this?
>>>>
>>>> _______________________________________________
>>>> Guardian-dev mailing list
>>>>
>>>> Post: [email protected]
>>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>>
>>>> To Unsubscribe
>>>> Send email to: [email protected]
>>>> Or visit:
>>>> https://lists.mayfirst.org/mailman/options/guardian-dev/patrick.c.connolly%40gmail.com
>>>>
>>>> You are subscribed as: [email protected]
>>>>
>>>>
>>>
>>
>
_______________________________________________
Guardian-dev mailing list
Post: [email protected]
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
To Unsubscribe
Send email to: [email protected]
Or visit:
https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com
You are subscribed as: [email protected]