1 2011-12-16 Mike Kelly <mike@pair.com>
3 * Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILE. These options
4 allow you to create a pair of local files, similar to /etc/passwd or
5 /etc/group files from the remote server, and use those to remap all
8 2011-11-25 Miklos Szeredi <miklos@szeredi.hu>
10 * Make chown respect the UID mapping policy. Reported and tested
13 2011-11-16 Miklos Szeredi <miklos@szeredi.hu>
15 * Submit max 32k reads and writes to the sftp server. Also don't
16 limit the kernel to 64k reads and writes, rather split into 32k
17 sized chunks and send them to the server all at once. This is
18 more efficient and less demanding from the server. Reported by
19 Ludovic Courtès. Fix suggested by Niels Möller
21 2011-11-14 Miklos Szeredi <miklos@szeredi.hu>
23 * Fix double free if reconnection races with request sending.
26 * Add locking around modifver and connver
28 2011-10-21 Miklos Szeredi <miklos@szeredi.hu>
30 * Remove "-oPreferredAuthentications" from ssh options if the
31 "password_stdin" option is used. Reported by E. Kuemmerle
33 2011-08-24 Miklos Szeredi <miklos@szeredi.hu>
35 * Add "-oworkaround=fstat" for SFTP servers which don't support
36 the FSTAT message. Patch by: Percy Jahn
38 2011-07-01 Miklos Szeredi <miklos@szeredi.hu>
42 2011-07-01 Miklos Szeredi <miklos@szeredi.hu>
44 * Add hard link operation. Works if the server supports the
45 "hardlink@openssh.com" protocol extension.
47 2011-03-25 Miklos Szeredi <miklos@szeredi.hu>
49 * Fix possible deadlock on reconnection. Reported by Florian
52 2011-01-25 Miklos Szeredi <miklos@szeredi.hu>
54 * Fix cleanup when ssh connection is terminated. This prevents
55 sshfs hanging when the server is rebooted, for example.
57 2010-03-16 Miklos Szeredi <miklos@szeredi.hu>
59 * Set FD_CLOEXEC on fuse device. This prevents deadlocks that
60 happen in some circumstances (bugzilla.kernel.org #12864).
61 Reported by Tim Connors
63 2009-07-15 Miklos Szeredi <miklos@szeredi.hu>
65 * Check mountpoint and fuse options before starting an ssh
66 session (debian bug #535333). This is only supported if compiled
67 against libfuse-2.6 or later. Reported by Greg Kochanski
69 * Check that the remote path specified refers to the same type of
70 file as the mountpoint, i.e. both are directories or both are
71 non-directories (debian bug #535343). Reported by Greg Kochanski
73 * Allow mounting a single non-directory from the server
75 2009-07-15 Sebastian Dransfeld <sebastid@tango.flipp.net>
77 * Add option 'delay_connect': This will always create the sshfs mount,
78 even if the connection to the server can't be established.
80 2009-01-27 Miklos Szeredi <miklos@szeredi.hu>
82 * Print usage information and version to stdout, not stderr.
83 Libfuse also needs to be fixed up. Reported by Kārlis Repsons
85 2008-10-20 Miklos Szeredi <miklos@szeredi.hu>
89 2008-10-20 Miklos Szeredi <miklos@szeredi.hu>
91 * Escape commas in fsname option if libfuse supports it
93 2008-10-08 Miklos Szeredi <miklos@szeredi.hu>
95 * Handle numerical IPv6 addresses enclosed in square brackets.
96 Reported by Andre-John Mas
98 * Fix error if username contains a comma character. Reported by
101 * Fix harmless glib assertations with "cache=no"
103 2008-07-11 Miklos Szeredi <miklos@szeredi.hu>
107 2008-07-11 Miklos Szeredi <miklos@szeredi.hu>
109 * Fix statvfs extension to match the current protocol in
112 * Check version numbers of extensions, so such changes wouldn't
113 cause stupid behavior
115 2008-06-24 Miklos Szeredi <miklos@szeredi.hu>
117 * Add '-F' option to specify the ssh config file. Patch by Pat
120 2008-05-06 Miklos Szeredi <miklos@szeredi.hu>
122 * Fix bug in caching which could cause file corruption for append
123 mode writes. Reported by Jose Alonso
125 2008-05-05 Miklos Szeredi <miklos@szeredi.hu>
127 * Fix compile on OS X. Original patch from Michael G Schwern
129 * Fix compile on Solaris. Reported by Jean-Jacques Sarton
131 2008-04-23 Miklos Szeredi <miklos@szeredi.hu>
135 2008-04-23 Miklos Szeredi <miklos@szeredi.hu>
137 * Add manual page. Written by Bartosz Fenski
139 2008-04-22 Miklos Szeredi <miklos@szeredi.hu>
141 * Add missing ssh options: ControlMaster, ControlPath,
142 KbdInteractiveAuthentication, KbdInteractiveDevices, LocalCommand,
143 RekeyLimit (Debian bug #430225).
145 * Allow the '-ossh_command=CMD' command to contain parameters.
146 Escape charater is backslash.
148 * Limit write requests to 64kB.
150 * Support "statvfs@openssh.com" extension, which will be available
153 2008-04-21 Miklos Szeredi <miklos@szeredi.hu>
155 * Fix incorrect disk usage reported by 'du' for files of size 4GB
156 or above. Reported by Christian Boltz.
158 2008-04-16 Miklos Szeredi <miklos@szeredi.hu>
160 * If debugging is enabled, print some statistics at exit about the
161 number of bytes transferred, etc..
163 2008-03-31 Miklos Szeredi <miklos@szeredi.hu>
165 * Support "posix-rename@openssh.com" extension available in
166 OpenSSH 4.9. This allows rename to be atomic even when target
167 file or directory exists. If available, the extension will be
168 used instead of the rename operation in the original protocol and
169 the "-oworkaround=rename" option will be ignored.
171 2008-03-28 Miklos Szeredi <miklos@szeredi.hu>
173 * Add support for password authentication with pam_mount.
174 Original patch and help with testing: John S. Skogtvedt
176 2008-03-03 Miklos Szeredi <miklos@szeredi.hu>
178 * Fix ssh debug only appearing if "-d" is used. Reported by
181 2008-01-03 Miklos Szeredi <miklos@szeredi.hu>
183 * Fix condition for building of sshnodelay.so
185 2007-12-17 Miklos Szeredi <miklos@szeredi.hu>
189 2007-12-12 Miklos Szeredi <miklos@szeredi.hu>
191 * Fix checking for fuse_opt_parse in configure
193 2007-12-11 Miklos Szeredi <miklos@szeredi.hu>
195 * Fill in st_ctime attribute with st_mtime, instead of leaving it
198 * Check for OpenSSH version >= 4.4, and if found, don't build the
199 sshnodelay.so workaround
201 2007-12-10 Miklos Szeredi <miklos@szeredi.hu>
203 * Fix crash on writing files, caused by missing locking around
206 * Don't time requests when not debugging
208 * Add subtype support with libfuse >= 2.7.0
210 * Abort on allocation failure instead of exit
212 * Correctly show default of nodelaysrv workaround in help message
214 2007-05-16 Miklos Szeredi <miklos@szeredi.hu>
218 2007-05-15 Miklos Szeredi <miklos@szeredi.hu>
220 * Add needed g_thread_init() to fix rare crashes. Reported by
223 * Fix memory leak in sshfs_open_common()
225 2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
227 * Fix crash within gdb, caused by sem_wait() returning with an
228 error on interrupt. Reported by Dimitrios Apostolou
230 * Fix spurious cache entries remaining after renaming a directory
232 2007-02-28 Miklos Szeredi <miklos@szeredi.hu>
234 * Don't set DISPLAY environment variable to "", because it breaks
235 ssh-askpass. Make nodelaysrv_workaround default to off, because
236 with this change it may have security implications.
238 2007-02-19 Miklos Szeredi <miklos@szeredi.hu>
240 * OpenSSH sftp-server can read requests faster, than it processes
241 them, when it's buffer is full it aborts. This can happen on a
242 large upload to a slow server. Work around this by limiting the
243 total size of outstanding reqests. Debian bug #365541. Tracked
244 down by Thue Janus Kristensen
246 * Add --disable-sshnodelay configure option. The sshnodelay.so
247 hack shouldnt be needed with OpenSSH client versions >= 4.3
249 2006-12-20 Miklos Szeredi <miklos@szeredi.hu>
251 * Work around write performace issues due to missing TCP_NODELAY
252 in sshd. Reported by Justin Searle
254 2006-11-10 Miklos Szeredi <miklos@szeredi.hu>
256 * Fix bug which ommitted directory entries for symlinks with the
257 -ofollow_symlinks option. Bug reported by Mikael Ståldal
259 2006-09-29 Miklos Szeredi <miklos@szeredi.hu>
261 * Fix segfault if there are outstanding writes to the server after
262 release on the file descriptor. This only happened on FreeBSD.
263 Reported by Andriy Gapon
265 2006-08-18 Miklos Szeredi <miklos@szeredi.hu>
269 2006-08-17 Miklos Szeredi <miklos@szeredi.hu>
271 * Cosmetics on bogus statfs numbers
273 2006-08-16 Miklos Szeredi <miklos@szeredi.hu>
275 * Add option 'follow_symlinks' to resolve symlinks on the server.
277 * On setups where the login shell prints a banner, the sftp
278 protocol was confused, and bailed out with "reply len too large:
279 ...". So iterate over any rubbish read immediately after login
280 until a valid reply is found.
282 * Check remote directory for existence before mounting. Closes
285 2006-03-10 Miklos Szeredi <miklos@szeredi.hu>
287 * Use socketpair() instead of pipe() for communication between ssh
288 and sshfs. Patch from Csaba Henk
290 * Update to FUSE interface version 26
292 2006-03-09 Miklos Szeredi <miklos@szeredi.hu>
296 2006-03-09 Miklos Szeredi <miklos@szeredi.hu>
298 * Fix segfault if remote host is down and reconnection is enabled
300 2006-03-08 Miklos Szeredi <miklos@szeredi.hu>
302 * Fix bug in symlink transformation. Reported by Ralf Hoffmann
304 2006-02-24 Miklos Szeredi <miklos@szeredi.hu>
306 * Add workaround for broken truncate on old sftp servers. Can be
307 enabled with '-oworkaround=truncate'. Patch from Joseph M Link
309 2006-02-23 Miklos Szeredi <miklos@szeredi.hu>
311 * Avoid double memcpy on writes. Patch by Joseph M Link
313 * More memory copy avoidance
315 2006-02-22 Miklos Szeredi <miklos@szeredi.hu>
317 * Add -fPIC to the comile flags of sshnodelay.so. Reported by
320 2006-02-20 Miklos Szeredi <miklos@szeredi.hu>
324 2006-02-19 Miklos Szeredi <miklos@szeredi.hu>
326 * Fix compilation with old FUSE versions. Report by Kurt George
329 2006-02-16 Miklos Szeredi <miklos@szeredi.hu>
331 * Block TERM/INT/HUP/QUIT signals in sshfs reading thread, so they
332 will always be received by the FUSE main thread. Fixes the
333 "double ^C" problem seen on FreeBSD.
335 * Use 'auto_cache' option if available, so that file cache is not
336 thrown away on each open. This should make repeated reading of a
337 file much much faster.
339 2006-01-31 Miklos Szeredi <miklos@szeredi.hu>
341 * Fix problems with nodelay workaround on FreeBSD.
343 2006-01-30 Miklos Szeredi <miklos@szeredi.hu>
345 * Fix data consitency bug if readahead is enabled and writes are
346 intermixed with reads. Solution is far from optimal, since it
347 will prevent readahead in the above situation. If used with FUSE
348 >= 2.6.0 with Linux-2.6.X, readahead will be done by the kernel,
349 and hence there will be no performance penalty. Bug reported and
350 test program written by Wolfgang Köbler. Further testing on
351 FreeBSD by Csaba Henk
353 2006-01-29 Miklos Szeredi <miklos@szeredi.hu>
355 * Add '-olarge_read' option for Linux-2.4.*. This should
356 generally improve download performance
358 2006-01-27 Miklos Szeredi <miklos@szeredi.hu>
360 * Add workaround (enabled by default) for ssh clients not setting
361 TCP_NODELAY on the network connection. Currently this is all
362 known versions of openssh. This may improve download speed in
365 * Make it possible to idividually disable workarounds with a "no"
368 * Change '-otransform_symlinks' not to prefix with the mountpoint
369 (which is fragile wrt. moving/binding the mount). Rather convert
370 absolute symlinks to relative if possible. Does not yet work if
371 base path is itself relative
373 2006-01-25 Miklos Szeredi <miklos@szeredi.hu>
375 * Use TCP_NODELAY socket option for direct connection. This may
376 improve download speed in some circumstances
378 2006-01-20 Miklos Szeredi <miklos@szeredi.hu>
380 * Update to fuse API 2.6
382 * Don't do readahead in sshfs if it's done in kernel
384 2006-01-14 Miklos Szeredi <miklos@szeredi.hu>
388 2006-01-09 Miklos Szeredi <miklos@szeredi.hu>
390 * Added 'transform_symlinks' option to "fix-up" absolute symlinks.
393 * Add option parsing implementation, so linking with older than
394 2.5.0 libfuse still works.
396 2005-12-09 Miklos Szeredi <miklos@szeredi.hu>
398 * Use new option parsing interface of FUSE
400 2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
402 * Set statvfs::f_frsize
404 2005-11-23 Miklos Szeredi <miklos@szeredi.hu>
406 * Fix warnings on 64bit systems. Reported by D. R. Evans
408 2005-11-16 Miklos Szeredi <miklos@szeredi.hu>
410 * Replace EPROTO with the more portable EIO
412 * Fix bug in option parsing. Reported by Csaba Henk
414 2005-10-29 Miklos Szeredi <miklos@szeredi.hu>
416 * Use FUSE version 25 if available
418 * Add <sys/socket.h> include. Reported by Csaba Henk
420 2005-10-29 Miklos Szeredi <miklos@szeredi.hu>
424 2005-10-28 Miklos Szeredi <miklos@szeredi.hu>
426 * Add atomic create+open and ftruncate operation. This should fix
427 issues with 'cp' and other programs failing with "Permission
428 denied". To be effective, needs FUSE version 2.5 and kernel
429 version 2.6.15 (just a guess, since neither of them is released
432 2005-10-27 Miklos Szeredi <miklos@szeredi.hu>
434 * Add support for SSH protocol version 1. Bug reported by Miklos
437 2005-10-26 Miklos Szeredi <miklos@szeredi.hu>
439 * Fix typo (ConnectTimeout -> ConnectionTimeout) in ssh options.
440 Bug reported by Miklos Bagi Jr.
442 2005-10-19 Miklos Szeredi <miklos@szeredi.hu>
444 * GNOME Nautilus fails to copy file to sshfs filesystem, because
445 FUSE returns zero free space. So instead return huge (999999999
446 kbytes) amount of free space, yet it should be obvious that the
447 number is artificial. Bug report by Peter Kronheimer
449 2005-10-18 Miklos Szeredi <miklos@szeredi.hu>
451 * Add remote uid detection and translation ('idmap=user' option).
452 Idea and implementation details worked out by Jean-Marc Valin
454 2005-10-17 Miklos Szeredi <miklos@szeredi.hu>
456 * Add one more missing lock.
458 * Add workaround for failure to rename to an existing file. Based
459 on patch by Michael Best
461 2005-10-15 Miklos Szeredi <miklos@szeredi.hu>
463 * Protect request ID allocation with mutex. Bug report by Tvrtko
466 2005-08-17 Miklos Szeredi <miklos@szeredi.hu>
468 * Try to calculate approximate disk usage of files from their
469 size, so that 'du' returns meaningful results. Problem reported
472 2005-08-15 Miklos Szeredi <miklos@szeredi.hu>
476 2005-08-13 Miklos Szeredi <miklos@szeredi.hu>
478 * Add 'reconnect' option, which tries to reconnect to the server
479 when the connection is broken. If a password is required for
480 connection, it is recommended that you install ssh-askpass, and
481 set the SSH_ASKPASS environment variable (see 'man ssh' for more
484 2005-05-05 Miklos Szeredi <miklos@szeredi.hu>
486 * Work around missing truncate() support in some older sftp
487 servers (only works for zero size truncate). Thanks to Eduard
488 Czimbalmos for the bug report and help with testing
490 2005-04-13 Miklos Szeredi <miklos@szeredi.hu>
492 * Fix compilation with gcc-2.95. Reported by David A. Gershman
494 2005-03-08 Miklos Szeredi <miklos@szeredi.hu>
496 * Make it work on server version 2 (e.g. Sun_SSH_1.0.1). Report
497 and testing by Pieter J. Kersten
499 2005-03-04 Miklos Szeredi <miklos@szeredi.hu>
503 2005-03-03 Miklos Szeredi <miklos@szeredi.hu>
505 * Slightly optimize readahead. Still not clever enough to always
506 keep the pipe filled.
508 * Add 'sshfs_debug' option
510 2005-02-17 Miklos Szeredi <miklos@szeredi.hu>
512 * Parse 'max_read' mount option and if smaller than 65536 forward
515 2005-02-16 Miklos Szeredi <miklos@szeredi.hu>
517 * Added simple readahead (big performance gain in case of
518 sequential read pattern). Can be disabled with '-o no_readahead'
520 2005-02-14 Miklos Szeredi <miklos@szeredi.hu>
522 * Added asynchronous writeback (big performance gain) and made
523 this the default. Can be disabled with '-o sshfs_sync'
525 2005-02-09 Miklos Szeredi <miklos@szeredi.hu>
527 * Added option to start arbitary command instead of 'ssh'
529 * Re-added '-p PORT' as a convenience option, also '-C' works as
532 2005-02-08 Miklos Szeredi <miklos@szeredi.hu>
534 * Add caching of symlinks
536 * Add support for many ssh options to be passed to ssh
538 * Port number can now actually be specified with "-o port=PORT",
539 bug spotted by Andrew Ukrainec
541 2005-02-07 Miklos Szeredi <miklos@szeredi.hu>
543 * Separate attribute caching to a separate layer
545 * Add caching of directory contents
547 2005-02-03 Miklos Szeredi <miklos@szeredi.hu>
549 Fix PKG_CONFIG_PATH setting in configure.ac (reported by Alpar
552 2005-01-09 Miklos Szeredi <miklos@szeredi.hu>
556 2004-12-04 Miklos Szeredi <miklos@szeredi.hu>