1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00
tgseclib/phpseclib/Net
terrafrost 7a2c7a414c fix more ssh channel issues
In logs that were provided to me phpseclib sent a packet that was 2536 bytes long (excluding the bytes denoting the channel and data length) but the length packet said it was 32764 bytes long (ie. $max_size).

So when $max_size is less than the data being sent and has to be adjusted by a new window adjust message from the server and the adjustment makes $max_Size bigger than the data being sent over problems arise.

SSH's window size has caused issues before. Overall I don't think the SSH specs really explain the window size very well. I opened up an errata on SSH's RFC a while back about the issue.
2014-03-21 02:53:43 -05:00
..
SFTP Drop meaningless, outdated, inconsistent version tags in doc blocks. 2014-03-11 15:58:33 +01:00
SCP.php Drop meaningless, outdated, inconsistent version tags in doc blocks. 2014-03-11 15:58:33 +01:00
SFTP.php Drop meaningless, outdated, inconsistent version tags in doc blocks. 2014-03-11 15:58:33 +01:00
SSH1.php Drop meaningless, outdated, inconsistent version tags in doc blocks. 2014-03-11 15:58:33 +01:00
SSH2.php fix more ssh channel issues 2014-03-21 02:53:43 -05:00