<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Date: Thu, 06 Sep 2007 19:37:36 +0200<br>From: "Fabian Franz" <<a href="mailto:FabianFranz@gmx.de">
FabianFranz@gmx.de</a>><br>Subject: Re: [FreeNX-kNX] Manually starting a freenx session<br>To: User Support for FreeNX Server and kNX Client <<a href="mailto:freenx-knx@kde.org">freenx-knx@kde.org</a>><br>Message-ID: <
<a href="mailto:20070906173736.221140@gmx.net">20070906173736.221140@gmx.net</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>>Hi,<br>><br>>> I'm implementing a re-routing application using freenx as the server.
<br>>> Basically the idea is to have the client connecting to a<br>>> server, authenticating there and giving him the parameters for the session<br>>> it wants, that server will give him back a cookie and an IP:port address
<br>>> of another server in a server farm. This IP:port is discovered by<br>>> balancing<br>>> the load in the server farm. The server who gets the first connection of<br>>> the<br>>> client ( i call it frontserver ... or frontend server.. ) will create the
<br>>> actual session in the backend server for the client. The client would then<br>>> only authenticate himself in the backend server with the cookie and<br>>> user/pass and restore the session. This is made so that the frontserver
<br>>> has<br>>> all the session administration responsabilities on him.<br>><br>>You just explained how loadbalancing currently works in FreeNX.<br>><br>>If you disable SSL (on client) or on server, you can even force the client to connect directly to the back nodes (using cookie as authentication).
<br>><br>>Else the communciation will be encrypted until frontserver and redirected from there to the back nodes.<br>><br>>So what exactly in the FreeNX loadbalancing scheme (that you described in great detail, without knowing it) do you not like? ;-)
<br>><br>>It even allows you to hook into your own loadbalancing scheme by supplying the right nxcheckload script in $PATH_BIN/ (where nxserver and nxnode and so on can be found).<br>><br>>cu<br>><br>>Fabian
</blockquote>
<div> </div>
<div>Well... First time i'm trying to reply in this mailing list... hope i did it right.... </div>
<div> </div>
<div>Still, Fabian.... I didn't studied completly the way freenx loadbalancing works but as far as i know, in the case of freenx, the frontserver would create a tunnel though the connection between the client and the backserver, isn't that right? That's my idea of what happens and, if true, if many users are connected the bandwidth available at the frontserver would easily decline and could create decreased perfomance..
</div>
<div> </div>
<div>My idea is that the client disconnects from the frontserver and creates a new connection to the backserver, to restore a session there create by the frontserver. I'm working with a modified version of the 2X open source client to accomplished this... that's why i wanted to know how to, by a means of bash or perl scripts, create a session in the backserver with the frontserver. If you could help me there, i thank you :)
</div>
<div> </div>
<div>Carlos Matos</div>
<div> </div><br> </div>