You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eugene Petrenko (JIRA)" <ji...@apache.org> on 2016/02/29 16:03:18 UTC
[jira] [Commented] (SSHD-659) Provide access to any lines sent by
the server prior to the identification one
[ https://issues.apache.org/jira/browse/SSHD-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171956#comment-15171956 ]
Eugene Petrenko commented on SSHD-659:
--------------------------------------
This would be enough to process PROXY protocol too.
https://issues.apache.org/jira/browse/SSHD-656
But it's highly not recommended to allow mixing both handlers within one socket
> Provide access to any lines sent by the server prior to the identification one
> ------------------------------------------------------------------------------
>
> Key: SSHD-659
> URL: https://issues.apache.org/jira/browse/SSHD-659
> Project: MINA SSHD
> Issue Type: Improvement
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Priority: Minor
> Fix For: 1.2.0
>
>
> As per [RFC 4253 - section 4.2|https://tools.ietf.org/html/rfc4253#section-4.2]:
> {quote}
> The server MAY send other lines of data before sending the version string. Each line SHOULD be terminated by a Carriage Return and Line Feed. Such lines MUST NOT begin with "SSH-", and SHOULD be encoded in ISO-10646 UTF-8 [RFC3629] (language is not specified). Clients MUST be able to process such lines. Such lines MAY be silently ignored, or MAY be displayed to the client user.
> {quote}
> The current code does not expose any such lines sent by the server to the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)