Question

What tool you suggest for logging network activity(traffic) for certain windows service? It's windows service written in C#. Service is connecting to Mysql server in a given time intervals. I would like to log for some period (24h) and analyse how it behaves.

Windows Resource Monitor does the job but i need it logged to file. Datetime stamp with send and receive values will be enough. What do you suggest?

Was it helpful?

Solution

Wireshark can log network traffic to a file, but it will not be tied to a specific Windows Service. Though you can filter so that it will record only traffic involved in a specific conversation. So, you could filter for traffic between the server and the MySql server as well as the specific port that conversation is happening on.

Wireshark is available for Windows, Linux and macOS. It is free in all senses of the word.

You can get Wireshark here: http://wireshark.org/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top