[ILUG] Ethereal

Kenn Humborg kenn at bluetree.ie
Wed Mar 23 10:01:34 GMT 2005


> On Wed, Mar 23, 2005 at 02:22:45AM +0000, Linux ilug wrote:
> > Lads, Does anyone know how to run ethereal as a user and not as root. 
> 
> You need create an ethernet tap, as root - but let the desired
> non-root user own the tap.
> 
> 	tunctl -t tap0 -u nonrootuser	
> 
> You then need to bridge this tap with the interface you want to
> be able to sniff;
> 
> 	brctl addbr br0
> 	brctl addif br0 tap0
> 	brctl addif br0 eth0
> 
> Of course you need to have tap/tun and bridging built into your kernel
> (or loaded as a module), but you should then have a tap you can sniff
> away as a non-root user that sees all traffic on eth0.

Can you send packets via tap0 as well?  And if you do, do those
packets go on the wire via eth0 and _also_ get seen by the host
itself?

If so, that might simplify the running of VAX emulators with
networking :-)

Later,
Kenn




More information about the ILUG mailing list