search for: ssh2_msg_channel_window_adjust

Displaying 8 results from an estimated 8 matches for "ssh2_msg_channel_window_adjust".

2001 Nov 07
2
No subject
Hello , OpenSSH gurus I am writing an SSH server but I have some problems when testing with your client - I do not recieve any window adjustments. The situation is something like this - I am exchanging data and sending window adjust after every packet, but do not get any window adjust packets. I tried to lookup the place in the source - OpenSSH-2.92p2 - but didn't find it. Can you help me - I
2003 Dec 16
1
[Bug 773] OpenSSH hangs or silently exits on write failure on stdout/stderr
...no longer open, and simply return. This means it won't update c->local_window. It also won't call channel_handle_wfd, which would in any case return directly, which means that c->local_consumed won't be updated either. This means that channel_check_window won't ever send a SSH2_MSG_CHANNEL_WINDOW_ADJUST message, and eventually the server will stop sending and wait for the client to catch up, which will never happen. I could reproduce this easily on Linux by doing ssh localhost dd if=/dev/zero bs=1024 count=256 > /dev/full to see the hang, and ssh localhost dd if=/dev/zero bs=1024 count=1 &g...
2004 Jul 14
1
New dynamic window patch (with limits)
...&& tcpwinsz/2 > MAXBUFSZ) + tcpwinsz = MAXBUFSZ/2; + } + if (c->dynamic_window && (ret == 0) && + (2*tcpwinsz > c->local_window_max)) { + addition = 2 * tcpwinsz - c->local_window_max; + c->local_window_max += addition; + } packet_start(SSH2_MSG_CHANNEL_WINDOW_ADJUST); packet_put_int(c->remote_id); - packet_put_int(c->local_consumed); + packet_put_int(c->local_consumed + addition); packet_send(); debug2("channel %d: window %d sent adjust %d", c->self, c->local_window, c->local_consumed); - c->local_window...
2005 Feb 24
7
Question performnace of SSH v1 vs SSH v2
Hello I have ported OpenSSH 3.8p1 to a LynxOS platform. Recently I heard a report from the field that v2 is perceived to be significantly slower than v1. Is this a known issue? Are there any configuration parameters that can be modified to make v2 faster? Thanks in advance for your response Amba
2004 Jul 07
3
DynamicWindow Patch
...connection_in(), + SOL_SOCKET, SO_RCVBUF, &tcpwinsz, &optsz); + if (c->dynamic_window && (ret == 0) && + (tcpwinsz > c->local_window_max)) { + addition = 2 * tcpwinsz - c->local_window_max; + c->local_window_max += addition; + } packet_start(SSH2_MSG_CHANNEL_WINDOW_ADJUST); packet_put_int(c->remote_id); - packet_put_int(c->local_consumed); + packet_put_int(c->local_consumed + addition); packet_send(); debug2("channel %d: window %d sent adjust %d", c->self, c->local_window, c->local_consumed); - c->local_window...
2001 Feb 10
3
Protocol 2 remote forwarding patch
...forwarding disabled in server configuration."); xfree(target); xfree(originator); return -1; @@ -836,6 +838,7 @@ dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure); dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &channel_input_channel_request); dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust); + dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &channel_server_global_request); } void server_init_dispatch_13() diff -ru openssh.orig/ssh.c openssh/ssh.c --- openssh.orig/ssh.c Tue Dec 5 20:11:58 2000 +++ openssh/ssh.c Fri Feb 9 23:27:08 2001 @@ -851,7 +851,7...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...LE_FORWARDING */ + sock = channel_connect_to(target, target_port); xfree(target); xfree(originator); @@ -819,6 +830,7 @@ dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure); dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &channel_input_channel_request); dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust); + dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &channel_server_global_request); } void server_init_dispatch_13() @@ -833,7 +845,7 @@ dispatch_set(SSH_MSG_CHANNEL_DATA, &channel_input_data); dispatch_set(SSH_MSG_CHANNEL_OPEN_CONFIRMATION, &channel_inpu...
2001 Oct 24
2
disable features
...*ctxt) { @@ -953,6 +958,7 @@ } xfree(rtype); } +#endif static void server_init_dispatch_20(void) @@ -968,7 +974,9 @@ dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure); dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &channel_input_channel_request); dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust); +#ifdef WITH_TCPFWD dispatch_set(SSH2_MSG_GLOBAL_REQUEST, &server_input_global_request); +#endif /* client_alive */ dispatch_set(SSH2_MSG_CHANNEL_FAILURE, &server_input_channel_failure); /* rekeying */ @@ -982,12 +990,16 @@ dispatch_set(SSH_CMSG...