diff options
author | Simon Wilkinson <simon@sxw.org.uk> | 2014-02-09 16:09:48 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-03-29 01:38:38 +0100 |
commit | d51c7ac3328464dec21514fb398ab5c140a0664f (patch) | |
tree | 4f1a2aa08e99303f62c71cba0b38899f050d1b3d /configure.ac | |
parent | 6fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 (diff) |
GSSAPI key exchange support
This patch has been rejected upstream: "None of the OpenSSH developers are
in favour of adding this, and this situation has not changed for several
years. This is not a slight on Simon's patch, which is of fine quality, but
just that a) we don't trust GSSAPI implementations that much and b) we don't
like adding new KEX since they are pre-auth attack surface. This one is
particularly scary, since it requires hooks out to typically root-owned
system resources."
However, quite a lot of people rely on this in Debian, and it's better to
have it merged into the main openssh package rather than having separate
-krb5 packages (as we used to have). It seems to have a generally good
security history.
Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1242
Last-Updated: 2017-01-16
Patch-Name: gssapi.patch
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c2878e3d4..ead34acf5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -623,6 +623,30 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
623 | [Use tunnel device compatibility to OpenBSD]) | 623 | [Use tunnel device compatibility to OpenBSD]) |
624 | AC_DEFINE([SSH_TUN_PREPEND_AF], [1], | 624 | AC_DEFINE([SSH_TUN_PREPEND_AF], [1], |
625 | [Prepend the address family to IP tunnel traffic]) | 625 | [Prepend the address family to IP tunnel traffic]) |
626 | AC_MSG_CHECKING([if we have the Security Authorization Session API]) | ||
627 | AC_TRY_COMPILE([#include <Security/AuthSession.h>], | ||
628 | [SessionCreate(0, 0);], | ||
629 | [ac_cv_use_security_session_api="yes" | ||
630 | AC_DEFINE([USE_SECURITY_SESSION_API], [1], | ||
631 | [platform has the Security Authorization Session API]) | ||
632 | LIBS="$LIBS -framework Security" | ||
633 | AC_MSG_RESULT([yes])], | ||
634 | [ac_cv_use_security_session_api="no" | ||
635 | AC_MSG_RESULT([no])]) | ||
636 | AC_MSG_CHECKING([if we have an in-memory credentials cache]) | ||
637 | AC_TRY_COMPILE( | ||
638 | [#include <Kerberos/Kerberos.h>], | ||
639 | [cc_context_t c; | ||
640 | (void) cc_initialize (&c, 0, NULL, NULL);], | ||
641 | [AC_DEFINE([USE_CCAPI], [1], | ||
642 | [platform uses an in-memory credentials cache]) | ||
643 | LIBS="$LIBS -framework Security" | ||
644 | AC_MSG_RESULT([yes]) | ||
645 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
646 | AC_MSG_ERROR([*** Need a security framework to use the credentials cache API ***]) | ||
647 | fi], | ||
648 | [AC_MSG_RESULT([no])] | ||
649 | ) | ||
626 | m4_pattern_allow([AU_IPv]) | 650 | m4_pattern_allow([AU_IPv]) |
627 | AC_CHECK_DECL([AU_IPv4], [], | 651 | AC_CHECK_DECL([AU_IPv4], [], |
628 | AC_DEFINE([AU_IPv4], [0], [System only supports IPv4 audit records]) | 652 | AC_DEFINE([AU_IPv4], [0], [System only supports IPv4 audit records]) |