OpenBSD CVS

CVS log for src/usr.bin/ssh/Attic/auth-skey.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28, Fri Sep 21 08:15:29 2007 UTC (16 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED

unifdef -DBSD_AUTH
unifdef -USKEY

These options have been in use for some years;
ok markus@ "no objection" millert@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 21 01:41:54 2007 UTC (17 years, 3 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

spaces

Revision 1.20.14.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.20: +13 -13 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

upgrade to OpenSSH 4.4

Revision 1.20.16.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.20: +13 -13 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

upgrade to OpenSSH 4.4

Revision 1.26 / (download) - annotate - [select for diffs], Sat Aug 5 08:28:24 2006 UTC (17 years, 9 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

Zap unused variables in -DSKEY code.  ok djm@

Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 5 08:00:33 2006 UTC (17 years, 9 months ago) by dtucker
Branch: MAIN
Changes since 1.24: +6 -1 lines
Diff to previous 1.24 (colored)

Add headers required to build with -DSKEY.  ok djm@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:41 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (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.23 / (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.22: +1 -0 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Sat Mar 25 00:05:41 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.21: +3 -8 lines
Diff to previous 1.21 (colored)

introduce xcalloc() and xasprintf() failure-checked allocations functions
and use them throughout openssh

xcalloc is particularly important because malloc(nmemb * size) is a
dangerous idiom (subject to integer overflow) and it is time for it to
die

feedback and ok deraadt@

Revision 1.21 / (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.20: +0 -1 lines
Diff to previous 1.20 (colored)

RCSID() can die

Revision 1.12.4.4 / (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.12.4.3: +2 -2 lines
Diff to previous 1.12.4.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Update to OpenSSH 3.5

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

Update to OpenSSH 3.5

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 30 21:59:45 2002 UTC (21 years, 10 months ago) by deraadt
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, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

minor KNF

Revision 1.17.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.17.2.2: +3 -3 lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored)

Pull in OpenSSH-3.4

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Sat Jun 22 07:23:16 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.12.4.2: +3 -3 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 19 00:27:55 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

KNF done automatically while reading....

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

Update to OpenSSH-3.2.3

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

Update to OpenSSH-3.2.2

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Fri May 17 00:03:23 2002 UTC (22 years ago) by miod
Branch: OPENBSD_3_0
Changes since 1.12.4.1: +14 -7 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 13 02:37:39 2002 UTC (22 years ago) by itojun
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

less warnings.  skey_{respond,query} are public (in auth.h)

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 18 17:50:31 2002 UTC (22 years, 2 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.16: +12 -5 lines
Diff to previous 1.16 (colored)

integrate privilege separated openssh; its turned off by default for now.
work done by me and markus@

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:43 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.12.2.1: +5 -6 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

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

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:41 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.9.2.2: +5 -6 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Merge OpenSSH 3.1.

Revision 1.12.4.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.12: +5 -6 lines
Diff to previous 1.12 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 12 13:10:29 2002 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

undo local change

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 11 23:26:30 2002 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

use snprintf; mouring@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 11 20:14:11 2002 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

use strlcpy not strlcat; mouring@

Revision 1.13 / (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.12: +4 -4 lines
Diff to previous 1.12 (colored)

basic KNF done while i was looking for something else

Revision 1.12.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.12: +1 -1 lines
Diff to previous 1.12 (colored)

Pull in OpenSSH-2.9.9

Revision 1.9.2.2 / (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.9.2.1: +61 -169 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 18 14:13:28 2001 UTC (23 years ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0, OPENBSD_2_9
Changes since 1.11: +63 -27 lines
Diff to previous 1.11 (colored)

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

Revision 1.6.2.3, Mon Mar 12 15:44:07 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.6.2.2: +1 -1 lines
FILE REMOVED

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.9.2.1, Fri Feb 16 20:12:52 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.9: +1 -1 lines
FILE REMOVED

Pull in OpenSSH 2.5.0

Revision 1.11, Thu Jan 18 17:12:43 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.10: +1 -1 lines
FILE REMOVED

rename *-skey.c *-chall.c since the files are not skey specific

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 18 16:59:59 2001 UTC (23 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.9: +27 -171 lines
Diff to previous 1.9 (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.6.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 21:30:22 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.6.2.1: +26 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 19 16:41:13 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.8: +2 -2 lines
Diff to previous 1.8 (colored)

fmt string problem in unused code

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 7 20:27:49 2000 UTC (23 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +25 -1 lines
Diff to previous 1.7 (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.6.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 18:23:17 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

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

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

OpenBSD tag

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

whitespace cleanup

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 6 19:04:57 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

fd leak

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 1 16:54:35 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.3: +30 -2 lines
Diff to previous 1.3 (colored)

move skey-auth from auth-passwd.c to auth-skey.c, same for krb4

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

KNF part 1

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 16 20:57:52 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

snprintf

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 7 21:45:02 1999 UTC (24 years, 7 months ago) by markus
Branch: MAIN

add skey to sshd:

1) pass *pw to auth_password() not user_name, do_authentication already
   keeps private copy of struct passwd for current user.
2) limit authentication attemps to 5, otherwise
        ssh -o 'NumberOfPasswordPrompts 100000' host
   lets you enter 100000 passwds
3) make s/key a run-time option in /etc/sshd_config
4) generate fake skeys,
   for s/key for nonexisting users, too
   limit auth-tries for nonexisting users, too.
Note that
% ssh -l nonexisting-user -o 'NumberOfPasswordPrompts 100000' host
has NO limits in ssh-1.2.27

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.