OpenBSD CVS

CVS log for src/usr.bin/ssh/Attic/sshconnect1.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.81, Mon May 1 14:08:26 2017 UTC (7 years ago) by djm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.80: +1 -1 lines
FILE REMOVED

this one I did forget to "cvs rm"

Revision 1.80 / (download) - annotate - [select for diffs], Fri Mar 10 03:53:11 2017 UTC (7 years, 2 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.79: +5 -3 lines
Diff to previous 1.79 (colored)

Check for NULL return value from key_new.  Patch from jjelen at redhat.com
via bz#2687, ok djm@

Revision 1.79 / (download) - annotate - [select for diffs], Mon Sep 19 07:52:42 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.78: +2 -8 lines
Diff to previous 1.78 (colored)

Replace two more arc4random() loops with arc4random_buf().

tweaks and ok dtucker
ok deraadt

Revision 1.78 / (download) - annotate - [select for diffs], Sun Nov 15 22:26:49 2015 UTC (8 years, 6 months ago) by jcs
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.77: +11 -4 lines
Diff to previous 1.77 (colored)

Add an AddKeysToAgent client option which can be set to 'yes', 'no',
'ask', or 'confirm', and defaults to 'no'.  When enabled, a private
key that is used during authentication will be added to ssh-agent if
it is running (with confirmation enabled if set to 'confirm').

Initial version from Joachim Schipper many years ago.

ok markus@

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jan 14 20:05:27 2015 UTC (9 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.76: +41 -31 lines
Diff to previous 1.76 (colored)

move authfd.c and its tentacles to the new buffer/key API;
ok markus@

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 15 15:54:14 2014 UTC (9 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Add support for Unix domain socket forwarding.  A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or
both ends may be a Unix domain socket.  This is a reimplementation
of the streamlocal patches by William Ahern from:
    http://www.25thandclement.com/~william/projects/streamlocal.html
OK djm@ markus@

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jun 24 01:13:21 2014 UTC (9 years, 10 months ago) by djm
Branch: MAIN
Changes since 1.74: +10 -8 lines
Diff to previous 1.74 (colored)

New key API: refactor key-related functions to be more library-like,
existing API is offered as a set of wrappers.

with and ok markus@

Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review a few months ago.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Feb 2 03:44:32 2014 UTC (10 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.73: +13 -10 lines
Diff to previous 1.73 (colored)

convert memset of potentially-private data to explicit_bzero()

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jan 27 19:18:54 2014 UTC (10 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.72: +9 -7 lines
Diff to previous 1.72 (colored)

replace openssl MD5 with our ssh_digest_*; ok djm@

Revision 1.72 / (download) - annotate - [select for diffs], Mon Sep 2 22:00:34 2013 UTC (10 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.71: +1 -4 lines
Diff to previous 1.71 (colored)

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

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 17 00:13:14 2013 UTC (11 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.70: +9 -9 lines
Diff to previous 1.70 (colored)

bye, bye xfree(); ok markus@

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Wed Nov 8 00:44:05 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.61.2.2: +14 -8 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

upgrade to OpenSSH 4.5

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Wed Nov 8 00:42:11 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_4_0
Changes since 1.69: +14 -8 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

upgrade to OpenSSH 4.5

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 00:17:14 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.62.2.1: +14 -8 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

upgrade to OpenSSH 4.5

Revision 1.70 / (download) - annotate - [select for diffs], Mon Nov 6 21:25:28 2006 UTC (17 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.69: +14 -8 lines
Diff to previous 1.69 (colored)

add missing checks for openssl return codes; with & ok djm@

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:33 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.61.2.1: +19 -10 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored)

upgrade to OpenSSH 4.4

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:51 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.62: +19 -10 lines
Diff to previous 1.62 (colored)

upgrade to OpenSSH 4.4

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:42 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE
Branch point for: OPENBSD_4_0
Changes since 1.68: +9 -5 lines
Diff to previous 1.68 (colored)

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

Revision 1.68 / (download) - annotate - [select for diffs], Tue Aug 1 23:22:47 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

move #include <stdio.h> out of includes.h

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jul 26 13:57:17 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

move #include <stdlib.h> out of includes.h

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jul 22 20:48:23 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored)

move #include <string.h> out of includes.h

Revision 1.65 / (download) - annotate - [select for diffs], Tue Apr 25 08:02:27 2006 UTC (18 years ago) by dtucker
Branch: MAIN
Changes since 1.64: +7 -6 lines
Diff to previous 1.64 (colored)

Prevent ssh from trying to open private keys with bad permissions more than
once or prompting for their passphrases (which it subsequently ignores
anyway), similar to a previous change in ssh-add.  bz #1186, ok djm@

Revision 1.64 / (download) - annotate - [select for diffs], Sat Mar 25 13:17:02 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.63: +1 -0 lines
Diff to previous 1.63 (colored)

Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
Theo nuked - our scripts to sync -portable need them in the files

Revision 1.63 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:19 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.62: +0 -1 lines
Diff to previous 1.62 (colored)

RCSID() can die

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Fri Feb 3 03:01:58 2006 UTC (18 years, 3 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

upgrade to OpenSSH 4.3

Revision 1.60.4.2 / (download) - annotate - [select for diffs], Fri Feb 3 02:53:45 2006 UTC (18 years, 3 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.60.4.1: +4 -4 lines
Diff to previous 1.60.4.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

upgrade to OpenSSH 4.3

Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 30 08:52:18 2005 UTC (18 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE
Branch point for: OPENBSD_3_9
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

no need to escape single quotes in comments, no binary change

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Sun Sep 4 18:40:10 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

upgrade to OpenSSH 4.2

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Fri Sep 2 03:45:01 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

upgrade to OpenSSH 4.2

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 17 02:44:33 2005 UTC (18 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE
Branch point for: OPENBSD_3_8
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

make this -Wsign-compare clean; ok avsm@ markus@

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:32 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.56: +9 -9 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

upgrade to OpenSSH 3.9

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:27 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.56: +9 -9 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

upgrade to OpenSSH 3.9

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jul 28 09:40:29 2004 UTC (19 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_6_BASE
Branch point for: OPENBSD_3_7, OPENBSD_3_6
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

more s/illegal/invalid/

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jun 21 17:36:31 2004 UTC (19 years, 10 months ago) by avsm
Branch: MAIN
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored)

make ssh -Wshadow clean, no functional changes
markus@ ok

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 9 01:19:28 2004 UTC (20 years ago) by djm
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

kill some more tiny files; ok deraadt@

Revision 1.57 / (download) - annotate - [select for diffs], Sat May 8 00:21:31 2004 UTC (20 years ago) by djm
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

kill a tiny header; ok deraadt@

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:17 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.52.4.1: +0 -0 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:28 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.52: +9 -534 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

upgrade to OpenSSH 3.7

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 20:50:44 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.52: +9 -534 lines
Diff to previous 1.52 (colored)

upgrade to OpenSSH 3.7

Revision 1.56 / (download) - annotate - [select for diffs], Thu Aug 28 12:54:34 2003 UTC (20 years, 8 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_5, OPENBSD_3_4
Changes since 1.55: +1 -221 lines
Diff to previous 1.55 (colored)

remove kerberos support from ssh1, since it has been replaced with GSSAPI;
but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ...

Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 13 08:46:31 2003 UTC (20 years, 9 months ago) by markus
Branch: MAIN
Changes since 1.54: +1 -21 lines
Diff to previous 1.54 (colored)

remove RhostsAuthentication; suggested by djm@ before; ok djm@, deraadt@,
fgsch@, miod@, henning@, jakob@ and others

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 22 13:35:22 2003 UTC (20 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.53: +1 -286 lines
Diff to previous 1.53 (colored)

remove (already disabled) KRB4/AFS support, re-enable -k in ssh(1);
test+ok henning@

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 8 20:21:29 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.52: +12 -12 lines
Diff to previous 1.52 (colored)

rename log() into logit() to avoid name conflict.  markus ok, from netbsd

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Fri Oct 11 14:53:07 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.41.2.3: +2 -2 lines
Diff to previous 1.41.2.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Update to OpenSSH 3.5

Revision 1.49.2.4 / (download) - annotate - [select for diffs], Fri Oct 11 14:51:53 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.49.2.3: +2 -2 lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Update to OpenSSH 3.5

Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 8 13:50:23 2002 UTC (21 years, 9 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_3, OPENBSD_3_2
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Use & to test if bits are set, not &&; markus@ ok.

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Wed Jun 26 15:30:39 2002 UTC (21 years, 10 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.49.2.2: +7 -5 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)

Pull in OpenSSH-3.4

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Sat Jun 22 07:23:18 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.41.2.2: +7 -5 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored)

Update OpenSSH to version 3.3 (with local changes, configuration files still
living in /etc and privsep user being nobody).

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Sun Jun 2 22:56:11 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.31.2.3: +4 -2 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Upgrade to OpenSSH 3.2.3.

Except for improbable compilation error fixes, this should be the last
commit made to the 2.9-STABLE branche. Have fun upgrading.

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 23 19:24:30 2002 UTC (21 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.50: +7 -5 lines
Diff to previous 1.50 (colored)

add /usr/libexec/ssh-keysign: a setuid helper program for hostbased authentication
in protocol v2 (needs to access the hostkeys).

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Sat May 18 04:50:38 2002 UTC (22 years ago) by jason
Branch: OPENBSD_3_1
Changes since 1.49.2.1: +0 -0 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)

Update to OpenSSH-3.2.3

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat May 18 04:12:11 2002 UTC (22 years ago) by jason
Branch: OPENBSD_3_1
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Update to OpenSSH-3.2.2

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Fri May 17 00:03:24 2002 UTC (22 years ago) by miod
Branch: OPENBSD_3_0
Changes since 1.41.2.1: +4 -2 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Apr 21 16:25:06 2002 UTC (22 years, 1 month ago) by stevesk
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

spelling in error message; ok markus@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 14 15:24:27 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

don't trust size sent by (rogue) server; noted by s.esser@e-matters.de

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:45 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.31.2.2: +168 -188 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.8.2.7 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:43 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.8.2.6: +168 -188 lines
Diff to previous 1.8.2.6 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Merge OpenSSH 3.1.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Mar 7 17:37:48 2002 UTC (22 years, 2 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.41: +168 -188 lines
Diff to previous 1.41 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.48 / (download) - annotate - [select for diffs], Mon Feb 11 16:15:46 2002 UTC (22 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

include md5.h, not evp.h

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 28 14:50:54 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.46: +28 -33 lines
Diff to previous 1.46 (colored)

packet_read* no longer return the packet length, since it's not used.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 28 13:57:33 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.45: +12 -16 lines
Diff to previous 1.45 (colored)

packet_get_bignum* no longer returns a size

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 28 12:14:27 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.44: +8 -8 lines
Diff to previous 1.44 (colored)

s/packet_done/packet_check_eom/ (end-of-message); ok djm@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 27 20:39:58 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.43: +8 -14 lines
Diff to previous 1.43 (colored)

get rid of packet_integrity_check, use packet_done() instead.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 27 18:22:16 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.42: +40 -45 lines
Diff to previous 1.42 (colored)

call fatal() for openssl allocation failures

Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 19 07:18:56 2001 UTC (22 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +100 -100 lines
Diff to previous 1.41 (colored)

basic KNF done while i was looking for something else

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Nov 15 00:15:19 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.31.2.1: +5 -5 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

Merge OpenSSH 3.0

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 00:15:00 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.8.2.5: +5 -5 lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored)

Merge OpenSSH 3.0

Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 6 11:18:19 2001 UTC (22 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

unify hostkey check error messages, simplify prompt.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:55 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.31: +410 -178 lines
Diff to previous 1.31 (colored)

Pull in OpenSSH-2.9.9

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 27 15:31:17 2001 UTC (22 years, 7 months ago) by markus
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

typos; from solar

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:43 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.8.2.4: +410 -178 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 5 20:32:47 2001 UTC (22 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

statement after label; ok dugsong@

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 26 20:14:11 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.37: +17 -18 lines
Diff to previous 1.37 (colored)

add smartcard support to the client, too (now you can use both
the agent and the client).

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jun 26 16:15:24 2001 UTC (22 years, 10 months ago) by dugsong
Branch: MAIN
Changes since 1.36: +340 -108 lines
Diff to previous 1.36 (colored)

Kerberos v5 support for SSH1, mostly from Assar Westerlund <assar@freebsd.org> and Bjorn Gronvall <bg@sics.se>. markus@ ok

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 23 22:37:46 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.35: +36 -37 lines
Diff to previous 1.35 (colored)

consistent with ssh2: skip key if empty passphrase is entered,
retry num_of_passwd_prompt times if passphrase is wrong. ok fgsch@

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jun 23 15:12:21 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34 (colored)

more strict prototypes.  raise warning level in Makefile.inc.  markus ok'ed
TODO; cleanup headers

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 23 02:34:32 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

get rid of known_hosts2, use it for hostkey lookup, but do not modify.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jun 7 20:23:05 2001 UTC (22 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

use xxx_put_cstring()

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 18 14:13:29 2001 UTC (23 years ago) by markus
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

improved kbd-interactive support. work by per@appgate.com and me

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:37 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.8.2.3: +22 -22 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 17 08:14:01 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

check for key!=NULL, thanks to costa

Revision 1.30 / (download) - annotate - [select for diffs], Thu Apr 12 19:15:25 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.29: +10 -10 lines
Diff to previous 1.29 (colored)

implement HostbasedAuthentication (= RhostRSAAuthentication for ssh v2)
similar to RhostRSAAuthentication unless you enable (the experimental)
HostbasedUsesNameFromPacketOnly option.  please test. :)

Revision 1.29 / (download) - annotate - [select for diffs], Mon Mar 26 08:07:09 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.28: +15 -15 lines
Diff to previous 1.28 (colored)

simpler key load/save interface, see authfile.h

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:31 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.8.2.2: +3 -2 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed Mar 21 18:53:15 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.3.2.3: +3 -2 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:17 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.3.2.2: +96 -72 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 8 21:42:33 2001 UTC (23 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

implement client side of SSH2_MSG_USERAUTH_PK_OK (test public key ->
no need to do enter passphrase or do expensive sign operations if the
server does not accept key).

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:19:36 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.8.2.1: +0 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Pull in OpenSSH-2.5.1

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:13:22 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.8: +96 -72 lines
Diff to previous 1.8 (colored)

Pull in OpenSSH 2.5.0

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 15 23:19:59 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.26: +3 -17 lines
Diff to previous 1.26 (colored)

genericize password padding function for SSH1 and SSH2.
add stylized echo to 2, too.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Feb 12 12:45:06 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

fix xmalloc(0), ok dugsong@

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 8 23:11:43 2001 UTC (23 years, 3 months ago) by dugsong
Branch: MAIN
Changes since 1.24: +17 -3 lines
Diff to previous 1.24 (colored)

mitigate SSH1 traffic analysis - from Solar Designer <solar@openwall.com>, ok provos@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 8 19:30:52 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

sync with netbsd tree changes.
- more strict prototypes, include necessary headers
- use paths.h/pathnames.h decls
- size_t typecase to int -> u_long

Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 8 10:47:04 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

%.30s is too short for IPv6 numeric address.  use %.128s for now.  markus ok

Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 3 10:08:37 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 29 19:47:31 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.20: +7 -4 lines
Diff to previous 1.20 (colored)

handle rsa_private_decrypt failures; helps against the Bleichenbacher pkcs#1 attack

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 22 23:06:40 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored)

rename skey -> challenge response.
auto-enable kbd-interactive for ssh2 if challenge-reponse is enabled.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 22 08:15:00 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

only AFS needs radix.[ch]

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 21 19:06:00 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.17: +15 -5 lines
Diff to previous 1.17 (colored)

split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.
rename util.[ch] -> misc.[ch]

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 19 15:55:12 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

move ssh1 definitions to ssh1.h, pathnames to pathnames.h

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 18 17:00:00 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

1) removes fake skey from sshd, since this will be much
   harder with /usr/libexec/auth/login_XXX
2) share/unify code used in ssh-1 and ssh-2 authentication (server side)
3) make addition of BSD_AUTH and other challenge reponse methods
   easier.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 16 23:58:09 2001 UTC (23 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

indent

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 8 21:55:41 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

more cleanups and fixes from stevesk@pobox.com:
1) try_agent_authentication() for loop will overwrite key just
   allocated with key_new(); don't alloc
2) call ssh_close_authentication_connection() before exit
   try_agent_authentication()
3) free mem on bad passphrase in try_rsa_authentication()

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 19 23:17:58 2000 UTC (23 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.12: +16 -16 lines
Diff to previous 1.12 (colored)

replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'
with u_char.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 10 17:01:53 2000 UTC (23 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.11: +30 -26 lines
Diff to previous 1.11 (colored)

always request new challenge for skey/tis-auth, fixes interop with
other implementations; report from roth@feep.net

Revision 1.11 / (download) - annotate - [select for diffs], Sat Nov 25 16:42:53 2000 UTC (23 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

reorder check for illegal ciphers, bugreport from espie@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 23 21:03:47 2000 UTC (23 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

complain about invalid ciphers for ssh1/ssh2, fall back to reasonable defaults

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 12 19:50:38 2000 UTC (23 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored)

add support for RSA to SSH2.  please test.

there are now 3 types of keys: RSA1 is used by ssh-1 only,
RSA and DSA are used by SSH2.

you can use 'ssh-keygen -t rsa -f ssh2_rsa_file' to generate RSA
keys for SSH2 and use the RSA keys for hostkeys or for user keys.

SSH2 RSA or DSA keys are added to .ssh/authorised_keys2 as before.

IdentityFile2, HostDsaKey and DSAAuthentication are obsolete.
you can use multiple IdentityFile and HostKey for all types of keys.

the option DSAAuthentication is replaced by PubkeyAuthetication.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 21:31:29 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.3.2.1: +9 -12 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 12 09:59:19 2000 UTC (23 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

enable DES in SSH-1 clients only

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 11 20:27:24 2000 UTC (23 years, 7 months ago) by markus
Branch: MAIN
Changes since 1.6: +3 -10 lines
Diff to previous 1.6 (colored)

new cipher framework

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 7 20:27:54 2000 UTC (23 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

cleanup copyright notices on all files.  I have attempted to be accurate with
the details.  everything is now under Tatu's licence (which I copied from his
readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd
developers under a 2-term bsd licence.  We're not changing any rules, just
being accurate.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 18:23:24 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.3: +20 -22 lines
Diff to previous 1.3 (colored)

Pull in the rest of openssh-2.2.0 to 2.7 branch (luvin' cvs...)

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 19 21:34:44 2000 UTC (23 years, 9 months ago) by markus
Branch: MAIN
Changes since 1.4: +19 -21 lines
Diff to previous 1.4 (colored)

add SSH2/DSA support to the agent and some other DSA related cleanups.
(note that we cannot talk to ssh.com's ssh2 agents)

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 16 08:27:22 2000 UTC (23 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

make ssh-add accept dsa keys (the agent does not)

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 8 17:12:16 2000 UTC (24 years ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.2: +8 -4 lines
Diff to previous 1.2 (colored)

complain about invalid ciphers in SSH1 (e.g. arcfour is SSH2 only)

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 4 22:38:00 2000 UTC (24 years ago) by markus
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

replace broken uuencode w/ libc b64_ntop

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 26 21:28:33 2000 UTC (24 years ago) by markus
Branch: MAIN

split auth/sshconnect in one file per protocol version

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.