From owner-freebsd-net@FreeBSD.ORG Tue Jan 22 23:42:07 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62CF216A41A for ; Tue, 22 Jan 2008 23:42:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 5287213C461 for ; Tue, 22 Jan 2008 23:42:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id 7465F1EDDD25; Tue, 22 Jan 2008 15:24:12 -0800 (PST) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id 5B9932807E; Tue, 22 Jan 2008 15:24:12 -0800 (PST) X-AuditID: 11807130-a8442bb0000028a7-45-47967b1ccba8 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) by relay11.apple.com (Apple SCV relay) with ESMTP id 3A89328057; Tue, 22 Jan 2008 15:24:12 -0800 (PST) Message-Id: <715218DB-7DE4-4CCF-A858-03AC05BA4732@mac.com> From: Chuck Swiger To: Stephen.Clark@seclark.us In-Reply-To: <479663C0.3090606@seclark.us> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 22 Jan 2008 15:24:11 -0800 References: <479663C0.3090606@seclark.us> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-net@freebsd.org Subject: Re: duplicate packet using divert 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, 22 Jan 2008 23:42:07 -0000 On Jan 22, 2008, at 1:44 PM, Stephen Clark wrote: > does anyone have a program that uses the divert socket to duplicate > an incoming packet so it can be > sent to another address. Well, I assume you could start with the ipfw "tee" directive and /usr/ src/sbin/natd ...? -- -Chuck