Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 21:49:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206716] HPN-SSH: getsockopt(SO_SNDBUF) returns high watermark, not setsockopt(SO_SNDBUF)
Message-ID:  <bug-206716-8-HPdsw9QrBm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206716-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206716-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206716

--- Comment #5 from Chris Stankevitz <chris-freebsd-bugs@stankevitz.com> ---
(In reply to timon from comment #4)

Thank you.  I modified the example to increase the buffer size (vs. decrease)
and I see the same thing.  It must be that the conclusions reached in this
discussion are wrong:

== begin quote of [1] ==

So, I looked at what getsockopt SO_RCVBUF returns, and it returns: 
                case SO_RCVBUF: 
                        optval = so->so_rcv.sb_hiwat; 

Which is NOT S-BMAX, so it looks like OpenSSH only ever gets 66052 bytes 
for the buffer... 

If it's decided to base it's waiting for ack on SO_RCVBUF, then this 
is probably where the issue is... 

== end quote of [1] ===

So it sounds like this bug should be closed/worksforme.

Chris

[1]
http://freebsd.1045724.n5.nabble.com/ssh-over-WAN-TCP-window-too-small-tp6035112p6035301.html

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206716-8-HPdsw9QrBm>