Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-01 | If scp -p encounters a pre-epoch timestamp, use the epoch which is | Darren Tucker | |
as close as we can get given that it's used unsigned. Add a little debugging while there. bz #828, ok djm@ | |||
2007-10-24 | factor out network read/write into an atomicio()-like function, and use it | Damien Miller | |
to handle short reads, apply bandwidth limits and update counters. make network IO non-blocking, so a small trickle of reads/writes has a chance of updating the progress meter; bz #799 ok dtucker@ | |||
2007-08-06 | the ellipsis is not an optional argument; while here, sync the usage | Igor Sobrado | |
and synopsis of commands lots of good ideas by jmc@ ok jmc@ | |||
2007-06-13 | don't ftruncate() non-regular files; bz#1236 reported by wood AT xmission.com; | Damien Miller | |
ok dtucker@ | |||
2007-06-12 | Encode filename with strnvis if the name contains a newline (which can't | Darren Tucker | |
be represented in the scp protocol), from bz #891. ok markus@ | |||
2007-06-12 | make scp try to skip FIFOs rather than blocking when nothing is listening. | Damien Miller | |
depends on the platform supporting sane O_NONBLOCK semantics for open on FIFOs (apparently POSIX does not mandate this), which OpenBSD does. bz #856; report by cjwatson AT debian.org; ok markus@ | |||
2007-01-22 | fix detection of whether we should show progress meter or not: scp | Damien Miller | |
tested isatty(stderr) but wrote the progress meter to stdout. This patch makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; of dtucker@ | |||
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 <stdlib.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-22 | move #include <string.h> out of includes.h | Kevin Steves | |
2006-07-22 | move #include <time.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-10 | move #include <stdarg.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-07-10 | duplicate argv at the start of main() because it gets modified later; | Damien Miller | |
pointed out by deraadt@ ok markus@ | |||
2006-07-09 | move #include <fcntl.h> out of includes.h | Kevin Steves | |
2006-07-06 | move #include <pwd.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-05-17 | fix leak; coverity via Kylene Jo Hall | Markus Friedl | |
2006-04-01 | xasprintification; ok deraadt@ | Damien Miller | |
2006-04-01 | minimal lint cleanup (unused crud, and some size_t); ok djm | Theo de Raadt | |
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-03-16 | Try to display errormessage even if remout == -1 | Bjorn Sandell | |
ok djm@, markus@ | |||
2006-02-22 | move #include <ctype.h> out of includes.h; ok djm@ | Kevin Steves | |
2006-02-20 | move #include <sys/stat.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-20 | move #include <signal.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-10 | move #include <sys/wait.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-02-08 | move #include <dirent.h> out of includes.h; ok markus@ | Kevin Steves | |
2006-01-31 | "scp a b c" shouldn't clobber "c" when it is not a directory, report and | Damien Miller | |
fix from biorn@; ok markus@ | |||
2006-01-31 | fix local arbitrary command execution vulnerability on local/local and | Damien Miller | |
remote/remote copies (CVE-2006-0225, bz #1094), patch by t8m AT centrum.cz, polished by dtucker@ and myself; ok markus@ | |||
2005-12-06 | Add support for tun(4) forwarding over OpenSSH, based on an idea and | Reyk Floeter | |
initial channel code bits by markus@. This is a simple and easy way to use OpenSSH for ad hoc virtual private network connections, e.g. administrative tunnels or secure wireless access. It's based on a new ssh channel and works similar to the existing TCP forwarding support, except that it depends on the tun(4) network interface on both ends of the connection for layer 2 or layer 3 tunneling. This diff also adds support for LocalCommand in the ssh(1) client. ok djm@, markus@, jmc@ (manpages), tested and discussed with others | |||
2005-11-12 | avoid close(-1), as in rcp; ok cloder | Theo de Raadt | |
2005-09-13 | ensure that stdio fds are attached; ok deraadt@ | Damien Miller | |
2005-07-27 | Silence bogus -Wuninitialized warnings; ok djm@ | Darren Tucker | |
2005-06-17 | make this -Wsign-compare clean; ok avsm@ markus@ | Damien Miller | |
2005-05-26 | If copying multiple files to a target file (which normally fails, as it | Anil Madhavapeddy | |
must be a target directory), kill the spawned ssh child before exiting. This stops it trying to authenticate and spewing lots of output. deraadt@ ok | |||
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@ | |||
2005-04-02 | since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror build | Damien Miller | |
2005-03-31 | copy argv[] element instead of smashing the one that ps will see; ok otto | Theo de Raadt | |
2005-01-24 | Have scp and sftp wait for the spawned ssh to exit before they exit | Darren Tucker | |
themselves. This prevents ssh from being unable to restore terminal modes (not normally a problem on OpenBSD but common with -Portable on POSIX platforms). From peak at argo.troja.mff.cuni.cz (bz#950); ok djm@ markus@ | |||
2004-09-15 | scratch that do { } while (0) wrapper in this case | Theo de Raadt | |
2004-08-11 | use atomicio instead of homegrown equivalents or read/write. | Anil Madhavapeddy | |
markus@ ok | |||
2004-07-08 | Prevent scp from skipping the file following a double-error. | Darren Tucker | |
bz #863, ok markus@ | |||
2004-06-21 | make ssh -Wshadow clean, no functional changes | Anil Madhavapeddy | |
markus@ ok | |||
2004-04-01 | limit trust between local and remote rcp/scp process, | Markus Friedl | |
noticed by lcamtuf; ok deraadt@, djm@ | |||
2003-11-23 | from portable: rename clashing variable limit-> limit_rate; ok markus@ | Damien Miller | |