Re: chmod sftp command and setgid/setuid bit

This is a discussion on Re: chmod sftp command and setgid/setuid bit within the OpenSSH Development forums, part of the Networking and Network Related category; Chris Rapier wrote: > Darren Tucker wrote: >> It's filexfer draft 3. There's no RFC for sftp. &...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2007
Darren Tucker
 
Posts: n/a
Default Re: chmod sftp command and setgid/setuid bit

Chris Rapier wrote:
> Darren Tucker wrote:
>> It's filexfer draft 3. There's no RFC for sftp.
>>
>> http://tools.ietf.org/html/draft-ietf-secsh-filexfer-03


Correction: that draft is sftp protocol version 4. Right now, according to
"version" OpenSSH supports protocol version 3 which is filexfer-02.

> I had been reading filexfer-13 - this one is much more straightforward.


The other fun thing is that if a client reports that it implements filexfer-13, it
must also handle 1-12 as well. During protocol initialization, the client tells
the server what version it's using then the server replies with the lower of
whatever it and the client support. After that they both must use whatever
version the server selected.

The upshot is that if the client claims to support v13, it must be prepared to
process any lower version too; there's no way for the client to say "I support
1,2,3 or 13". (Within a single session, that is. In this example the client could
potentially try 13 then abort if the server selects 4-12 and retry with 3 but
that's kinda ugly.)

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0