From owner-freebsd-hackers Tue Mar 30 23:54:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cdsec.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id 8C01714F91 for ; Tue, 30 Mar 1999 23:54:18 -0800 (PST) (envelope-from gram@cdsec.com) Received: (from nobody@localhost) by citadel.cdsec.com (8.8.8/8.6.9) id JAA26095; Wed, 31 Mar 1999 09:53:45 +0200 (SAST) Received: by citadel via recvmail id 26093; Wed Mar 31 09:53:29 1999 Message-ID: <3701D495.1857BF9D@cdsec.com> Date: Wed, 31 Mar 1999 09:53:57 +0200 From: Graham Wheeler X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) MIME-Version: 1.0 To: Tom Brown , hackers@freebsd.org Subject: Re: How do I write to the /dev/bpf0 interface? References: <37017313.6981CEE4@heliox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tom Brown wrote: > Can anyone please tell me how to post a packet onto my LAN via this > interface. You should just be able to write the frame. Make sure everything is in network-byte order. You needn't put in a source Ethernet address as that will get filled in, but you do need to put in a destination. -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Internet/Intranet Network Specialists Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message