From owner-freebsd-hackers Mon Jan 26 03:42:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA10998 for hackers-outgoing; Mon, 26 Jan 1998 03:42:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA10991 for ; Mon, 26 Jan 1998 03:42:28 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from LOCAL (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 23257 on Mon, 26 Jan 1998 11:42:21 GMT; id LAA23257 efrom: marc@bowtie.nl; eto: UNKNOWN Received: from localhost (localhost [127.0.0.1]) by bowtie.nl (8.8.2/8.7.3) with ESMTP id MAA28747; Mon, 26 Jan 1998 12:43:24 +0100 (MET) Message-Id: <199801261143.MAA28747@bowtie.nl> X-Mailer: exmh version 2.0.1 12/23/97 To: dag-erli@ifi.uio.no (Dag-Erling Coidan Sm rgrav) cc: marc@bowtie.nl, hackers@FreeBSD.ORG Subject: Re: Is it possible to .. In-reply-to: dag-erli's message of 26 Jan 1998 11:04:59 +0100. Reply-to: marc@bowtie.nl Content-Transfer-Encoding: quoted-printable Date: Mon, 26 Jan 1998 12:43:24 +0100 From: Marc van Kempen Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk [snip] > If what you really meant to ask is "how do I use a network interface > before it's configured", you can always ifconfig with a bogus address > (0.0.0.0), enable promiscuous mode, and then use bpf to bypass the > TCP/IP stack and "roll your own packets". Again, this requires > knowledge of the underlying hardware protocol. Ethernet should be > simple enough; read /sys/net/ethernet.h and /sys/net/if_ethersubr.c. > = Thank you, that is exactly what I meant. Ethernet support is all I need. BTW, how do I enable promiscuous mode? Marc. ---------------------------------------------------- Marc van Kempen BowTie Technology = Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 = fax. +31 40 2 44 21 86 http://www.bowtie.nl ----------------------------------------------------