From owner-freebsd-hackers Mon May 12 14:11:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA05259 for hackers-outgoing; Mon, 12 May 1997 14:11:36 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA05252 for ; Mon, 12 May 1997 14:11:33 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id RAA18798; Mon, 12 May 1997 17:11:23 -0400 (EDT) Message-ID: <19970512171123.41790@crh.cl.msu.edu> Date: Mon, 12 May 1997 17:11:23 -0400 From: Charles Henrich To: Archie Cobbs Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: divert and ethernet addresses? References: <19970511151454.39414@crh.cl.msu.edu> <199705121915.MAA28346@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.73 In-Reply-To: <199705121915.MAA28346@bubba.whistle.com>; from Archie Cobbs on Mon, May 12, 1997 at 12:15:58PM -0700 X-Operating-System: FreeBSD 2.2-970422-RELENG Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On the subject of Re: divert and ethernet addresses?, Archie Cobbs stated: > > > Is there anyway to get a divert that sees the full ethernet packet so work can > > be done based on the source/destination ethernet addresses? > > No, unfortunately.. divert is an IP level mechanism (wheras BPF is > an interface and hardware level mechanism). > > BPF does let you write, but you can't stop incoming packets from > being received (ie., you just get a copy, there's no way to actually > "divert" them..) That should be good enough. Im attempting to make a very simple smart hub, that lets me control what ethernet addresses pass between two networks. My only concern is that it wont be able to handle the traffic quickly enough to work :( We'll just have to see.. -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich