rsync Corrupted MAC on input.

Smoot Carl-Mitchell smoot at tic.com
Tue Jul 14 19:33:58 UTC 2009


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

-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list