> Date: Thu, 29 Nov 2012 00:12:39 +0100
> From: Reyk Floeter <[email protected]>
> 
> On Wed, Nov 28, 2012 at 10:42 PM, Mark Kettenis <[email protected]> 
> wrote:
> > But currently /dev/tunN is usable from any programming language that
> > that can do reads and writes.  With Reyk's changes you need to do an
> > ioctl even for basic usage, which is at best quirky in languages other
> > than C/C++.  That feels like a step backward to me.
> 
> OK, I didn't think about VPN services written in node.js...
> 
> I'm just kidding, but can you give me any examples of programs using
> tun that are written in an arbitrary language other than C/C++?

There was some machine emulator software that I came across that had
some Perl scripts that used /dev/tunN to hook itself up to the network
stack.

I guess the point I'm trying to make is that it is very simple to use
/dev/tunN to insert ethernet packets into the network stack.  The
requirement to issue an ioctl to be able to use it makes it
significantly more complex to do so.

Reply via email to