time difference between two packets in wireshark
Asked Answered
W

4

10

I want to calculate the time difference between the time from sending the packet, to getting its ACK back. I do not see any timestamp related information in the packet, could anyone give me any pointers as to how I can compute the difference.

Washko answered 25/2, 2015 at 17:51 Comment(0)
M
13
  1. Apply a filter, so that you only see the frames you are interested in
  2. Right click on column title bar and choose "Column Preferences..."
  3. Click on "Add" (give the column a reasonable name)
  4. Change field type to "Custom"
  5. Type "frame.time_delta_displayed" in "Field name" without "
Macnair answered 14/2, 2017 at 4:25 Comment(0)
K
8

In Wireshark Preferences / Appearance / Columns you can add a new column of type Delta time. With this new column and wise capture filtering you should be able to do what you want.

Korns answered 23/2, 2016 at 17:52 Comment(0)
C
0

You have to put a filter selecting the SYN packet and the ACK packet and filtering this by IP or traffic. For example, if SYN is sent n. 85 and SYN ACK is receive in n. 86 (or ACK sent in n. 87)

(ip.addr == 192.168.1.1) && ((frame.number == 85) || (frame.number == 86))

When You have the traffic filtered go to Statistics -> Summary and see the time Between first and last packet in the displayed column of the table.

Capriccio answered 25/2, 2015 at 20:5 Comment(0)
C
0

My use case was similar to this one. Here's how I did it, am using Wireshark 3.0.5.

Choose the two packets that you are interested on by filtering the frame number. In my case, these two are WLAN packets (first frame being the authentication packet and another is the data packet). Filter used would be:

((frame.number == 99) || (frame.number == 124))

Filtering Frames Example

Then, go to View > Time Display Format > Seconds Since Previous Displayed Packet.

Within the time column you'll observe time taken between those two packets.

Certie answered 21/9, 2020 at 15:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.