tcpdump -npi [ifname, exp0 for example] -X -s220
You can throw other parameters in such as:
host 100.2.3.4 and port 80
There are some other commands that you can use to
filter it down to a specific stream as well if that
isn't good enough.
If I am looking for something specific, I will
redirect it to a file with:
> /home/dump.txt
for example and then grep for whatever I am looking
for.
- F
--- Eric Pancer <epancer@...> wrote:
> On 10/26/07, Matthew <matthew.harvey@...>
> wrote:
>
> > Does anyone know how to perform a packet-level
> capture on an interface
> > on a G2? To create a PCAP or similar file, that
> is.
>
> This is pretty easy. You can use tcpdump to monitor
> interfaces.
>
> Just `man tcpdump`.
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com