On Tue, Sep 18, 2012 at 10:28:48PM +0200, Hinnack wrote:
> Is there already a library for including tinc into an application directly?
> This could be useful on devices, where you can not install tinc natively
> e.g. on the iPhone. If I could include the whole logic into my app, I could
> send /receive data directly through the lib.
> As tinc sits very high in the OSI model - as far as I know, this all should
> be possible...
Tinc communicates with other daemons via UDP and TCP, which is very high in the
OSI model, but what it does inside those UDP and TCP connections is
transmitting Ethernet or IP packets, which are very low in the OSI model. So
unless you want to send and receive individual packets, as opposed to
establishing a TCP connection with a host inside the VPN, putting tinc directly
in your app is not very helpful.
What kind of app did you have in mind?
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL:
<http://www.tinc-vpn.org/pipermail/tinc/attachments/20120918/a386a855/attachment.pgp>