Am 12.08.2009 16:42 schrieb Dave Howorth:
> I guess you aren't using a daemon though.

I am quite sure I am. Here's the missing part from the default.conf:


client: rsync://[email protected]:6666

tree: /full

xdev: 0
zxfer: 1
index: gzip


So, looks like i should be talking to lo:6666.

#dirvish --vault myvault &
#ps faux
(...)
/usr/bin/ssh -N -L 6666:localhost:873 [email protected] -i /path/to/id_rsa

The SSH-tunnel is there. A look at the remote host:

$ssh [email protected]
(...)
# ps faux|grep rsync
root      3447  0.0  0.4   2148   532 ?        S    Mar24   0:00
/usr/bin/rsync --no-detach --daemon --config /etc/rsyncd.conf

#cat /etc/rsyncd.conf
uid = 0
gid = 0
read only = true
pid file = /var/run/rsyncd.pid
hosts allow = 127.0.0.1
auth users = username
secrets file = /etc/rsyncd.secrets

[full]
path = /
read only = yes
list = yes

#netstat -nlp|grep 873
tcp        0      0 83.151.28.125:873       0.0.0.0:*
LISTEN      3447/rsync

I'd call this a deamon. I can telnet to it.

Now, back to my client box:

# tcpdump -pi lo port 6666 &
[1] 1906
# tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes

# dirvish --vault myvault &
[2] 1907
# dirvish error: branch /backups//myvault:default image 20090812-16:54
failed

So, no network traffic on lo:6666. Not even a single SYN.

n.
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to