From owner-freebsd-net Tue May 12 00:00:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA16424 for freebsd-net-outgoing; Tue, 12 May 1998 00:00:02 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16349 for ; Mon, 11 May 1998 23:59:55 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (localhost.softweyr.com [127.0.0.1]) by softweyr.com (8.8.8/8.8.7) with ESMTP id AAA12972; Tue, 12 May 1998 00:59:48 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <3557F363.640C98C2@softweyr.com> Date: Tue, 12 May 1998 00:59:47 -0600 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Archie Cobbs CC: freebsd-net@FreeBSD.ORG Subject: Re: Help with RAW sockets... References: <199805120341.UAA23360@bubba.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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! -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message