summaryrefslogtreecommitdiffstats
path: root/sftp-client.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - deraadt@cvs.openbsd.org 2003/06/28 16:23:06Darren Tucker2003-07-031-4/+4
| | | | | | | [atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c sshd.c] deal with typing of write vs read in atomicio
* - (djm) RCSID sync w/ OpenBSDDamien Miller2003-05-141-1/+1
|
* *** empty log message ***Damien Miller2003-04-091-1/+1
|
* - (djm) OpenBSD CVS SyncDamien Miller2003-03-101-1/+4
| | | | | | | - markus@cvs.openbsd.org 2003/03/05 22:33:43 [channels.c monitor.c scp.c session.c sftp-client.c sftp-int.c] [sftp-server.c ssh-add.c sshconnect2.c] fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@
* - djm@cvs.openbsd.org 2003/01/14 10:58:00Damien Miller2003-01-141-3/+8
| | | | | | [sftp-client.c sftp-int.c] Don't try to upload or download non-regular files. Report from apoloval@pantuflo.escet.urjc.es; ok markus@
* - djm@cvs.openbsd.org 2003/01/10 08:48:15Damien Miller2003-01-101-27/+27
| | | | | | [sftp-client.c] Simplify and avoid redundancy in packet send and receive functions; ok fgs@
* - fgsch@cvs.openbsd.org 2003/01/10 08:19:07Damien Miller2003-01-101-1/+26
| | | | | | | [scp.c sftp.1 sftp.c sftp-client.c sftp-int.c] sftp progress meter support. original diffs by Nils Nordman <nino at nforced dot com> via markus@, merged to -current by me, djm@ ok.
* - djm@cvs.openbsd.org 2003/01/06 23:51:22Damien Miller2003-01-081-3/+4
| | | | | | [sftp-client.c] Fix "get -p" download to not add user-write perm. mindrot bug #426 reported by gfernandez@livevault.com; ok markus@
* - deraadt@cvs.openbsd.org 2002/11/21 23:03:51Ben Lindstrom2002-12-231-7/+7
| | | | | | [auth-krb5.c auth1.c hostfile.h monitor_wrap.c sftp-client.c sftp-int.c ssh-add.c ssh-rsa.c sshconnect.c] KNF
* - markus@cvs.openbsd.org 2002/11/05 20:10:37Ben Lindstrom2002-11-091-2/+2
| | | | | [sftp-client.c] typo; GaryF@livevault.com
* - (djm) Sync sys/tree.h with OpenBSD -current. Rename tree.h andDamien Miller2002-09-121-1/+1
| | | | fake-queue.h to sys-tree.h and sys-queue.h
* - djm@cvs.openbsd.org 2002/09/11 22:41:50Damien Miller2002-09-121-7/+1
| | | | | | [sftp.1 sftp-client.c sftp-client.h sftp-common.c sftp-common.h] [sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c] support for short/long listings and globbing in "ls"; ok markus@
* - deraadt@cvs.openbsd.org 2002/06/27 10:35:47Ben Lindstrom2002-07-041-2/+2
| | | | | [auth2-none.c monitor.c sftp-client.c] use xfree()
* - deraadt@cvs.openbsd.org 2002/06/23 09:30:14Ben Lindstrom2002-06-231-32/+33
| | | | | | [sftp-client.c sftp-client.h sftp-common.c sftp-int.c sftp-server.c sftp.c] bunch of u_int vs int stuff
* - (bal) RCSID tag updates on channels.c, clientloop.c, nchan.c,Ben Lindstrom2002-06-091-1/+1
| | | | | sftp-client.c, ssh-agenet.c, ssh-keygen.c and connect.h (we did unexpand independant of them)
* unexpandBen Lindstrom2002-06-091-1/+1
|
* - djm@cvs.openbsd.org 2002/04/06 00:30:08Ben Lindstrom2002-04-061-4/+6
| | | | | | [sftp-client.c] Fix occasional corruption on upload due to bad reuse of request id, spotted by chombier@mac.com; ok markus@
* - (bal) Too many <sys/queue.h> issues. Remove all workarounds andBen Lindstrom2002-04-051-4/+0
| | | | using internal version only.
* - markus@cvs.openbsd.org 2002/04/01 22:07:17Ben Lindstrom2002-04-021-3/+3
| | | | | [sftp-client.c] fallback to stat if server does not support lstat
* - markus@cvs.openbsd.org 2002/04/01 22:02:16Ben Lindstrom2002-04-021-2/+2
| | | | | [sftp-client.c] 20480 is an upper limit for older server
* - markus@cvs.openbsd.org 2002/03/19 10:49:35Ben Lindstrom2002-03-221-16/+16
| | | | | | | [auth-krb5.c auth-rh-rsa.c auth.c cipher.c key.c misc.h packet.c session.c sftp-client.c sftp-glob.h sftp.c ssh-add.c ssh.c sshconnect2.c sshd.c ttymodes.c] KNF whitespace
* - itojun@cvs.openbsd.org 2002/03/11 03:19:53Ben Lindstrom2002-03-221-4/+4
| | | | | [sftp-client.c] indent
* - itojun@cvs.openbsd.org 2002/03/11 03:18:49Ben Lindstrom2002-03-221-8/+12
| | | | | [sftp-client.c] correct type mismatches (u_int64_t != unsigned long long)
* - itojun@cvs.openbsd.org 2002/03/08 06:10:16Ben Lindstrom2002-03-221-2/+4
| | | | | [sftp-client.c] printf type mismatch
* - markus@cvs.openbsd.org 2002/02/24 16:57:19Ben Lindstrom2002-02-261-2/+3
| | | | | [sftp-client.c] early close(), missing free; ok stevesk@
* - djm@cvs.openbsd.org 2002/02/13 00:59:23Damien Miller2002-02-131-126/+176
| | | | | | [sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp.h] [sftp-int.c sftp-int.h] API cleanup and backwards compat for filexfer v.0 servers; ok markus@
* - djm@cvs.openbsd.org 2002/02/12 12:44:46Damien Miller2002-02-131-9/+48
| | | | | | [sftp-client.c] Let overlapped upload path handle servers which reorder ACKs. This may be permitted by the protocol spec; ok markus@
* - djm@cvs.openbsd.org 2002/02/12 12:32:27Damien Miller2002-02-131-94/+194
| | | | | | [sftp.1 sftp.c sftp-client.c sftp-client.h sftp-int.c] Perform multiple overlapping read/write requests in file transfer. Mostly done by Tobias Ringstrom <tori@ringstrom.mine.nu>; ok markus@
* - djm@cvs.openbsd.org 2002/02/05 00:00:46Damien Miller2002-02-081-18/+14
| | | | | [sftp.1 sftp.c sftp-client.c sftp-client.h sftp-int.c] Add "-B" option to specify copy buffer length (default 32k); ok markus@
* - deraadt@cvs.openbsd.org 2001/12/19 07:18:56Damien Miller2001-12-211-9/+8
| | | | | | | | | | | | [auth1.c auth2.c auth2-chall.c auth-bsdauth.c auth.c authfile.c auth.h] [auth-krb4.c auth-rhosts.c auth-skey.c bufaux.c canohost.c channels.c] [cipher.c clientloop.c compat.c compress.c deattack.c key.c log.c mac.c] [match.c misc.c nchan.c packet.c readconf.c rijndael.c rijndael.h scard.c] [servconf.c servconf.h serverloop.c session.c sftp.c sftp-client.c] [sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c] [sshconnect1.c sshconnect2.c sshconnect.c sshd.8 sshd.c sshd_config] [ssh-keygen.c sshlogin.c sshpty.c sshtty.c ttymodes.c uidswap.c] basic KNF done while i was looking for something else
* - OpenBSD CVS SyncBen Lindstrom2001-07-181-3/+1
| | | | | | - stevesk@cvs.openbsd.org 2001/07/14 15:10:17 [readpass.c sftp-client.c sftp-common.c sftp-glob.c] delete spurious #includes; ok deraadt@ markus@
* - itojun@cvs.openbsd.org 2001/06/23 15:12:20Ben Lindstrom2001-06-251-9/+9
| | | | | | | | | | | | | [auth1.c auth2.c auth2-chall.c authfd.c authfile.c auth-rhosts.c canohost.c channels.c cipher.c clientloop.c deattack.c dh.c hostfile.c kex.c kexdh.c kexgex.c key.c nchan.c packet.c radix.c readpass.c scp.c servconf.c serverloop.c session.c sftp.c sftp-client.c sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c sshconnect1.c sshconnect2.c sshconnect.c sshd.c ssh-keygen.c ssh-keyscan.c] more strict prototypes. raise warning level in Makefile.inc. markus ok'ed TODO; cleanup headers
* - markus@cvs.openbsd.org 2001/04/05 10:42:57Ben Lindstrom2001-04-061-3/+3
| | | | | | | | [auth-chall.c authfd.c channels.c clientloop.c kex.c kexgex.c key.c mac.c packet.c serverloop.c sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c sftp.c ssh-keygen.c sshconnect.c sshconnect2.c sshd.c] fix whitespace: unexpand + trailing spaces.
* - (djm) OpenBSD CVS SyncDamien Miller2001-03-191-3/+7
| | | | | | - djm@cvs.openbsd.org 2001/03/19 03:52:51 [sftp-client.c] Report ssh connection closing correctly; ok deraadt@
* - djm@cvs.openbsd.org 2001/03/16 08:16:18Ben Lindstrom2001-03-171-12/+20
| | | | | | [sftp-client.c sftp-client.h sftp-glob.c sftp-int.c] Revise globbing for get/put to be more shell-like. In particular, "get/put file* directory/" now works. ok markus@
* - markus@cvs.openbsd.org 2001/03/14 08:57:14Ben Lindstrom2001-03-141-2/+2
| | | | | [sftp-client.c] Wall
* - djm@cvs.openbsd.org 2001/03/13 22:42:54Damien Miller2001-03-141-4/+49
| | | | | [sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c] sftp client filename globbing for get, put, ch{mod,grp,own}. ok markus@
* - OpenBSD CVS SyncDamien Miller2001-03-081-4/+77
| | | | | | | - djm@cvs.openbsd.org 2001/03/07 10:11:23 [sftp-client.c sftp-client.h sftp-int.c sftp-server.c sftp.1 sftp.c sftp.h] Support for new draft (draft-ietf-secsh-filexfer-01). New symlink handling functions and small protocol change.
* - (bal) Replace 'unsigned long long' to 'u_int64_t' since not everyBen Lindstrom2001-02-251-4/+4
| | | | platform defines u_int64_t as being that.
* - (bal) Patch for fix FCHMOD reference in ftp-client.c by Tim RiceBen Lindstrom2001-02-171-0/+4
| | | | <tim@multitalents.net>
* - djm@cvs.openbsd.org 2001/02/14 9:46:03Ben Lindstrom2001-02-151-21/+19
| | | | | | [sftp-client.c sftp-int.c sftp.1] Fix and document 'preserve modes & times' option ('-p' flag in sftp); ok markus@
* - (bal) Minor correction to sftp-client.c I made. Should return 'status'Ben Lindstrom2001-02-101-2/+2
| | | | instead of '0' (from the OpenBSD tree)
* - (bal) sftp-client.c replace NULL w/ 0 in do_ls() (pending in OpenBSD tree)Ben Lindstrom2001-02-101-1/+1
|
* - (djm) Sync sftp and scp stuff from OpenBSD:Damien Miller2001-02-091-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - djm@cvs.openbsd.org 2001/02/07 03:55:13 [sftp-client.c] Don't free handles before we are done with them. Based on work from Corinna Vinschen <vinschen@redhat.com>. ok markus@ - djm@cvs.openbsd.org 2001/02/06 22:32:53 [sftp.1] Punctuation fix from Pekka Savola <pekkas@netcore.fi> - deraadt@cvs.openbsd.org 2001/02/07 04:07:29 [sftp.1] pretty up significantly - itojun@cvs.openbsd.org 2001/02/07 06:49:42 [sftp.1] .Bl-.El mismatch. markus ok - djm@cvs.openbsd.org 2001/02/07 06:12:30 [sftp-int.c] Check that target is a directory before doing ls; ok markus@ - itojun@cvs.openbsd.org 2001/02/07 11:01:18 [scp.c sftp-client.c sftp-server.c] unsigned long long -> %llu, not %qu. markus ok - stevesk@cvs.openbsd.org 2001/02/07 11:10:39 [sftp.1 sftp-int.c] more man page cleanup and sync of help text with man page; ok markus@ - markus@cvs.openbsd.org 2001/02/07 14:58:34 [sftp-client.c] older servers reply with SSH2_FXP_NAME + count==0 instead of EOF - djm@cvs.openbsd.org 2001/02/07 15:27:19 [sftp.c] Don't forward agent and X11 in sftp. Suggestion from Roumen Petrov <roumen.petrov@skalasoft.com> - stevesk@cvs.openbsd.org 2001/02/07 15:36:04 [sftp-int.c] portable; ok markus@ - stevesk@cvs.openbsd.org 2001/02/07 15:55:47 [sftp-int.c] lowercase cmds[].c also; ok markus@ - markus@cvs.openbsd.org 2001/02/07 17:04:52 [pathnames.h sftp.c] allow sftp over ssh protocol 1; ok djm@ - deraadt@cvs.openbsd.org 2001/02/08 07:38:55 [scp.c] memory leak fix, and snprintf throughout - deraadt@cvs.openbsd.org 2001/02/08 08:02:02 [sftp-int.c] plug a memory leak - stevesk@cvs.openbsd.org 2001/02/08 10:11:23 [session.c sftp-client.c] %i -> %d - stevesk@cvs.openbsd.org 2001/02/08 10:57:59 [sftp-int.c] typo - stevesk@cvs.openbsd.org 2001/02/08 15:28:07 [sftp-int.c pathnames.h] _PATH_LS; ok markus@ - djm@cvs.openbsd.org 2001/02/09 04:46:25 [sftp-int.c] Check for NULL attribs for chown, chmod & chgrp operations, only send relevant attribs back to server; ok markus@ - (djm) Update makefile.in for _PATH_SFTP_SERVER
* - djm@cvs.openbsd.org 2001/02/06 23:30:28Ben Lindstrom2001-02-091-17/+20
| | | | | [sftp-client.c] replace arc4random with counter for request ids; ok markus@
* - deraadt@cvs.openbsd.org 2001/02/04 08:23:08Kevin Steves2001-02-051-5/+7
| | | | | [sftp-client.c sftp-server.c] make gcc on the alpha even happier
* - stevesk@cvs.openbsd.org 2001/02/04 08:32:27Kevin Steves2001-02-051-1/+1
| | | | | [many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
* NB: big update - may break stuff. Please test!Damien Miller2001-02-041-0/+792
- (djm) OpenBSD CVS sync: - markus@cvs.openbsd.org 2001/02/03 03:08:38 [auth-options.c auth-rh-rsa.c auth-rhosts.c auth.c canohost.c] [canohost.h servconf.c servconf.h session.c sshconnect1.c sshd.8] [sshd_config] make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@ - markus@cvs.openbsd.org 2001/02/03 03:19:51 [ssh.1 sshd.8 sshd_config] Skey is now called ChallengeResponse - markus@cvs.openbsd.org 2001/02/03 03:43:09 [sshd.8] use no-pty option in .ssh/authorized_keys* if you need a 8-bit clean channel. note from Erik.Anggard@cygate.se (pr/1659) - stevesk@cvs.openbsd.org 2001/02/03 10:03:06 [ssh.1] typos; ok markus@ - djm@cvs.openbsd.org 2001/02/04 04:11:56 [scp.1 sftp-server.c ssh.1 sshd.8 sftp-client.c sftp-client.h] [sftp-common.c sftp-common.h sftp-int.c sftp-int.h sftp.1 sftp.c] Basic interactive sftp client; ok theo@ - (djm) Update RPM specs for new sftp binary - (djm) Update several bits for new optional reverse lookup stuff. I think I got them all.