Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-09 | two problems found by a to-be-committed regress test: 1) msg_id was not | Damien Miller | |
being initialised so was starting at a random value from the heap (harmless, but confusing). 2) some error conditions were not being propagated back to the caller | |||
2013-08-08 | add a "-l" flag for the rename command to force it to use the silly | Damien Miller | |
standard SSH_FXP_RENAME command instead of the POSIX-rename- like posix-rename@openssh.com extension. intended for use in regress tests, so no documentation. | |||
2013-07-25 | sftp support for resuming partial downloads; patch mostly by Loganaden | Damien Miller | |
Velvindron/AfriNIC with some tweaks by me; feedback and ok dtucker@ "Just be careful" deraadt@ | |||
2013-06-01 | Update progressmeter when data is acked, not when it's sent. bz#2108, from | Darren Tucker | |
Debian via Colin Watson, ok djm@ | |||
2013-06-01 | Replace S_IWRITE, which isn't standardized, with S_IWUSR, which is. Patch | Darren Tucker | |
from Nathan Osman via bz#2085. ok deraadt. | |||
2013-05-17 | bye, bye xfree(); ok markus@ | Damien Miller | |
2012-07-02 | fix a couple of "assigned but not used" warnings. ok markus@ | Darren Tucker | |
2011-09-12 | fix leak in do_lsreaddir(); ok djm | Markus Friedl | |
2011-09-11 | fix leaks in do_hardlink() and do_readlink(); bz#1921 | Markus Friedl | |
from Loganaden Velvindron | |||
2010-12-04 | add a protocol extension to support a hard link operation. It is | Damien Miller | |
available through the "ln" command in the client. The old "ln" behaviour of creating a symlink is available using its "-s" option or through the preexisting "symlink" command; based on a patch from miklos AT szeredi.hu in bz#1555; ok markus@ | |||
2010-09-22 | add an option per-read/write callback to atomicio | Damien Miller | |
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism add a bandwidth limit option to sftp(1) using the above "very nice" markus@ | |||
2010-07-19 | bz#1797: fix swapped args in upload_dir_internal(), breaking recursive | Damien Miller | |
upload depth checks and causing verbose printing of transfers to always be turned on; patch from imorgan AT nas.nasa.gov | |||
2010-06-18 | fix memory leak in do_realpath() error path; bz#1771, patch from | Damien Miller | |
anicka AT suse.cz | |||
2009-10-11 | d_type isn't portable so use lstat to get dirent modes. Suggested by and | Darren Tucker | |
"looks sane" deraadt@ | |||
2009-08-18 | recursive transfer support for get/put and on the commandline | Damien Miller | |
work mostly by carlosvsilvapt@gmail.com for the Google Summer of Code with some tweaks by me; "go for it" deraadt@ | |||
2009-08-14 | make the "get_handle: ..." error messages vaguely useful by allowing | Damien Miller | |
callers to specify their own error message strings. | |||
2009-06-22 | alphabetize includes; reduces diff vs portable and style(9). ok stevesk djm | Darren Tucker | |
2008-06-26 | allow the sftp chmod(2)-equivalent operation to set set[ug]id/sticky | Damien Miller | |
bits. Note that this only affects explicit setting of modes (e.g. via sftp(1)'s chmod command) and not file transfers. (bz#1310) ok deraadt@ at c2k8 | |||
2008-06-12 | print extension revisions for extensions that we understand | Damien Miller | |
2008-06-08 | Have the sftp client store the statvfs replies in wire format, | Darren Tucker | |
which prevents problems when the server's native sizes exceed the client's. Also extends the sizes of the remaining 32bit wire format to 64bit, they're specified as unsigned long in the standard. | |||
2008-06-07 | statvfs member fsid needs to be wider, increase it to 64 bits and | Damien Miller | |
crank extension revision number to 2; prodded and ok dtucker@ | |||
2008-04-18 | introduce sftp extension methods statvfs@openssh.com and | Damien Miller | |
fstatvfs@openssh.com that implement statvfs(2)-like operations, based on a patch from miklos AT szeredi.hu (bz#1399) also add a "df" command to the sftp client that uses the statvfs@openssh.com to produce a df(1)-like display of filesystem space and inode utilisation ok markus@ | |||
2008-03-23 | prefer POSIX-style file renaming over filexfer rename behaviour if the server | Damien Miller | |
supports the posix-rename@openssh.com extension. Note that the old (filexfer) behaviour would refuse to clobber an existing file. Users who depended on this should adjust their sftp(1) usage. ok deraadt@ markus@ | |||
2008-01-21 | when a remote write error occurs during an upload, ensure that ACKs for all | Damien Miller | |
issued requests are properly drained. patch from t8m AT centrum.cz | |||
2008-01-19 | fix remote handle leak in do_download() local file open error path; | Damien Miller | |
report and fix from sworley AT chkno.net | |||
2008-01-11 | disable unused functions | Charles Longeau | |
initially from tobias@, but disabled them by placing them in "#ifdef notyet" which was asked by djm@ ok djm@ tobias@ | |||
2007-09-16 | use off_t instead of u_int64_t for file offsets, matching what the | Damien Miller | |
progressmeter code expects; bz #842 | |||
2007-01-22 | return error from do_upload() when a write fails. fixes bz#1252: zero | Damien Miller | |
exit status from sftp when uploading to a full device. report from jirkat AT atlas.cz; ok dtucker@ | |||
2006-10-22 | cancel progress meter when upload write fails; ok deraadt@ | Damien Miller | |
2006-08-03 | almost entirely get rid of the culture of ".h files that include .h files" | Theo de Raadt | |
ok djm, sort of ok stevesk makes the pain stop in one easy step | |||
2006-08-01 | move #include <stdio.h> out of includes.h | Kevin Steves | |
2006-07-26 | move #include <sys/param.h> out of includes.h | Kevin Steves | |
2006-07-25 | move #include <sys/time.h> out of includes.h | Kevin Steves | |
2006-07-23 | #include <signal.h> for sig_atomic_t; need this prior to <sys/param.h> | Kevin Steves | |
move | |||
2006-07-22 | move #include <string.h> out of includes.h | Kevin Steves | |
2006-07-17 | move #include <unistd.h> out of includes.h | Kevin Steves | |
2006-07-11 | move #include <errno.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-07-09 | move #include <fcntl.h> out of includes.h | Kevin Steves | |
2006-04-16 | avoid making a tiny 4-byte write to send the packet length of sftp | Damien Miller | |
commands, which would result in a separate tiny packet on the wire by using atomiciov(writev, ...) to write the length and the command in one pass; ok deraadt@ | |||
2006-03-30 | replace {GET,PUT}_XXBIT macros with functionally similar functions, | Damien Miller | |
silencing a heap of lint warnings. also allows them to use __bounded__ checking which can't be applied to macros; requested by and feedback from deraadt@ | |||
2006-03-25 | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | Damien Miller | |
Theo nuked - our scripts to sync -portable need them in the files | |||
2006-03-25 | change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to | Damien Miller | |
xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@ | |||
2006-03-19 | RCSID() can die | Theo de Raadt | |
2006-02-20 | move #include <sys/stat.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-15 | typo in comment; ok djm@ | David Krause | |
2006-01-02 | use a common max. packet length, no binary change | Damien Miller | |
2005-07-27 | Silence bogus -Wuninitialized warnings; ok djm@ | Darren Tucker | |
2005-07-17 | knf says that a 2nd level indent is four (not three or five) spaces | Damien Miller | |
2005-06-17 | make this -Wsign-compare clean; ok avsm@ markus@ | Damien Miller | |
2005-05-24 | Switch atomicio to use a simpler interface; it now returns a size_t | Anil Madhavapeddy | |
(containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes: if (atomicio(read, ..., len) != len) err(1,"read"); ok deraadt@, cloder@, djm@ |