From owner-freebsd-hackers Mon Oct 27 07:18:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA25195 for hackers-outgoing; Mon, 27 Oct 1997 07:18:01 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from cs4.cs.ait.ac.th (root@cs4.cs.ait.ac.th [192.41.170.15]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA25174 for ; Mon, 27 Oct 1997 07:17:51 -0800 (PST) (envelope-from a96456@cs.ait.ac.th) Received: from bazooka.cs.ait.ac.th (a96456@bazooka.cs.ait.ac.th [192.41.170.2]) by cs4.cs.ait.ac.th (8.6.12/) with ESMTP id WAA07033 for ; Mon, 27 Oct 1997 22:06:02 +0700 Received: from localhost (a96456@localhost) by bazooka.cs.ait.ac.th (8.8.5/8.8.5) with SMTP id WAA12199 for ; Mon, 27 Oct 1997 22:05:57 +0700 (GMT) X-Authentication-Warning: bazooka.cs.ait.ac.th: a96456 owned process doing -bs Date: Mon, 27 Oct 1997 22:05:57 +0700 (GMT) From: Sunthiti Patchararungruang To: hackers@freebsd.org Subject: Problem with BPF Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Dear Everybody, I need to create a program to repeat some data-link frames from an interface to another one. I use BPF. My program can read the frame correctly. However, when I write that frame to another interface, the source ethernet-address is changed from the original one to the output interface one. I need the frames copied without change. How can I do? Sincerely yours, Sunthiti Patchararungruang