You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Shahbaz (Jira)" <ji...@apache.org> on 2020/07/24 15:39:00 UTC

[jira] [Created] (SSHD-1042) Command Limiting Policy SSH_FXP_READDIR closing connection

Shahbaz created SSHD-1042:
-----------------------------

             Summary: Command Limiting Policy SSH_FXP_READDIR closing connection
                 Key: SSHD-1042
                 URL: https://issues.apache.org/jira/browse/SSHD-1042
             Project: MINA SSHD
          Issue Type: New Feature
            Reporter: Shahbaz
         Attachments: apache rmdir.PNG, maverick filesystem.PNG

*This are the below commands which prevent the execution for the user at instance level relating to permission of open, read, write, opendir, readdir, remove, rename, makedir, removedir respectively.*

*SSH_FXP_OPEN*
*SSH_FXP_READ*
*SSH_FXP_WRITE*
*SSH_FXP_OPENDIR*
*SSH_FXP_READDIR*
*SSH_FXP_REMOVE*
*SSH_FXP_RENAME*
*SSH_FXP_MKDIR*
*SSH_FXP_RMDIR*

*But the command for* *SSH_FXP_READDIR is not executed as it directly closes the connection. This connection is closed because while throwing the exception it directly calls destroy method from filesystem. Is there any workaround to inhibit its execution when we extend sftpsubsytem class where exception is thrown.***

 

*Below attached are the images which shows how destroy is invoked in both maverick and apache case.* 

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org