Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] tshark (1.10.6) on Ubuntu

Date Prev · Date Next · Thread Prev · Thread Next
From: Ravi Inder Singh <raviinder@xxxxxxxxx>
Date: Mon, 1 Sep 2014 00:26:38 -0400


When i gave following command on ubuntu

tshark -2 -F pcap -r tcpdump.pcap -R "tcp and ip" -w  write.pcap

1) used -F pcap option i want e.pcap in old pcap format.

problem/issue :- When i open write.pcap it has loosed his old time/date

 i.e. tcpdump.pcap was having 26 July 2014  with some time 10.12.34  but in write.pcap it comes to 1970-01-01 with time 00.00.00 .

If i use -w option i will give raw packet but why it is loosing Time from it.


Is any way to correct this situation with option or anything else.


Thanks, 

Ravi