diff options
-rw-r--r-- | ChangeLog | 28 | ||||
-rw-r--r-- | Makefile.in | 5 | ||||
-rw-r--r-- | PROTOCOL.mux | 4 | ||||
-rw-r--r-- | README | 4 | ||||
-rwxr-xr-x | configure | 20 | ||||
-rw-r--r-- | configure.ac | 12 | ||||
-rw-r--r-- | contrib/caldera/openssh.spec | 4 | ||||
-rw-r--r-- | contrib/redhat/openssh.spec | 2 | ||||
-rw-r--r-- | contrib/suse/openssh.spec | 2 | ||||
-rw-r--r-- | key.c | 7 | ||||
-rw-r--r-- | moduli.0 | 2 | ||||
-rw-r--r-- | openbsd-compat/port-linux.c | 18 | ||||
-rw-r--r-- | openbsd-compat/port-linux.h | 3 | ||||
-rw-r--r-- | scp.0 | 2 | ||||
-rw-r--r-- | sftp-server.0 | 2 | ||||
-rw-r--r-- | sftp.0 | 2 | ||||
-rw-r--r-- | ssh-add.0 | 2 | ||||
-rw-r--r-- | ssh-agent.0 | 2 | ||||
-rw-r--r-- | ssh-keygen.0 | 2 | ||||
-rw-r--r-- | ssh-keyscan.0 | 2 | ||||
-rw-r--r-- | ssh-keysign.0 | 2 | ||||
-rw-r--r-- | ssh-pkcs11-helper.0 | 2 | ||||
-rw-r--r-- | ssh-rand-helper.0 | 2 | ||||
-rw-r--r-- | ssh.0 | 2 | ||||
-rw-r--r-- | ssh.c | 7 | ||||
-rw-r--r-- | ssh_config.0 | 2 | ||||
-rw-r--r-- | sshd.0 | 2 | ||||
-rw-r--r-- | sshd_config.0 | 2 | ||||
-rw-r--r-- | version.h | 4 |
29 files changed, 101 insertions, 49 deletions
@@ -1,3 +1,31 @@ | |||
1 | 20110204 | ||
2 | - OpenBSD CVS Sync | ||
3 | - djm@cvs.openbsd.org 2011/01/31 21:42:15 | ||
4 | [PROTOCOL.mux] | ||
5 | cut'n'pasto; from bert.wesarg AT googlemail.com | ||
6 | - djm@cvs.openbsd.org 2011/02/04 00:44:21 | ||
7 | [key.c] | ||
8 | fix uninitialised nonce variable; reported by Mateusz Kocielski | ||
9 | - djm@cvs.openbsd.org 2011/02/04 00:44:43 | ||
10 | [version.h] | ||
11 | openssh-5.8 | ||
12 | - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec] | ||
13 | [contrib/suse/openssh.spec] update versions in docs and spec files. | ||
14 | - Release OpenSSH 5.8p1 | ||
15 | |||
16 | 20110128 | ||
17 | - (djm) [openbsd-compat/port-linux.c] Check whether SELinux is enabled | ||
18 | before attempting setfscreatecon(). Check whether matchpathcon() | ||
19 | succeeded before using its result. Patch from cjwatson AT debian.org; | ||
20 | bz#1851 | ||
21 | |||
22 | 20110125 | ||
23 | - (djm) [configure.ac Makefile.in ssh.c openbsd-compat/port-linux.c | ||
24 | openbsd-compat/port-linux.h] Move SELinux-specific code from ssh.c to | ||
25 | port-linux.c to avoid compilation errors. Add -lselinux to ssh when | ||
26 | building with SELinux support to avoid linking failure; report from | ||
27 | amk AT spamfence.net; ok dtucker | ||
28 | |||
1 | 20110122 | 29 | 20110122 |
2 | - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}] Add | 30 | - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}] Add |
3 | RSA_get_default_method() for the benefit of openssl versions that don't | 31 | RSA_get_default_method() for the benefit of openssl versions that don't |
diff --git a/Makefile.in b/Makefile.in index 77a78aa61..870a7f18d 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.320 2011/01/17 10:15:29 dtucker Exp $ | 1 | # $Id: Makefile.in,v 1.320.4.1 2011/02/04 00:42:13 djm Exp $ |
2 | 2 | ||
3 | # uncomment if you run a non bourne compatable shell. Ie. csh | 3 | # uncomment if you run a non bourne compatable shell. Ie. csh |
4 | #SHELL = @SH@ | 4 | #SHELL = @SH@ |
@@ -46,6 +46,7 @@ LD=@LD@ | |||
46 | CFLAGS=@CFLAGS@ | 46 | CFLAGS=@CFLAGS@ |
47 | CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ | 47 | CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ |
48 | LIBS=@LIBS@ | 48 | LIBS=@LIBS@ |
49 | SSHLIBS=@SSHLIBS@ | ||
49 | SSHDLIBS=@SSHDLIBS@ | 50 | SSHDLIBS=@SSHDLIBS@ |
50 | LIBEDIT=@LIBEDIT@ | 51 | LIBEDIT=@LIBEDIT@ |
51 | AR=@AR@ | 52 | AR=@AR@ |
@@ -142,7 +143,7 @@ libssh.a: $(LIBSSH_OBJS) | |||
142 | $(RANLIB) $@ | 143 | $(RANLIB) $@ |
143 | 144 | ||
144 | ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) | 145 | ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) |
145 | $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 146 | $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHLIBS) $(LIBS) |
146 | 147 | ||
147 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) | 148 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) |
148 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) | 149 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) |
diff --git a/PROTOCOL.mux b/PROTOCOL.mux index 3d6f81878..2a5817bd7 100644 --- a/PROTOCOL.mux +++ b/PROTOCOL.mux | |||
@@ -122,7 +122,7 @@ For dynamically allocated listen port the server replies with | |||
122 | 122 | ||
123 | Note: currently unimplemented (server will always reply with MUX_S_FAILURE). | 123 | Note: currently unimplemented (server will always reply with MUX_S_FAILURE). |
124 | 124 | ||
125 | A client may request the master to establish a port forward: | 125 | A client may request the master to close a port forward: |
126 | 126 | ||
127 | uint32 MUX_C_CLOSE_FWD | 127 | uint32 MUX_C_CLOSE_FWD |
128 | uint32 request id | 128 | uint32 request id |
@@ -200,4 +200,4 @@ XXX server->client error/warning notifications | |||
200 | XXX port0 rfwd (need custom response message) | 200 | XXX port0 rfwd (need custom response message) |
201 | XXX send signals via mux | 201 | XXX send signals via mux |
202 | 202 | ||
203 | $OpenBSD: PROTOCOL.mux,v 1.3 2011/01/13 21:55:25 djm Exp $ | 203 | $OpenBSD: PROTOCOL.mux,v 1.4 2011/01/31 21:42:15 djm Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | See http://www.openssh.com/txt/release-5.7 for the release notes. | 1 | See http://www.openssh.com/txt/release-5.8 for the release notes. |
2 | 2 | ||
3 | - A Japanese translation of this document and of the OpenSSH FAQ is | 3 | - A Japanese translation of this document and of the OpenSSH FAQ is |
4 | - available at http://www.unixuser.org/~haruyama/security/openssh/index.html | 4 | - available at http://www.unixuser.org/~haruyama/security/openssh/index.html |
@@ -62,4 +62,4 @@ References - | |||
62 | [6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9 | 62 | [6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9 |
63 | [7] http://www.openssh.com/faq.html | 63 | [7] http://www.openssh.com/faq.html |
64 | 64 | ||
65 | $Id: README,v 1.75 2011/01/22 09:23:12 djm Exp $ | 65 | $Id: README,v 1.75.4.1 2011/02/04 00:57:50 djm Exp $ |
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.469 . | 2 | # From configure.ac Revision: 1.469.4.1 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
@@ -696,7 +696,6 @@ STARTUP_SCRIPT_SHELL | |||
696 | LOGIN_PROGRAM_FALLBACK | 696 | LOGIN_PROGRAM_FALLBACK |
697 | PATH_PASSWD_PROG | 697 | PATH_PASSWD_PROG |
698 | LD | 698 | LD |
699 | SSHDLIBS | ||
700 | PKGCONFIG | 699 | PKGCONFIG |
701 | LIBEDIT | 700 | LIBEDIT |
702 | TEST_SSH_SHA256 | 701 | TEST_SSH_SHA256 |
@@ -721,6 +720,8 @@ PROG_UPTIME | |||
721 | PROG_IPCS | 720 | PROG_IPCS |
722 | PROG_TAIL | 721 | PROG_TAIL |
723 | INSTALL_SSH_PRNG_CMDS | 722 | INSTALL_SSH_PRNG_CMDS |
723 | SSHLIBS | ||
724 | SSHDLIBS | ||
724 | KRB5CONF | 725 | KRB5CONF |
725 | PRIVSEP_PATH | 726 | PRIVSEP_PATH |
726 | xauth_path | 727 | xauth_path |
@@ -9047,7 +9048,6 @@ cat >>confdefs.h <<\_ACEOF | |||
9047 | _ACEOF | 9048 | _ACEOF |
9048 | 9049 | ||
9049 | SSHDLIBS="$SSHDLIBS -lcontract" | 9050 | SSHDLIBS="$SSHDLIBS -lcontract" |
9050 | |||
9051 | SPC_MSG="yes" | 9051 | SPC_MSG="yes" |
9052 | fi | 9052 | fi |
9053 | 9053 | ||
@@ -9126,7 +9126,6 @@ cat >>confdefs.h <<\_ACEOF | |||
9126 | _ACEOF | 9126 | _ACEOF |
9127 | 9127 | ||
9128 | SSHDLIBS="$SSHDLIBS -lproject" | 9128 | SSHDLIBS="$SSHDLIBS -lproject" |
9129 | |||
9130 | SP_MSG="yes" | 9129 | SP_MSG="yes" |
9131 | fi | 9130 | fi |
9132 | 9131 | ||
@@ -27806,6 +27805,7 @@ echo "$as_me: error: SELinux support requires libselinux library" >&2;} | |||
27806 | { (exit 1); exit 1; }; } | 27805 | { (exit 1); exit 1; }; } |
27807 | fi | 27806 | fi |
27808 | 27807 | ||
27808 | SSHLIBS="$SSHLIBS $LIBSELINUX" | ||
27809 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" | 27809 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
27810 | 27810 | ||
27811 | 27811 | ||
@@ -27908,6 +27908,8 @@ done | |||
27908 | fi | 27908 | fi |
27909 | 27909 | ||
27910 | 27910 | ||
27911 | |||
27912 | |||
27911 | # Check whether user wants Kerberos 5 support | 27913 | # Check whether user wants Kerberos 5 support |
27912 | KRB5_MSG="no" | 27914 | KRB5_MSG="no" |
27913 | 27915 | ||
@@ -31416,7 +31418,6 @@ STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim | |||
31416 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim | 31418 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim |
31417 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim | 31419 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim |
31418 | LD!$LD$ac_delim | 31420 | LD!$LD$ac_delim |
31419 | SSHDLIBS!$SSHDLIBS$ac_delim | ||
31420 | PKGCONFIG!$PKGCONFIG$ac_delim | 31421 | PKGCONFIG!$PKGCONFIG$ac_delim |
31421 | LIBEDIT!$LIBEDIT$ac_delim | 31422 | LIBEDIT!$LIBEDIT$ac_delim |
31422 | TEST_SSH_SHA256!$TEST_SSH_SHA256$ac_delim | 31423 | TEST_SSH_SHA256!$TEST_SSH_SHA256$ac_delim |
@@ -31433,6 +31434,7 @@ PROG_PS!$PROG_PS$ac_delim | |||
31433 | PROG_SAR!$PROG_SAR$ac_delim | 31434 | PROG_SAR!$PROG_SAR$ac_delim |
31434 | PROG_W!$PROG_W$ac_delim | 31435 | PROG_W!$PROG_W$ac_delim |
31435 | PROG_WHO!$PROG_WHO$ac_delim | 31436 | PROG_WHO!$PROG_WHO$ac_delim |
31437 | PROG_LAST!$PROG_LAST$ac_delim | ||
31436 | _ACEOF | 31438 | _ACEOF |
31437 | 31439 | ||
31438 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 31440 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
@@ -31474,7 +31476,6 @@ _ACEOF | |||
31474 | ac_delim='%!_!# ' | 31476 | ac_delim='%!_!# ' |
31475 | for ac_last_try in false false false false false :; do | 31477 | for ac_last_try in false false false false false :; do |
31476 | cat >conf$$subs.sed <<_ACEOF | 31478 | cat >conf$$subs.sed <<_ACEOF |
31477 | PROG_LAST!$PROG_LAST$ac_delim | ||
31478 | PROG_LASTLOG!$PROG_LASTLOG$ac_delim | 31479 | PROG_LASTLOG!$PROG_LASTLOG$ac_delim |
31479 | PROG_DF!$PROG_DF$ac_delim | 31480 | PROG_DF!$PROG_DF$ac_delim |
31480 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim | 31481 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim |
@@ -31482,6 +31483,8 @@ PROG_UPTIME!$PROG_UPTIME$ac_delim | |||
31482 | PROG_IPCS!$PROG_IPCS$ac_delim | 31483 | PROG_IPCS!$PROG_IPCS$ac_delim |
31483 | PROG_TAIL!$PROG_TAIL$ac_delim | 31484 | PROG_TAIL!$PROG_TAIL$ac_delim |
31484 | INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim | 31485 | INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim |
31486 | SSHLIBS!$SSHLIBS$ac_delim | ||
31487 | SSHDLIBS!$SSHDLIBS$ac_delim | ||
31485 | KRB5CONF!$KRB5CONF$ac_delim | 31488 | KRB5CONF!$KRB5CONF$ac_delim |
31486 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | 31489 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim |
31487 | xauth_path!$xauth_path$ac_delim | 31490 | xauth_path!$xauth_path$ac_delim |
@@ -31496,7 +31499,7 @@ LIBOBJS!$LIBOBJS$ac_delim | |||
31496 | LTLIBOBJS!$LTLIBOBJS$ac_delim | 31499 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
31497 | _ACEOF | 31500 | _ACEOF |
31498 | 31501 | ||
31499 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then | 31502 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then |
31500 | break | 31503 | break |
31501 | elif $ac_last_try; then | 31504 | elif $ac_last_try; then |
31502 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 31505 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
@@ -31993,6 +31996,9 @@ echo " Libraries: ${LIBS}" | |||
31993 | if test ! -z "${SSHDLIBS}"; then | 31996 | if test ! -z "${SSHDLIBS}"; then |
31994 | echo " +for sshd: ${SSHDLIBS}" | 31997 | echo " +for sshd: ${SSHDLIBS}" |
31995 | fi | 31998 | fi |
31999 | if test ! -z "${SSHLIBS}"; then | ||
32000 | echo " +for ssh: ${SSHLIBS}" | ||
32001 | fi | ||
31996 | 32002 | ||
31997 | echo "" | 32003 | echo "" |
31998 | 32004 | ||
diff --git a/configure.ac b/configure.ac index 769e83594..f23784d9b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.469 2011/01/21 22:37:05 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.469.4.1 2011/02/04 00:42:14 djm Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.469 $) | 18 | AC_REVISION($Revision: 1.469.4.1 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | # local macros | 21 | # local macros |
@@ -737,7 +737,6 @@ mips-sony-bsd|mips-sony-newsos4) | |||
737 | [ AC_DEFINE(USE_SOLARIS_PROCESS_CONTRACTS, 1, | 737 | [ AC_DEFINE(USE_SOLARIS_PROCESS_CONTRACTS, 1, |
738 | [Define if you have Solaris process contracts]) | 738 | [Define if you have Solaris process contracts]) |
739 | SSHDLIBS="$SSHDLIBS -lcontract" | 739 | SSHDLIBS="$SSHDLIBS -lcontract" |
740 | AC_SUBST(SSHDLIBS) | ||
741 | SPC_MSG="yes" ], ) | 740 | SPC_MSG="yes" ], ) |
742 | ], | 741 | ], |
743 | ) | 742 | ) |
@@ -748,7 +747,6 @@ mips-sony-bsd|mips-sony-newsos4) | |||
748 | [ AC_DEFINE(USE_SOLARIS_PROJECTS, 1, | 747 | [ AC_DEFINE(USE_SOLARIS_PROJECTS, 1, |
749 | [Define if you have Solaris projects]) | 748 | [Define if you have Solaris projects]) |
750 | SSHDLIBS="$SSHDLIBS -lproject" | 749 | SSHDLIBS="$SSHDLIBS -lproject" |
751 | AC_SUBST(SSHDLIBS) | ||
752 | SP_MSG="yes" ], ) | 750 | SP_MSG="yes" ], ) |
753 | ], | 751 | ], |
754 | ) | 752 | ) |
@@ -3515,11 +3513,14 @@ AC_ARG_WITH(selinux, | |||
3515 | LIBS="$LIBS -lselinux" | 3513 | LIBS="$LIBS -lselinux" |
3516 | ], | 3514 | ], |
3517 | AC_MSG_ERROR(SELinux support requires libselinux library)) | 3515 | AC_MSG_ERROR(SELinux support requires libselinux library)) |
3516 | SSHLIBS="$SSHLIBS $LIBSELINUX" | ||
3518 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" | 3517 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
3519 | AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) | 3518 | AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) |
3520 | LIBS="$save_LIBS" | 3519 | LIBS="$save_LIBS" |
3521 | fi ] | 3520 | fi ] |
3522 | ) | 3521 | ) |
3522 | AC_SUBST(SSHLIBS) | ||
3523 | AC_SUBST(SSHDLIBS) | ||
3523 | 3524 | ||
3524 | # Check whether user wants Kerberos 5 support | 3525 | # Check whether user wants Kerberos 5 support |
3525 | KRB5_MSG="no" | 3526 | KRB5_MSG="no" |
@@ -4341,6 +4342,9 @@ echo " Libraries: ${LIBS}" | |||
4341 | if test ! -z "${SSHDLIBS}"; then | 4342 | if test ! -z "${SSHDLIBS}"; then |
4342 | echo " +for sshd: ${SSHDLIBS}" | 4343 | echo " +for sshd: ${SSHDLIBS}" |
4343 | fi | 4344 | fi |
4345 | if test ! -z "${SSHLIBS}"; then | ||
4346 | echo " +for ssh: ${SSHLIBS}" | ||
4347 | fi | ||
4344 | 4348 | ||
4345 | echo "" | 4349 | echo "" |
4346 | 4350 | ||
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec index 23397b04d..435003a2a 100644 --- a/contrib/caldera/openssh.spec +++ b/contrib/caldera/openssh.spec | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #old cvs stuff. please update before use. may be deprecated. | 17 | #old cvs stuff. please update before use. may be deprecated. |
18 | %define use_stable 1 | 18 | %define use_stable 1 |
19 | %define version 5.7p1 | 19 | %define version 5.8p1 |
20 | %if %{use_stable} | 20 | %if %{use_stable} |
21 | %define cvs %{nil} | 21 | %define cvs %{nil} |
22 | %define release 1 | 22 | %define release 1 |
@@ -363,4 +363,4 @@ fi | |||
363 | * Mon Jan 01 1998 ... | 363 | * Mon Jan 01 1998 ... |
364 | Template Version: 1.31 | 364 | Template Version: 1.31 |
365 | 365 | ||
366 | $Id: openssh.spec,v 1.73 2011/01/22 09:23:33 djm Exp $ | 366 | $Id: openssh.spec,v 1.73.4.1 2011/02/04 00:57:54 djm Exp $ |
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index 8fc76b625..e99e33d0f 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -1,4 +1,4 @@ | |||
1 | %define ver 5.7p1 | 1 | %define ver 5.8p1 |
2 | %define rel 1 | 2 | %define rel 1 |
3 | 3 | ||
4 | # OpenSSH privilege separation requires a user & group ID | 4 | # OpenSSH privilege separation requires a user & group ID |
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec index 4573c52fd..6afdcc4b4 100644 --- a/contrib/suse/openssh.spec +++ b/contrib/suse/openssh.spec | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation | 14 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation |
15 | Name: openssh | 15 | Name: openssh |
16 | Version: 5.7p1 | 16 | Version: 5.8p1 |
17 | URL: http://www.openssh.com/ | 17 | URL: http://www.openssh.com/ |
18 | Release: 1 | 18 | Release: 1 |
19 | Source0: openssh-%{version}.tar.gz | 19 | Source0: openssh-%{version}.tar.gz |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: key.c,v 1.95 2010/11/10 01:33:07 djm Exp $ */ | 1 | /* $OpenBSD: key.c,v 1.96 2011/02/04 00:44:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * read_bignum(): | 3 | * read_bignum(): |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1886,10 +1886,9 @@ key_certify(Key *k, Key *ca) | |||
1886 | buffer_put_cstring(&k->cert->certblob, key_ssh_name(k)); | 1886 | buffer_put_cstring(&k->cert->certblob, key_ssh_name(k)); |
1887 | 1887 | ||
1888 | /* -v01 certs put nonce first */ | 1888 | /* -v01 certs put nonce first */ |
1889 | if (!key_cert_is_legacy(k)) { | 1889 | arc4random_buf(&nonce, sizeof(nonce)); |
1890 | arc4random_buf(&nonce, sizeof(nonce)); | 1890 | if (!key_cert_is_legacy(k)) |
1891 | buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce)); | 1891 | buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce)); |
1892 | } | ||
1893 | 1892 | ||
1894 | switch (k->type) { | 1893 | switch (k->type) { |
1895 | case KEY_DSA_CERT_V00: | 1894 | case KEY_DSA_CERT_V00: |
@@ -69,4 +69,4 @@ SEE ALSO | |||
69 | Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer | 69 | Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer |
70 | Protocol, RFC 4419, 2006. | 70 | Protocol, RFC 4419, 2006. |
71 | 71 | ||
72 | OpenBSD 4.8 June 26, 2008 OpenBSD 4.8 | 72 | OpenBSD 4.9 June 26, 2008 OpenBSD 4.9 |
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c index 5b1cf402c..ede533fdd 100644 --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-linux.c,v 1.11 2011/01/17 07:50:24 dtucker Exp $ */ | 1 | /* $Id: port-linux.c,v 1.11.4.2 2011/02/04 00:43:08 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> | 4 | * Copyright (c) 2005 Daniel Walsh <dwalsh@redhat.com> |
@@ -205,6 +205,22 @@ ssh_selinux_change_context(const char *newname) | |||
205 | xfree(oldctx); | 205 | xfree(oldctx); |
206 | xfree(newctx); | 206 | xfree(newctx); |
207 | } | 207 | } |
208 | |||
209 | void | ||
210 | ssh_selinux_setfscreatecon(const char *path) | ||
211 | { | ||
212 | security_context_t context; | ||
213 | |||
214 | if (!ssh_selinux_enabled()) | ||
215 | return; | ||
216 | if (path == NULL) | ||
217 | setfscreatecon(NULL); | ||
218 | return; | ||
219 | } | ||
220 | if (matchpathcon(path, 0700, &context) == 0) | ||
221 | setfscreatecon(context); | ||
222 | } | ||
223 | |||
208 | #endif /* WITH_SELINUX */ | 224 | #endif /* WITH_SELINUX */ |
209 | 225 | ||
210 | #ifdef LINUX_OOM_ADJUST | 226 | #ifdef LINUX_OOM_ADJUST |
diff --git a/openbsd-compat/port-linux.h b/openbsd-compat/port-linux.h index 209d9a7a2..c2f618400 100644 --- a/openbsd-compat/port-linux.h +++ b/openbsd-compat/port-linux.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-linux.h,v 1.4 2009/12/08 02:39:48 dtucker Exp $ */ | 1 | /* $Id: port-linux.h,v 1.4.10.1 2011/02/04 00:42:21 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2006 Damien Miller <djm@openbsd.org> | 4 | * Copyright (c) 2006 Damien Miller <djm@openbsd.org> |
@@ -24,6 +24,7 @@ int ssh_selinux_enabled(void); | |||
24 | void ssh_selinux_setup_pty(char *, const char *); | 24 | void ssh_selinux_setup_pty(char *, const char *); |
25 | void ssh_selinux_setup_exec_context(char *); | 25 | void ssh_selinux_setup_exec_context(char *); |
26 | void ssh_selinux_change_context(const char *); | 26 | void ssh_selinux_change_context(const char *); |
27 | void ssh_selinux_setfscreatecon(const char *); | ||
27 | #endif | 28 | #endif |
28 | 29 | ||
29 | #ifdef LINUX_OOM_ADJUST | 30 | #ifdef LINUX_OOM_ADJUST |
@@ -153,4 +153,4 @@ AUTHORS | |||
153 | Timo Rinne <tri@iki.fi> | 153 | Timo Rinne <tri@iki.fi> |
154 | Tatu Ylonen <ylo@cs.hut.fi> | 154 | Tatu Ylonen <ylo@cs.hut.fi> |
155 | 155 | ||
156 | OpenBSD 4.8 December 9, 2010 OpenBSD 4.8 | 156 | OpenBSD 4.9 December 9, 2010 OpenBSD 4.9 |
diff --git a/sftp-server.0 b/sftp-server.0 index d8d91c5d5..b7d30ec09 100644 --- a/sftp-server.0 +++ b/sftp-server.0 | |||
@@ -61,4 +61,4 @@ HISTORY | |||
61 | AUTHORS | 61 | AUTHORS |
62 | Markus Friedl <markus@openbsd.org> | 62 | Markus Friedl <markus@openbsd.org> |
63 | 63 | ||
64 | OpenBSD 4.8 January 9, 2010 OpenBSD 4.8 | 64 | OpenBSD 4.9 January 9, 2010 OpenBSD 4.9 |
@@ -328,4 +328,4 @@ SEE ALSO | |||
328 | draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress | 328 | draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress |
329 | material. | 329 | material. |
330 | 330 | ||
331 | OpenBSD 4.8 December 4, 2010 OpenBSD 4.8 | 331 | OpenBSD 4.9 December 4, 2010 OpenBSD 4.9 |
@@ -112,4 +112,4 @@ AUTHORS | |||
112 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 112 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
113 | versions 1.5 and 2.0. | 113 | versions 1.5 and 2.0. |
114 | 114 | ||
115 | OpenBSD 4.8 October 28, 2010 OpenBSD 4.8 | 115 | OpenBSD 4.9 October 28, 2010 OpenBSD 4.9 |
diff --git a/ssh-agent.0 b/ssh-agent.0 index 7fe1560d3..c3de21b42 100644 --- a/ssh-agent.0 +++ b/ssh-agent.0 | |||
@@ -120,4 +120,4 @@ AUTHORS | |||
120 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 120 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
121 | versions 1.5 and 2.0. | 121 | versions 1.5 and 2.0. |
122 | 122 | ||
123 | OpenBSD 4.8 November 21, 2010 OpenBSD 4.8 | 123 | OpenBSD 4.9 November 21, 2010 OpenBSD 4.9 |
diff --git a/ssh-keygen.0 b/ssh-keygen.0 index e01ad16d9..a01b30db0 100644 --- a/ssh-keygen.0 +++ b/ssh-keygen.0 | |||
@@ -440,4 +440,4 @@ AUTHORS | |||
440 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 440 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
441 | versions 1.5 and 2.0. | 441 | versions 1.5 and 2.0. |
442 | 442 | ||
443 | OpenBSD 4.8 October 28, 2010 OpenBSD 4.8 | 443 | OpenBSD 4.9 October 28, 2010 OpenBSD 4.9 |
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0 index ba53bce81..4c3d2dbcc 100644 --- a/ssh-keyscan.0 +++ b/ssh-keyscan.0 | |||
@@ -106,4 +106,4 @@ BUGS | |||
106 | This is because it opens a connection to the ssh port, reads the public | 106 | This is because it opens a connection to the ssh port, reads the public |
107 | key, and drops the connection as soon as it gets the key. | 107 | key, and drops the connection as soon as it gets the key. |
108 | 108 | ||
109 | OpenBSD 4.8 August 31, 2010 OpenBSD 4.8 | 109 | OpenBSD 4.9 August 31, 2010 OpenBSD 4.9 |
diff --git a/ssh-keysign.0 b/ssh-keysign.0 index 9da4b2446..bff850f27 100644 --- a/ssh-keysign.0 +++ b/ssh-keysign.0 | |||
@@ -48,4 +48,4 @@ HISTORY | |||
48 | AUTHORS | 48 | AUTHORS |
49 | Markus Friedl <markus@openbsd.org> | 49 | Markus Friedl <markus@openbsd.org> |
50 | 50 | ||
51 | OpenBSD 4.8 August 31, 2010 OpenBSD 4.8 | 51 | OpenBSD 4.9 August 31, 2010 OpenBSD 4.9 |
diff --git a/ssh-pkcs11-helper.0 b/ssh-pkcs11-helper.0 index 664ec971f..22526781e 100644 --- a/ssh-pkcs11-helper.0 +++ b/ssh-pkcs11-helper.0 | |||
@@ -22,4 +22,4 @@ HISTORY | |||
22 | AUTHORS | 22 | AUTHORS |
23 | Markus Friedl <markus@openbsd.org> | 23 | Markus Friedl <markus@openbsd.org> |
24 | 24 | ||
25 | OpenBSD 4.8 February 10, 2010 OpenBSD 4.8 | 25 | OpenBSD 4.9 February 10, 2010 OpenBSD 4.9 |
diff --git a/ssh-rand-helper.0 b/ssh-rand-helper.0 index 5bc19e8a7..93d3554fc 100644 --- a/ssh-rand-helper.0 +++ b/ssh-rand-helper.0 | |||
@@ -48,4 +48,4 @@ AUTHORS | |||
48 | SEE ALSO | 48 | SEE ALSO |
49 | ssh(1), ssh-add(1), ssh-keygen(1), sshd(8) | 49 | ssh(1), ssh-add(1), ssh-keygen(1), sshd(8) |
50 | 50 | ||
51 | OpenBSD 4.8 April 14, 2002 OpenBSD 4.8 | 51 | OpenBSD 4.9 April 14, 2002 OpenBSD 4.9 |
@@ -895,4 +895,4 @@ AUTHORS | |||
895 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 895 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
896 | versions 1.5 and 2.0. | 896 | versions 1.5 and 2.0. |
897 | 897 | ||
898 | OpenBSD 4.8 November 18, 2010 OpenBSD 4.8 | 898 | OpenBSD 4.9 November 18, 2010 OpenBSD 4.9 |
@@ -852,15 +852,12 @@ main(int ac, char **av) | |||
852 | strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); | 852 | strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); |
853 | if (r > 0 && (size_t)r < sizeof(buf) && stat(buf, &st) < 0) { | 853 | if (r > 0 && (size_t)r < sizeof(buf) && stat(buf, &st) < 0) { |
854 | #ifdef WITH_SELINUX | 854 | #ifdef WITH_SELINUX |
855 | char *scon; | 855 | ssh_selinux_setfscreatecon(buf); |
856 | |||
857 | matchpathcon(buf, 0700, &scon); | ||
858 | setfscreatecon(scon); | ||
859 | #endif | 856 | #endif |
860 | if (mkdir(buf, 0700) < 0) | 857 | if (mkdir(buf, 0700) < 0) |
861 | error("Could not create directory '%.200s'.", buf); | 858 | error("Could not create directory '%.200s'.", buf); |
862 | #ifdef WITH_SELINUX | 859 | #ifdef WITH_SELINUX |
863 | setfscreatecon(NULL); | 860 | ssh_selinux_setfscreatecon(NULL); |
864 | #endif | 861 | #endif |
865 | } | 862 | } |
866 | /* load options.identity_files */ | 863 | /* load options.identity_files */ |
diff --git a/ssh_config.0 b/ssh_config.0 index 71233b49b..c4a12f7bb 100644 --- a/ssh_config.0 +++ b/ssh_config.0 | |||
@@ -741,4 +741,4 @@ AUTHORS | |||
741 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 741 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
742 | versions 1.5 and 2.0. | 742 | versions 1.5 and 2.0. |
743 | 743 | ||
744 | OpenBSD 4.8 December 8, 2010 OpenBSD 4.8 | 744 | OpenBSD 4.9 December 8, 2010 OpenBSD 4.9 |
@@ -631,4 +631,4 @@ CAVEATS | |||
631 | System security is not improved unless rshd, rlogind, and rexecd are | 631 | System security is not improved unless rshd, rlogind, and rexecd are |
632 | disabled (thus completely disabling rlogin and rsh into the machine). | 632 | disabled (thus completely disabling rlogin and rsh into the machine). |
633 | 633 | ||
634 | OpenBSD 4.8 October 28, 2010 OpenBSD 4.8 | 634 | OpenBSD 4.9 October 28, 2010 OpenBSD 4.9 |
diff --git a/sshd_config.0 b/sshd_config.0 index 669d29a06..ab0d79be6 100644 --- a/sshd_config.0 +++ b/sshd_config.0 | |||
@@ -710,4 +710,4 @@ AUTHORS | |||
710 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support | 710 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support |
711 | for privilege separation. | 711 | for privilege separation. |
712 | 712 | ||
713 | OpenBSD 4.8 December 8, 2010 OpenBSD 4.8 | 713 | OpenBSD 4.9 December 8, 2010 OpenBSD 4.9 |
@@ -1,6 +1,6 @@ | |||
1 | /* $OpenBSD: version.h,v 1.60 2011/01/22 09:18:53 djm Exp $ */ | 1 | /* $OpenBSD: version.h,v 1.61 2011/02/04 00:44:43 djm Exp $ */ |
2 | 2 | ||
3 | #define SSH_VERSION "OpenSSH_5.7" | 3 | #define SSH_VERSION "OpenSSH_5.8" |
4 | 4 | ||
5 | #define SSH_PORTABLE "p1" | 5 | #define SSH_PORTABLE "p1" |
6 | #define SSH_RELEASE SSH_VERSION SSH_PORTABLE | 6 | #define SSH_RELEASE SSH_VERSION SSH_PORTABLE |