Displaying 9 results from an estimated 9 matches for "ssh_channel_x11_open".
2000 Jan 07
2
possible clue on tcp forwarding problems
When I encounter the problem with TCP port forwarding locking up, I'll
see this on the client window (if I haven't invoked ssh with -q):
chan_shutdown_read failed for #1/fd6: Transport endpoint is not connected
chan_shutdown_read failed for #1/fd6: Transport endpoint is not connected
This is with Blowfish encryption. I have to kill and restart the client
when this happens.
Phil
2001 Jul 02
1
Forwarding race resulting in lost data in openssh-2.9p2
...return 0;
}
-------------- next part --------------
--- channels.c.orig	Wed Jun 13 21:18:05 2001
+++ channels.c	Mon Jul  2 19:00:09 2001
@@ -1302,7 +1302,8 @@
 
 	/* Ignore any data for non-open channels (might happen on close) */
 	if (c->type != SSH_CHANNEL_OPEN &&
-	    c->type != SSH_CHANNEL_X11_OPEN)
+	    c->type != SSH_CHANNEL_X11_OPEN &&
+		c->type != SSH_CHANNEL_CONNECTING)
 		return;
 
 	/* same for protocol 1.5 if output end is no longer open */
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...e SSH_CHANNEL_X11_LISTENER:
 		case SSH_CHANNEL_PORT_LISTENER:
 		case SSH_CHANNEL_RPORT_LISTENER:
@@ -635,6 +639,7 @@ channel_open_message(void)
 		case SSH_CHANNEL_OPENING:
 		case SSH_CHANNEL_CONNECTING:
 		case SSH_CHANNEL_DYNAMIC:
+		case SSH_CHANNEL_RDYNAMIC:
 		case SSH_CHANNEL_OPEN:
 		case SSH_CHANNEL_X11_OPEN:
 		case SSH_CHANNEL_INPUT_DRAINING:
@@ -1033,14 +1038,23 @@ channel_decode_socks4(Channel *c, fd_set *readset, fd_set *writeset)
 		u_int16_t dest_port;
 		struct in_addr dest_addr;
 	} s4_req, s4_rsp;
+	Buffer *input, *output;
+
+	if (c->type == SSH_CHANNEL_RDYNAMIC) {
+		input = &c->ou...
2001 Oct 24
2
disable features
...tic void
 channel_post_output_drain_13(Channel *c, fd_set * readset, fd_set * writeset)
 {
@@ -1437,67 +1463,118 @@
 			buffer_consume(&c->output, len);
 	}
 }
+#endif
 
 static void
 channel_handler_init_20(void)
 {
 	channel_pre[SSH_CHANNEL_OPEN] =			&channel_pre_open_20;
-	channel_pre[SSH_CHANNEL_X11_OPEN] =		&channel_pre_x11_open;
+#ifdef WITH_TCPFWD
 	channel_pre[SSH_CHANNEL_PORT_LISTENER] =	&channel_pre_listener;
 	channel_pre[SSH_CHANNEL_RPORT_LISTENER] =	&channel_pre_listener;
-	channel_pre[SSH_CHANNEL_X11_LISTENER] =		&channel_pre_listener;
-	channel_pre[SSH_CHANNEL_AUTH_SOCKET...
2001 Apr 05
1
bug in channel_still_open() ?
...case SSH_CHANNEL_LARVAL:
                        if (!compat20)
                                fatal("cannot happen: SSH_CHANNEL_LARVAL");
-                       continue;
                case SSH_CHANNEL_OPENING:
                case SSH_CHANNEL_OPEN:
                case SSH_CHANNEL_X11_OPEN:
(That is, remove the "continue" statement.)
I'm not 100% sure this is the right fix, though; I'm going to post to the
OpenSSH developers list and see what they say.
--
  Richard Silverman
  slade at shore.net
====================================================================...
2001 Feb 10
3
Protocol 2 remote forwarding patch
...uot;forwarded-tcpip");
+			else
+				packet_put_cstring("direct-tcpip");
 			packet_put_int(newch);
 			packet_put_int(c->local_window_max);
 			packet_put_int(c->local_maxpacket);
@@ -820,10 +826,12 @@
 	channel_pre[SSH_CHANNEL_OPEN] =			&channel_pre_open_20;
 	channel_pre[SSH_CHANNEL_X11_OPEN] =		&channel_pre_x11_open;
 	channel_pre[SSH_CHANNEL_PORT_LISTENER] =	&channel_pre_listener;
+	channel_pre[SSH2_CHANNEL_PORT_LISTENER] =	&channel_pre_listener;
 	channel_pre[SSH_CHANNEL_X11_LISTENER] =		&channel_pre_listener;
 
 	channel_post[SSH_CHANNEL_OPEN] =		&channel_post_o...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...uot;forwarded-tcpip");
+			else
+				packet_put_cstring("direct-tcpip");
 			packet_put_int(newch);
 			packet_put_int(c->local_window_max);
 			packet_put_int(c->local_maxpacket);
@@ -786,10 +799,12 @@
 	channel_pre[SSH_CHANNEL_OPEN] =			&channel_pre_open_20;
 	channel_pre[SSH_CHANNEL_X11_OPEN] =		&channel_pre_x11_open;
 	channel_pre[SSH_CHANNEL_PORT_LISTENER] =	&channel_pre_listener;
+	channel_pre[SSH2_CHANNEL_PORT_LISTENER] =	&channel_pre_listener;
 	channel_pre[SSH_CHANNEL_X11_LISTENER] =		&channel_pre_listener;
 
 	channel_post[SSH_CHANNEL_OPEN] =		&channel_post_o...
2001 May 04
19
SSH connection hanging on logout
I am running OpenSSH 2.9p1 on SunOS 5.7 w/4-24-2001 patch cluster.
Like many other users I am seeing the hanging session on logout
with background processes.  This is a huge problem for me as 
I centrally manage 50+ machines with rdist across ssh.  
Instead of just complaining about the problem I thought I would 
put my CS degree to use and try to track down the problem myself.  
For starters,
2010 Jan 14
1
ssh(1) multiplexing rewrite
...case SSH_CHANNEL_PORT_LISTENER:
 		case SSH_CHANNEL_RPORT_LISTENER:
+		case SSH_CHANNEL_MUX_LISTENER:
 		case SSH_CHANNEL_CLOSED:
 		case SSH_CHANNEL_AUTH_SOCKET:
 		case SSH_CHANNEL_DYNAMIC:
@@ -531,6 +531,7 @@ channel_still_open(void)
 		case SSH_CHANNEL_OPENING:
 		case SSH_CHANNEL_OPEN:
 		case SSH_CHANNEL_X11_OPEN:
+		case SSH_CHANNEL_MUX_CLIENT:
 			return 1;
 		case SSH_CHANNEL_INPUT_DRAINING:
 		case SSH_CHANNEL_OUTPUT_DRAINING:
@@ -562,6 +563,8 @@ channel_find_open(void)
 		case SSH_CHANNEL_X11_LISTENER:
 		case SSH_CHANNEL_PORT_LISTENER:
 		case SSH_CHANNEL_RPORT_LISTENER:
+		case SSH_CHANNEL_MUX_LISTEN...