1. 21 Nov, 2013 1 commit
  2. 18 Jul, 2013 3 commits
  3. 05 Jun, 2013 1 commit
  4. 01 Jun, 2013 2 commits
    • Darren Tucker's avatar
      - dtucker@cvs.openbsd.org 2013/06/01 20:59:25 · 3750fce6
      Darren Tucker authored
           [scp.c sftp-client.c]
           Replace S_IWRITE, which isn't standardized, with S_IWUSR, which is.  Patch
           from Nathan Osman via bz#2113.  ok deraadt.
      (note: corrected bug number from 2085)
    • Darren Tucker's avatar
      - djm@cvs.openbsd.org 2013/05/17 00:13:13 · a627d42e
      Darren Tucker authored
           [xmalloc.h cipher.c sftp-glob.c ssh-keyscan.c ssh.c sftp-common.c
           ssh-ecdsa.c auth2-chall.c compat.c readconf.c kexgexs.c monitor.c
           gss-genr.c cipher-3des1.c kex.c monitor_wrap.c ssh-pkcs11-client.c
           auth-options.c rsa.c auth2-pubkey.c sftp.c hostfile.c auth2.c
           servconf.c auth.c authfile.c xmalloc.c uuencode.c sftp-client.c
           auth2-gss.c sftp-server.c bufaux.c mac.c session.c jpake.c kexgexc.c
           sshconnect.c auth-chall.c auth2-passwd.c sshconnect1.c buffer.c
           kexecdhs.c kexdhs.c ssh-rsa.c auth1.c ssh-pkcs11.c auth2-kbdint.c
           kexdhc.c sshd.c umac.c ssh-dss.c auth2-jpake.c bufbn.c clientloop.c
           monitor_mm.c scp.c roaming_client.c serverloop.c key.c auth-rsa.c
           ssh-pkcs11-helper.c ssh-keysign.c ssh-keygen.c match.c channels.c
           sshconnect2.c addrmatch.c mux.c canohost.c kexecdhc.c schnorr.c
           ssh-add.c misc.c auth2-hostbased.c ssh-agent.c bufec.c groupaccess.c
           dns.c packet.c readpass.c authfd.c moduli.c]
           bye, bye xfree(); ok markus@
  5. 16 May, 2013 1 commit
  6. 20 Mar, 2013 1 commit
  7. 22 Sep, 2011 1 commit
    • Damien Miller's avatar
      - djm@cvs.openbsd.org 2011/09/09 22:37:01 · 0603d98b
      Damien Miller authored
           suppress adding '--' to remote commandlines when the first argument
           does not start with '-'. saves breakage on some difficult-to-upgrade
           embedded/router platforms; feedback & ok dtucker ok markus
  8. 06 Jan, 2011 2 commits
  9. 01 Dec, 2010 1 commit
    • Damien Miller's avatar
      - djm@cvs.openbsd.org 2010/11/26 05:52:49 · 87dc0a41
      Damien Miller authored
           Pass through ssh command-line flags and options when doing remote-remote
           transfers, e.g. to enable agent forwarding which is particularly useful
           in this case; bz#1837 ok dtucker@
  10. 24 Sep, 2010 1 commit
    • Damien Miller's avatar
      - djm@cvs.openbsd.org 2010/09/22 22:58:51 · 65e42f87
      Damien Miller authored
           [atomicio.c atomicio.h misc.c misc.h scp.c sftp-client.c]
           [sftp-client.h sftp.1 sftp.c]
           add an option per-read/write callback to atomicio
           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@
  11. 02 Jul, 2010 1 commit
  12. 08 Jan, 2010 1 commit
    • Darren Tucker's avatar
      - guenther@cvs.openbsd.org 2009/12/20 07:28:36 · b8c884a0
      Darren Tucker authored
           [ssh.c sftp.c scp.c]
           When passing user-controlled options with arguments to other programs,
           pass the option and option argument as separate argv entries and
           not smashed into one (e.g., as -l foo and not -lfoo).  Also, always
           pass a "--" argument to stop option parsing, so that a positional
           argument that starts with a '-' isn't treated as an option.  This
           fixes some error cases as well as the handling of hostnames and
           filenames that start with a '-'.
           Based on a diff by halex@
           ok halex@ djm@ deraadt@
  13. 03 Nov, 2008 1 commit
  14. 04 Jul, 2008 1 commit
  15. 13 Jun, 2008 1 commit
  16. 14 Mar, 2008 1 commit
  17. 29 Feb, 2008 1 commit
  18. 01 Jan, 2008 1 commit
  19. 02 Dec, 2007 1 commit
  20. 26 Oct, 2007 1 commit
    • Damien Miller's avatar
      - djm@cvs.openbsd.org 2007/10/24 03:44:02 · c77cadbf
      Damien Miller authored
           factor out network read/write into an atomicio()-like function, and
           use it 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@
  21. 08 Aug, 2007 1 commit
  22. 25 Jun, 2007 1 commit
  23. 12 Jun, 2007 2 commits
    • Darren Tucker's avatar
      - dtucker@cvs.openbsd.org 2007/06/12 13:54:28 · bed63112
      Darren Tucker authored
           Encode filename with strnvis if the name contains a newline (which can't
           be represented in the scp protocol), from bz #891.  ok markus@
    • Darren Tucker's avatar
      - djm@cvs.openbsd.org 2007/06/12 08:24:20 · 43ce9024
      Darren Tucker authored
           make scp try to skip FIFOs rather than blocking when nothing is listening.
           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@
  24. 19 Feb, 2007 1 commit
    • Darren Tucker's avatar
      - djm@cvs.openbsd.org 2007/01/22 13:06:21 · 6ec2fbec
      Darren Tucker authored
           fix detection of whether we should show progress meter or not: scp
           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@
  25. 05 Aug, 2006 5 commits
    • Damien Miller's avatar
      - deraadt@cvs.openbsd.org 2006/08/03 03:34:42 · d7834353
      Damien Miller authored
           [OVERVIEW atomicio.c atomicio.h auth-bsdauth.c auth-chall.c auth-krb5.c]
           [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c]
           [auth-rsa.c auth-skey.c auth.c auth.h auth1.c auth2-chall.c auth2-gss.c]
           [auth2-hostbased.c auth2-kbdint.c auth2-none.c auth2-passwd.c ]
           [auth2-pubkey.c auth2.c authfd.c authfd.h authfile.c bufaux.c bufbn.c]
           [buffer.c buffer.h canohost.c channels.c channels.h cipher-3des1.c]
           [cipher-bf1.c cipher-ctr.c cipher.c cleanup.c clientloop.c compat.c]
           [compress.c deattack.c dh.c dispatch.c dns.c dns.h fatal.c groupaccess.c]
           [groupaccess.h gss-genr.c gss-serv-krb5.c gss-serv.c hostfile.c kex.c]
           [kex.h kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c key.c]
           [key.h log.c log.h mac.c match.c md-sha256.c misc.c misc.h moduli.c]
           [monitor.c monitor_fdpass.c monitor_mm.c monitor_mm.h monitor_wrap.c]
           [monitor_wrap.h msg.c nchan.c packet.c progressmeter.c readconf.c]
           [readconf.h readpass.c rsa.c scard.c scard.h scp.c servconf.c servconf.h]
           [serverloop.c session.c session.h sftp-client.c sftp-common.c]
           [sftp-common.h sftp-glob.c sftp-server.c sftp.c ssh-add.c ssh-agent.c]
           [ssh-dss.c ssh-gss.h ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rsa.c]
           [ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c]
           [sshd.c sshlogin.c sshlogin.h sshpty.c sshpty.h sshtty.c ttymodes.c]
           [uidswap.c uidswap.h uuencode.c uuencode.h xmalloc.c xmalloc.h]
           [loginrec.c loginrec.h openbsd-compat/port-aix.c openbsd-compat/port-tun.h]
           almost entirely get rid of the culture of ".h files that include .h files"
           ok djm, sort of ok stevesk
           makes the pain stop in one easy step
           NB. portable commit contains everything *except* removing includes.h, as
           that will take a fair bit more work as we move headers that are required
           for portability workarounds to defines.h. (also, this step wasn't "easy")
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/08/01 23:22:48 · a7a73ee3
      Damien Miller authored
           [auth-passwd.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c]
           [auth2-chall.c auth2-pubkey.c authfile.c buffer.c canohost.c]
           [channels.c clientloop.c dh.c dns.c dns.h hostfile.c kex.c kexdhc.c]
           [kexgexc.c kexgexs.c key.c key.h log.c misc.c misc.h moduli.c]
           [monitor_wrap.c packet.c progressmeter.c readconf.c readpass.c scp.c]
           [servconf.c session.c sftp-client.c sftp-common.c sftp-server.c sftp.c]
           [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh.c sshconnect.c]
           [sshconnect1.c sshconnect2.c sshd.c sshlogin.c sshtty.c uuencode.c]
           [uuencode.h xmalloc.c]
           move #include <stdio.h> out of includes.h
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/26 13:57:17 · e7a1e5cf
      Damien Miller authored
           [authfd.c authfile.c dh.c canohost.c channels.c clientloop.c compat.c]
           [hostfile.c kex.c log.c misc.c moduli.c monitor.c packet.c readpass.c]
           [scp.c servconf.c session.c sftp-server.c sftp.c ssh-add.c ssh-agent.c]
           [ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c sshconnect.c]
           [sshconnect1.c sshd.c xmalloc.c]
           move #include <stdlib.h> out of includes.h
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/26 02:35:17 · 8dbffe79
      Damien Miller authored
           [atomicio.c auth.c dh.c authfile.c buffer.c clientloop.c kex.c]
           [groupaccess.c gss-genr.c kexgexs.c misc.c monitor.c monitor_mm.c]
           [packet.c scp.c serverloop.c session.c sftp-client.c sftp-common.c]
           [sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c]
           [uidswap.c xmalloc.c]
           move #include <sys/param.h> out of includes.h
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/25 02:59:21 · 9aec9194
      Damien Miller authored
           [channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c]
           [sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c]
           move #include <sys/time.h> out of includes.h
  26. 24 Jul, 2006 3 commits
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/22 20:48:23 · e3476ed0
      Damien Miller authored
           [atomicio.c auth-options.c auth-passwd.c auth-rhosts.c auth-rsa.c]
           [auth.c auth1.c auth2-chall.c auth2-hostbased.c auth2-passwd.c auth2.c]
           [authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c]
           [cipher-3des1.c cipher-bf1.c cipher-ctr.c cipher.c clientloop.c]
           [compat.c deattack.c dh.c dns.c gss-genr.c gss-serv.c hostfile.c]
           [includes.h kex.c kexdhc.c kexdhs.c kexgexc.c kexgexs.c key.c log.c]
           [mac.c match.c md-sha256.c misc.c moduli.c monitor.c monitor_fdpass.c]
           [monitor_mm.c monitor_wrap.c msg.c nchan.c packet.c rsa.c]
           [progressmeter.c readconf.c readpass.c scp.c servconf.c serverloop.c]
           [session.c sftp-client.c sftp-common.c sftp-glob.c sftp-server.c sftp.c]
           [ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c]
           [ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c sshconnect1.c sshconnect2.c]
           [sshd.c sshlogin.c sshpty.c ttymodes.c uidswap.c xmalloc.c]
           move #include <string.h> out of includes.h
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/22 19:08:54 · 5598b4f1
      Damien Miller authored
           [includes.h moduli.c progressmeter.c scp.c sftp-common.c]
           [sftp-server.c ssh-agent.c sshlogin.c]
           move #include <time.h> out of includes.h
    • Damien Miller's avatar
      - stevesk@cvs.openbsd.org 2006/07/17 01:31:10 · e6b3b610
      Damien Miller authored
           [authfd.c authfile.c channels.c cleanup.c clientloop.c groupaccess.c]
           [includes.h log.c misc.c msg.c packet.c progressmeter.c readconf.c]
           [readpass.c scp.c servconf.c sftp-client.c sftp-server.c sftp.c]
           [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c]
           [sshconnect.c sshlogin.c sshpty.c uidswap.c]
           move #include <unistd.h> out of includes.h
  27. 12 Jul, 2006 2 commits
    • Darren Tucker's avatar
      - stevesk@cvs.openbsd.org 2006/07/11 20:07:25 · 39972493
      Darren Tucker authored
           [scp.c auth.c monitor.c serverloop.c sftp-server.c sshpty.c readpass.c
           sshd.c monitor_wrap.c monitor_fdpass.c ssh-agent.c ttymodes.c atomicio.c
           includes.h session.c sshlogin.c monitor_mm.c packet.c sshconnect2.c
           sftp-client.c nchan.c clientloop.c sftp.c misc.c canohost.c channels.c
           ssh-keygen.c progressmeter.c uidswap.c msg.c readconf.c sshconnect.c]
           move #include <errno.h> out of includes.h; ok markus@
    • Darren Tucker's avatar
      - stevesk@cvs.openbsd.org 2006/07/10 16:37:36 · 5d19626a
      Darren Tucker authored
           [readpass.c log.h scp.c fatal.c xmalloc.c includes.h ssh-keyscan.c misc.c
           auth.c packet.c log.c]
           move #include <stdarg.h> out of includes.h; ok markus@
  28. 10 Jul, 2006 1 commit