From owner-freebsd-net@FreeBSD.ORG Fri Oct 31 14:00:55 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 028F1BDF for ; Fri, 31 Oct 2014 14:00:55 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9CA960A for ; Fri, 31 Oct 2014 14:00:54 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7D13C20A3A for ; Fri, 31 Oct 2014 10:00:53 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Fri, 31 Oct 2014 10:00:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=cFXQc1QyCfhefh5ynO2bmowv m48=; b=bB5uL63kc9GJQ7J74A/CmtrY8KzJt6uTOF21+vPhnIhdB4YOk1D7yP40 WNoNrNUW+qfkqMW2fMLK1Gq68HvUYPUGAIyHYHxrIrWakWoqKgu/126KCYf588nC fBqE23I6KwZnMkDFN4xrZwvgco6YwnnF5eN2dd9QJaqv5+2MvZk= Received: by web3.nyi.internal (Postfix, from userid 99) id 5C84F11A019; Fri, 31 Oct 2014 10:00:53 -0400 (EDT) Message-Id: <1414764053.1422501.185543329.39B66970@webmail.messagingengine.com> X-Sasl-Enc: CUkQJf2QF5mMbeIMcVJG4MQcHMYfTuT9HB3j6Qv3Cqfx 1414764053 From: Mark Felder To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-c51dec4f In-Reply-To: <54535B82.405@gmail.com> References: <54535B82.405@gmail.com> Subject: Re: transparent udp proxy Date: Fri, 31 Oct 2014 09:00:53 -0500 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 14:00:55 -0000 I'm not sure if this is what you're looking for, but perhaps the solution is in net/samplicator ? >From the project's website: This simple program listens for UDP datagrams on a network port, and sends copies of these datagrams on to a set of destinations. Optionally, it can perform sampling, i.e. rather than forwarding every packet, forward only 1 in N. Another option is that it can "spoof" the IP source address, so that the copies appear to come from the original source, rather than the relay. Currently only supports IPv4.