bugzilla-daemon at bugzilla.mindrot.org
2010-Aug-08 18:46 UTC
[Bug 1805] New: consumption of file descriptors using a port forwarding channel
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.
bugzilla-daemon at bugzilla.mindrot.org
2010-Oct-12 03:24 UTC
[Bug 1805] consumption of file descriptors using a port forwarding channel
https://bugzilla.mindrot.org/show_bug.cgi?id=1805
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2010-10-12 14:24:57
EST ---
Hi,
I can't replicate this on OpenBSD or Ubuntu running OpenSSH 5.6. My
tests used netcat instead of wget and your unspecified webserver. Could
you please try to recreate problem using netcat or similar? It might be
possible that you webserver is getting stuck and holding connections
open.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-06 01:39 UTC
[Bug 1805] consumption of file descriptors using a port forwarding channel
https://bugzilla.mindrot.org/show_bug.cgi?id=1805
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-05-06 11:39:01
EST ---
We can't reproduce this bug, so I will close it. Please reopen if you
have additional information.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 05:33 UTC
[Bug 1805] consumption of file descriptors using a port forwarding channel
https://bugzilla.mindrot.org/show_bug.cgi?id=1805
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2011-09-06 15:33:10
EST ---
close resolved bugs now that openssh-5.9 has been released
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Maybe Matching Threads
- Using Access Control Lists with SMB2/SMB3 Mounts on Linux Clients
- NFS Selinux issues
- Using Access Control Lists with SMB2/SMB3 Mounts on Linux Clients
- [Bug 1804] New: ssh option -R 127.0.0.2:10443:<dest ip>:443 does not work
- [Bug 1651] New: Possible race condition using local port forwarding with short lived connections