[Bug 1805] New: consumption of file descriptors using a port forwarding channel

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Aug 9 04:46:22 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1805

           Summary: consumption of file descriptors using a port
                    forwarding channel
           Product: Portable OpenSSH
           Version: 5.5p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: Walter.Pfannenmueller at siemens.com


Created attachment 1910
  --> https://bugzilla.mindrot.org/attachment.cgi?id=1910
sshd debug and system strace

This was tested on a Suse Linux 11.2

Establishing a port forwarding channel 

ssh -N -R 11001:<clienthost>:443 -o TCPKeepAlive=yes target

and using the channel with 
wget -q --no-check-certificate https://127.0.0.1:11001/

many, many times. 
Every now and then a fd isn't freed again.
In the attachement there is the sshd debug output and
a strace to show that the number of supervised fds in the select call
increase.

The traces are quit big, but not to the bitter end (exhaustion of all
fds).

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list