[gsoc-dev] [osuosl-mirror-sync] Questions
Lance Albertson
lance at osuosl.org
Tue Mar 18 15:42:34 UTC 2014
On Tue, Mar 18, 2014 at 6:55 AM, Pranjal Mittal <mittal.pranjal at gmail.com>wrote:
> Hi Lance,
>
> (1) In the rsyncd-osl.conf [1] file why do we have 2 modules that are
> exactly same, ie. [all] and [all1]
>
I can't find a specific reason in the git logs on our end so I imagine it
may just be for historical purposes. I do see a few references in some of
the scripts. My impression is that we used to just have one array a long
time ago.
> (2) In the xinetd directory there are 2 files, not sure if I get the
> purpose of both of them. So we are running 2 rsync daemons one for everyone
> to use and the other for the ftp hosts?
>
That is correct. The first one "rsync" is the one everyone uses. The
primary difference is that it limits the number of instances so that people
can't DoS the rsync service. We don't want the slaves to run into the same
limitations so as a way around it we use a separate rsync daemon on a
different port that is restricted by port and access to only the slaves.
> Also sometimes we rsync is used over ssh like in the case when we create
> a user for each $project and add the ssh public key for that user to
> authorized keys.
>
That is correct, but generally this isn't the norm. I'd say 95% of the
syncs happen over the rsync proper protocol and not rsync+ssh. SSH is
generally only used as a trigger for the push-based syncs (i.e.
debian/ubuntu repos).
> Since rsync is an important component of the current architecture it would
> be great if we have some docs on how we are using rsync in different ways
> for diferent purposes.
>
I will do my best. Can you give some examples where I need to document
this better?
Thanks-
> [1]
> https://github.com/osuosl/osuosl-mirror-sync/blob/master/rsync/rsyncd-osl.conf
> [2] https://github.com/osuosl/osuosl-mirror-sync/tree/master/xinetd
>
>
>
> Thanks,
>
> Kind Regards,
> - Pranjal
>
--
Lance Albertson
Director
Oregon State University | Open Source Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/gsoc-dev/attachments/20140318/fd90c0b1/attachment.html>
More information about the gsoc-dev
mailing list