summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - djm@cvs.openbsd.org 2013/10/17 00:30:13Damien Miller2013-10-177-53/+182
| | | | | | | | [PROTOCOL sftp-client.c sftp-client.h sftp-server.c sftp.1 sftp.c] fsync@openssh.com protocol extension for sftp-server client support to allow calling fsync() faster successful transfer patch mostly by imorgan AT nas.nasa.gov; bz#1798 "fine" markus@ "grumble OK" deraadt@ "doesn't sound bad to me" millert@
* - djm@cvs.openbsd.org 2013/10/16 22:58:01Damien Miller2013-10-173-13/+16
| | | | | [ssh.c ssh_config.5] one I missed in previous: s/isation/ization/
* - djm@cvs.openbsd.org 2013/10/16 22:49:39Damien Miller2013-10-176-62/+66
| | | | | | [readconf.c readconf.h ssh.1 ssh.c ssh_config.5] s/canonicalise/canonicalize/ for consistency with existing spelling, e.g. authorized_keys; pointed out by naddy@
* - jmc@cvs.openbsd.org 2013/10/16 06:42:25Damien Miller2013-10-172-20/+21
| | | | | [ssh_config.5] tweak previous;
* - djm@cvs.openbsd.org 2013/10/16 02:31:47Damien Miller2013-10-179-76/+426
| | | | | | | | | | | | [readconf.c readconf.h roaming_client.c ssh.1 ssh.c ssh_config.5] [sshconnect.c sshconnect.h] Implement client-side hostname canonicalisation to allow an explicit search path of domain suffixes to use to convert unqualified host names to fully-qualified ones for host key matching. This is particularly useful for host certificates, which would otherwise need to list unqualified names alongside fully-qualified ones (and this causes a number of problems). "looks fine" markus@
* - jmc@cvs.openbsd.org 2013/10/15 14:10:25Damien Miller2013-10-173-5/+12
| | | | | [ssh.1 ssh_config.5] tweak previous;
* - [ssh.c] g/c unused variable.Damien Miller2013-10-171-0/+1
|
* - [ssh.c] g/c unused variable.Damien Miller2013-10-151-2/+0
|
* - djm@cvs.openbsd.org 2013/10/14 23:31:01Damien Miller2013-10-152-4/+7
| | | | | [ssh.c] whitespace at EOL; pointed out by markus@
* - djm@cvs.openbsd.org 2013/10/14 23:28:23Damien Miller2013-10-157-139/+149
| | | | | | | | | | | [canohost.c misc.c misc.h readconf.c sftp-server.c ssh.c] refactor client config code a little: add multistate option partsing to readconf.c, similar to servconf.c's existing code. move checking of options that accept "none" as an argument to readconf.c add a lowercase() function and use it instead of explicit tolower() in loops part of a larger diff that was ok markus@
* - djm@cvs.openbsd.org 2013/10/14 22:22:05Damien Miller2013-10-156-34/+287
| | | | | | [readconf.c readconf.h ssh-keysign.c ssh.c ssh_config.5] add a "Match" keyword to ssh_config that allows matching on hostname, user and result of arbitrary commands. "nice work" markus@
* - djm@cvs.openbsd.org 2013/10/14 21:20:52Damien Miller2013-10-153-15/+44
| | | | | | [session.c session.h] Add logging of session starts in a useful format; ok markus@ feedback and ok dtucker@
* - jmc@cvs.openbsd.org 2013/10/14 14:18:56Damien Miller2013-10-153-16/+21
| | | | | | [sftp-server.8 sftp-server.c] tweak previous; ok djm
* - djm@cvs.openbsd.org 2013/10/11 02:53:45Damien Miller2013-10-152-3/+4
| | | | | [sftp-client.h] obsolete comment
* - djm@cvs.openbsd.org 2013/10/11 02:52:23Damien Miller2013-10-152-3/+6
| | | | | [sftp-client.c] missed one arg reorder
* - djm@cvs.openbsd.org 2013/10/11 02:45:36Damien Miller2013-10-152-35/+44
| | | | | | | | [sftp-client.c] rename flag arguments to be more clear and consistent. reorder some internal function arguments to make adding additional flags easier. no functional change
* - djm@cvs.openbsd.org 2013/10/10 01:43:03Damien Miller2013-10-152-6/+9
| | | | | | [sshd.c] bz#2139: fix re-exec fallback by ensuring that startup_pipe is correctly updated; ok dtucker@
* - djm@cvs.openbsd.org 2013/10/10 00:53:25Damien Miller2013-10-152-2/+6
| | | | | [sftp-server.c] add -Q, -P and -p to usage() before jmc@ catches me
* - djm@cvs.openbsd.org 2013/10/09 23:42:17Damien Miller2013-10-153-192/+258
| | | | | | | | [sftp-server.8 sftp-server.c] Add ability to whitelist and/or blacklist sftp protocol requests by name. Refactor dispatch loop and consolidate read-only mode checks. Make global variables static, since sftp-server is linked into sshd(8). ok dtucker@
* - dtucker@cvs.openbsd.org 2013/10/08 11:42:13Darren Tucker2013-10-103-8/+18
| | | | | | | | [dh.c dh.h] Increase the size of the Diffie-Hellman groups requested for a each symmetric key size. New values from NIST Special Publication 800-57 with the upper limit specified by RFC4419. Pointed out by Peter Backes, ok djm@.
* - djm@cvs.openbsd.org 2013/09/19 01:26:29Darren Tucker2013-10-102-25/+30
| | | | | | [sshconnect.c] bz#1211: make BindAddress work with UsePrivilegedPort=yes; patch from swp AT swp.pp.ru; ok dtucker@
* - djm@cvs.openbsd.org 2013/09/19 01:24:46Darren Tucker2013-10-102-2/+19
| | | | | | | [channels.c] bz#1297 - tell the client (via packet_send_debug) when their preferred listen address has been overridden by the server's GatewayPorts; ok dtucker@
* - djm@cvs.openbsd.org 2013/09/19 00:49:12Darren Tucker2013-10-102-3/+6
| | | | | [sftp-client.c] fix swapped pflag and printflag in sftp upload_dir; from Iain Morgan
* - djm@cvs.openbsd.org 2013/09/19 00:24:52Darren Tucker2013-10-102-3/+9
| | | | | | [progressmeter.c] store the initial file offset so the progress meter doesn't freak out when resuming sftp transfers. bz#2137; patch from Iain Morgan; ok dtucker@
* - sthen@cvs.openbsd.org 2013/09/16 11:35:43Darren Tucker2013-10-102-1/+9
| | | | | | | [ssh_config] Remove gssapi config parts from ssh_config, as was already done for sshd_config. Req by/ok ajacoutot@ ID SYNC ONLY for portable; kerberos/gssapi is still pretty popular
* - (djm) [openbsd-compat/Makefile.in openbsd-compat/arc4random.c]Damien Miller2013-10-094-165/+52
| | | | | | [openbsd-compat/bsd-arc4random.c] Replace old RC4-based arc4random implementation with recent OpenBSD's ChaCha-based PRNG. ok dtucker@, tested tim@
* - (djm) [openbsd-compat/arc4random.c openbsd-compat/chacha_private.h] PullDamien Miller2013-10-093-0/+488
| | | | | in OpenBSD implementation of arc4random, shortly to replace the existing bsd-arc4random.c
* correct incorrect years in datestamps; from desDamien Miller2013-10-091-6/+6
|
* - (dtucker) [platform.c platform.h sshd.c] bz#2156: restore Linux oom_adjDarren Tucker2013-09-224-2/+17
| | | | | setting when handling SIGHUP to maintain behaviour over retart. Patch from Matthew Ife.
* - (dtucker) [sshd_config] Trailing whitespace; from jstjohn at purdue edu.Darren Tucker2013-09-182-2/+5
|
* - djm@cvs.openbsd.org 2013/09/13 06:54:34Damien Miller2013-09-142-3/+7
| | | | | | | [channels.c] avoid unaligned access in code that reused a buffer to send a struct in_addr in a reply; simpler just use use buffer_put_int(); from portable; spotted by and ok dtucker@
* - djm@cvs.openbsd.org 2013/09/12 01:41:12Damien Miller2013-09-142-2/+6
| | | | | | [clientloop.c] fix connection crash when sending break (~B) on ControlPersist'd session; ok dtucker@
* - sthen@cvs.openbsd.org 2013/09/07 13:53:11Damien Miller2013-09-142-1/+7
| | | | | | | | [sshd_config] Remove commented-out kerberos/gssapi config options from sample config, kerberos support is currently not enabled in ssh in OpenBSD. Discussed with various people; ok deraadt@ ID SYNC ONLY for portable; kerberos/gssapi is still pretty popular
* - deraadt@cvs.openbsd.org 2013/09/02 22:00:34Damien Miller2013-09-144-3/+11
| | | | | | | | | | [ssh-keygen.c sshconnect1.c sshd.c] All the instances of arc4random_stir() are bogus, since arc4random() does this itself, inside itself, and has for a very long time.. Actually, this was probably reducing the entropy available. ok djm ID SYNC ONLY for portable; we don't trust other arc4random implementations to do this right.
* - djm@cvs.openbsd.org 2013/08/31 00:13:54Damien Miller2013-09-142-1/+6
| | | | | [sftp.c] make ^w match ksh behaviour (delete previous word instead of entire line)
* - mikeb@cvs.openbsd.org 2013/08/28 12:34:27Damien Miller2013-09-142-10/+21
| | | | | | | | [ssh-keygen.c] improve batch processing a bit by making use of the quite flag a bit more often and exit with a non zero code if asked to find a hostname in a known_hosts file and it wasn't there; originally from reyk@, ok djm
* - djm@cvs.openbsd.org 2013/08/22 19:02:21Damien Miller2013-09-142-1/+15
| | | | | | | [sshd.c] Stir PRNG after post-accept fork. The child gets a different PRNG state anyway via rexec and explicit privsep reseeds, but it's good to be sure. ok markus@
* add marker for 6.3p1 release at the point of the last included changeDamien Miller2013-09-141-0/+1
|
* - (djm) [openbsd-compat/bsd-snprintf.c] #ifdef noytet for intmax_t bitsDamien Miller2013-08-282-0/+8
| | | | until we have configure support.
* - (djm) [openbsd-compat/bsd-snprintf.c] teach our local snprintf code theDamien Miller2013-08-282-2/+43
| | | | | 'j' (intmax_t/uintmax_t) and 'z' (size_t/ssize_t) conversions in case we start to use them in the future.
* - jmc@cvs.openbsd.org 2013/08/20 06:56:07Damien Miller2013-08-213-5/+9
| | | | | [ssh.1 ssh_config.5] some proxyusefdpass tweaks;
* - djm@cvs.openbsd.org 2013/08/20 00:11:38Damien Miller2013-08-215-23/+137
| | | | | | | | | | [readconf.c readconf.h ssh_config.5 sshconnect.c] Add a ssh_config ProxyUseFDPass option that supports the use of ProxyCommands that establish a connection and then pass a connected file descriptor back to ssh(1). This allows the ProxyCommand to exit rather than have to shuffle data back and forth and enables ssh to use getpeername, etc. to obtain address information just like it does with regular directly-connected sockets. ok markus@
* - jmc@cvs.openbsd.org 2013/08/14 08:39:27Damien Miller2013-08-213-8/+16
| | | | | | [scp.1 ssh.1] some Bx/Ox conversion; From: Jan Stary
* - djm@cvs.openbsd.org 2013/08/13 18:33:08Damien Miller2013-08-212-2/+5
| | | | | [ssh-keygen.c] another of the same typo
* - djm@cvs.openbsd.org 2013/08/13 18:32:08Damien Miller2013-08-212-2/+5
| | | | | [ssh-keygen.c] typo in error message; from Stephan Rickauer
* - djm@cvs.openbsd.org 2013/08/09 03:56:42Damien Miller2013-08-212-1/+10
| | | | | | [sftp.c] enable ctrl-left-arrow and ctrl-right-arrow to move forward/back a word; matching ksh's relatively recent change.
* - djm@cvs.openbsd.org 2013/08/09 03:39:13Damien Miller2013-08-212-3/+11
| | | | | | | | [sftp-client.c] two problems found by a to-be-committed regress test: 1) msg_id was not being initialised so was starting at a random value from the heap (harmless, but confusing). 2) some error conditions were not being propagated back to the caller
* - djm@cvs.openbsd.org 2013/08/09 03:37:25Damien Miller2013-08-212-1/+34
| | | | | | [sftp.c] do getopt parsing for all sftp commands (with an empty optstring for commands without arguments) to ensure consistent behaviour
* - djm@cvs.openbsd.org 2013/08/08 05:04:03Damien Miller2013-08-214-10/+47
| | | | | | | | | [sftp-client.c sftp-client.h sftp.c] add a "-l" flag for the rename command to force it to use the silly standard SSH_FXP_RENAME command instead of the POSIX-rename- like posix-rename@openssh.com extension. intended for use in regress tests, so no documentation.
* - djm@cvs.openbsd.org 2013/08/08 04:52:04Damien Miller2013-08-212-2/+7
| | | | | | [sftp.c] fix two year old regression: symlinking a file would incorrectly canonicalise the target path. bz#2129 report from delphij AT freebsd.org