Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mirroring, rsync and security
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Fri Jun 06, 2003 12:13 pm    Post subject: mirroring, rsync and security Reply with quote

How would one go about mirroring a box securly? I can setup an rsync daemon but, that would enable any user to access the files.

If the file system I wish to mirror contains files with many permissions and ownerships, including root, how can I mirror it without allowing others on the network to also do so?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Fri Jun 06, 2003 8:22 pm    Post subject: Reply with quote

well I know nothing about about rsync-servers... but I would suggest to configure iptables or see if it goes with tcp-wrappers...
Back to top
View user's profile Send private message
Grimthorn
n00b
n00b


Joined: 04 Jun 2003
Posts: 10

PostPosted: Tue Jun 10, 2003 8:56 pm    Post subject: Reply with quote

You can specify security options in the /etc/rsync/rsyncd.conf file on your rsync server.

The following settings would be of most interest to you:

Code:
auth users = <your settings>
hosts allow = <your settings>


auth users - Allows you to specify a set of users that are allowed access to the module (comman space seperated).
hosts allow - Allows you to specify the DNS name or IP of computers allowed to access the module.

The following man pages have great information on these topics

Code:
man rsyncd.conf


Take care,
Grim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum