Hi,
I downloaded a new version of libpcap and was going to install
it but when i looked at the tar file it doesn't look correct.
$ tar tf libpcap.0.8.3.tar.tar
./usr/local/bin/include/pcap-bpf.h
./usr/local/bin/include/pcap-namedb.h
./usr/local/bin/include/pcap.h
./usr/local/bin/lib/libpcap.a
./usr/local/bin/man/man3/pcap.3
should it get installed in /usr/local/bin/...
or /usr/local/...
I got the tar ball from: http://aixpdslib.seas.ucla.edu/packages/libpcap.html
Thanks,
Helen Puszynski
-----Original Message-----
From: ethereal-users-bounces@xxxxxxxxxxxx
[mailto:ethereal-users-bounces@xxxxxxxxxxxx]On Behalf Of Guy Harris
Sent: Tuesday, June 28, 2005 6:07 PM
To: LEGO; Ethereal user support
Subject: Re: [Ethereal-users] capture preferences
LEGO said:
> If you're doing it as a non priviledged user, you probably have no
> read access to /dev/bpf*,
The error she got was from the DLPI libpcap code, not the BPF libpcap
code, so the permissions on the BPF devices wouldn't matter. DLPI
probably also requires root privilege, but it might not.
It also gives the error code in hex, which means it's probably an old
version of libpcap.
She might want to install a newer version of libpcap - which will, by
default, use BPF rather than DLPI on AIX, as it appears to be more
reliable. That won't fix the read access problem, though.
> BEWARE that it is better to change the permissions of /dev/bpf so that
> the group your capturte user belongs can read from /dev/bpf*.
Unfortunately, as the BPF devices are destroyed on a reboot and created
after the reboot, changing the permissions doesn't persist across a
reboot. (And, with sufficiently recent versions of libpcap, libpcap will
create them, so the first time you run a program using libpcap, it has to
be run as root, so it has enough permission to create the files.)
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users