VanLUG Email Archive

Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Mailing List
Re: tcpdump trouble

New Message Reply About this list Date view Thread view Subject view Author view

Yakov N Miles (ynmiles@telus.net)
Wed, 03 Jan 2001 11:42:55 -0800


Lance Couture wrote:
>
> Hello,
>
> I am trying to monitor traffic on my firewall using 'tcpdump' (homepage:
> http://www.it.kth.se/edu/gru/Internet/tcpdump.html), however I am having
> trouble getting it to create a file that is readable. Here is the syntax I
> am using:
>
> tcpdump -i eth0 -w /var/log/eth0dump (... being run as 'root')
>
> This does generate a file in /var/log called 'eth0dump', but it is
> completely illegible in any text editor - all that is in the file is
> seemingly random, garbage, characters, but if I chose not to output to a
> file, only parsed to the screen, everything is fine.
>
> Does anyone have some insight as to what I am doing wrong, or how I can fix
> this?

tcpdump -i eth0 -l >somefile.dump

-- 
Linux - because a PC is a terrible thing to waste. mailto:ynmiles@telus.net
Note	http://www.cheapbytes.com for (almost) free Linux & freeBSD CD-ROMs
and	http://www.overclockers.com to get the MOST from your computer
Website http://www3.telus.net/Yakov/index.html
--
This message came to you via the Vancouver Linux Users Group mailing list.
For unsubscription instructions do not email the list, but rather send mail
to <vanlug-request@gweep.bc.ca>.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Wed 03 Jan 2001 - 19:46:35