Bug 1332

Summary: Add ability to set TCP rcvbuf size
Product: Portable OpenSSH Reporter: Iain Morgan <imorgan>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement CC: djm
Priority: P2    
Version: -current   
Hardware: All   
OS: All   
Attachments:
Description Flags
This adds a ReceiveBufferSize option to ssh(1) none

Description Iain Morgan 2007-07-06 07:32:10 AEST
Created attachment 1320 [details]
This adds a ReceiveBufferSize option to ssh(1)

For high-BDP connections, it may be necessary to increase the size of
the TCP rcvbuf in order to get good performance. In some cases, this 
can be accomplished by adjusting a kernel setting or using an autotuning
kernel. However, these are not always viable options.

In some cases the TCP rcvbuf must be set to multiple megabytes in order
to accomodate high-latency connections. It's not always practical or
desirable to do this for all connections. And autotuning support assumes
that a recent Linux kernel or a custom-built kernel is being used, which
is not always the case.

To address the case where it is not practical to increase the system's
default rcvbuf size or use an autotuning kernel, it would be helpful
if ssh could adjust the size on a per connection bases.