[BUGS] Major issues with rsync to smbfs over ipsec

Jerahmy Pocott quakenet1 at optusnet.com.au
Sat Jan 12 02:03:50 EST 2008


Hello again,

Everything works perfectly on local lan with the same configuration,  
it's just once it is done over the ipsec tunnel that things start  
breaking horribly.. Sometimes it works, or it will work for a couple  
of files then break, but mostly I get the following errors:

rsync: recv_generator: failed to stat "somefile": Operation timed out  
(60)

rsync: writefd_unbuffered failed to write x bytes [sender]: Broken  
pipe (32)
io timeout after 30 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(180)  
[sender=2.6.8]

rsync: writefd_unbuffered failed to write x bytes [generator]: Broken  
pipe (32)
rsync error: error in rsync protocol data stream (code 12) at  
io.c(1124) [generator=2.6.8]

rsync error: error in file IO (code 11) at receiver.c(253)  
[receiver=2.6.8]
rsync: connection unexpectedly closed (x bytes received so far)  
[generator]

So as you can see, things are timing out, connections are closing and  
pipes are breaking.. Rsync is not set to time out, so I suppose some  
underlaying protocol is timing out.. This sync is between a local file  
system and a mounted smbfs that is on the other side of an ipsec  
tunnel. It seems to be dropping the connection intermittently, for  
example a ls on the smbfs mount will sometimes time out, but if I try  
it again after the time out it will generally return the listing..

I'm not really sure where the problem is.. Is it mounting an smbfs  
over a slowish link? Is it the ipsec tunnel? Perhaps it's actually one  
of the gateways? Any ideas on what would cause this?

Cheers,
Jerahmy.


More information about the BUGS mailing list