From owner-freebsd-net@FreeBSD.ORG Wed Aug 30 21:04:31 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 5701C16A4E2 for ; Wed, 30 Aug 2006 21:04:31 +0000 (UTC) (envelope-from prvs=julian=390fd56d3@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DBD343D8F for ; Wed, 30 Aug 2006 21:04:30 +0000 (GMT) (envelope-from prvs=julian=390fd56d3@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 30 Aug 2006 14:04:29 -0700 Message-ID: <44F5FD5D.8040202@elischer.org> Date: Wed, 30 Aug 2006 14:04:29 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <44F5A6C3.30705@seclark.us> <44F5E1A9.2010605@quip.cz> In-Reply-To: <44F5E1A9.2010605@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Stephen.Clark@seclark.us, 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 21:04:31 -0000 Miroslav Lachman wrote: > 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." you can also use netgraph to tunnel a copy of the packets to another machine. > > Miroslav Lachman > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"