From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 16:49:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2563106564A for ; Mon, 11 Jul 2011 16:49:53 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm18-vm0.bullet.mail.bf1.yahoo.com (nm18-vm0.bullet.mail.bf1.yahoo.com [98.139.213.138]) by mx1.freebsd.org (Postfix) with SMTP id 5D17C8FC08 for ; Mon, 11 Jul 2011 16:49:53 +0000 (UTC) Received: from [98.139.212.150] by nm18.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jul 2011 16:49:52 -0000 Received: from [98.139.212.230] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jul 2011 16:49:52 -0000 Received: from [127.0.0.1] by omp1039.mail.bf1.yahoo.com with NNFMP; 11 Jul 2011 16:49:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 509801.14519.bm@omp1039.mail.bf1.yahoo.com Received: (qmail 78290 invoked by uid 60001); 11 Jul 2011 16:49:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1310402992; bh=22xihVZ5QGpIeH5ZbEobD6ehqWjptM1xepWqwaf0I3I=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=LC9hHoQ+J8Dbf5QsVRcEz42rqcihaxxKOKJ3uMfRAEvsIyYuKRg2Tm+fgbeD0AYack+rvVDOL7xgpXTNFbBc5nADFNBle/FJkAb1mynv06d3fya/yH70X+XDDnsuztbrnPjtP1IipWPrWlSV2nonAS+Gk7dMNyBSTSSNcEecjDE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=cTXsREjAlqhrdxwV9C/UFlhh01kiihNx3SsFyrj684sjDaGcJAV8ZXlakpx2B4RBuP7tiFHJPu/tYbJ+puunm6sO1bYEsw69zYNbQ2/vQAN4R8fg4xFcMbW0InyzM33KTc6YB8ILcsjiC4DqZR4EIRjkFTrdZ9HcWWi9VIQ1za0=; X-YMail-OSG: sA3ALm8VM1muSYrMTy_Ykop5Cp0O53JC_XZ3NzhS5Lr_DS9 .VeydRdhLx_zp8PggP0efqNfDzbILcSROVaZMAc78vwzAl8tRIsDi8LG241X oPHpW2RnQXgm_6z9u0MDaunxj.FmXeeIgQUt6JcczjCqjdhPrPAVb0.nICpR R6sfKBvSk3st46pT4LXhXPdXhR__UZ0_Wl_jvZlkZ_4MiprgPUlGLdv3XQAp 5do2YYpft.fpT8TlNAnME5VPs6W3xPvO5lfeCTMphaqims_md8QZQZ7V6iu8 3R6qrynmIyG0VpWOSJKjlH4tehNhlboQsGuu1fSZxKgma7DUXjh4B3agpFby loyctVXYfyfw.CBUgQ9Lpxf3_XUhpVfWClozIQ0Dfx1habjnfWqlc9.5Q Received: from [112.134.96.136] by web160114.mail.bf1.yahoo.com via HTTP; Mon, 11 Jul 2011 09:49:51 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1310402991.9928.YahooMailClassic@web160114.mail.bf1.yahoo.com> Date: Mon, 11 Jul 2011 09:49:51 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 11 Jul 2011 16:59:33 +0000 Subject: Transparent load balancing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 16:49:53 -0000 Hi all I need to implement a transparent load balancing daemon in C. That is, the daemon accept a TCP connection, get more info from the client, and forward the communication transparently to another server to handle it. How this could be implemented on FreeBSD? What basic primitives I should study more? Many thanks in advance. Best regards Unga