Ethereal-dev: [ethereal-dev] ethereal freeze if there is no traffic on the network

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

From: "Alessandro Staltari" <1993s008@xxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Aug 1999 22:50:05 +0200
When I start the capture process ethereal freeze if there is no traffic on
the network (or the host is not wired to the network).

Yes, I know this is a trivial problem (who want to use a packet analyzer
where there is no network traffic?) but when I ran ethereal the first time
and I saw it froze I thought it really doesn't work!

The problem is due to function pcap_dispatch(): it blocks until a packet is
caugth and never time outs. This problem is due to pcap libraries.
I have done a little patch to pcap library to fix this and submitted it to
libpcap developers.

Bye.

Alessandro Staltari
staltari@xxxxxxxxxxxxx
http://www.geocities.com/SiliconValley/Vista/8155