DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th April 2012
raindog308 raindog308 is offline
Fdisk Soldier
 
Join Date: Sep 2011
Posts: 67
Question Setting up OpenBSD rsync server...how?

I'm trying to setup an OpenBSD box to act as an rsync server.

I installed the rsync package, then put this in /etc/inetd.conf:

Code:
rsync           stream  tcp     nowait  root    /usr/local/bin/rsync --daemon
I kill -HUP'd inetd and then setup /etc/rsyncd.conf:

Code:
max connections = 1
log file = /var/log/rsync.log
timeout = 300
[stuff]
comment = some server stuff
path = /stuff
read only = yes
list = yes
uid = root
gid = root
hosts allow = 1.2.3.4/32
exclude from = /etc/rsync_exclude.txt
Over on a Linux box (this is in hosts allow), I did this:

Code:
rsync --verbose --progress --stats --compress --recursive --times --perms --links --delete someserver.example.com::stuff .
But got:

Code:
rsync: server sent "rsync  version 3.0.8  protocol version 30" rather than greeting
rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
An identical rsyncd.conf and rsync client command works Linux-to-Linux, though in that case it's xinetd not inetd. I'm wondering if there is something BSD-specific?

Given that error, looks to me like the client can talk to port 873 (and pf has not been setup yet), so I don't think it's a firewall issue. I also took out the hosts allow line and it didn't make a difference.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on setting up blogging on a FBSD server Mantazz FreeBSD Ports and Packages 8 25th January 2011 11:28 PM
Remote backups server using FreeBSD, ZFS, and Rsync phoenix Guides 1 5th March 2010 12:17 AM
rsync freebsd server/windows client Weaseal FreeBSD General 0 27th August 2008 12:29 AM
setting up a proxy server in OpenBSD 4.3 jrake OpenBSD General 1 14th May 2008 06:43 PM


All times are GMT. The time now is 05:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick