OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.61, Mon Jul 9 21:56:06 2018 UTC (5 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.60: +1 -1 lines
FILE REMOVED

remove legacy buffer API emulation layer; ok djm@

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 30 05:29:56 2014 UTC (9 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.59: +99 -231 lines
Diff to previous 1.59 (colored)

New buffer API; the first installment of the conversion/replacement
of OpenSSH's internals to make them usable as a standalone library.

This includes a set of wrappers to make it compatible with the
existing buffer API so replacement can occur incrementally.

With and ok markus@

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

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 29 18:01:49 2014 UTC (9 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.58: +1 -3 lines
Diff to previous 1.58 (colored)

make compiling against OpenSSL optional (make OPENSSL=no);
reduces algorithms to curve25519, aes-ctr, chacha, ed25519;
allows us to explore further options; with and ok djm

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 28 03:09:18 2014 UTC (10 years ago) by djm
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

buffer_get_string_ptr's return should be const to remind
callers that futzing with it will futz with the actual buffer
contents

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Mon Apr 21 00:30:48 2014 UTC (10 years ago) by djm
Branch: OPENBSD_5_5
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

MFC:

reliability fix for OpenSSH using curve25519-sha256@libssh.org key
exchange method.

revision 1.71
date: 2014/04/18 23:52:25;  author: djm;  state: Exp;  lines: +2 -2;
OpenSSH 6.5 and 6.6 have a bug that causes ~0.2% of connections
using the curve25519-sha256@libssh.org KEX exchange method to fail
when connecting with something that implements the spec properly.

Disable this KEX method when speaking to one of the affected
versions.

revision 1.57
date: 2014/04/16 23:22:45;  author: djm;  state: Exp;  lines: +4 -1;
skip leading zero bytes in buffer_put_bignum2_from_string();
reported by jan AT mojzis.com; ok markus@

Revision 1.57 / (download) - annotate - [select for diffs], Wed Apr 16 23:22:45 2014 UTC (10 years ago) by djm
Branch: MAIN
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

skip leading zero bytes in buffer_put_bignum2_from_string();
reported by jan AT mojzis.com; ok markus@

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

convert memset of potentially-private data to explicit_bzero()

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 31 16:39:19 2014 UTC (10 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

replace most bzero with explicit_bzero, except a few that cna be memset
ok djm dtucker

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 12 08:13:13 2014 UTC (10 years, 3 months ago) by djm
Branch: MAIN
Changes since 1.53: +74 -1 lines
Diff to previous 1.53 (colored)

avoid use of OpenSSL BIGNUM type and functions for KEX with
Curve25519 by adding a buffer_put_bignum2_from_string() that stores
a string using the bignum encoding rules. Will make it easier to
build a reduced-feature OpenSSH without OpenSSL in the future;
ok markus@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 8 11:15:19 2013 UTC (10 years, 5 months ago) by dtucker
Branch: MAIN
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Include stdlib.h for free() as per the man page.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 12 00:19:58 2013 UTC (10 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

fix pointer-signedness warnings from clang/llvm-3.3; "seems nice" deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Fri May 17 00:13:13 2013 UTC (10 years, 11 months ago) by djm
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

bye, bye xfree(); ok markus@

Revision 1.50 / (download) - annotate - [select for diffs], Tue Aug 31 09:58:37 2010 UTC (13 years, 7 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, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.49: +34 -1 lines
Diff to previous 1.49 (colored)

Add buffer_get_cstring() and related functions that verify that the
string extracted from the buffer contains no embedded \0 characters*
This prevents random (possibly malicious) crap from being appended to
strings where it would not be noticed if the string is used with
a string(3) function.

Use the new API in a few sensitive places.

* actually, we allow a single one at the end of the string for now because
we don't know how many deployed implementations get this wrong, but don't
count on this to remain indefinitely.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Mar 26 03:13:17 2010 UTC (14 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.48: +5 -3 lines
Diff to previous 1.48 (colored)

allow buffer_get_int_ret/buffer_get_int64_ret to take a NULL pointer
argument to allow skipping past values in a buffer

Revision 1.48 / (download) - annotate - [select for diffs], Tue Feb 2 22:49:34 2010 UTC (14 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.47: +5 -2 lines
Diff to previous 1.47 (colored)

make buffer_get_string_ret() really non-fatal in all cases (it was
using buffer_get_int(), which could fatal() on buffer empty);
ok markus dtucker

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jan 12 01:36:08 2010 UTC (14 years, 3 months ago) by djm
Branch: MAIN
Changes since 1.46: +18 -5 lines
Diff to previous 1.46 (colored)

add a buffer_get_string_ptr_ret() that does the same as
buffer_get_string_ptr() but does not fatal() on error; ok dtucker@

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 10 23:21:34 2008 UTC (15 years, 10 months ago) by dtucker
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.45: +2 -2 lines
Diff to previous 1.45 (colored)

Use '\0' for a nul byte rather than unadorned 0.  ok djm@

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 8 06:59:01 2008 UTC (15 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.44: +17 -1 lines
Diff to previous 1.44 (colored)

avoid extra malloc/copy/free when receiving data over the net;
~10% speedup for localhost-scp; ok djm@

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.36.2.1: +14 -173 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

upgrade to OpenSSH 4.4

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.37: +14 -173 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

upgrade to OpenSSH 4.4

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:41 2006 UTC (17 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Sat Jul 22 20:48:22 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 18 10:44:28 2006 UTC (18 years ago) by dtucker
Branch: MAIN
Changes since 1.41: +1 -164 lines
Diff to previous 1.41 (colored)

Move Buffer bignum functions into their own file, bufbn.c.  This means that
sftp and sftp-server (which use the Buffer functions in bufaux.c but not the
bignum ones) no longer need to be linked with libcrypto.  ok markus@

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 30 09:58:15 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.40: +10 -10 lines
Diff to previous 1.40 (colored)

replace {GET,PUT}_XXBIT macros with functionally similar functions,
silencing a heap of lint warnings. also allows them to use
__bounded__ checking which can't be applied to macros; requested
by and feedback from deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 25 18:56:54 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

remove (char *) casts to a function that accepts void * for the arg

Revision 1.39 / (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.38: +1 -0 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:18 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.37: +0 -1 lines
Diff to previous 1.37 (colored)

RCSID() can die

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

upgrade to OpenSSH 4.3

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Fri Feb 3 02:53:44 2006 UTC (18 years, 2 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.35.2.1: +4 -1 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

upgrade to OpenSSH 4.3

Revision 1.37 / (download) - annotate - [select for diffs], Sat Nov 5 05:01:15 2005 UTC (18 years, 5 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE
Branch point for: OPENBSD_3_9
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

Fix leaks in error paths, bz #1109 and #1110 reported by kremenek AT
cs.stanford.edu; ok dtucker@

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

upgrade to OpenSSH 4.2

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Fri Sep 2 03:44:59 2005 UTC (18 years, 7 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.32.4.2: +2 -2 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

upgrade to OpenSSH 4.2

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

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

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Sun Jun 5 02:22:39 2005 UTC (18 years, 10 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.32.4.1: +2 -2 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

upgrade to OpenSSH 4.1

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 10 22:01:05 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE
Branch point for: OPENBSD_3_7
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

spacing

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Thu Mar 10 17:15:04 2005 UTC (19 years, 1 month ago) by brad
Branch: OPENBSD_3_5
Changes since 1.32: +171 -44 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

upgrade to OpenSSH 4.0

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Thu Mar 10 16:28:27 2005 UTC (19 years, 1 month ago) by brad
Branch: OPENBSD_3_6
Changes since 1.32: +171 -44 lines
Diff to previous 1.32 (colored)

upgrade to OpenSSH 4.0

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 6 16:00:43 2004 UTC (19 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

use 0x00 not \0 since buf[] is a bignum

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 29 23:56:17 2004 UTC (19 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.32: +170 -43 lines
Diff to previous 1.32 (colored)

introduce a new buffer API that returns an error rather than fatal()ing when
presented with bad data; ok markus@

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:15 2004 UTC (20 years, 1 month ago) by brad
Branch: OPENBSD_3_3
Changes since 1.28.2.1: +22 -21 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

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

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Feb 28 03:51:32 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.29: +22 -21 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

upgrade to OpenSSH 3.8

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 23 15:12:46 2004 UTC (20 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_6, OPENBSD_3_5
Changes since 1.31: +18 -17 lines
Diff to previous 1.31 (colored)

encode 0 correctly in buffer_put_bignum2; noted by Mikulas Patocka
and drop support for negative BNs; ok otto@

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 10 16:23:41 2003 UTC (20 years, 5 months ago) by jakob
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

constify. ok markus@ & djm@

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

A few signedness fixes for harmless situations; markus@ ok

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:24 2003 UTC (20 years, 7 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

upgrade to OpenSSH 3.7

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Sep 16 20:50:42 2003 UTC (20 years, 7 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

upgrade to OpenSSH 3.7

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

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

Revision 1.24.2.4 / (download) - annotate - [select for diffs], Thu Apr 3 22:35:16 2003 UTC (21 years ago) by miod
Branch: OPENBSD_3_1
Changes since 1.24.2.3: +2 -2 lines
Diff to previous 1.24.2.3 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Merge OpenSSH 3.6.1

Revision 1.27.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.27: +2 -2 lines
Diff to previous 1.27 (colored)

Update to OpenSSH 3.6

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 23 10:40:16 2002 UTC (21 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE
Branch point for: OPENBSD_3_3
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

%u for u_int

Revision 1.17.4.4 / (download) - annotate - [select for diffs], Wed Jun 26 18:22:34 2002 UTC (21 years, 10 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.17.4.3: +20 -5 lines
Diff to previous 1.17.4.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

There was an update to OpenSSH 3.4, and people rejoiced.

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

Pull in OpenSSH-3.4

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 26 08:53:12 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.26: +8 -4 lines
Diff to previous 1.26 (colored)

limit size of BNs to 8KB; ok provos/deraadt

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 23 09:46:51 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +13 -2 lines
Diff to previous 1.25 (colored)

minor KNF.  things the fingers do while you read

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Sun Jun 2 22:56:09 2002 UTC (21 years, 10 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.17.2.2: +5 -2 lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (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.24.2.2 / (download) - annotate - [select for diffs], Sat May 18 04:50:37 2002 UTC (21 years, 11 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.24.2.1: +0 -0 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Update to OpenSSH-3.2.3

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat May 18 04:12:10 2002 UTC (21 years, 11 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.24: +20 -4 lines
Diff to previous 1.24 (colored)

Update to OpenSSH-3.2.2

Revision 1.17.4.3 / (download) - annotate - [select for diffs], Fri May 17 00:03:23 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.17.4.2: +4 -2 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Tue Apr 23 02:13:50 2002 UTC (22 years ago) by jason
Branch: OPENBSD_3_0
Changes since 1.17.4.1: +20 -4 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)

Pull in patches from current:
Fix buffer overflow in AFS/Kerberos token handling.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Mon Apr 22 19:56:41 2002 UTC (22 years ago) by miod
Branch: OPENBSD_2_9
Changes since 1.17.2.1: +19 -4 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored)

Errata #24 (markus@)
Fix a buffer overflow in AFS/Kerberos token handling.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 20 09:14:58 2002 UTC (22 years ago) by markus
Branch: MAIN
Changes since 1.24: +20 -4 lines
Diff to previous 1.24 (colored)

add buffer_{get,put}_short

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 26 15:23:40 2002 UTC (22 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

do not talk about packets in bufaux

Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 18 17:25:29 2002 UTC (22 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

buffer_skip_string and extra sanity checking; needed by ssh-privsep

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 1 month ago) by miod
Branch: OPENBSD_2_9
Changes since 1.17: +11 -14 lines
Diff to previous 1.17 (colored)

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

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:42 2002 UTC (22 years, 1 month ago) by brad
Branch: OPENBSD_2_8
Changes since 1.13.2.5: +11 -14 lines
Diff to previous 1.13.2.5 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Merge OpenSSH 3.1.

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

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 18 18:14:17 2002 UTC (22 years, 3 months ago) by stevesk
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

unneeded cast cleanup; ok markus@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 28 14:13:13 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored)

buffer_get_bignum: int -> void

Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 19 17:16:13 2001 UTC (22 years, 4 months ago) by stevesk
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

change the buffer/packet interface to use void* vs. char*; ok markus@

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

basic KNF done while i was looking for something else

Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 5 10:06:12 2001 UTC (22 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

minor KNF

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:41 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.13.2.4: +0 -0 lines
Diff to previous 1.13.2.4 (colored) to branchpoint 1.13 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:27 2001 UTC (22 years, 11 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.13.2.3: +0 -0 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:23 2001 UTC (23 years, 1 month ago) by jason
Branch: OPENBSD_2_8
Changes since 1.13.2.2: +0 -0 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Wed Mar 21 18:52:36 2001 UTC (23 years, 1 month ago) by jason
Branch: OPENBSD_2_7
Changes since 1.11.2.3: +0 -0 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:08 2001 UTC (23 years, 1 month ago) by jason
Branch: OPENBSD_2_7
Changes since 1.11.2.2: +31 -15 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:18:41 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.13.2.1: +0 -0 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Pull in OpenSSH-2.5.1

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:12:55 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.13: +31 -15 lines
Diff to previous 1.13 (colored)

Pull in OpenSSH 2.5.0

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 21 19:05:45 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_2_9_BASE
Branch point for: OPENBSD_3_0, OPENBSD_2_9
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

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

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

indent

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 10 22:56:22 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.14: +17 -1 lines
Diff to previous 1.14 (colored)

cleanup sftp-server implementation:
	add buffer_get_int64, buffer_put_int64, GET_64BIT, PUT_64BIT
	parse SSH2_FILEXFER_ATTR_EXTENDED
	send SSH2_FX_EOF if readdir returns no more entries
	reply to SSH2_FXP_EXTENDED messages
	use #defines from the draft.
	move #definitions to sftp.h
more info:
http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-00.txt

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

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

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 21:30:28 2000 UTC (23 years, 5 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.11.2.1: +28 -8 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 7 20:27:50 2000 UTC (23 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.12: +28 -8 lines
Diff to previous 1.12 (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.11.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 18:23:17 2000 UTC (23 years, 7 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 20 01:39:39 2000 UTC (23 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

OpenBSD tag

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 14 10:30:30 2000 UTC (24 years ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.10: +12 -12 lines
Diff to previous 1.10 (colored)

whitespace cleanup

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 12 09:39:10 2000 UTC (24 years ago) by markus
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

#include <ssl/foo.h> -> <openssh/foo.h>

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 28 20:24:18 2000 UTC (24 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.8: +52 -1 lines
Diff to previous 1.8 (colored)

support ssh2 bignums

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 16 20:56:14 2000 UTC (24 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

-pedantic: signed vs. unsigned, void*-arithm, etc

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 24 19:53:44 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

KNF, final part 3

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 24 00:26:01 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +45 -37 lines
Diff to previous 1.5 (colored)

much more KNF

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 23 22:25:52 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.4: +75 -69 lines
Diff to previous 1.4 (colored)

KNF part 1

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 12 17:28:35 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

save a view malloc/memcpy/memset/free's, ok niels

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 2 19:42:35 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

replace assert() with error, fatal or packet_disconnect

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 28 04:45:36 1999 UTC (24 years, 7 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.1: +23 -52 lines
Diff to previous 1.1 (colored)

convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 26 20:53:33 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN

i bet a lot of people didn't know what ssh 1.2.16 had a nice license.
well, except for the patent issues.  someone in sweden (forget their
name at the moment) cleaned out most of the patented code, and now
this code removes rsa code.  when this is done, it will link against
libssl, but the work isn't completely done yet.  then we need to bring
this up to modern days, featurewise.

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.