summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - (djm) Release OpenSSH-5.6p1V_5_6_P1V_5_6Damien Miller2010-08-231-0/+3
|
* - (djm) [regress/README.regress] typoDamien Miller2010-08-172-2/+3
|
* - djm@cvs.openbsd.org 2010/08/12 21:49:44Damien Miller2010-08-172-1/+31
| | | | | | | | | | | | | | [ssh.c] close any extra file descriptors inherited from parent at start and reopen stdin/stdout to /dev/null when forking for ControlPersist. prevents tools that fork and run a captive ssh for communication from failing to exit when the ssh completes while they wait for these fds to close. The inherited fds may persist arbitrarily long if a background mux master has been started by ControlPersist. cvs and scp were effected by this. "please commit" markus@
* - (dtucker) [configure.ac openbsd-compat/Makefile.inDarren Tucker2010-08-165-5/+418
| | | | | | openbsd-compat/openbsd-compat.h openbsd-compat/strptime.c] Add strptime to the compat library which helps on platforms like old IRIX. Based on work by djm, tested by Tom Christensen.
* - (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.Tim Rice2010-08-122-1/+2
|
* - (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.shTim Rice2010-08-125-6/+13
| | | | | | | regress/test-exec.sh] Under certain conditions when testing with sudo tests would fail because the pidfile could not be read by a regular user. "cat: cannot open ...../regress/pidfile: Permission denied (error 13)" Make sure cat is run by $SUDO. no objection from me. djm@
* - (dtucker) bug #1530: strip trailing ":" from hostname in ssh-copy-id.Darren Tucker2010-08-102-2/+7
| | | | based in part on a patch from Colin Watson, ok djm@
* - (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it isDamien Miller2010-08-102-3/+10
| | | | | already set. Makes FreeBSD user openable tunnels useful; patch from richard.burakowski+ossh AT mrburak.net, ok dtucker@
* - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]Damien Miller2010-08-095-7/+8
| | | | [contrib/suse/openssh.spec] Crank version numbers
* - OpenBSD CVS SyncDamien Miller2010-08-092-2/+8
| | | | | | - djm@cvs.openbsd.org 2010/08/08 16:26:42 [version.h] crank to 5.6
* unbreak datestampsDamien Miller2010-08-091-2/+2
|
* - djm@cvs.openbsd.org 2010/08/05 13:08:42Damien Miller2010-08-052-15/+46
| | | | | | | | | | | | | | | | | | | | | | [channels.c] Fix a trio of bugs in the local/remote window calculation for datagram data channels (i.e. TunnelForward): Calculate local_consumed correctly in channel_handle_wfd() by measuring the delta to buffer_len(c->output) from when we start to when we finish. The proximal problem here is that the output_filter we use in portable modified the length of the dequeued datagram (to futz with the headers for !OpenBSD). In channel_output_poll(), don't enqueue datagrams that won't fit in the peer's advertised packet size (highly unlikely to ever occur) or which won't fit in the peer's remaining window (more likely). In channel_input_data(), account for the 4-byte string header in datagram packets that we accept from the peer and enqueue in c->output. report, analysis and testing 2/3 cases from wierbows AT us.ibm.com; "looks good" markus@
* - djm@cvs.openbsd.org 2010/08/04 06:08:40Damien Miller2010-08-052-1/+4
| | | | | [ssh-keysign.c] clean for -Wuninitialized (Id sync only; portable had this change)
* - djm@cvs.openbsd.org 2010/08/04 06:07:11Damien Miller2010-08-053-13/+66
| | | | | [ssh-keygen.1 ssh-keygen.c] Support CA keys in PKCS#11 tokens; feedback and ok markus@
* - djm@cvs.openbsd.org 2010/08/04 05:49:22Damien Miller2010-08-052-5/+12
| | | | | | | [authfile.c] commited the wrong version of the hostbased certificate diff; this version replaces some strlc{py,at} verbosity with xasprintf() at the request of markus@
* - djm@cvs.openbsd.org 2010/08/04 05:42:47Damien Miller2010-08-058-19/+120
| | | | | | | [auth.c auth2-hostbased.c authfile.c authfile.h ssh-keysign.8] [ssh-keysign.c ssh.c] enable certificates for hostbased authentication, from Iain Morgan; "looks ok" markus@
* - djm@cvs.openbsd.org 2010/08/04 05:40:39Damien Miller2010-08-053-11/+19
| | | | | | [PROTOCOL.certkeys ssh-keygen.c] tighten the rules for certificate encoding by requiring that options appear in lexical order and make our ssh-keygen comply. ok markus@
* - djm@cvs.openbsd.org 2010/08/04 05:37:01Damien Miller2010-08-054-47/+21
| | | | | | | [ssh.1 ssh_config.5 sshd.8] Remove mentions of weird "addr/port" alternate address format for IPv6 addresses combinations. It hasn't worked for ages and we have supported the more commen "[addr]:port" format for a long time. ok jmc@ markus@
* - dtucker@cvs.openbsd.org 2010/07/23 08:49:25Damien Miller2010-08-032-3/+8
| | | | | [ssh.1] Ciphers is documented in ssh_config(5) these days
* - djm@cvs.openbsd.org 2010/07/21 02:10:58Damien Miller2010-08-032-8/+9
| | | | | [misc.c] sync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern
* - djm@cvs.openbsd.org 2010/07/19 09:15:12Damien Miller2010-08-036-31/+223
| | | | | | | | | | [clientloop.c readconf.c readconf.h ssh.c ssh_config.5] add a "ControlPersist" option that automatically starts a background ssh(1) multiplex master when connecting. This connection can stay alive indefinitely, or can be set to automatically close after a user-specified duration of inactivity. bz#1330 - patch by dwmw2 AT infradead.org, but further hacked on by wmertens AT cisco.com, apb AT cequrux.com, martin-mindrot-bugzilla AT earth.li and myself; "looks ok" markus@
* - djm@cvs.openbsd.org 2010/07/19 03:16:33Damien Miller2010-08-032-2/+7
| | | | | | | [sftp-client.c] bz#1797: fix swapped args in upload_dir_internal(), breaking recursive upload depth checks and causing verbose printing of transfers to always be turned on; patch from imorgan AT nas.nasa.gov
* - djm@cvs.openbsd.org 2010/07/16 14:07:35Damien Miller2010-08-032-4/+11
| | | | | | | [ssh-rsa.c] more timing paranoia - compare all parts of the expected decrypted data before returning. AFAIK not exploitable in the SSH protocol. "groovy" deraadt@
* - OpenBSD CVS SyncDamien Miller2010-08-032-2/+6
| | | | | | - djm@cvs.openbsd.org 2010/07/16 04:45:30 [ssh-keygen.c] avoid bogus compiler warning
* - (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned fromDarren Tucker2010-08-032-3/+8
| | | | | PAM to sane values in case the PAM method doesn't write to them. Spotted by Bitman Zhou, ok djm@.
* - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with moreDarren Tucker2010-07-192-13/+26
| | | | | details about its behaviour WRT existing directories. Patch from asguthrie at gmail com, ok djm.
* - schwarze@cvs.openbsd.org 2010/07/15 21:20:38Damien Miller2010-07-162-3/+7
| | | | | | [ssh-keygen.1] repair incorrect block nesting, which screwed up indentation; problem reported and fix OK by jmc@
* - jmc@cvs.openbsd.org 2010/07/14 17:06:58Damien Miller2010-07-162-26/+12
| | | | | | [ssh.1] finally ssh synopsis looks nice again! this commit just removes a ton of hacks we had in place to make it work with old groff;
* - djm@cvs.openbsd.org 2010/07/13 23:13:16Damien Miller2010-07-1610-23/+27
| | | | | | [auth-rsa.c channels.c jpake.c key.c misc.c misc.h monitor.c packet.c] [ssh-rsa.c] s/timing_safe_cmp/timingsafe_bcmp/g
* - djm@cvs.openbsd.org 2010/07/13 11:52:06Damien Miller2010-07-1610-23/+45
| | | | | | | | | [auth-rsa.c channels.c jpake.c key.c misc.c misc.h monitor.c] [packet.c ssh-rsa.c] implement a timing_safe_cmp() function to compare memory without leaking timing information by short-circuiting like memcmp() and use it for some of the more sensitive comparisons (though nothing high-value was readily attackable anyway); "looks ok" markus@
* - djm@cvs.openbsd.org 2010/07/12 22:41:13Damien Miller2010-07-163-9/+26
| | | | | | | | | | | | | | [ssh.c ssh_config.5] expand %h to the hostname in ssh_config Hostname options. While this sounds useless, it is actually handy for working with unqualified hostnames: Host *.* Hostname %h Host * Hostname %h.example.org "I like it" markus@
* - djm@cvs.openbsd.org 2010/07/12 22:38:52Damien Miller2010-07-162-3/+12
| | | | | | [ssh.c] Make ExitOnForwardFailure work with fork-after-authentication ("ssh -f") for protocol 2. ok markus@
* - djm@cvs.openbsd.org 2010/07/02 04:32:44Damien Miller2010-07-162-1/+11
| | | | | | | | [misc.c] unbreak strdelim() skipping past quoted strings, e.g. AllowUsers "blah blah" blah was broken; report and fix in bz#1757 from bitman.zhou AT centrify.com ok dtucker;
* - (tim) [contrib/redhat/openssh.spec] Bug 1796: Test for skip_x11_askpassTim Rice2010-07-142-1/+8
| | | | (line 77) should have been for no_x11_askpass.
* - djm@cvs.openbsd.org 2010/06/29 23:59:54Damien Miller2010-07-022-1/+34
| | | | | [cert-userkey.sh] regress tests for key options in AuthorizedPrincipals
* - phessler@cvs.openbsd.org 2010/06/27 19:19:56Damien Miller2010-07-022-3/+7
| | | | | | [Makefile] fix how we run the tests so we can successfully use SUDO='sudo -E' in our env
* - millert@cvs.openbsd.org 2010/07/01 13:06:59Damien Miller2010-07-022-1/+24
| | | | | | | [scp.c] Fix a longstanding problem where if you suspend scp at the password/passphrase prompt the terminal mode is not restored. OK djm@
* - jmc@cvs.openbsd.org 2010/06/30 07:28:34Damien Miller2010-07-022-4/+7
| | | | | [sshd_config.5] tweak previous;
* - jmc@cvs.openbsd.org 2010/06/30 07:26:03Damien Miller2010-07-022-4/+7
| | | | | [ssh-keygen.c] sort usage();
* - jmc@cvs.openbsd.org 2010/06/30 07:24:25Damien Miller2010-07-022-8/+11
| | | | | [ssh-keygen.1] tweak previous;
* - djm@cvs.openbsd.org 2010/06/29 23:16:46Damien Miller2010-07-023-10/+43
| | | | | | [auth2-pubkey.c sshd_config.5] allow key options (command="..." and friends) in AuthorizedPrincipals; ok markus@
* - djm@cvs.openbsd.org 2010/06/29 23:15:30Damien Miller2010-07-023-66/+266
| | | | | | [ssh-keygen.1 ssh-keygen.c] allow import (-i) and export (-e) of PEM and PKCS#8 encoded keys; bz#1749; ok markus@
* - djm@cvs.openbsd.org 2010/06/26 23:04:04Damien Miller2010-07-022-1/+5
| | | | | [ssh.c] oops, forgot to #include <canohost.h>; spotted and patch from chl@
* - jmc@cvs.openbsd.org 2010/06/26 00:57:07Damien Miller2010-07-022-3/+10
| | | | | [ssh_config.5] tweak previous;
* - (tim) [openbsd-compat/port-uw.c] Reorder includes. auth-options.h now needsTim Rice2010-06-262-1/+5
| | | | key.h.
* - djm@cvs.openbsd.org 2010/06/25 23:10:30Damien Miller2010-06-268-20/+66
| | | | | | | | | [ssh.c] log the hostname and address that we connected to at LogLevel=verbose after authentication is successful to mitigate "phishing" attacks by servers with trusted keys that accept authentication silently and automatically before presenting fake password/passphrase prompts; "nice!" markus@
* - djm@cvs.openbsd.org 2010/06/25 23:10:30Damien Miller2010-06-262-1/+15
| | | | | | | | | [ssh.c] log the hostname and address that we connected to at LogLevel=verbose after authentication is successful to mitigate "phishing" attacks by servers with trusted keys that accept authentication silently and automatically before presenting fake password/passphrase prompts; "nice!" markus@
* - djm@cvs.openbsd.org 2010/06/25 08:46:17Damien Miller2010-06-263-4/+8
| | | | | | [auth1.c auth2-none.c] skip the initial check for access with an empty password when PermitEmptyPasswords=no; bz#1638; ok markus@
* - djm@cvs.openbsd.org 2010/06/25 07:20:04Damien Miller2010-06-263-58/+46
| | | | | | | | [channels.c session.c] bz#1750: fix requirement for /dev/null inside ChrootDirectory for internal-sftp accidentally introduced in r1.253 by removing the code that opens and dup /dev/null to stderr and modifying the channels code to read stderr but discard it instead; ok markus@
* - djm@cvs.openbsd.org 2010/06/25 07:14:46Damien Miller2010-06-266-32/+48
| | | | | | [channels.c mux.c readconf.c readconf.h ssh.h] bz#1327: remove hardcoded limit of 100 permitopen clauses and port forwards per direction; ok markus@ stevesk@