[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-users
Subject:    Re: [Wireshark-users] is it possible to use tcpdump to display capturign information on the linux sh
From:       Erik Hjelmvik <erik.hjelmvik () gmail ! com>
Date:       2012-11-04 20:37:48
Message-ID: CAJEFHcjWB3RbFJ_PU=ZdXPX4i+KFOTpj2eG1C=Hg1R2zdswZjg () mail ! gmail ! com
[Download RAW message or body]

2012/10/29 Guy Harris <guy@alum.mit.edu>:
> 
> On Oct 29, 2012, at 5:48 AM, esolve esolve <esolvepolito@gmail.com> wrote:
> 
> > if I use tcpdump without "-w example.pcap"
> > the capturing information can be displayed on the linux shell window
> > but if I want to write the captured packets into a pcap file
> > the capturing information won't be displayed
> > 
> > is there a way to  display capturign information on the linux shell window  while \
> > writing to pcap files?
> 
> With tcpdump, no.

Actually, with tcpdump, yes:
tcpdump -i eth0 -U -w - | tee dump.pcap | tcpdump -n -r -

> 
> With TShark, yes:
> 
> TShark prior to 1.8:
> 
> tshark ... -S -w example.pcap
> 
> TShark 1.8.0 and later:
> 
> tshark ... -P -w example.pcap
> ___________________________________________________________________________
> Sent via:    Wireshark-users mailing list <wireshark-users@wireshark.org>
> Archives:    http://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
> mailto:wireshark-users-request@wireshark.org?subject=unsubscribe



-- 
blog: http://www.netresec.com/?page=Blog
twitter: http://twitter.com/netresec
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@wireshark.org?subject=unsubscribe


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic