Description of problem: 500 OOPS: vsf_sysutil_bind while passive port occupied by other app like nc Version-Release number of selected component (if applicable): vsftpd-2.0.5-24.el5_8.1 How reproducible: always Steps to Reproduce: 1. run /CoreOS/vsftpd/Sanity/500-OOPS-vsf_sysutil_bind-while-passive-port-occupied 2. 3. Actual results: ftp> ls 500 OOPS: vsf_sysutil_bind Passive mode refused. Turning off passive mode. 500 OOPS: child died 421 Service not available, remote server has closed connection ftp> bye Expected results: ftp> ls 227 Entering Passive Mode (127,0,0,1,19,146) 150 Here comes the directory listing. -rw-r--r-- 1 0 0 13 Aug 01 13:21 testfile 226 Directory send OK. Additional info: If allowed passive ports are free this issue does not appear. It also appears in multi-host scenario.
Created attachment 613715 [details] The patch backports passive mode handling from rhel-6
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
The reproducer is not accurate it touches probability limits and so the solution could be done by some RFE on this behaviour. Thus the bug is considered as verified as sanity only.
*** Bug 873977 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0025.html