Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move #include <stdio.h> out of includes.h | 2006-08-01 | 1 | -1/+2 | ||
| | ||||||
* | move #include <stdlib.h> out of includes.h | 2006-07-26 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/param.h> out of includes.h | 2006-07-26 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/time.h> out of includes.h | 2006-07-25 | 1 | -1/+2 | ||
| | ||||||
* | move #include <string.h> out of includes.h | 2006-07-22 | 1 | -1/+2 | ||
| | ||||||
* | move #include <time.h> out of includes.h | 2006-07-22 | 1 | -1/+2 | ||
| | ||||||
* | move #include <unistd.h> out of includes.h | 2006-07-17 | 1 | -1/+2 | ||
| | ||||||
* | move #include <errno.h> out of includes.h; ok markus@ | 2006-07-11 | 1 | -1/+2 | ||
| | ||||||
* | move #include <stdarg.h> out of includes.h; ok markus@ | 2006-07-10 | 1 | -1/+2 | ||
| | ||||||
* | duplicate argv at the start of main() because it gets modified later; | 2006-07-10 | 1 | -3/+9 | ||
| | | | | pointed out by deraadt@ ok markus@ | |||||
* | move #include <fcntl.h> out of includes.h | 2006-07-09 | 1 | -1/+2 | ||
| | ||||||
* | move #include <pwd.h> out of includes.h; ok markus@ | 2006-07-06 | 1 | -1/+2 | ||
| | ||||||
* | fix leak; coverity via Kylene Jo Hall | 2006-05-17 | 1 | -2/+4 | ||
| | ||||||
* | xasprintification; ok deraadt@ | 2006-04-01 | 1 | -9/+3 | ||
| | ||||||
* | minimal lint cleanup (unused crud, and some size_t); ok djm | 2006-04-01 | 1 | -9/+11 | ||
| | ||||||
* | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | 2006-03-25 | 1 | -0/+1 | ||
| | | | | Theo nuked - our scripts to sync -portable need them in the files | |||||
* | change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to | 2006-03-25 | 1 | -1/+1 | ||
| | | | | | | | | 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@ | |||||
* | RCSID() can die | 2006-03-19 | 1 | -1/+0 | ||
| | ||||||
* | Try to display errormessage even if remout == -1 | 2006-03-16 | 1 | -10/+10 | ||
| | | | | ok djm@, markus@ | |||||
* | move #include <ctype.h> out of includes.h; ok djm@ | 2006-02-22 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/stat.h> out of includes.h; ok markus@ | 2006-02-20 | 1 | -1/+2 | ||
| | ||||||
* | move #include <signal.h> out of includes.h; ok markus@ | 2006-02-20 | 1 | -1/+2 | ||
| | ||||||
* | move #include <sys/wait.h> out of includes.h; ok markus@ | 2006-02-10 | 1 | -1/+4 | ||
| | ||||||
* | move #include <dirent.h> out of includes.h; ok markus@ | 2006-02-08 | 1 | -1/+3 | ||
| | ||||||
* | "scp a b c" shouldn't clobber "c" when it is not a directory, report and | 2006-01-31 | 1 | -2/+2 | ||
| | | | | fix from biorn@; ok markus@ | |||||
* | fix local arbitrary command execution vulnerability on local/local and | 2006-01-31 | 1 | -45/+87 | ||
| | | | | | remote/remote copies (CVE-2006-0225, bz #1094), patch by t8m AT centrum.cz, polished by dtucker@ and myself; ok markus@ | |||||
* | Add support for tun(4) forwarding over OpenSSH, based on an idea and | 2005-12-06 | 1 | -1/+2 | ||
| | | | | | | | | | | | | 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 | |||||
* | avoid close(-1), as in rcp; ok cloder | 2005-11-12 | 1 | -4/+10 | ||
| | ||||||
* | ensure that stdio fds are attached; ok deraadt@ | 2005-09-13 | 1 | -1/+4 | ||
| | ||||||
* | Silence bogus -Wuninitialized warnings; ok djm@ | 2005-07-27 | 1 | -2/+2 | ||
| | ||||||
* | make this -Wsign-compare clean; ok avsm@ markus@ | 2005-06-17 | 1 | -5/+5 | ||
| | ||||||
* | If copying multiple files to a target file (which normally fails, as it | 2005-05-26 | 1 | -4/+6 | ||
| | | | | | | 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 | |||||
* | Switch atomicio to use a simpler interface; it now returns a size_t | 2005-05-24 | 1 | -12/+14 | ||
| | | | | | | | | | | | (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@ | |||||
* | since ssh has xstrdup, use it instead of strdup+test. unbreaks -Werror build | 2005-04-02 | 1 | -4/+2 | ||
| | ||||||
* | copy argv[] element instead of smashing the one that ps will see; ok otto | 2005-03-31 | 1 | -5/+8 | ||
| | ||||||
* | Have scp and sftp wait for the spawned ssh to exit before they exit | 2005-01-24 | 1 | -2/+4 | ||
| | | | | | | | 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@ | |||||
* | scratch that do { } while (0) wrapper in this case | 2004-09-15 | 1 | -2/+2 | ||
| | ||||||
* | use atomicio instead of homegrown equivalents or read/write. | 2004-08-11 | 1 | -6/+3 | ||
| | | | | markus@ ok | |||||
* | Prevent scp from skipping the file following a double-error. | 2004-07-08 | 1 | -3/+7 | ||
| | | | | bz #863, ok markus@ | |||||
* | make ssh -Wshadow clean, no functional changes | 2004-06-21 | 1 | -5/+5 | ||
| | | | | markus@ ok | |||||
* | limit trust between local and remote rcp/scp process, | 2004-04-01 | 1 | -1/+9 | ||
| | | | | noticed by lcamtuf; ok deraadt@, djm@ | |||||
* | from portable: rename clashing variable limit-> limit_rate; ok markus@ | 2003-11-23 | 1 | -6/+6 | ||
| | ||||||
* | unexpand and delete whitespace at EOL; ok markus@ | 2003-11-21 | 1 | -2/+2 | ||
| | ||||||
* | When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@ | 2003-11-12 | 1 | -1/+2 | ||
| | ||||||
* | scp and sftp: add options list and sort options. options list requested | 2003-10-08 | 1 | -3/+3 | ||
| | | | | | | | | | by deraadt@ sshd: use same format as ssh ssh: remove wrong option from list sftp-server: Subsystem is documented in ssh_config(5), not sshd(8) ok deraadt@ markus@ | |||||
* | error handling for remote-remote copy; #638; report Harald Koenig; | 2003-09-19 | 1 | -2/+3 | ||
| | | | | ok millert, fgs, henning, deraadt | |||||
* | userid is unsigned, but well, force it anyways; andrushock@korovino.net | 2003-07-18 | 1 | -2/+2 | ||
| | ||||||
* | deal with typing of write vs read in atomicio | 2003-06-28 | 1 | -18/+18 | ||
| | ||||||
* | Typo. | 2003-06-12 | 1 | -2/+2 | ||
| | | | | Ok markus@. | |||||
* | kill ssh process upon receipt of signal, bz #241. | 2003-06-04 | 1 | -2/+14 | ||
| | | | | based on patch from esb AT hawaii.edu; ok markus@ |