[Bridge] Bridging between user processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Derek Smalls wrote:
 >>I have not played with tun/tap myself, but the
 >>kernel documentation in
 >>Documentation/networking/tuntap.txt seems to
 >>indicate that you need a program to listen on two
 >>opened /dev/net/tun devices and copy the frames
 >>from one to the other.
> Thanks! I was afraid this was the reason ... :(
> 
> I actually tried writing an application that would
> open /dev/tap4 as a file and do a select() on it. 

The standalone tun-package [1] contains two example applications that 
act as simple bridges, one using SIGIO, one using select(). I guess it 
could be helpful for you to take a look at these examples.

[1] http://vtun.sourceforge.net/tun/tun-1.1.tar.gz

Bye, Mike


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux