From owner-freebsd-hackers Wed Oct 29 14:15:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA19790 for hackers-outgoing; Wed, 29 Oct 1997 14:15:02 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA19777 for ; Wed, 29 Oct 1997 14:15:00 -0800 (PST) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id QAA02642; Wed, 29 Oct 1997 16:14:54 -0600 (CST) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id QAA11490; Wed, 29 Oct 1997 16:14:22 -0600 Message-ID: <19971029161422.12013@right.PCS> Date: Wed, 29 Oct 1997 16:14:22 -0600 From: Jonathan Lemon To: Sunthiti Patchararungruang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel modification References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: ; from Sunthiti Patchararungruang on Oct 10, 1997 at 10:19:26PM +0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Oct 10, 1997 at 10:19:26PM +0700, Sunthiti Patchararungruang wrote: > First of all. I would like to appologize that this mail is > off-topic of yours but I don't know where to post it to. For this type of thing, hackers@freebsd.org would probably be the most appropriate place. > program on FreeBSD2.2.2. It need to copy a data link frame from an > interface to another one. The data frame must not be changed even in > ethernet address field. I use BPF. I have found that the system always > change my ethernet source address to the address of the output interface. AFAIK, this is correct. I believe that the Ethernet specification requires that the source MAC address in the ethernet frame correspond to the hardware address of the transmitting device. I can't see why you would want to re-transmit with the original MAC address; this would cause arp lookups to fail, among other things. Even bridges put their own MAC address in the frame. > However, I have corrected the problem. I modified the kernel, already > attach all files with this mail, to add two things. They are: In the future, it would probably be better to submit something as a diff against a specified FreeBSD revision, instead of sending the files in their entirety. -- Jonathan