Bug 845051 - 500 OOPS: vsf_sysutil_bind while passive port occupied
Summary: 500 OOPS: vsf_sysutil_bind while passive port occupied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: vsftpd
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jiri Skala
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
: 873977 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-01 15:21 UTC by Dalibor Pospíšil
Modified: 2018-11-30 21:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 07:04:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The patch backports passive mode handling from rhel-6 (17.27 KB, patch)
2012-09-17 15:38 UTC, Jiri Skala
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0025 0 normal SHIPPED_LIVE vsftpd bug fix update 2013-01-07 15:28:55 UTC

Description Dalibor Pospíšil 2012-08-01 15:21:54 UTC
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.

Comment 3 Jiri Skala 2012-09-17 15:38:11 UTC
Created attachment 613715 [details]
The patch backports passive mode handling from rhel-6

Comment 4 RHEL Program Management 2012-09-25 09:08:31 UTC
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.

Comment 14 Dalibor Pospíšil 2012-10-10 15:11:44 UTC
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.

Comment 15 Keigo Noha 2012-11-13 07:32:40 UTC
*** Bug 873977 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2013-01-08 07:04:56 UTC
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


Note You need to log in before you can comment on or make changes to this bug.