Re: ethereal always writes to a file
Dougie Nisbet, 2002-Jan-31 17:53 +0000:
> Is there any way I can use ethereal to just monitor traffic? It always wants
> to write to a file, (/tmp/ethxxxx). I've not tried telling it to use
> /dev/null yet. I'll see what that does.
>
> Dougie
I just started ethereal as such:
# ethereal -w /dev/null
and it still used the /tmp/ethxxxx file. It simply sent the /tmp
file to /dev/null when I closed it. So, I started it again the
same way and started a capture. This time I did this:
# cd /tmp
# ls eth*
etherXXXXI4Abxa
# rm etherXXXXI4Abxa && ln -s /dev/null/etherXXXXI4Abxa
# ll eth*
lrwxrwxrwx 1 root root 9 Feb 6 22:03 etherXXXXI4Abxa -> /dev/null
This worked fine, sending all the captured data to null.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: