DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-09-14 16:27:59

zipdc
Member
Registered: 2008-05-10
Posts: 6

ffp 0.5 & rsync

Hi

I am having a problem which is stumping me.

I have two DNS323 with ffp 0.5, which I have rebuilt using the latest FFP. I have enabled the Rsync daemon in both and I am just using telnet to the console to pull a folder from the master DNS323 to a slave on the local network. Eventually I will add this as a cron job to automate. I have added --verbose to the rsyncd.sh so it contains rsync_flags="--daemon --verbose --config=/ffp/etc/rsyncd.conf". The master and slave rsyncd.conf in mnt/HD_a2/etc/ on the master (192.168.1.102) and slave (192.168.1.101) contain:

#limit access to private LANs
log file = /mnt/HD_a2/ffp/var/log/rsyncd.log
hosts allow=192.168.1.0/255.255.255.0
hosts deny=*
strict modes = false
use chroot = yes
uid = root
gid = root

#shares
[data]
    read only = yes
    path = /mnt/HD_a2/data
    comment = main file share

The share on the master has the following permissions:

drwxrwxrwx    8 root     root         4096 Sep  7 22:00 data

Now when I try and using something like /mnt/HD_a2 # rsync -avvvvrn rsync://192.168.1.102:873/data I get the following response

opening tcp connection to 192.168.1.102 port 873
note: iconv_open("ASCII", "ASCII") succeeded.
sending daemon args: --server --sender -vvvvnlogDtpre.i . data/
(Client) Protocol versions: remote=30, negotiated=30
receiving incremental file list

And it hangs untill a timeout.

The log /mnt/HD_a2/ffp/var/log/rsyncd.log on the master shows:
2008/09/14 13:32:42 [2910] connect from UNKNOWN (192.168.1.101)
2008/09/14 13:32:42 [2910] rsync on www/ from unknown (192.168.1.101)
2008/09/14 13:32:42 [2910] building file list
2008/09/14 13:48:13 [2910] rsync: read error: Connection timed out (110)
2008/09/14 13:48:13 [2910] rsync error: error in rsync protocol data stream (cod
e 12) at io.c(794) [sender=3.0.3]

I have tried all manner of configurations in rsyncd.conf but I always seem to get here. I had all working Ok in ffp 0.4, but can figure out what was differnt (and I have not kept the settings).  Any ideas would be welcome.

Thanks

ZipDC

Offline

 

#2 2009-03-08 23:04:17

zipdc
Member
Registered: 2008-05-10
Posts: 6

Re: ffp 0.5 & rsync

OK

Since my last post I have discovered that the problem is to do with Jumbo frames, which I had enabled. switching this off makes all work OK. I don't understand why Jumbo frames should matter, because the two netgear switches that are between the two 323 boxes support frames upto 9k (or so they claim).

I would love to use a bigger payload since the rsync jobs can be quite large and a speedup would be appreciated.

Any thoughts on what to do would be welcome.

zipdc

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB