Ethereal-users: RE: [Ethereal-users] Does Libpcap library supports Unix sockets

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

Date: Fri, 17 Feb 2006 12:45:57 +0530

Thanks for your input. Can you tell me, is there any library available
on Unix/Linux through which I can capture packets from Unix Sockets. As
per my knowledge too there isn't any but just I wanted to know whether
is it there one.
Presently as I told, My set up is something like this, it's a kind of
Client-Server application.
Server will open an unix socket and Client(my application) will open an
unix socket and connect to it. After this I will build the packet(using
Libnet API) and will write on to the Unix socket. After this server will
reply back on this socket and I need to capture the packets from this
unix socket.

As I can't used LIBPCAP library, can you please provide some alternative
solution for this. How to capture packets on Unix sockets.

Regards,
sks

-----Original Message-----
From: ethereal-users-bounces@xxxxxxxxxxxx
[mailto:ethereal-users-bounces@xxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Friday, February 17, 2006 12:30 PM
To: Ethereal user support
Subject: Re: [Ethereal-users] Does Libpcap library supports Unix sockets

santosh.soule@xxxxxxxxx wrote:

> I want to know whether Libpcap library supports Unix sockets.

No.  I don't know of any UN*X that allows traffic capture on UNIX-domain
sockets; only on a UN*X that allows that could libpcap capture traffic
on them.

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com