You are not logged in.

#1 2012-10-20 11:15:09

miky76
Banned
From: Italy
Registered: 2011-10-27
Posts: 137

rsync & cygwin problem

Hi All,
from my linux box I would like to backup using rsnapshot my personal folder in my W7 laptop

my problem is that it was working, but suddenly it stopped to, and I cannot understand why, ad I didn't do any changes in the configuration.

the error is

rsync: failed to connect to 10.40.50.93 (10.40.50.93): Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]

same error if I use rsync and not rsnapshot

 /usr/bin/rsync -av --delete --numeric-ids  --relative --delete-excluded 10.40.50.93::mikdir /raid/prova

checking on the net the only solution I found is "your firewall block it" but even with my firewall off (I use Symentec Endpoint.cloud Firewall) the problem is the same

my configuration is:

- the linux is called Artemide 10.40.50.95 and is where I try to launch the rsync command for backup
- the W7 laptop is 10.40.50.93 and is where cygwin ans rsync service is active

in Windows 7:

i've installed Cygwin with the following modules:
•    Nano
•    Rsnapshot
•    Openssh
•    cygrunsrv

i've edited /etc/rsyncd.conf in this way:

log file = /var/log/rsyncd.log
use chroot = false
strict modes = false

[mikydir]
path = /cygdrive/c/Miky
comment = rsync folder: Miky
read only = false

I've added the rsync service in windows services

C:\cygwin\bin\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"

and started the service

now, if in cygwin inside the W7 I run the command:

/usr/bin/rsync -av --delete --numeric-ids --relative  --delete-excluded 10.40.50.93::mikydir /cygdrive/c/Condivisa

it's work absolutely fine

why cannot do the same from the linux box?

debugging I found that

in W7, the netstat -na says that the service is on for any interface:

  TCP    0.0.0.0:873            0.0.0.0:0              LISTENING

BUT from Linux the port scanning doesn't see the 873 port open

[root@artemide ~]# nmap -sS --open 10.40.50.93

Starting Nmap 6.01 ( http://nmap.org ) at 2012-10-20 13:06 CEST
Nmap scan report for 10.40.50.93
Host is up (0.00053s latency).
Not shown: 993 filtered ports
PORT      STATE SERVICE
135/tcp   open  msrpc
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
554/tcp   open  rtsp
2869/tcp  open  icslap
5357/tcp  open  wsdapi
10243/tcp open  unknown
MAC Address: 64:31:50:75:37:1A (Hewlett-Packard Company)

Nmap done: 1 IP address (1 host up) scanned in 4.39 seconds

and the telnet 10.40.50.93 873 form the linux goes in time out
if I do the same form the W7 laptop on itself it works fine

why I cannot access the port 873 from outside my laptop if the firewall is off?
how can I check if the firewall is really off?

Offline

Board footer

Powered by FluxBB