IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stateless SFTP server and READDIR race condition.



On Thu, Apr 13, 2006 at 03:44:02PM -0600, Michael Closson wrote:
> This is kind of a nit-pick, but I seems to me that the SFTP server
> cannot be implemented as a stateless server because the server must
> track the directory offset to support multiple READDIR calls.  Also,
> there is a potential race condition when there are multiple READDIR
> calls.

SFTP needs to decide whether it's a filesystem protocol or a file
transfer protocol.  Then we can figure out what to do about state
recovery across reboots, partitions, etc.  A file transfer protocol
shouldn't really care about such failures, whereas a filesystem protocol
kinda has to.

Nico
-- 



Home | Main Index | Thread Index | Old Index