Can no longer connect to rsync server since new router, but sometimes it works?!

Paul Hamer paul at mediamens.nl
Thu Feb 5 10:22:30 GMT 2009


Hi,

I've been searching the web for days for an answer to this weird problem. I hope you guys can shed some light on this.

A few months ago our office has changed internet provider, and hence we use a different router/DSL-modem: a ZyXEL P-2602H-D1A

Ever since the change our nightly rsync from our office server to our external webserver, which runs an rsync daemon, refuses to work... at least, MOST of the times... sometimes, like once or twice a month, it works fine ???

Our setup:

Office: Windows XP, cwRsync 3.0.1 (=rsync 3.0.5)
Webserver: Linux, rsync 3.0.4 (running as a daemon)

Used commandline on Windows XP machine:

> rsync -arv -e "ssh -l root" --delete-after --force --files-from backup_system.list / backup at ourwebserver::office

The Windows machine fails after 2 or 3 seconds saying:
> rsync error: timeout in data send/receive (code 30) at io.c(200) [sender=3.0.5]

On the Linux box I see the following:

in /var/log/rsync.log:
> 2009/02/05 11:14:05 [20660] connect from xxx.telfort.nl (195.241.xx.xx)
> 2009/02/05 11:14:05 [20660] rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
> 2009/02/05 11:14:05 [20660] rsync error: error in rsync protocol data stream (code 12) at io.c(632) [receiver=3.0.4]

in /var/log/messages:
> Feb  5 11:14:05 s4 sshd[20657]: Accepted keyboard-interactive/pam for root from 195.241.xx.xx port 29433 ssh2
> Feb  5 11:14:05 s4 sshd[20657]: fatal: Write failed: Connection reset by peer

Note that I'm using rsync over SSH. Doing an SSH to the linux server works perfectly, so I'd say the router/firewall is set up correctly. Also I've fiddled with just about any setting/parameter, but the error remains the same.

Any thoughts as to why this does not work? Tanx a lot!

Kinds regards,
Paul Hamer



More information about the rsync mailing list