• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 408
  • Last Modified:

How to calculate the details about file transmission in packets.

Hi,

I have a message in a file which is transmitted from 1 machine to other in a LAN (over same network).

Can someone answer me that how can I calculate the,
1. Time message took to reach the destination?
2. Message break down into how many packets when transmitted?
3. What information is carried on each packet i.e. frame, header or any other relevant information.
4, How can I calculate the throughput of the messages.

Kindly help me ASAP.

Thanks
0
searchsanjaysharma
Asked:
searchsanjaysharma
1 Solution
 
StuWhitbyCommented:
You don't state the OS involved, but....

- ensure clocks are NTP sync'd at both ends
- take a network trace to file (snoop/iptrace/tcpdump on Unix or install Wireshark on Windows and set a capture filter of "host <hostname>" to capture traffic to the other system.
- send the message
- stop the traces
- open Wireshark on both capture files and compare notes.  

tbh, just doing this on the destination host may be sufficient as you can expand the TCP frame details and SEQ/ACK analysis to show the response time for the packet.

Throughput..... kinda depends on exactly what you're looking for.  If you know the size of the message data (follow TCP stream gives you this number anyway) then in theory that would be taking the start and end time of the TCP stream involved and dividing this by the size of the data.  That doesn't take into account the additional data sent in each packet.... which personally I wouldn't care about, but may be necessary for what you're looking for here.

There might be a bit of manual work involved in calculating this, but Wireshark will give you everything you ask for above.  And it's free :)
0
 
searchsanjaysharmaAuthor Commented:
ok
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now