Has anyone successfully ran rsync through stunnel? If so, would you
mind sharing how you did it? I have been reading
http://www.netbits.us/docs/stunnel_rsync.html and cannot figure out how
to get stunnel to run (say through /etc/xinetd.d/rsync). My rsyncd.conf
looks like;

service rsync
{
disable = no
socket_type = stream
wait = no
user = root
# server = /usr/bin/rsync
server = /usr/sbin/stunnel
# server_args = --daemon
server_args = /etc/stunnel/stunnel.conf
log_on_failure += USERID
}


This is what I am getting (in the client machine):

[root@moss stunnel]# rsync -vv localhost::
opening tcp connection to localhost port 873
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
[root@moss stunnel]#

Which step is it going boink at?
--
Mauricio raub-kudria-com
(if you need to email me, use this address =)