search for: packet_get_maxsize

Displaying 6 results from an estimated 6 matches for "packet_get_maxsize".

2004 Jul 13
1
channel->input buffer bug and patch
...channels.c --- openssh-3.8.1p1/channels.c 2004-01-20 19:02:09.000000000 -0500 +++ openssh-3.8.1p1-bugfix/channels.c 2004-07-13 09:37:20.000000000 -0400 @@ -702,6 +702,8 @@ channel_pre_open(Channel *c, fd_set * readset, fd_set * writeset) { u_int limit = compat20 ? c->remote_window : packet_get_maxsize(); + if (limit > 0x10000) + limit = 0x10000; if (c->istate == CHAN_INPUT_OPEN && limit > 0 && Common subdirectories: openssh-3.8.1p1/contrib and openssh-3.8.1p1-bugfix/contrib Common subdirectories: openssh-3.8.1p1/openbsd-compat an...
2007 Nov 13
1
Help with openssh: ssh application writing data > 131071 to socket causing message too long error
...)) { if (len > 1024) len = 512; } else { /* Keep the packets at reasonable size. */ if (len > packet_get_maxsize()/ 2) len = packet_get_maxsize()/2; } } if (len > 0) { packet_start(compat20 ? SSH2_MSG_CHANNEL_DATA : SSH_MSG_CHANNEL_DAT...
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
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
...warning workaround in UPGRADING - Use last few chars of tty line as ut_id - New SuSE RPM spec file from Chris Saia <csaia at wtower.com> - OpenBSD CVS updates: - [packet.h auth-rhosts.c] check format string for packet_disconnect and packet_send_debug, too - [channels.c] use packet_get_maxsize for channels. consistence. 19991226 - Fixed implicit '.' in default path, report from Jim Knoble <jmknoble at pobox.com> - Redhat RPM spec fixes from Jim Knoble <jmknoble at pobox.com> Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world or...
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
...warning workaround in UPGRADING - Use last few chars of tty line as ut_id - New SuSE RPM spec file from Chris Saia <csaia at wtower.com> - OpenBSD CVS updates: - [packet.h auth-rhosts.c] check format string for packet_disconnect and packet_send_debug, too - [channels.c] use packet_get_maxsize for channels. consistence. 19991226 - Fixed implicit '.' in default path, report from Jim Knoble <jmknoble at pobox.com> - Redhat RPM spec fixes from Jim Knoble <jmknoble at pobox.com> Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world or...
2004 Jul 14
1
New dynamic window patch (with limits)
...; c->local_maxpacket = maxpack; + c->dynamic_window = 0; c->remote_id = -1; c->remote_name = xstrdup(remote_name); c->remote_window = 0; @@ -702,6 +703,10 @@ channel_pre_open(Channel *c, fd_set * readset, fd_set * writeset) { u_int limit = compat20 ? c->remote_window : packet_get_maxsize(); + if (!c->input.unlimited && limit > 0x10000) + limit = 0x10000; + else if (c->input.unlimited && limit > MAXBUFSZ) + limit = MAXBUFSZ; if (c->istate == CHAN_INPUT_OPEN && limit > 0 && @@ -1488,14 +1493,29 @@ !(c->flags &amp...