mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Myasnikov (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FTPSERVER-426) Most ftp-clients sends FEAT before authentication
Date Mon, 31 Oct 2011 14:29:32 GMT

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

Alexey Myasnikov commented on FTPSERVER-426:
--------------------------------------------

Looks like I got a little excited with "most". I had tested Cyberduck and it sends FEAT before
USER. Then  I had tested Cyberduck with vsftpd and it works just fine (vsftpd answers to FEAT
from unauthenticated users), so I had supposed that this behaviour is quite standard. Also
I seen similar behavior on some version of fireftp, but I can't reproduce this on current
version.

Maybe it is Cyberduck's issue, but this client works fine with popular ftp-servers such as
ProFTPD and vsftpd. Both of them answers to FEAT from unauthenticated users.

                
> Most ftp-clients sends FEAT before authentication
> -------------------------------------------------
>
>                 Key: FTPSERVER-426
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-426
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.5, 1.0.6, 1.1.0
>            Reporter: Alexey Myasnikov
>
> Most clients sends FEAT command before authentication. So, it should be listed in NON_AUTHENTICATED_COMMANDS
in org.apache.ftpserver.impl.DefaultFtpHandler. Please, find the patch below.
> --- a/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
> +++ b/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
> @@ -48,7 +48,7 @@ public class DefaultFtpHandler implements FtpHandler {
>      private final Logger LOG = LoggerFactory.getLogger(DefaultFtpHandler.class);
>  
>      private final static String[] NON_AUTHENTICATED_COMMANDS = new String[] {
> -            "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ" };
> +            "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ", "FEAT" };
>  
>      private FtpServerContext context;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message