mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gusti Benawi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FTPSERVER-302) Passive free port returned is not checked if it is really free or not
Date Thu, 14 May 2009 15:04:45 GMT

     [ https://issues.apache.org/jira/browse/FTPSERVER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gusti Benawi updated FTPSERVER-302:
-----------------------------------

    Summary: Passive free port returned is not checked if it is really free or not  (was:
Passive free port is not checked)

> Passive free port returned is not checked if it is really free or not
> ---------------------------------------------------------------------
>
>                 Key: FTPSERVER-302
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-302
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Gusti Benawi
>
> A passive port is requested by calling the method DataConnectionConfiguration.requestPassivePort()
> The search of a free port is done by PassivePorts.reserveNextPort()
> The "free" port returned is based on an internal boolean flag, which determines whether
a port is free or not. 
> This is bad since the port returned could be actually being used by another application.
The port will still be returned, and an exception will be thrown since it will fail to create
the data socket.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message