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

ASF GitHub Bot commented on SSHD-840:
-------------------------------------

Github user rovarga closed the pull request at:

    https://github.com/apache/mina-sshd/pull/66


> Unknown commands cause IllegalStateException instead of being correctly 
> handled
> -------------------------------------------------------------------------------
>
>                 Key: SSHD-840
>                 URL: https://issues.apache.org/jira/browse/SSHD-840
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.14.0, 1.6.0, 2.0.0
>            Reporter: Robert Varga
>            Priority: Major
>             Fix For: 2.0.1
>
>
> As [https://github.com/CESNET/libnetconf2/issues/68] shows, MINA SSHD has a 
> different behavior than OpenSSH when faced unknowns – in this case coming 
> from a buggy server.
> While OpenSSH was able to establish a session, OpenDaylight (using SSHD 
> 1.6.0) was not – throwing an IllegalStateException.
> Rather than throwing an exception, send an SSH_MSG_UNIMPLEMENTED as specified 
> by [https://tools.ietf.org/html/rfc4253#section-11.4] .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to