You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jay Guidos (JIRA)" <ji...@apache.org> on 2015/03/15 19:35:38 UTC

[jira] [Commented] (SSHD-433) Cannot close and then reopen a remote forward on the same port

    [ https://issues.apache.org/jira/browse/SSHD-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362490#comment-14362490 ] 

Jay Guidos commented on SSHD-433:
---------------------------------

I located the problem in Nio2Acceptor.   I have a test case that show the problem and a patch that fixes it, if you are interested.

> Cannot close and then reopen a remote forward on the same port
> --------------------------------------------------------------
>
>                 Key: SSHD-433
>                 URL: https://issues.apache.org/jira/browse/SSHD-433
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Jay Guidos
>
> Opening a remote forwarding port works fine, but when it is closed SSHD fails to unbind the socket, leaving the port open.
> While the SSHD process remains connected the remote port will remain open forever, causing subsequent remote forwarding attempts to fail in this session or any other) until the SSHD process terminates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)