Tinc VPN for unjailbroken iOS 9+
Paul Chobert
paul at chobert.fr
Wed Aug 23 17:40:58 CEST 2017
Thanks Ryan for your feedback,
You were completely right, a port would be possible but will require a lot
of work.
I'm not that familiar with tinc source code nor Apple Network Extensions
API but here is what I identified so far:
- Replace OpenSSL with Secure Transport
- Implement a device based on AppProxyProvider
- We might embed LZO and use Apple ZLIB but I have no idea how to glue
around those parts in tinc
- Replace send_tcppacket and send_udppacket to use some NWUDPSession and
NWTCPConnection
I'll continue to explore how I could refactor and make tinc souce code more
modular to replace UNIX socket primitive with the Apple way of handling
networking for IP tunnels.
Regards,
Paul.
Le mer. 26 juil. 2017 à 12:42, Ryan Mounce <ryan at mounce.com.au> a écrit :
> I have looked into this and it would definitely be possible,
> NETunnelProvider. It was not looking like a simple port though, a lot
> of glue required to get it to a state Apple would approve.
>
> This had been on my list of projects to attempt if I could find the
> time and energy to commit to it. If you do port it I would be very
> interested!
>
> Regards,
> Ryan Mounce
>
>
> On 26 July 2017 at 20:54, Bright Zhao <startryst at gmail.com> wrote:
> > +1, waiting for this for quite a while.
> >
> > Paul Chobert <paul at chobert.fr>于2017年7月26日 周三下午7:23写道:
> >>
> >> Hi,
> >>
> >> Is there any existing solution to install iOS9 on unjailbroken iOS
> devices
> >> ?
> >>
> >> If there is none, I'm thinking of porting tinc to iOS, I haven't looked
> at
> >> the source code much but I should be able to create a NetworkExtension
> for
> >> tinc.
> >>
> >> Thank you,
> >> Paul.
> >> _______________________________________________
> >> tinc mailing list
> >> tinc at tinc-vpn.org
> >> https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
> >
> > --
> > Sent from iPhone
> >
> > _______________________________________________
> > tinc mailing list
> > tinc at tinc-vpn.org
> > https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
> >
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170823/6704cf55/attachment.html>
More information about the tinc
mailing list