rsync Corrupted MAC on input.

NoOp glgxg at sbcglobal.net
Tue Jul 14 21:37:15 UTC 2009


On 07/14/2009 12:33 PM, Smoot Carl-Mitchell wrote:
> On Tue, 2009-07-14 at 12:30 -0600, drew einhorn wrote:
>> I believe running the following command should 
>> merge my home directory on the local machine (drew-s10)
>> on to the remote system (test 172.24.1.104).
>> 
>> rsync -arLuvz /home/drew test:/home/drew
>> 
>> But it generates the following error.
>> 
>> Received disconnect from 172.24.1.104: 2: Corrupted MAC on input.
>> rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken
>> pipe (32)
>> rsync: connection unexpectedly closed (89 bytes received so far)
>> [sender]
>> rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.5]
>> drew at drew-s10:~/bin$ 
>> 
>> I believe the problem is that the local rsync process is sending
>> the data too fast for the remote shell running the remote rsync.
> 
> I do not think it is flow control.  TCP should take care that.  Others
> have seen the same error.  The MAC is SSH's Message Authentication Code.
> Here is a good explanation of what is happening.
> 
> http://blogs.sun.com/janp/entry/ssh_messages_code_bad_packet
> 

And a few places to look:
<https://launchpad.net/+search?field.text="Corrupted+MAC"&field.actions.search=Search>






More information about the ubuntu-users mailing list