Ethereal-dev: [Ethereal-dev] Problem with capturing from a named pipe

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Jayanna, Jay" <jjayanna@xxxxxxxxxxxx>
Date: Fri, 2 Sep 2005 00:20:14 -0700
Title: Problem with capturing from a named pipe

Hi,

I am trying to read packets from a pipe with -i option. I am able to capture the first time without any problems both with ethereal & tethereal. But if I stop capturing while packets are still written to the pipe, I get sigpipe error. My handler catches it, closes the pipe & reopens it for writing again. When I try to start capturing again, tethereal works fine & starts the capyure without any problem but if I try the same with ethereal, I get the message "Unrecognized libpcap format", though I specify the libpcap format just before reopening the pipe. Tethereal recognizes the format but for some reason, ethereal doesn't. I am running the program on linux machine & using ethereal version 0.10.12. Does anyone in this forum have any idea about this? Any help is greatly appreciated.

Thanks,
Jay.