Benjamin Menküc wrote:
> Hi,
>
> that would be possible, but not very nice, since I am using already a tun
> device, an I would have to create a 2nd. If I want to use the IP-Layer, I
> would also have to assign an ip to the tun device 
>
That's right. So what? Just do it.
You have to pick the packets from the stream anyway, so
why not assigning an own subnet and routing them there?
If the packets are going to another interface, you can
use libpcap (& tcpdump, ethereal) to sniff them.
--
Tauno Voipio
tauno voipio (at) iki fi