fix missing newline in manual page
[platform/upstream/sshfs.git] / ChangeLog
1 2012-05-14  Miklos Szeredi <miklos@szeredi.hu>
2
3         * When checking root directory use LSTAT not STAT.  This prevents
4         I/O error being returned after a successful mount if a symlink is
5         mounted.  Reported by Bart Friederichs
6
7 2012-03-08  Miklos Szeredi <miklos@szeredi.hu>
8
9         * Released 2.4
10
11 2012-03-08  Miklos Szeredi <miklos@szeredi.hu>
12
13         * Make sure idmap files aren't writable by others otherwise, other
14         local users could change the mapping, and gain access to things
15         they shouldn't.  Patch by Mike Kelly
16
17 2012-02-08  Chris Wolfe <cwolfe@chromium.org>
18
19         * Add -o slave. This option routes the sftp communication over stdin
20         and stdout, bypassing SSH and network.
21
22 2011-12-16  Mike Kelly <mike@pair.com>
23
24         * Add -o idmap=file, -o uidmap=FILE, -o gidmap=FILE. These options
25         allow you to create a pair of local files, similar to /etc/passwd or
26         /etc/group files from the remote server, and use those to remap all
27         the given UIDs/GIDs.
28
29 2011-11-25  Miklos Szeredi <miklos@szeredi.hu>
30
31         * Make chown respect the UID mapping policy.  Reported and tested
32         by Vivenzio Pagliari
33
34 2011-11-16  Miklos Szeredi <miklos@szeredi.hu>
35
36         * Submit max 32k reads and writes to the sftp server.  Also don't
37         limit the kernel to 64k reads and writes, rather split into 32k
38         sized chunks and send them to the server all at once.  This is
39         more efficient and less demanding from the server.  Reported by
40         Ludovic Courtès.  Fix suggested by Niels Möller
41
42 2011-11-14  Miklos Szeredi <miklos@szeredi.hu>
43
44         * Fix double free if reconnection races with request sending.
45         Patch by E. Kuemmerle
46
47         * Add locking around modifver and connver
48
49 2011-10-21  Miklos Szeredi <miklos@szeredi.hu>
50
51         * Remove "-oPreferredAuthentications" from ssh options if the
52         "password_stdin" option is used.  Reported by E. Kuemmerle
53
54 2011-08-24  Miklos Szeredi <miklos@szeredi.hu>
55
56         * Add "-oworkaround=fstat" for SFTP servers which don't support
57         the FSTAT message.  Patch by: Percy Jahn
58
59 2011-07-01  Miklos Szeredi <miklos@szeredi.hu>
60
61         * Released 2.3
62
63 2011-07-01  Miklos Szeredi <miklos@szeredi.hu>
64
65         * Add hard link operation.  Works if the server supports the
66         "hardlink@openssh.com" protocol extension.
67
68 2011-03-25  Miklos Szeredi <miklos@szeredi.hu>
69
70         * Fix possible deadlock on reconnection.  Reported by Florian
71         Zumbiehl
72
73 2011-01-25  Miklos Szeredi <miklos@szeredi.hu>
74
75         * Fix cleanup when ssh connection is terminated.  This prevents
76         sshfs hanging when the server is rebooted, for example.
77
78 2010-03-16  Miklos Szeredi <miklos@szeredi.hu>
79
80         * Set FD_CLOEXEC on fuse device.  This prevents deadlocks that
81         happen in some circumstances (bugzilla.kernel.org #12864).
82         Reported by Tim Connors
83
84 2009-07-15  Miklos Szeredi <miklos@szeredi.hu>
85
86         * Check mountpoint and fuse options before starting an ssh
87         session (debian bug #535333).  This is only supported if compiled
88         against libfuse-2.6 or later. Reported by Greg Kochanski
89
90         * Check that the remote path specified refers to the same type of
91         file as the mountpoint, i.e. both are directories or both are
92         non-directories (debian bug #535343).  Reported by Greg Kochanski
93
94         * Allow mounting a single non-directory from the server
95
96 2009-07-15  Sebastian Dransfeld <sebastid@tango.flipp.net>
97
98         * Add option 'delay_connect': This will always create the sshfs mount,
99         even if the connection to the server can't be established.
100
101 2009-01-27  Miklos Szeredi <miklos@szeredi.hu>
102
103         * Print usage information and version to stdout, not stderr.
104         Libfuse also needs to be fixed up.  Reported by Kārlis Repsons
105
106 2008-10-20  Miklos Szeredi <miklos@szeredi.hu>
107
108         * Released 2.2
109
110 2008-10-20  Miklos Szeredi <miklos@szeredi.hu>
111
112         * Escape commas in fsname option if libfuse supports it
113
114 2008-10-08  Miklos Szeredi <miklos@szeredi.hu>
115
116         * Handle numerical IPv6 addresses enclosed in square brackets.
117         Reported by Andre-John Mas
118
119         * Fix error if username contains a comma character.  Reported by
120         Yang Zhang
121
122         * Fix harmless glib assertations with "cache=no"
123
124 2008-07-11  Miklos Szeredi <miklos@szeredi.hu>
125
126         * Released 2.1
127
128 2008-07-11  Miklos Szeredi <miklos@szeredi.hu>
129
130         * Fix statvfs extension to match the current protocol in
131         opensshfs
132
133         * Check version numbers of extensions, so such changes wouldn't
134         cause stupid behavior
135
136 2008-06-24  Miklos Szeredi <miklos@szeredi.hu>
137
138         * Add '-F' option to specify the ssh config file.  Patch by Pat
139         Pascal.
140
141 2008-05-06  Miklos Szeredi <miklos@szeredi.hu>
142
143         * Fix bug in caching which could cause file corruption for append
144         mode writes.  Reported by Jose Alonso
145
146 2008-05-05  Miklos Szeredi <miklos@szeredi.hu>
147
148         * Fix compile on OS X.  Original patch from Michael G Schwern
149
150         * Fix compile on Solaris.  Reported by Jean-Jacques Sarton
151
152 2008-04-23  Miklos Szeredi <miklos@szeredi.hu>
153
154         * Released 2.0
155
156 2008-04-23  Miklos Szeredi <miklos@szeredi.hu>
157
158         * Add manual page.  Written by Bartosz Fenski
159
160 2008-04-22  Miklos Szeredi <miklos@szeredi.hu>
161
162         * Add missing ssh options: ControlMaster, ControlPath,
163         KbdInteractiveAuthentication, KbdInteractiveDevices, LocalCommand,
164         RekeyLimit (Debian bug #430225).
165
166         * Allow the '-ossh_command=CMD' command to contain parameters.
167         Escape charater is backslash.
168
169         * Limit write requests to 64kB.
170
171         * Support "statvfs@openssh.com" extension, which will be available
172         in OpenSSH 5.1.
173
174 2008-04-21  Miklos Szeredi <miklos@szeredi.hu>
175
176         * Fix incorrect disk usage reported by 'du' for files of size 4GB
177         or above.  Reported by Christian Boltz.
178
179 2008-04-16  Miklos Szeredi <miklos@szeredi.hu>
180
181         * If debugging is enabled, print some statistics at exit about the
182         number of bytes transferred, etc..
183
184 2008-03-31  Miklos Szeredi <miklos@szeredi.hu>
185
186         * Support "posix-rename@openssh.com" extension available in
187         OpenSSH 4.9.  This allows rename to be atomic even when target
188         file or directory exists.  If available, the extension will be
189         used instead of the rename operation in the original protocol and
190         the "-oworkaround=rename" option will be ignored.
191
192 2008-03-28  Miklos Szeredi <miklos@szeredi.hu>
193
194         * Add support for password authentication with pam_mount.
195         Original patch and help with testing: John S. Skogtvedt
196
197 2008-03-03  Miklos Szeredi <miklos@szeredi.hu>
198
199         * Fix ssh debug only appearing if "-d" is used.  Reported by
200         Michael Gorbach
201
202 2008-01-03  Miklos Szeredi <miklos@szeredi.hu>
203
204         * Fix condition for building of sshnodelay.so
205
206 2007-12-17  Miklos Szeredi <miklos@szeredi.hu>
207
208         * Released 1.9
209
210 2007-12-12  Miklos Szeredi <miklos@szeredi.hu>
211
212         * Fix checking for fuse_opt_parse in configure
213
214 2007-12-11  Miklos Szeredi <miklos@szeredi.hu>
215
216         * Fill in st_ctime attribute with st_mtime, instead of leaving it
217         zero
218
219         * Check for OpenSSH version >= 4.4, and if found, don't build the
220         sshnodelay.so workaround
221
222 2007-12-10  Miklos Szeredi <miklos@szeredi.hu>
223
224         * Fix crash on writing files, caused by missing locking around
225         sshfs_file_get()
226
227         * Don't time requests when not debugging
228
229         * Add subtype support with libfuse >= 2.7.0
230
231         * Abort on allocation failure instead of exit
232
233         * Correctly show default of nodelaysrv workaround in help message
234
235 2007-05-16  Miklos Szeredi <miklos@szeredi.hu>
236
237         * Released 1.8
238
239 2007-05-15  Miklos Szeredi <miklos@szeredi.hu>
240
241         * Add needed g_thread_init() to fix rare crashes.  Reported by
242         Dimitrios Apostolou
243
244         * Fix memory leak in sshfs_open_common()
245
246 2007-04-18  Miklos Szeredi <miklos@szeredi.hu>
247
248         * Fix crash within gdb, caused by sem_wait() returning with an
249         error on interrupt.  Reported by Dimitrios Apostolou
250
251         * Fix spurious cache entries remaining after renaming a directory
252
253 2007-02-28  Miklos Szeredi <miklos@szeredi.hu>
254
255         * Don't set DISPLAY environment variable to "", because it breaks
256         ssh-askpass.  Make nodelaysrv_workaround default to off, because
257         with this change it may have security implications.
258
259 2007-02-19  Miklos Szeredi <miklos@szeredi.hu>
260
261         * OpenSSH sftp-server can read requests faster, than it processes
262         them, when it's buffer is full it aborts.  This can happen on a
263         large upload to a slow server.  Work around this by limiting the
264         total size of outstanding reqests.  Debian bug #365541.  Tracked
265         down by Thue Janus Kristensen
266
267         * Add --disable-sshnodelay configure option.  The sshnodelay.so
268         hack shouldnt be needed with OpenSSH client versions >= 4.3
269
270 2006-12-20  Miklos Szeredi <miklos@szeredi.hu>
271
272         * Work around write performace issues due to missing TCP_NODELAY
273         in sshd.  Reported by Justin Searle
274
275 2006-11-10  Miklos Szeredi <miklos@szeredi.hu>
276
277         * Fix bug which ommitted directory entries for symlinks with the
278         -ofollow_symlinks option.  Bug reported by Mikael Ståldal
279
280 2006-09-29  Miklos Szeredi <miklos@szeredi.hu>
281
282         * Fix segfault if there are outstanding writes to the server after
283         release on the file descriptor.  This only happened on FreeBSD.
284         Reported by Andriy Gapon
285
286 2006-08-18  Miklos Szeredi <miklos@szeredi.hu>
287
288         * Released 1.7
289
290 2006-08-17  Miklos Szeredi <miklos@szeredi.hu>
291
292         * Cosmetics on bogus statfs numbers
293
294 2006-08-16  Miklos Szeredi <miklos@szeredi.hu>
295
296         * Add option 'follow_symlinks' to resolve symlinks on the server.
297
298         * On setups where the login shell prints a banner, the sftp
299         protocol was confused, and bailed out with "reply len too large:
300         ...".  So iterate over any rubbish read immediately after login
301         until a valid reply is found.
302
303         * Check remote directory for existence before mounting.  Closes
304         Ubuntu bug #46633
305
306 2006-03-10  Miklos Szeredi <miklos@szeredi.hu>
307
308         * Use socketpair() instead of pipe() for communication between ssh
309         and sshfs.  Patch from Csaba Henk
310
311         * Update to FUSE interface version 26
312
313 2006-03-09  Miklos Szeredi <miklos@szeredi.hu>
314
315         * Released 1.6
316
317 2006-03-09  Miklos Szeredi <miklos@szeredi.hu>
318
319         * Fix segfault if remote host is down and reconnection is enabled
320
321 2006-03-08  Miklos Szeredi <miklos@szeredi.hu>
322
323         * Fix bug in symlink transformation.  Reported by Ralf Hoffmann
324
325 2006-02-24  Miklos Szeredi <miklos@szeredi.hu>
326
327         * Add workaround for broken truncate on old sftp servers.  Can be
328         enabled with '-oworkaround=truncate'.  Patch from Joseph M Link
329
330 2006-02-23  Miklos Szeredi <miklos@szeredi.hu>
331
332         * Avoid double memcpy on writes.  Patch by Joseph M Link
333
334         * More memory copy avoidance
335
336 2006-02-22  Miklos Szeredi <miklos@szeredi.hu>
337
338         * Add -fPIC to the comile flags of sshnodelay.so.  Reported by
339         Anthony Kolasny
340
341 2006-02-20  Miklos Szeredi <miklos@szeredi.hu>
342
343         * Released 1.5
344
345 2006-02-19  Miklos Szeredi <miklos@szeredi.hu>
346
347         * Fix compilation with old FUSE versions.  Report by Kurt George
348         Gjerde
349
350 2006-02-16  Miklos Szeredi <miklos@szeredi.hu>
351
352         * Block TERM/INT/HUP/QUIT signals in sshfs reading thread, so they
353         will always be received by the FUSE main thread.  Fixes the
354         "double ^C" problem seen on FreeBSD.
355
356         * Use 'auto_cache' option if available, so that file cache is not
357         thrown away on each open.  This should make repeated reading of a
358         file much much faster.
359
360 2006-01-31  Miklos Szeredi <miklos@szeredi.hu>
361
362         * Fix problems with nodelay workaround on FreeBSD.
363
364 2006-01-30  Miklos Szeredi <miklos@szeredi.hu>
365
366         * Fix data consitency bug if readahead is enabled and writes are
367         intermixed with reads.  Solution is far from optimal, since it
368         will prevent readahead in the above situation.  If used with FUSE
369         >= 2.6.0 with Linux-2.6.X, readahead will be done by the kernel,
370         and hence there will be no performance penalty.  Bug reported and
371         test program written by Wolfgang Köbler.  Further testing on
372         FreeBSD by Csaba Henk
373
374 2006-01-29  Miklos Szeredi <miklos@szeredi.hu>
375
376         * Add '-olarge_read' option for Linux-2.4.*.  This should
377         generally improve download performance
378
379 2006-01-27  Miklos Szeredi <miklos@szeredi.hu>
380
381         * Add workaround (enabled by default) for ssh clients not setting
382         TCP_NODELAY on the network connection.  Currently this is all
383         known versions of openssh.  This may improve download speed in
384         some circumstances
385
386         * Make it possible to idividually disable workarounds with a "no"
387         prefix
388
389         * Change '-otransform_symlinks' not to prefix with the mountpoint
390         (which is fragile wrt. moving/binding the mount).  Rather convert
391         absolute symlinks to relative if possible.  Does not yet work if
392         base path is itself relative
393
394 2006-01-25  Miklos Szeredi <miklos@szeredi.hu>
395
396         * Use TCP_NODELAY socket option for direct connection.  This may
397         improve download speed in some circumstances
398
399 2006-01-20  Miklos Szeredi <miklos@szeredi.hu>
400
401         * Update to fuse API 2.6
402
403         * Don't do readahead in sshfs if it's done in kernel
404
405 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
406
407         * Released 1.4
408
409 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
410
411         * Added 'transform_symlinks' option to "fix-up" absolute symlinks.
412         Patch by Paul Jarc
413
414         * Add option parsing implementation, so linking with older than
415         2.5.0 libfuse still works.
416
417 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
418
419         * Use new option parsing interface of FUSE
420
421 2005-11-28  Miklos Szeredi <miklos@szeredi.hu>
422
423         * Set statvfs::f_frsize
424
425 2005-11-23  Miklos Szeredi <miklos@szeredi.hu>
426
427         * Fix warnings on 64bit systems.  Reported by D. R. Evans
428
429 2005-11-16  Miklos Szeredi <miklos@szeredi.hu>
430
431         * Replace EPROTO with the more portable EIO
432
433         * Fix bug in option parsing.  Reported by Csaba Henk
434
435 2005-10-29  Miklos Szeredi <miklos@szeredi.hu>
436
437         * Use FUSE version 25 if available
438
439         * Add <sys/socket.h> include.  Reported by Csaba Henk
440
441 2005-10-29  Miklos Szeredi <miklos@szeredi.hu>
442
443         * Released 1.3
444
445 2005-10-28  Miklos Szeredi <miklos@szeredi.hu>
446
447         * Add atomic create+open and ftruncate operation.  This should fix
448         issues with 'cp' and other programs failing with "Permission
449         denied".  To be effective, needs FUSE version 2.5 and kernel
450         version 2.6.15 (just a guess, since neither of them is released
451         yet).
452
453 2005-10-27  Miklos Szeredi <miklos@szeredi.hu>
454
455         * Add support for SSH protocol version 1.  Bug reported by Miklos
456         Bagi Jr.
457
458 2005-10-26  Miklos Szeredi <miklos@szeredi.hu>
459
460         * Fix typo (ConnectTimeout -> ConnectionTimeout) in ssh options.
461         Bug reported by Miklos Bagi Jr.
462
463 2005-10-19  Miklos Szeredi <miklos@szeredi.hu>
464
465         * GNOME Nautilus fails to copy file to sshfs filesystem, because
466         FUSE returns zero free space.  So instead return huge (999999999
467         kbytes) amount of free space, yet it should be obvious that the
468         number is artificial.  Bug report by Peter Kronheimer
469
470 2005-10-18  Miklos Szeredi <miklos@szeredi.hu>
471
472         * Add remote uid detection and translation ('idmap=user' option).
473         Idea and implementation details worked out by Jean-Marc Valin
474
475 2005-10-17  Miklos Szeredi <miklos@szeredi.hu>
476
477         * Add one more missing lock.
478
479         * Add workaround for failure to rename to an existing file.  Based
480         on patch by Michael Best
481
482 2005-10-15  Miklos Szeredi <miklos@szeredi.hu>
483
484         * Protect request ID allocation with mutex.  Bug report by Tvrtko
485         Ursulin
486
487 2005-08-17  Miklos Szeredi <miklos@szeredi.hu>
488
489         * Try to calculate approximate disk usage of files from their
490         size, so that 'du' returns meaningful results.  Problem reported
491         by Bernd Amend.
492
493 2005-08-15  Miklos Szeredi <miklos@szeredi.hu>
494
495         * Released 1.2
496
497 2005-08-13  Miklos Szeredi <miklos@szeredi.hu>
498
499         * Add 'reconnect' option, which tries to reconnect to the server
500         when the connection is broken.  If a password is required for
501         connection, it is recommended that you install ssh-askpass, and
502         set the SSH_ASKPASS environment variable (see 'man ssh' for more
503         details).
504
505 2005-05-05  Miklos Szeredi <miklos@szeredi.hu>
506
507         * Work around missing truncate() support in some older sftp
508         servers (only works for zero size truncate).  Thanks to Eduard
509         Czimbalmos for the bug report and help with testing
510
511 2005-04-13  Miklos Szeredi <miklos@szeredi.hu>
512
513         * Fix compilation with gcc-2.95.  Reported by David A. Gershman
514
515 2005-03-08  Miklos Szeredi <miklos@szeredi.hu>
516
517         * Make it work on server version 2 (e.g. Sun_SSH_1.0.1).  Report
518         and testing by Pieter J. Kersten
519
520 2005-03-04  Miklos Szeredi <miklos@szeredi.hu>
521
522         * Released 1.1
523
524 2005-03-03  Miklos Szeredi <miklos@szeredi.hu>
525
526         * Slightly optimize readahead.  Still not clever enough to always
527         keep the pipe filled.
528
529         * Add 'sshfs_debug' option
530
531 2005-02-17  Miklos Szeredi <miklos@szeredi.hu>
532
533         * Parse 'max_read' mount option and if smaller than 65536 forward
534         to FUSE
535
536 2005-02-16  Miklos Szeredi <miklos@szeredi.hu>
537
538         * Added simple readahead (big performance gain in case of
539         sequential read pattern).  Can be disabled with '-o no_readahead'
540
541 2005-02-14  Miklos Szeredi <miklos@szeredi.hu>
542
543         * Added asynchronous writeback (big performance gain) and made
544         this the default.  Can be disabled with '-o sshfs_sync'
545
546 2005-02-09  Miklos Szeredi <miklos@szeredi.hu>
547
548         * Added option to start arbitary command instead of 'ssh'
549
550         * Re-added '-p PORT' as a convenience option, also '-C' works as
551         in ssh.
552
553 2005-02-08  Miklos Szeredi <miklos@szeredi.hu>
554
555         * Add caching of symlinks
556
557         * Add support for many ssh options to be passed to ssh
558
559         * Port number can now actually be specified with "-o port=PORT",
560         bug spotted by Andrew Ukrainec
561
562 2005-02-07  Miklos Szeredi <miklos@szeredi.hu>
563
564         * Separate attribute caching to a separate layer
565
566         * Add caching of directory contents
567
568 2005-02-03  Miklos Szeredi <miklos@szeredi.hu>
569
570         Fix PKG_CONFIG_PATH setting in configure.ac (reported by Alpar
571         Juttner)
572
573 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
574
575         * Released 1.0
576
577 2004-12-04  Miklos Szeredi <miklos@szeredi.hu>
578
579         * Started ChangeLog