From owner-freebsd-net@FreeBSD.ORG Wed Aug 30 19:06:21 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A8916A4E5 for ; Wed, 30 Aug 2006 19:06:21 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from slimak.dkm.cz (slimak.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id BF68843D7F for ; Wed, 30 Aug 2006 19:06:20 +0000 (GMT) (envelope-from 000.fbsd@quip.cz) Received: (qmail 66779 invoked by uid 0); 30 Aug 2006 19:06:18 -0000 Received: from grimm.quip.cz (HELO ?192.168.1.2?) (213.220.192.218) by slimak.dkm.cz with SMTP; 30 Aug 2006 19:06:18 -0000 Message-ID: <44F5E1A9.2010605@quip.cz> Date: Wed, 30 Aug 2006 21:06:17 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cs, cz, en, en-us MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <44F5A6C3.30705@seclark.us> In-Reply-To: <44F5A6C3.30705@seclark.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Tee packets 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: Wed, 30 Aug 2006 19:06:21 -0000 Stephen Clark wrote: > Hello List, > > We have a monitoring app that receives udp packets from units in the > field. We are in > the process of increasing the number of units we have reporting and are > seeing some > performance issues with our current hardware. I would like be able to > somehow route a > copy of each packet to another machine so I can test out different > hardware configurations > to see how performance is affected. > > Any ideas on the best way to do this? If you are using PF as your firewall, you can use dup-to (man pf.conf) "The dup-to option creates a duplicate of the packet and routes it like route-to. The original packet gets routed as it normally would." Miroslav Lachman