[Bug 206716] HPN-SSH: getsockopt(SO_SNDBUF) returns high watermark, not setsockopt(SO_SNDBUF)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 28 21:49:07 UTC 2016


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

--- Comment #5 from Chris Stankevitz <chris-freebsd-bugs at 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 on the CC list for the bug.


More information about the freebsd-amd64 mailing list