diff options
author | jp161948 <none@none> | 2008-04-08 06:48:11 -0700 |
---|---|---|
committer | jp161948 <none@none> | 2008-04-08 06:48:11 -0700 |
commit | dbe3f931a78f2d36a72003f6b51bf1fdc3aa035e (patch) | |
tree | a40b53ffde85b2649e94036d96231754a98d12dd /usr/src/cmd/ssh/include | |
parent | 8042ac43e2378c55e9493024bfb03652e5f7a761 (diff) | |
download | illumos-joyent-dbe3f931a78f2d36a72003f6b51bf1fdc3aa035e.tar.gz |
6679747 ssh disconnects with error if rc4, 3des or blowfish is used and default RekeyLimit is reached
Diffstat (limited to 'usr/src/cmd/ssh/include')
-rw-r--r-- | usr/src/cmd/ssh/include/altprivsep.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/cmd/ssh/include/altprivsep.h b/usr/src/cmd/ssh/include/altprivsep.h index fbb7ca9910..aa2d32417e 100644 --- a/usr/src/cmd/ssh/include/altprivsep.h +++ b/usr/src/cmd/ssh/include/altprivsep.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,7 +18,7 @@ * * CDDL HEADER END * - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -40,6 +39,7 @@ extern "C" { #define APS_MSG_NEWKEYS_REP 1 #define APS_MSG_RECORD_LOGIN 2 #define APS_MSG_RECORD_LOGOUT 3 +#define APS_MSG_START_REKEX 4 pid_t altprivsep_start_monitor(Authctxt *authctxt); @@ -55,10 +55,11 @@ void altprivsep_rekey(int type, u_int32_t seq, void *ctxt); void altprivsep_shutdown_sock(void *arg); /* Calls _to_ monitor from unprivileged process */ -void altprivsep_process_input(Kex *kex, fd_set *rset); +void altprivsep_process_input(fd_set *rset); void altprivsep_get_newkeys(enum kex_modes mode); void altprivsep_record_login(pid_t pid, const char *ttyname); void altprivsep_record_logout(pid_t pid); +void altprivsep_start_rekex(void); /* Functions for use in the monitor */ void aps_input_altpriv_msg(int type, u_int32_t seq, void *ctxt); |