You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Robert Varga (JIRA)" <ji...@apache.org> on 2018/08/10 20:21:00 UTC
[jira] [Created] (SSHD-840) Unknown commands cause
IllegalStateException instead of being correctly handled
Robert Varga created SSHD-840:
---------------------------------
Summary: 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: 1.6.0
Reporter: Robert Varga
Fix For: 2.0.0
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)