tinc for iphone & ipod touch

Grzegorz Dymarek gregd72002 at googlemail.com
Wed Sep 9 19:15:03 CEST 2009


Hello,

I've managed to create a tinc build for IPhone and IPod touch. Since the
device does not support TUN interface, TUNEMU was used:
http://code.gerade.org/tunemu/
Please find the patch in the attachment (to be used with tinc-1.0.9).

The patch does the following:
- updates src/Makefile.in & src/Makefile.am so required libraries are
attached and tunemu.c is compiled
- updates src/process.c and src/process.h (apparently there is a problem
executing 'stat' on script files and therefore new function was added to
check if a file exists)
- updates src/bsd/device.c (added support for TUNEMU)

Usage:
1) Copy tunemu.c and tunemu.h into src folder (files can be downloaded from
http://code.gerade.org/tunemu/ )
2) Apply provided patch
3) Run: ./configure --host arm-apple-darwin10.0.0d3
4) Run: make
5) Run: ldid -S src/tincd (required for signing application)
6) Run: make install

Configuration:
In tinc.conf:
DeviceType = tunemu
Device = /dev/null
Interface = ppp0

The program was tested on IPod Touch with firmware 3.0.

Thanks,
Grzegorz Dymarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20090909/f1f755e1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinc-iphone.patch
Type: text/x-patch
Size: 10310 bytes
Desc: not available
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20090909/f1f755e1/attachment.bin>


More information about the tinc-devel mailing list