Ethereal-users: [ethereal-users] Re: ATM on Linux capture (long note)

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

From: Carl Klatsky <cklatsky@xxxxxxx>
Date: Tue, 22 Aug 2000 18:11:01 -0400
I tried the modified libpcap.c that you sent and had the same results as
before with it being a network that ethereal doesn't support.  I then
re-built using the modified capture.c and libpcap.c that you sent in
your e-mail to the mailing list.  With that combo I still get the same
error, but with the modified message:

"The network you're capturing from is of a type that Ethereal doesn't
support (data link type 18)"

If I understand the way the code is connected, Ethereal needs tcpdump to
be able to read from the interface type in question in order to pass
that info onto/into Ethereal.  If that's the case, then I believe my
underlying problem now is that my tcpdump cannot read from my ATM
interface.  When I do tcpdump -i atm0, I get a message stating
"...unknown data type 0x12".  Tcpdump can read from the eth0 OK, but not
atm0.  So what I think I need to do is, build a version of tcpdump using
the particular libpcap.a that works for my target machine, AND also has
the ATM patches for tcpdump itself.

Given the libpcap/capture changes I've received from you, can you point
me to a "stand alone" tcpdump source that has the up-to-date ATM patches
for it?  The one from the ATM on Linux project page I'd have to modify
the patches to incorporate them correctly :-(

BTW, in the capture.c file file sent out, I had a compile error of:
capture.c:In function 'do_capture':
capture.c:278:structure has no member named 'gui_font_name'

which I commented out and was able to move on from there.

Thanks again for your help.
Carl

Guy Harris wrote:
> 
> Try replacing Ethereal's "wiretap/libpcap.c" with this and rebuilding,
> and let me know if it works.
> 
>   ------------------------------------------------------------------------
> 
>    libpcap.cName: libpcap.c
>             Type: Plain Text (text/plain)

-- 
|Carl Klatsky	    |Ph:     732.530.4471     |
|3NO Systems, Inc.  |Fax:    732.530.2110     | 
|http://www.3no.com |E-mail: cklatsky@xxxxxxx |