OpenBSD CVS

CVS log for src/usr.bin/ssh/dh.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.74 / (download) - annotate - [select for diffs], Sat Apr 3 06:18:40 2021 UTC (3 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

highly polished whitespace, mostly fixing spaces-for-tab and bad
indentation on continuation lines. Prompted by GHPR#185

Revision 1.73 / (download) - annotate - [select for diffs], Fri Mar 12 04:08:19 2021 UTC (3 years, 2 months ago) by dtucker
Branch: MAIN
Changes since 1.72: +18 -5 lines
Diff to previous 1.72 (colored)

Add ModuliFile keyword to sshd_config to specify the location of the
"moduli" file containing the groups for DH-GEX.  This will allow us to
run tests against arbitrary moduli files without having to install them.
ok djm@

Revision 1.72 / (download) - annotate - [select for diffs], Sun Oct 18 11:32:01 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

use the new variant log macros instead of prepending __func__ and
appending ssh_err(r) manually; ok markus@

Revision 1.71 / (download) - annotate - [select for diffs], Fri Sep 6 06:08:11 2019 UTC (4 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

typo in previous

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 6 05:23:55 2019 UTC (4 years, 8 months ago) by djm
Branch: MAIN
Changes since 1.69: +5 -6 lines
Diff to previous 1.69 (colored)

fixes for !WITH_OPENSSL compilation; ok dtucker@

Revision 1.69 / (download) - annotate - [select for diffs], Fri Nov 9 02:56:22 2018 UTC (5 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

correct local variable name; from yawang AT microsoft.com

Revision 1.68 / (download) - annotate - [select for diffs], Mon Sep 17 15:40:14 2018 UTC (5 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.67: +8 -6 lines
Diff to previous 1.67 (colored)

When choosing a prime from the moduli file, avoid re-using the
linenum variable for something that is not a line number to avoid
the confusion that resulted in the bug in rev. 1.64.  This also
lets us pass the actual linenum to parse_prime() so the error
messages include the correct line number.  OK markus@ some time ago.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Sep 13 02:08:33 2018 UTC (5 years, 8 months ago) by djm
Branch: MAIN
Changes since 1.66: +38 -24 lines
Diff to previous 1.66 (colored)

hold our collective noses and use the openssl-1.1.x API in OpenSSH;
feedback and ok tb@ jsing@ markus@

Revision 1.66 / (download) - annotate - [select for diffs], Sat Aug 4 00:55:06 2018 UTC (5 years, 9 months ago) by djm
Branch: MAIN
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored)

invalidate dh->priv_key after freeing it in error path; avoids
unlikely double-free later. Reported by Viktor Dukhovni via
https://github.com/openssh/openssh-portable/pull/96
feedback jsing@ tb@

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 26 11:23:59 2018 UTC (5 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored)

Fix "WARNING: line 6 disappeared in /etc/moduli, giving up" when
choosing a prime.  An extra increment of linenum snuck in as part
of the conversion to getline().  OK djm@ markus@

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 6 18:29:18 2018 UTC (5 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.63: +12 -6 lines
Diff to previous 1.63 (colored)

switch config file parsing to getline(3) as this avoids static limits
noted by gerhard@; ok dtucker@, djm@

Revision 1.63 / (download) - annotate - [select for diffs], Wed Feb 7 02:06:50 2018 UTC (6 years, 3 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.62: +3 -5 lines
Diff to previous 1.62 (colored)

Remove all guards for calls to OpenSSL free functions - all of these
functions handle NULL, from at least OpenSSL 1.0.1g onwards.

Prompted by dtucker@ asking about guards for RSA_free(), when looking at
openssh-portable pr#84 on github.

ok deraadt@ dtucker@

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 15 21:20:41 2016 UTC (7 years, 5 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Fix text in error message.  Patch from zev at bewilderbeest.net.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 12 01:22:38 2016 UTC (7 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Add MAXIMUM(), MINIMUM(), and ROUNDUP() to misc.h, then use those definitions
rather than pulling <sys/param.h> and unknown namespace pollution.
ok djm markus dtucker

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 2 10:26:04 2016 UTC (8 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.59: +72 -11 lines
Diff to previous 1.59 (colored)

add support for additional fixed DH groups from
draft-ietf-curdle-ssh-kex-sha2-03

diffie-hellman-group14-sha256 (2K group)
diffie-hellman-group16-sha512 (4K group)
diffie-hellman-group18-sha512 (8K group)

based on patch from Mark D. Baushke and Darren Tucker
ok markus@

Revision 1.59 / (download) - annotate - [select for diffs], Thu Mar 31 05:24:06 2016 UTC (8 years, 1 month ago) by dtucker
Branch: MAIN
Changes since 1.58: +7 -7 lines
Diff to previous 1.58 (colored)

Remove fallback from moduli to "primes" file that was deprecated in 2001
and fix log messages referring to primes file.  Based on patch from
xnox at ubuntu.com via bz#2559.  "kill it" deraadt@

Revision 1.58 / (download) - annotate - [select for diffs], Sun Feb 28 22:27:00 2016 UTC (8 years, 2 months ago) by djm
Branch: MAIN
Changes since 1.57: +16 -7 lines
Diff to previous 1.57 (colored)

rearrange DH public value tests to be a little more clear

rearrange DH private value generation to explain rationale more
clearly and include an extra sanity check.

ok deraadt

Revision 1.57 / (download) - annotate - [select for diffs], Wed May 27 23:39:18 2015 UTC (8 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.56: +43 -4 lines
Diff to previous 1.56 (colored)

Add a stronger (4k bit) fallback group that sshd can use when the moduli
file is missing or broken, sourced from RFC3526.  bz#2302, ok markus@
(earlier version), djm@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 26 06:59:28 2015 UTC (9 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

relax bits needed check to allow diffie-hellman-group1-sha1 key
exchange to complete for chacha20-poly1305 was selected as
symmetric cipher; ok markus

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jan 20 23:14:00 2015 UTC (9 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

Reduce use of <sys/param.h> and transition to <limits.h> throughout.
ok djm markus

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 19 20:16:15 2015 UTC (9 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.53: +30 -29 lines
Diff to previous 1.53 (colored)

adapt kex to sshbuf and struct ssh; ok djm@

Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 21 00:45:44 2013 UTC (10 years, 5 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.52: +12 -26 lines
Diff to previous 1.52 (colored)

Add a new protocol 2 transport cipher "chacha20-poly1305@openssh.com"
that combines Daniel Bernstein's ChaCha20 stream cipher and Poly1305 MAC
to build an authenticated encryption mode.

Inspired by and similar to Adam Langley's proposal for TLS:
http://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-03
but differs in layout used for the MAC calculation and the use of a
second ChaCha20 instance to separately encrypt packet lengths.
Details are in the PROTOCOL.chacha20poly1305 file.

Feedback markus@, naddy@; manpage bits Loganden Velvindron @ AfriNIC
ok markus@ naddy@

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 8 11:42:13 2013 UTC (10 years, 7 months ago) by dtucker
Branch: MAIN
Changes since 1.51: +10 -7 lines
Diff to previous 1.51 (colored)

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@.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jul 2 12:31:43 2013 UTC (10 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

remove extra whitespace

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jun 21 05:42:32 2013 UTC (10 years, 10 months ago) by djm
Branch: MAIN
Changes since 1.49: +47 -27 lines
Diff to previous 1.49 (colored)

sprinkle in some error() to explain moduli(5) parse failures

Revision 1.49 / (download) - annotate - [select for diffs], Wed Dec 7 05:44:38 2011 UTC (12 years, 5 months ago) by djm
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
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

fix some harmless and/or unreachable int overflows;
reported Xi Wang, ok markus@

Revision 1.48 / (download) - annotate - [select for diffs], Thu Oct 1 11:37:33 2009 UTC (14 years, 7 months ago) by grunk
Branch: MAIN
CVS Tags: 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
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

fix a cast

ok djm@ markus@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 26 09:19:39 2008 UTC (15 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.46: +14 -1 lines
Diff to previous 1.46 (colored)

when loading moduli from /etc/moduli in sshd(8), check that they
are of the expected "safe prime" structure and have had
appropriate primality tests performed;
feedback and ok dtucker@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 13 00:22:17 2008 UTC (16 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Use arc4random_buf() when requesting more than a single word of output

Use arc4random_uniform() when the desired random number upper bound
is not a power of two

ok deraadt@ millert@

Revision 1.45 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:57 2007 UTC (16 years, 7 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.44: +6 -4 lines
Diff to previous 1.44 (colored)

Don't return -1 on error in dh_pub_is_valid(), since it evaluates
to true.

Also fix a typo.

Initial diff from Matthew Dempsky, input from djm.

OK djm, markus.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Nov 7 13:02:07 2006 UTC (17 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

BN_hex2bn returns int; from dtucker@

Revision 1.43 / (download) - annotate - [select for diffs], Mon Nov 6 21:25:28 2006 UTC (17 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

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

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.31: +29 -11 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

upgrade to OpenSSH 4.4

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.31: +29 -11 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

upgrade to OpenSSH 4.4

Revision 1.42 / (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, OPENBSD_4_0
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (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.41 / (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.40: +2 -1 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (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.39: +2 -1 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jul 26 02:35:17 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

move #include <sys/param.h> out of includes.h

Revision 1.38 / (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.37: +3 -1 lines
Diff to previous 1.37 (colored)

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

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 18 22:27:55 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.36: +1 -7 lines
Diff to previous 1.36 (colored)

remove unneeded includes; ok djm@

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 4 14:55:23 2006 UTC (18 years ago) by djm
Branch: MAIN
Changes since 1.35: +19 -2 lines
Diff to previous 1.35 (colored)

tighter DH exponent checks here too; feedback and ok markus@

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 27 13:03:54 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored)

use strtonum() instead of atoi(), limit dhg size to 64k; ok djm

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 25 13:17:01 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.33: +1 -0 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:18 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.32: +0 -1 lines
Diff to previous 1.32 (colored)

RCSID() can die

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 19 02:24:05 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

potential NULL pointer dereferences detected by Coverity
via elad AT netbsd.org; ok deraadt@

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:31 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.24.2.1: +31 -8 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

upgrade to OpenSSH 3.9

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:26 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.29: +25 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

upgrade to OpenSSH 3.9

Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 4 10:37:52 2004 UTC (19 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_8_BASE, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

return group14 when no primes found - fixes hang on empty /etc/moduli;
ok markus@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 13 12:53:24 2004 UTC (19 years, 11 months ago) by djm
Branch: MAIN
Changes since 1.29: +24 -4 lines
Diff to previous 1.29 (colored)

implement diffie-hellman-group14-sha1 kex method (trivial extension to
existing diffie-hellman-group1-sha1); ok markus@

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:15 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.23.2.1: +4 -6 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

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

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Feb 28 03:51:33 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.24: +4 -6 lines
Diff to previous 1.24 (colored)

upgrade to OpenSSH 3.8

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 27 22:49:27 2004 UTC (20 years, 2 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_5
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Reset bit counter at the right time, fixes debug output in the case where
the DH group is rejected.  ok markus@

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 27 22:44:56 2004 UTC (20 years, 2 months ago) by dtucker
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone
ever uses one.  ok markus@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 27 22:42:47 2004 UTC (20 years, 2 months ago) by dtucker
Branch: MAIN
Changes since 1.26: +4 -1 lines
Diff to previous 1.26 (colored)

Prevent sshd from sending DH groups with a primitive generator of zero or
one, even if they are listed in /etc/moduli.  ok markus@

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 16 15:51:54 2003 UTC (20 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.25: +3 -5 lines
Diff to previous 1.25 (colored)

use <= instead of < in dh_estimate; ok provos/hshoexer; do not return < DH_GRP_MIN

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 18 13:02:21 2003 UTC (20 years, 8 months ago) by miod
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

A few signedness fixes for harmless situations; markus@ ok

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:25 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.22.2.1: +5 -5 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

upgrade to OpenSSH 3.7

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

upgrade to OpenSSH 3.7

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 8 20:21:28 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_4
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

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

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Thu Apr 3 22:35:17 2003 UTC (21 years, 1 month ago) by miod
Branch: OPENBSD_3_1
Changes since 1.21.2.1: +3 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Merge OpenSSH 3.6.1

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Apr 1 00:12:13 2003 UTC (21 years, 1 month ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Update to OpenSSH 3.6

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 21 22:22:50 2002 UTC (21 years, 5 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE
Branch point for: OPENBSD_3_3
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

debug->debug2

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

Update to OpenSSH 3.5

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Fri Oct 11 14:51:52 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Update to OpenSSH 3.5

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 27 08:49:44 2002 UTC (21 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

more checks for NULL pointers; from grendel@zeitbombe.org; ok deraadt@

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.14.2.1: +17 -18 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

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

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:42 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.2.2.5: +17 -18 lines
Diff to previous 1.2.2.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge OpenSSH 3.1.

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

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 6 00:23: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.20: +2 -5 lines
Diff to previous 1.20 (colored)

undo

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 6 00:20:54 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.19: +6 -3 lines
Diff to previous 1.19 (colored)

compat.c

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 27 19:37:22 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored)

always use BN_clear_free instead of BN_free

Revision 1.18 / (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.17: +10 -11 lines
Diff to previous 1.17 (colored)

call fatal() for openssl allocation failures

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:54 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.14: +8 -12 lines
Diff to previous 1.14 (colored)

Pull in OpenSSH-2.9.9

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:42 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.2.2.4: +8 -12 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 23 15:12:18 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 22 21:57:59 2001 UTC (22 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.15: +4 -8 lines
Diff to previous 1.15 (colored)

increase linebuffer to deal with larger moduli; use rewind instead of
close/open

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 22 21:27:07 2001 UTC (22 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

use /etc/moduli instead of /etc/primes, okay markus@

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:29 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2.2.3: +154 -18 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 15 08:43:45 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.13: +5 -6 lines
Diff to previous 1.13 (colored)

some unused variable and typos; from tomh@po.crl.go.jp

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 4 23:09:17 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored)

clear+free keys,iv for rekeying.
+ fix DH mem leaks. ok niels@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 3 19:53:29 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.11: +20 -1 lines
Diff to previous 1.11 (colored)

move kex to kex*.c, used dispatch_set() callbacks for kex. should
make rekeying easier.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 29 21:17:39 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.10: +108 -1 lines
Diff to previous 1.10 (colored)

prepare for rekeying: move DH code to dh.c

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 28 22:04:57 2001 UTC (23 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.9: +13 -10 lines
Diff to previous 1.9 (colored)

more sanity checking on primes file

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 27 17:46:49 2001 UTC (23 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.8: +13 -6 lines
Diff to previous 1.8 (colored)

make dh group exchange more flexible, allow min and max group size,
okay markus@, deraadt@

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

Pull in OpenSSH-2.5.2 for 2.8 branch.

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

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:10 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.2.4.1: +11 -10 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 5 17:58:22 2001 UTC (23 years, 2 months ago) by stevesk
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

spelling

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 4 17:42:28 2001 UTC (23 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

log functions should not be passed strings that end in newline as they
get passed on to syslog() and when logging to stderr, do_log() appends
its own newline.

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

Pull in OpenSSH-2.5.1

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:13:01 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.2: +11 -10 lines
Diff to previous 1.2 (colored)

Pull in OpenSSH 2.5.0

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 21 19:05:49 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 19 15:55:11 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 15 21:43:51 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

use error() not stderr!

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 16 17:55:43 2000 UTC (23 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored)

do not use perror() in sshd, after the child is forked()

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Wed Nov 8 21:30:43 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 11 20:11:35 2000 UTC (23 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8, OPENBSD_2_7
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

Wall

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 11 04:02:16 2000 UTC (23 years, 7 months ago) by provos
Branch: MAIN

First rough implementation of the diffie-hellman group exchange.  The
client can ask the server for bigger groups to perform the diffie-hellman
in, thus increasing the attack complexity when using ciphers with longer
keys.  University of Windsor provided network, T the company.

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.