Changes between Version 58 and Version 59 of SftpFrontend


Ignore:
Timestamp:
2011-01-08T05:34:36Z (14 years ago)
Author:
davidsarah
Comment:

more on disabling rekeying

Legend:

Unmodified
Added
Removed
Modified
  • SftpFrontend

    v58 v59  
    2525The '{{{ctime}}}' and '{{{mtime}}}' attributes will always be the same, and are set from the Tahoe {{{linkmotime}}} timestamp, which is changed only when the link from the parent directory is modified (see the [http://tahoe-lafs.org/trac/tahoe-lafs/browser/docs/frontends/webapi.rst#about-the-metadata 'About the metadata' section of webapi.rst]). These fields are not updated when the contents of a mutable file are changed. The SFTP protocol and the server are able to represent dates up to the year 2106, but some clients may print dates incorrectly after 2037.
    2626
    27 Versions of Twisted up to and including 10.2 have [a bug in support for rekeying http://twistedmatrix.com/trac/ticket/4395]. This might cause a hang or 100% CPU usage when a client tries to rekey. Depending on the client, rekeying may be triggered based on a time interval or the amount of data sent; this problem will typically only affect long-lived connections or very large files. Some clients have options to disable rekeying (see below for openssh, sshfs and WinSCP).
     27Versions of Twisted up to and including 10.2 have [http://twistedmatrix.com/trac/ticket/4395 a bug in support for rekeying]. This might cause a hang or 100% CPU usage by the gateway when a client tries to rekey. Depending on the client, rekeying may be triggered based on a time interval or the amount of data sent (for example, 1 GiB to 4 GiB for the openssh client); this problem will typically only affect long-lived connections or very large files. Some clients have options to disable rekeying:
     28* for openssh and sshfs, add the line {{{RekeyLimit 0}}} to {{{~/.ssh/config}}} (TODO: please test this!)
     29* for WinSCP, [#WinSCP see that section below].
    2830
    2931
     
    6769On Mac OS X, !TextEdit and vi are known to have problems editing files on a Tahoe-via-sshfs filesystem.
    6870
     71To avoid potential bugs with rekeying, add the line {{{RekeyLimit 0}}} to {{{~/.ssh/config}}}.
     72
    6973
    7074== Gnome virtual filesystem (gvfs) ==
     
    8589 * In the Environment section, set 'UTF-8 encoding for filenames' to 'On'.
    8690 * In the Connection section, set 'Server response timeout' to the maximum 6000 seconds.
    87  * In the Key exchange section under SSH, set both 'Max minutes before rekey' and 'Max data before rekey' to 0. (This works around a potential bug in Twisted's SSH implementation by disabling rekeying.)
     91 * In the Key exchange section under SSH, set both 'Max minutes before rekey' and 'Max data before rekey' to 0.
    8892
    8993Note that these options are not persistent unless you save them as a 'Stored session', together with the host name, username, etc.