Ethereal-dev: Re: Re[2]: [ethereal-dev] ethereal-0.7.7 - hangs in recvfrom() on RH6.1

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

From: Mike Hall <mlh@xxxxxx>
Date: Thu, 4 Nov 1999 09:15:22 -0600 (EST)
On Thu, 4 Nov 1999, Barrie Spence wrote:

> Guy Harris <guy@xxxxxxxxxx> wrote:
> > > I've built the recent versions of ethereal on RH6.1, but when
> > > I try capture, they just hang - strace/ltrace shows that it is
> > > is making a call to recvfrom().

I had the same problem. The fix is to use the tcpdump and libpcap rpm's
from RH6.0

The problem is that redhat included a patch to libpcap that allows you to
sniff on all interfaces at the same time. Well the also modified the pcap
output to now contain an interface field for each packet. This is the
source of the problem. We could have ethereal check for that type of pcap
output and automajically switch, but to get it working, I just installed
to old tcpdump source rpm, applied the linux libpcap patch, recmopiled
tcpdump and libpcap and life was good.

--Mike

+===================================================================+
| Mike Hall               Real programmers dream in Java.           |
| mlh@xxxxxx          Linux rules! Everything else just works.      |
+===================================================================+
|             finger mlh@xxxxxx for public PGP key                  |
+===================================================================+