From owner-freebsd-net@FreeBSD.ORG Tue Dec 23 20:39:05 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D53B1065670 for ; Tue, 23 Dec 2008 20:39:05 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5098FC38 for ; Tue, 23 Dec 2008 20:39:05 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.2/8.14.2) with ESMTP id mBNKRc26026323 for ; Tue, 23 Dec 2008 12:27:38 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id mBNKRTLV001714 for ; Tue, 23 Dec 2008 12:27:29 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from gnnbsd.hudson-trading.com.neville-neil.com (209.249.190.8.available.above.net [209.249.190.8] (may be forged)) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.1) with ESMTP id mBNKRTe2086522 for ; Tue, 23 Dec 2008 12:27:29 -0800 (PST) (envelope-from gnn@neville-neil.com) Date: Tue, 23 Dec 2008 15:27:28 -0500 Message-ID: <7ihc4u3adr.wl%gnn@neville-neil.com> From: gnn@freebsd.org To: net@freebsd.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.3 (amd64-portbld-freebsd7.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Canit-CHI2: 0.50 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-Spam-Score: 0.10 () [Tag at 5.00] COMBINED_FROM X-CanItPRO-Stream: default X-Canit-Stats-ID: 2804731 - 004197740fec X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: Subject: A new tool for low level testing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 20:39:05 -0000 Hi, I just checked in a small tool to HEAD in /usr/src/tools/tools/ether_reflect which uses pcap and bpf to reflect ethernet packets just about the driver layer without involving the protocol stacks. This is useful for people doing low level testing of drivers and switches. If you happen to be lucky enough to have an ethernet packet generator (ixia et al) this will do what you want in terms of reflecting the packets back. Later, George