So even though I haven't allowed that port to be load balanced, if it
matches that template it's temporarily forwarded through?
So......... if a port is using PPC, anyone who connects on that port will
then be able to connect to any other port of that machine -- regardless of
whether or not that port has been forwarded with ipvsadm or not?
----- Original Message -----
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
To: Ted Pavlic <tpavlic@xxxxxxxxxxx>
Cc: LVS Users Mailing List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, September 08, 1999 12:20 PM
Subject: Re: Question about PPC
>
>
> Ted Pavlic wrote:
> >
> > How will this affect passive FTP? The second connection made in a
passive
> > FTP connection is on an unpredictable port, right? So how will that
> > connection go back to the same machine?
> >
>
> Once a server is selected for a connection at the first time,
> and a template <daddr, maddr, saddr> is created. If a packet
> of passive FTP connection, the template will be looked up
> by <daddr,maddr> and we get the server, so the packet of
> an unpredictable port will be forwarded to this unpredictable
> port of the server. The connection works. :)
>
> > Is there still a way to make every port persistent -- like PCC?
>
> try use 0 as port number and plus persistent port. The zero
> is just like the wildcard of port numbers.
>
> Regards,
>
> Wensong
>
>
> >
> > All the best --
> > Ted
> >
> > ----- Original Message -----
> > From: Wensong Zhang <wensong@xxxxxxxxxxxx>
> > To: Ratz <ratz@xxxxxx>
> > Cc: LVS Mailinglist <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> > Sent: Tuesday, September 07, 1999 10:11 AM
> > Subject: Re: Question about PPC
> >
> > >
> > > Hi,
> > >
> > > Sorry that I haven't given instruction how to use persistent port
> > > with the new patch.
> > >
> > > To use persistent port, the commands are as follows:
> > > ipvsadm -A -t <VIP>:<port> [-s <scheduler>] -p
> > > ipvsadm -a -t <VIP>:<port> -R <real server> ...
> > > ...
> > >
> > > If the virtual service port is set persistent, connections
> > > from the same clients are gauranteed to direct to the same
> > > server. When a client sends request for the service at the
> > > first time, the load balancer (director) selects a server
> > > by the scheduling method and creates a connection and the
> > > template. Then, the following connections from the same
> > > client will be forwarded to the same server according to the
> > > template in the specified time.
> > >
>
>
>
----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
|