Subject: RE: sftp changes...

From: Richard Whalen <[email-masked]>
Date: Mon, 7 Oct 2002 10:12:54 -0400

> -----Original Message-----
> From: Joseph Galbraith [mailto:[email-masked]]
> Sent: Monday, October 07, 2002 10:03 AM
> To: Richard Whalen; [email-masked]
> Subject: Re: sftp changes...
> 
> 
> > > Is this going to cause problems for implmentators?  Do
> > > currently shipping clients check the server response
> > > to make sure it isn't higher than what they sent?
> > > 
> > > Thanks,
> > > 
> > > - Joseph
> > > 
> > 
> > The F-Secure 3.1.0 code base (which Process Software built 
> on for its VMS
> > implementation) uses lower of the version number received 
> and its own.
> 
> Excellent! That implies that they read the
> draft the same we we did, and that the draft
> has now been corrected to match both our
> implementations :-)
> 
> That is on the client side right?  The change basically
> makes it symetrical (both client and server do what you've
> described.)  Previously, only server had to do it.
> 
> Thanks,
> 
> - Joseph
> 

The server returns the lower of its version and the version sent in the
SSH_FXP_INIT packet.
The client uses the lower of its version and the version received in the
SSH_FXP_VERSION packet.

So, a change to the server code would be needed to return the highest
version that it can operate at, rather than the version that the client has
requested it to operate at.