This is a static archive of our old Q&A Site. Please post any new questions and answers at

Number of established TCP connections in time



is it possible to graph number of established tcp connections in to the endpoint using IO graph in wireshark? We can graph number of TCP.SYN or TCP.FIN/RST packets but don't know how to create graph with establised sessions.

asked 17 Aug '16, 01:16

razor85's gravatar image

accept rate: 0%

One Answer:


No. With the IO Graph you can plot only value of fields or count fields. You can´t graph session states, if there is no field in Wireshark.

So from my Point of view you have different options to do that kind of Graph:

  1. You can Export the SYN and FFIN/RST Packets to Excel (CSV Export) and use the Functions or macros to count the number of concurrent sseions.

  2. You can write your own field in Wireshark and graph that.

  3. You can achieve that goal with a LUA script.

  4. You can use tshark to print the SYN/FIN/RST packets to console or file and script something around that new file.

I have done this once with Excel.

answered 18 Aug '16, 13:13

Christian_R's gravatar image

accept rate: 16%

edited 18 Aug '16, 13:16