delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | Alan Chandler <alan AT chandlerfamily DOT org DOT uk> |
To: | rsync AT lists DOT samba DOT org, cygwin AT cygwin DOT com |
Subject: | Behaviour that I don't understand |
Date: | Wed, 2 Aug 2006 23:28:10 +0100 |
User-Agent: | KMail/1.9.3 |
MIME-Version: | 1.0 |
Message-Id: | <200608022328.10503.alan@chandlerfamily.org.uk> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I am trying to set up rsync as a daemon under WindowsXP (professional) in order to be able to backup this machine on to a linux server. I am struggling with an issue I don't understand. I don't know whether it is an Rsync issue or a Cygwin issue, so I am asking both mailing lists. My WindowsXP machine has ip address 192.168.0.25 and name rabbit.home My Linux machine has ip address 192.168.0.20 and the name roo.home Rsync has been installed as a daemon using cygrunsrv to set up a service using the following command cygrunsrv.exe -I "Rsync" -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon --no-detach" -f "Rsync daemon service" The /etc/rsyncd.conf file has the following in it chroot = false strict modes = false hosts allow = 192.168.0.0/24 127.0.0.1 [system] path = /cygdrive/c comment = the complete c drive [alan] path = /cygdrive/c/Documents and Settings/ChandlerA comment = Alan's specific user space Using a cygwin bash shell on the windows machine AND from a shell prompt on my linux machine I can do either (from windows machine) rsync localhost:: or (from linux machine) rsync rabbit:: at list out the two modules (system and alan) HOWEVER If I try to list the contents of either module from local host (thus) rsync localhost::system it works, but if I list the contents via rsync rabbit::system (either remotely or locally) then I get @ERROR: access denied to system from roo.home (192.168.0.20) rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(420) I have tried playing with the hosts allow parameter. The ONLY form (including removing the hosts allow line altogether) that I can make work is hosts allow = * If I do that it works Why is it that this form of hosts allow is needed. The manual says that if the hosts allow is not present it should allow all hosts - but it doesn't seem to. -- Alan Chandler http://www.chandlerfamily.org.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |