Displaying 4 results from an estimated 4 matches for "tcpwinsz".
2004 Jul 07
3
DynamicWindow Patch
...;remote_id = -1;
c->remote_name = xstrdup(remote_name);
c->remote_window = 0;
@@ -1520,14 +1521,26 @@
!(c->flags & (CHAN_CLOSE_SENT|CHAN_CLOSE_RCVD)) &&
c->local_window < c->local_window_max/2 &&
c->local_consumed > 0) {
+ u_int32_t tcpwinsz = 0;
+ socklen_t optsz = sizeof(tcpwinsz);
+ int ret = -1;
+ u_int32_t addition = 0;
+ if (c->dynamic_window)
+ ret = getsockopt(packet_get_connection_in(),
+ SOL_SOCKET, SO_RCVBUF, &tcpwinsz, &optsz);
+ if (c->dynamic_window && (ret == 0) &&
+ (tcpwin...
2004 Jul 14
1
New dynamic window patch (with limits)
...UFSZ;
if (c->istate == CHAN_INPUT_OPEN &&
limit > 0 &&
@@ -1488,14 +1493,29 @@
!(c->flags & (CHAN_CLOSE_SENT|CHAN_CLOSE_RCVD)) &&
c->local_window < c->local_window_max/2 &&
c->local_consumed > 0) {
+ u_int32_t tcpwinsz = 0;
+ socklen_t optsz = sizeof(tcpwinsz);
+ int ret = -1;
+ u_int32_t addition = 0;
+ if (c->dynamic_window) {
+ ret = getsockopt(packet_get_connection_in(),
+ SOL_SOCKET, SO_RCVBUF, &tcpwinsz, &optsz);
+ if ((ret == 0) && tcpwinsz/2 > MAXBUFSZ)
+ tcpwinsz = M...
2015 Sep 14
6
[Bug 2467] New: point-to-point Tunnel doen't work since 6.8
https://bugzilla.mindrot.org/show_bug.cgi?id=2467
Bug ID: 2467
Summary: point-to-point Tunnel doen't work since 6.8
Product: Portable OpenSSH
Version: 7.1p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2006 Nov 22
10
[Bug 1264] Channel not close by sshd Server
..._channel: session 0 channel 0 debug1:
session_input_channel_req: session 0 req shell debug1: audit run
command euid 0 user root command '/sbin/sh' debug1: PAM: establishing
credentials debug2: fd 13 setting O_NONBLOCK debug2: fd 12 setting
O_NONBLOCK debug2: fd 15 setting O_NONBLOCK debug2: tcpwinsz: 32768 for
connection: 4 debug2: channel 0: read 461 from efd 15 debug2: channel
0: rwin 32768 elen 461 euse 1 debug2: channel 0: sent ext data 461
debug2: channel 0: read 44 from efd 15 debug2: channel 0: rwin 32307
elen 44 euse 1 debug2: channel 0: sent ext data 44 debug2: channel 0:
read 25 from...