asked 16 Feb '14, 01:27 WIDS |
One Answer:
You can't do that with Wireshark. That's what tshark is made for.
or
or even
List of fields:
Then parse the output of tshark with whatever language you prefer (in your case probably Java). HINT: If you run tshark/Wireshark continuously, you will eventually get into trouble, as both tools are not designed as long term, real time monitoring tools. For both the memory usage will increase steadily, as both store state information about several things (sessions, etc.), and never release that memory, until the process ends. See also some lengthy discussion on this site, regarding tshark as a long term, real time monitoring solution and the problems that can arise.
Regards answered 16 Feb '14, 02:26 Kurt Knochner ♦ edited 16 Feb '14, 03:12 |