Archive Index
This month's Index
|
Subject: [ libssh2-Bugs-2822917 ] libssh2_channel_write with blocks >=16k cause corrupted MAC
[ libssh2-Bugs-2822917 ] libssh2_channel_write with blocks >=16k cause corrupted MAC
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 01 Sep 2009 21:01:46 +0000
Bugs item #2822917, was opened at 2009-07-17 09:06
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
sshd[2026]: Disconnecting: Corrupted MAC on input.
Thus is looks like the remote ssh-server cannot process the data send via libssh2 and close the connection.
This problem only occur when I use a block size of >10k (libssh2 v1.1), but the limit may depend. If I add some debug output it looks like other block sizes may work or not work, too. This problem looks like a race-condition.
Note: with libssh2 v0.18 this problem did not occur! I detected the problem when I switchedn from libssh2 v0.18 to v1.1 and an application with uses libssh2. After installation of the new libssh2 library the application could not send any data anymore. With libssh v0.18 the application still work well.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
|