Wireshark-dev: Re: [Wireshark-dev] Piping data to wireshark
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 23 Sep 2010 21:37:16 +0200
On 09/23/2010 06:38 PM, kahou lei wrote:
Hi,

I wrote a simple program to pipe some data into wireshark. Everything
works fine except it doesn't show up the last packet in the wireshark.
I am using win32 api (WriteFile, FlushFileBuffers). Those function
calls indicate I have successfully written the data to the buffer and
flush it to the pipe.

For example, I want 10 packets pipe to the wireshark in a loop. I will
execute this loop in every 10 seconds. What I observe is that the 10th
packet will not be shown up to wireshark until the next loop occurs.
Also, this problem only occurs in 1.2.11 and it goes away in 1.4.0. Do
you fix anything recently?

Thanks,
Kahou

Hi,

Yes, this was fixed for bug 1759 which ended up in Wireshark 1.4 release.
If you depend on that functionality you should use 1.4.0 (or later).

Thanks,
Jaap