Displaying 2 results from an estimated 2 matches for "deny_input_open".
2001 Oct 26
2
Patch to add "warn" value to ForwardX11 and ForwardAgent
...egedPort:
intptr = &options->use_privileged_port;
--- clientloop.c.O Fri Oct 26 11:47:19 2001
+++ clientloop.c Fri Oct 26 13:32:26 2001
@@ -1234,6 +1234,40 @@
}
xfree(rtype);
}
+static void
+client_input_agent_open(int type, int plen, void *ctxt)
+{
+ if (!options.forward_agent) {
+ deny_input_open(type, plen, ctxt);
+ return;
+ }
+ if (options.forward_agent == 2) {
+ error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
+ error("@ ssh WARNING: received agent open request from the server. @");
+ error("@ If you did not initiate...
2001 Oct 24
2
disable features
...US, &client_input_exit_status);
dispatch_set(SSH_SMSG_STDERR_DATA, &client_input_stderr_data);
dispatch_set(SSH_SMSG_STDOUT_DATA, &client_input_stdout_data);
+#ifdef WITH_AGENTFWD
dispatch_set(SSH_SMSG_AGENT_OPEN, options.forward_agent ?
&auth_input_open_request : &deny_input_open);
+#endif
+#ifdef WITH_X11FWD
dispatch_set(SSH_SMSG_X11_OPEN, options.forward_x11 ?
&x11_input_open : &deny_input_open);
+#endif
}
static void
client_init_dispatch_15(void)
Index: compress.c
===================================================================
RCS file: /home/marku...