Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 21:56:11 -0500
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        Lev Walkin <vlm@netli.com>
Cc:        Abdul Basit <basit@basit.cc>, net@freebsd.org
Subject:   Re: raw socket/icmp-echo
Message-ID:  <20030107025611.GA5014@attbi.com>
In-Reply-To: <3E1A3E92.6030607@netli.com>
References:  <20030105052449.K49935-100000@wireless.cs.twsu.edu> <3E1A3E92.6030607@netli.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 06, 2003 at 06:42:26PM -0800, Lev Walkin wrote:
> Consider using libpcap - this is the portable library that uses
> bpf, raw socket, packet socket or whatever packets source is available
> for the particular platform.
> 
> Pcap tutorial available here: 
> http://reactor-core.org/security/libpcap-tutorial.html


In addition to libpcap, I think if one is interested in using raw sockets,
libnet is a library that is definitely one not to miss:
http://www.packetfactory.net/libnet

It is a well maintained library, and has examples for ICMP and other
protocols.

 
-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030107025611.GA5014>