You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Taras Puchko (JIRA)" <ji...@apache.org> on 2011/08/29 15:07:37 UTC

[jira] [Created] (FTPSERVER-424) Leak of allowed passive ports

Leak of allowed passive ports
-----------------------------

                 Key: FTPSERVER-424
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-424
             Project: FtpServer
          Issue Type: Bug
    Affects Versions: 1.0.6
            Reporter: Taras Puchko


In several hours after start the server cannot accept passive connections if allowed passive ports are configured.

This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-291,
where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FTPSERVER-424) Leak of allowed passive ports

Posted by "Taras Puchko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Taras Puchko updated FTPSERVER-424:
-----------------------------------

    Description: 
In several hours after start the server cannot accept passive connections if allowed passive ports are configured.

This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.


  was:
In several hours after start the server cannot accept passive connections if allowed passive ports are configured.

This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-291,
where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.



> Leak of allowed passive ports
> -----------------------------
>
>                 Key: FTPSERVER-424
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-424
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0.6
>            Reporter: Taras Puchko
>
> In several hours after start the server cannot accept passive connections if allowed passive ports are configured.
> This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
> where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FTPSERVER-424) Leak of allowed passive ports

Posted by "Taras Puchko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094395#comment-13094395 ] 

Taras Puchko commented on FTPSERVER-424:
----------------------------------------

Thank you,  it seems to fix our problem. Our server has been working for 24h without any issues.

> Leak of allowed passive ports
> -----------------------------
>
>                 Key: FTPSERVER-424
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-424
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0.6
>            Reporter: Taras Puchko
>
> In several hours after start the server cannot accept passive connections if allowed passive ports are configured.
> This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
> where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FTPSERVER-424) Leak of allowed passive ports

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093161#comment-13093161 ] 

Niklas Gustavsson commented on FTPSERVER-424:
---------------------------------------------

I've commtted a fix in rev 1162981 in https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.x . Could you please verify that this fixes your problem and we'll try to get a quick release out?

> Leak of allowed passive ports
> -----------------------------
>
>                 Key: FTPSERVER-424
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-424
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0.6
>            Reporter: Taras Puchko
>
> In several hours after start the server cannot accept passive connections if allowed passive ports are configured.
> This is caused by FTPSERVER-420, org.apache.ftpserver.impl.PassivePorts.reserveNextPort() lines 218-219,
> where the value removed from the freeList might be different from the value added to the usedList, if checkPortUnbound returns false before.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira