Ethereal-dev: Re: [Ethereal-dev] Capture-start option returns recv_ack error on AIX V5

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

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Mon, 21 May 2001 18:35:24 -0400
On Mon, May 21, 2001 at 03:19:13PM -0700, Guy Harris wrote:
> > On Mon, May 21, 2001 at 04:10:47PM -0500, Shantala G wrote:
> > > The capture session could not be initiated (recv_ack: bind error 0x1).Please 
> > > check to make sure you have sufficient permissions and that you have the 
> > > proper interface or pipe specified.
> > 
> > If I recall, the libpcap that comes with AIX is broken.
> 
> Does the libpcap that comes with AIX use BPF, or DLPI?

BPF, I believe.  By the way, did any of those IBM guys get back
to you about giving you more info about AIX BPF?

> If it uses BPF, he wouldn't see that message with it - that's a
> "pcap-dlpi.c" message, not a "pcap-bpf.c" message.

I think Shantala was trying to capture on /dev/tr0, which is
Token Ring.  I just reviewed a post of mine on tcpdump-workers:
http://www.tcpdump.org/lists/workers/2000/msg00004.html

The second parameter for dlbindreq should not be less
than 0x600 for Ethernet.  I wonder if must be a different
value for Token Ring (if that is actually the interface which
Shantala is trying to capture on).
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx