From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 16 08:56:24 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE0DA16A41B; Thu, 16 Aug 2007 08:56:24 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 19D2E13C4A6; Thu, 16 Aug 2007 08:56:23 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1ILajx-000LrV-H3; Thu, 16 Aug 2007 16:30:01 +0800 Message-ID: <46C40B09.9030402@micom.mng.net> Date: Thu, 16 Aug 2007 16:30:01 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.6 (X11/20070809) MIME-Version: 1.0 To: Eric Anderson References: <46C3B9A4.4000304@freebsd.org> In-Reply-To: <46C3B9A4.4000304@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Modifying bridged traffic X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 08:56:24 -0000 Eric Anderson wrote: > What is the easiest way to play with modifying data in-transit within > an ethernet bridge? > > For instance, say I have something like this: > > [BOX 1] <----> [ BOX 2 ] <----> [ BOX 3 ] > > And BOX 2 is a FreeBSD box with bridging enabled between two ethernet > interfaces, how can I parse/modify the ethernet frames as they pass > through? > maybe with the help of netgraph... (ng_ether, ng_tee etc). > Eric > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > > > -- Liar, n.: A lawyer with a roving commission. -- Ambrose Bierce, "The Devil's Dictionary"