Hello, Can i to monitor tcp-, udp-session with wireshark?
Thank's asked 06 Jun '13, 04:02 junglend edited 10 Jun '13, 08:25 Kurt Knochner ♦ |
2 Answers:
Wireshark is not a monitoring tool, it's an analysis tool. It keeps state information to do the best dissection of packets it possibly can. This means its memory use will grow over time and it will run out of memory sooner or later. So if you need a long-term monitoring solution, wireshark is not the way forward. Have a look at ntop which might suit you better. Also, check whether your networking devices are capable of exporting NetFlow, sFlow or IPFIX data. If they are, you might want to look into a netflow collector to collect the session data and present it to you in graphs. answered 08 Jun '13, 01:27 SYN-bit ♦♦ Thank's. 1.I know that wireshark is a not minitoring tool. But it tool has section "statistics" in menu. And i mean that in this section i can view information about tcp-session. 2. So, i'm have not netflow unfortunately. And i find tool, possible that view session statistics. (09 Jun '13, 22:57) junglend |
You could run tshark to generate conversation statistics and then use Excel (or a perl/python/whatever script) to generate the sessions per minute/hour.
Sample Output:
Then load the output of those commands into Excel (or your script) and generate the connections per time interval statistics. Please use the column "Relative Start" for your statistics. If you need a solution that does the statistics "on-the-fly" (monitoring the interface and continuously counting the sessions) or for a very long time (days, weeks), Wireshark/tshark is the wrong tool for you. Regards answered 10 Jun '13, 08:30 Kurt Knochner ♦ |
If I understand the question, you want to graph the number of sessions establishes per second? The number of sessions that are being established per second? Could you reword this question?
So, it can no graf. I want see tcp-session statistics in any kind, in graf possible too.
But a graph of what specifically? Do you want to see TCP session setup attempts over time? And for UDP, what exactly do you want graphed over time (there's no such thing as a UDP session technically)?