Displaying 6 results from an estimated 6 matches for "dispatch_init".
2001 Jul 22
1
[patch] ignore SSH2_MSG_IGNORE packets
Hi,
protocolkeepalives sends ssh_msg_ignore, which the ssh2 server handles
incorrectly (i.e. it produces some output to syslog, instead of
ignoring the packet):
Jul 9 11:58:07 ren sshd[16580]: error: Hm, dispatch protocol error:
type 32 plen 4
This patch implements a highly advanced function to ignore these
packets ;)
Matthew
-------------- next part --------------
An embedded and
2002 Apr 26
0
PAM keyboard-interactive
...2002 01:03:17 -0000
@@ -119,8 +119,6 @@
/* challenge-response is implemented via keyboard interactive */
if (options.challenge_response_authentication)
options.kbd_interactive_authentication = 1;
- if (options.pam_authentication_via_kbd_int)
- options.kbd_interactive_authentication = 1;
dispatch_init(&dispatch_protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
@@ -370,10 +368,6 @@
if (options.challenge_response_authentication)
authenticated = auth2_challenge(authctxt, devs);
-#ifdef USE_PAM
- if (authenticated == 0 && options.pam_authenticat...
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...ame[40] = "unknown";
+
x_authctxt = authctxt; /*XXX*/
+
/* challenge-response is implemented via keyboard interactive
*/
if (options.challenge_response_authentication)
options.kbd_interactive_authentication = 1;
@@ -125,7 +150,7 @@
dispatch_init(&dispatch_protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST,
&input_service_request);
dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt);
- - do_authenticated(authctxt);
+ do_authenticated(authctxt, realname);
}
static void
@@ -403,6 +428,1...
2001 Oct 24
2
disable features
...c = client_request_x11(ctype, rchan);
+#endif
} else if (strcmp(ctype, "auth-agent at openssh.com") == 0) {
+#ifdef WITH_AGENTFWD
c = client_request_agent(ctype, rchan);
+#endif
}
/* XXX duplicate : */
if (c != NULL) {
@@ -1256,20 +1268,28 @@
client_init_dispatch_13(void)
{
dispatch_init(NULL);
+#ifdef WITH_PROTO13
dispatch_set(SSH_MSG_CHANNEL_CLOSE, &channel_input_close);
dispatch_set(SSH_MSG_CHANNEL_CLOSE_CONFIRMATION, &channel_input_close_confirmation);
+#endif
dispatch_set(SSH_MSG_CHANNEL_DATA, &channel_input_data);
dispatch_set(SSH_MSG_CHANNEL_OPEN_CONFIRMA...
2002 Jul 02
3
New PAM kbd-int diff
...implemented via keyboard interactive */
if (options.challenge_response_authentication)
options.kbd_interactive_authentication = 1;
- if (options.pam_authentication_via_kbd_int)
- options.kbd_interactive_authentication = 1;
- if (use_privsep)
- options.pam_authentication_via_kbd_int = 0;
dispatch_init(&dispatch_protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
Index: monitor.c
===================================================================
RCS file: /var/cvs/openssh/monitor.c,v
retrieving revision 1.22
diff -u -r1.22 monitor.c
--- monitor.c 27 Jun 200...
2002 Jun 25
4
PAM kbd-int with privsep
...implemented via keyboard interactive */
if (options.challenge_response_authentication)
options.kbd_interactive_authentication = 1;
- if (options.pam_authentication_via_kbd_int)
- options.kbd_interactive_authentication = 1;
- if (use_privsep)
- options.pam_authentication_via_kbd_int = 0;
dispatch_init(&dispatch_protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
Index: monitor.c
===================================================================
RCS file: /var/cvs/openssh/monitor.c,v
retrieving revision 1.19
diff -u -r1.19 monitor.c
--- monitor.c 23 Jun 200...