Hello All, I have the following problem that iam trying to work out with the help of Wireshark
As the files keep getting updated dynamically I am required to process the log files every few minutes to view the latest messages. Can anybody suggest if there is any way Wireshark can refresh the opened file automatically whenever the contents change or if there is any workaround to achieve the same affect instead of manually refreshing using CTRL+R. asked 07 Nov '12, 22:49 manojdeoli |
2 Answers:
Wireshark can read from a (named) pipe. Your tool would create that named pipe and write updated data to it. That data must be in pcap file format. As soon as you write to the pipe, Wireshark will display the packets. Please read more about pipes in the Wiki:
Please check also my answer to the following question:
Basically you would do the following (on Windows):
The same works in Linux. Please google for: mkfifo Regards answered 08 Nov '12, 00:59 Kurt Knochner ♦ edited 08 Nov '12, 02:08 |
Also see my answer to your other question. answered 08 Nov '12, 06:09 JeffMorriss ♦ |