[ https://issues.apache.org/jira/browse/SSHD-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486627#comment-17486627 ]
Lyor Goldstein edited comment on SSHD-1244 at 2/3/22, 5:40 PM: --------------------------------------------------------------- BTW, what does ProFTPD have to do with SSHD ? According to its own site {quote} Highly configurable GPL-licensed FTP server software {quote} It does not seem to mention SFTP which is +nor+ FTP neither a "secure" version of it, but rather something entirely different - see http://www.proftpd.org/features.html was (Author: lgoldstein): BTW, what does ProFTPD have to do with SSHD ? According to its own site {quote} Highly configurable GPL-licensed FTP server software {quote} It does not seem to mention SFTP which is +nor+ FTP neither a "secure" version of it, but rather something entirely different. > Client fails window adjust above INT_MAX > ---------------------------------------- > > Key: SSHD-1244 > URL: https://issues.apache.org/jira/browse/SSHD-1244 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 2.8.0 > Reporter: Ryosuke Kanda > Assignee: Lyor Goldstein > Priority: Minor > > If the new window size specified by SSH_MSG_CHANNEL_WINDOW_ADJUST exceeds > INT_MAX, it will not be recognized correctly. > I think the cause is in the following places: > org.apache.sshd.common.channel.Window.expand(int) > > I am doing machine translation, so please allow it to be unnatural. > > I encountered this issue when I was using ProFTPD as an SFTP server. > The version of ProFTPD is 1.3.5e. > The SFTP feature of ProFTPD notifies 2 ^ 32-1 bytes as the initial window > size by default. > I've confirmed that SSHD can handle this without any problems, so I sent a > 4GB file to see what happens when Window Adjust is done. > As a result, a Window Adjust was done and SSHD was unable to handle this > successfully. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org