Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 1998 22:50:26 -0700 (PDT)
From:      Rusty Eddy <eddy@kit.isi.edu>
To:        wes@softweyr.com (Wes Peters)
Cc:        archie@whistle.com, freebsd-net@FreeBSD.ORG
Subject:   Re: Help with RAW sockets...
Message-ID:  <199805130550.WAA01244@kit.isi.edu>
In-Reply-To: <3557F363.640C98C2@softweyr.com> from Wes Peters at "May 12, 98 00:59:47 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Wes Peters lamented:
> > I'm trying to write a program to send specially formatted ARP
> > requests and replies to the ethernet broadcast address.  This tool
> > will be used to debug ARP responses.  I think I should be able to
> > do this with a SOCK_RAW,IPPROTO_RAW socket, but just do not grock
> > what address to use in the sendto calls.
> 
> Archie Cobbs wrote:
> 
> % Your task might be easier by using BPF..
> 
> Yeah, it just might.  I'll take a lot at it.  Thanks!
> 

Hello,

I'm in the tail end of writting a program that will do the 
above.  it's still rough around the edges but works well 
enough that i've been actively using it. 

  http://www.isi.edu/~eddy/pkt/pkt-0.0.tgz

it's not specific to ARP, rather it's a "general" purpose
protocol tester.  i use it for testing routing software
i'm developing.  it uses BPF (libpcap) for reading and writing.
it's a Tcl extension, that allows the creation of arbitrary packets
and read/write to and from devices...  it's really easy to
use.

i'm actively polishing it up, so things will be changing pretty
fast.  you may find it overkill (but then again you may not :)
feel free to check it out.

i'll be away for the next couple days so i'm don't know how often
i'll get to my email

- rusty
eddy@isi.edu

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?199805130550.WAA01244>