[vbox-dev] Cannot Live-capture VirtualBox network packets with Wireshark
al4321 at gmail.com
Mon Jun 6 10:37:45 PDT 2011
>> > Are you sure that this is not related to buffering made by Wireshark
>> > (some command-line utilities tend to behave in such a way)?
>> I'm not sure in this.
>> Is there any way to check ?
> Perhaps you could try using something like this?
$ mkfifo /tmp/pipe
$ tail -f -c +0b /tmp/mydata.cap > /tmp/pipe
$ wireshark -k -i /tmp/pipe
"No packets captured!"
> There's also this tidbit on information mentioned on Stack Overflow:
Tried expect_unbuffer: (part of "expect-dev" package)
$ expect_unbuffer tail -f -c +0b /tmp/mydata.cap | wireshark -k -i -
"Unrecognized libpcap format"
-Alexey Eromenko "Technologov"
More information about the vbox-dev