Hi all I've the following scenario: I've Raspberry Pi (arm architecture) running Kali Linux where I launch tshark in order to capture net packets using followin command: Well, if I move capture.pcap on Ubuntu 13.10 x64 , both Wireshark and tshark told me that capture.pcap is not recognized. Same issue on viceversa. Any idea? thx asked 18 Jun '14, 14:37 blaskino edited 18 Jun '14, 16:14 Guy Harris ♦♦ |
One Answer:
So that's the output of When you FTPed the capture file, did the FTP program indicate whether it was transferred in ASCII mode (which will NOT work - the copy will not be an exact copy and will not be readable) or in binary mode (which should work)? What does answered 18 Jun '14, 16:13 Guy Harris ♦♦ Hi Guy, yes, capinfos' output is on Raspberry Pi. The output of Thanx, now I check the transfer mode on ftp. I'll try also to get the file using a pendrive. (18 Jun '14, 23:05) blaskino Solved! It's a matter of file trasfer as you said. Setting up ftp to binary mode both on client and server solved the issue. (19 Jun '14, 00:57) blaskino 1 @blaskino I've moved around the comments and "answers" to create an actual answer. If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information. (19 Jun '14, 11:14) grahamb ♦ |
How do you move the file?
What is the output of the following commands
Hi Kurt, first of all thx for the answer. I move the capture.pcap file via ftp.
The output of file capture.pcap is:
capture.cap: pcap-ng capture file - version 1.0
and the output of capinfos capture.pcap is:
File name: capture.cap File type: Wireshark/... - pcapng File encapsulation: Ethernet Packet size limit: file hdr: (not set) Number of packets: 4215 File size: 792 kB Data size: 651 kB Capture duration: 61 seconds Start time: Wed Jun 18 21:53:35 2014 End time: Wed Jun 18 21:54:36 2014 Data byte rate: 10 kBps Data bit rate: 85 kbps Average packet size: 154,52 bytes Average packet rate: 69 packets/sec SHA1: a49d26d9cc4449eb71387372cc526e270eafc513 RIPEMD160: 11f4a65bb100b8137c24198a664a22ebf4ed3ccc MD5: 7a0e43b3fae414638ca1da1be6e1f25f Strict time order: True
Thanks again!