summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sftp-server.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add sshd_config ChrootDirectory option to chroot(2) users to a directory anddjm2008-02-081-10/+3
| | | | | tweak internal sftp server to work with it (no special files in chroot required). ok markus@
* link sftp-server into sshd; feedback and ok djm@markus2008-02-041-18/+26
|
* Remove the fixed 100 handle limit in sftp-server and allocate as manydjm2008-01-211-26/+31
| | | | | as we have available file descriptors. Patch from miklos AT szeredi.hu; ok dtucker@ markus@
* fix incorrect test when setting syslog facility; from Jan Pechanecdjm2007-09-131-2/+2
|
* bz#1286 stop reading and processing commands when input or output bufferdjm2007-05-171-6/+19
| | | | | | | is nearly full, otherwise sftp-server would happily try to grow the input/output buffers past the maximum supported by the buffer API and promptly fatal() based on patch from Thue Janus Kristensen; feedback & ok dtucker@
* cast "%llu" format spec to (unsigned long long); do not assume astevesk2007-04-181-4/+7
| | | | | | | | u_int64_t arg is the same as 'unsigned long long'. from Dmitry V. Levin <ldv@altlinux.org> ok markus@ 'Yes, that looks correct' millert@
* spacesstevesk2007-01-031-2/+2
|
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-6/+6
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* move #include <stdio.h> out of includes.hstevesk2006-08-011-1/+2
|
* move #include <stdlib.h> out of includes.hstevesk2006-07-261-1/+2
|
* move #include <sys/param.h> out of includes.hstevesk2006-07-261-1/+2
|
* move #include <sys/time.h> out of includes.hstevesk2006-07-251-1/+2
|
* move #include <string.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <time.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <unistd.h> out of includes.hstevesk2006-07-171-1/+2
|
* move #include <errno.h> out of includes.h; ok markus@stevesk2006-07-111-1/+2
|
* don't log variables that aren't yet setdjm2006-07-101-2/+2
|
* remove optind - it isn't used heredjm2006-07-101-2/+1
|
* move #include <fcntl.h> out of includes.hstevesk2006-07-091-1/+2
|
* add commandline options to enable logging of transactions; ok markus@djm2006-07-061-51/+260
|
* replace {GET,PUT}_XXBIT macros with functionally similar functions,djm2006-03-301-5/+4
| | | | | | 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@
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-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) todjm2006-03-251-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@
* introduce xcalloc() and xasprintf() failure-checked allocations functionsdjm2006-03-251-1/+1
| | | | | | | | | | and use them throughout openssh xcalloc is particularly important because malloc(nmemb * size) is a dangerous idiom (subject to integer overflow) and it is time for it to die feedback and ok deraadt@
* RCSID() can diederaadt2006-03-191-1/+0
|
* move #include <sys/stat.h> out of includes.h; ok markus@stevesk2006-02-201-1/+4
|
* move #include <dirent.h> out of includes.h; ok markus@stevesk2006-02-081-1/+3
|
* use a common max. packet length, no binary changedjm2006-01-021-2/+2
|
* ensure that stdio fds are attached; ok deraadt@djm2005-09-131-1/+5
|
* make this -Wsign-compare clean; ok avsm@ markus@djm2005-06-171-6/+6
|
* Fall back to stat+rename if filesystem doesn't doesn't support harddtucker2004-06-251-4/+20
| | | | links. bz#823, ok djm@
* make ssh -Wshadow clean, no functional changesavsm2004-06-211-9/+9
| | | | markus@ ok
* switch to new license.templatemarkus2004-02-191-20/+12
|
* constify. ok markus@ & djm@jakob2003-11-101-8/+8
|
* Typo police: attribute is better written with an 'r'.miod2003-06-251-2/+2
|
* rename log() into logit() to avoid name conflict. markus ok, from netbsditojun2003-04-081-3/+3
|
* one last fix to the tree: race fix broke stuff; pr 3169; srp@srparish.net,deraadt2003-03-261-9/+20
| | | | help from djm
* fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@markus2003-03-051-4/+6
|
* fix races in rename/symlink; from Tony Finch; ok djm@markus2003-02-061-14/+14
|
* support for short/long listings and globbing in "ls"; ok markus@djm2002-09-111-44/+2
|
* explicit (u_int) for uid and gidderaadt2002-06-241-3/+3
|
* bunch of u_int vs int stuffderaadt2002-06-231-27/+27
|
* use get_int() macro (hide iqueue)markus2002-06-061-2/+2
|
* discard remaining bytes of current request; ok provos@markus2002-06-061-3/+15
|
* handle SSH2_FILEXFER_ATTR_SIZE in SSH2_FXP_(F)SETSTAT; ok djm@markus2002-02-131-2/+12
|
* remove unneeded casts and some char->u_char cleanup; ok markus@stevesk2001-12-291-2/+2
|
* basic KNF done while i was looking for something elsederaadt2001-12-191-5/+5
|
* avoid paths beginning with "//"; <vinschen@redhat.com>jakob2001-07-311-3/+3
| | | | ok markus@
* update copyright for 2001markus2001-06-251-2/+2
|
* more strict prototypes. raise warning level in Makefile.inc. markus ok'editojun2001-06-231-45/+45
| | | | TODO; cleanup headers