Ethereal-users: [Ethereal-users] 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:22:48 -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 problem 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 capture 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 tried restarting ethereal itself, instead of just the capture, it still gave me the same error.

I am running the program on linux machine & using ethereal version 0.10.12. Has anyone come across this problem or have any idea about this? Any help is greatly appreciated.

Thanks,
Jay.