tinc for iphone & ipod touch
Mike Bentzen
mike at goodlook.com.au
Wed Sep 9 23:52:42 CEST 2009
This. Is. Awesome.
If only i had an iphone...
Nice work mate!
-original message-
Subject: tinc for iphone & ipod touch
From: Grzegorz Dymarek <gregd72002 at googlemail.com>
Date: 10/09/2009 03:15
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
_______________________________________________
tinc-devel mailing list
tinc-devel at tinc-vpn.org
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc-devel
<<tinc-iphone.patch>>
More information about the tinc-devel
mailing list