[Bug 556] TCP_NODELAY not set completely for port forwarding

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed May 7 23:31:21 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=556

           Summary: TCP_NODELAY not set completely for port forwarding
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: briang at oasisadvancedengineering.com


When port forwarding is set up, TCP_NODELAY is set on the ports, in order to prevent buffering.  This flag is not set in the actual SSH connection.  This causes data that flows from the server to the client to be buffered, causing a bursing effect.  

The solution is to add set_nodelay(newsock) after the accept call in the main function.  This solves the problem, but requires TCP_NODELAY to be set on all connections, regardless of port forwards.



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




More information about the openssh-unix-dev mailing list