rsync  

Re: limiting the number of connections per client

Ali, Saqib
Wed, 03 Feb 2010 14:49:14 -0800

Hi,

Thanks for the quick response. Can you please explain how this would
work? I am not very familiar with xinet.d, and I don't see a rsync
file in the /etc/xinetd.d/ dir.

Thanks
Saqib

On Wed, Feb 3, 2010 at 1:40 PM, Eberhard Moenkeberg <emoe...@gwdg.de> wrote:
> Hi,
>
> On Wed, 3 Feb 2010, Ali, Saqib wrote:
>
>> We have a very high utilization rsync server. We can handle large
>> number of connections at a time, but would like to limit to one
>> connection per client. we don't want multiple connections from the
>> same client. Is that possible?
>
> With the help of xinetd.
>
> Example:
>
> ftp5:2 22:39:02 ~ # cat /etc/xinetd.d/rsync
> # default: off
> # description: rsync file transfer daemon
> service rsync
> {
>        socket_type     = stream
>        protocol        = tcp
>        wait            = no
>        user            = root
>        server          = /usr/sbin/rsyncd
>        instances       = 999
>        per_source      = 19
>        server_args     = --daemon
> #       disable         = yes
> }
> ftp5:2 22:39:03 ~ #
>
>
> Viele Gruesse
> Eberhard Moenkeberg (emoe...@gwdg.de, e...@kki.org)
>
> --
> Eberhard Moenkeberg
> Arbeitsgruppe IT-Infrastruktur
> E-Mail: emoe...@gwdg.de      Tel.: +49 (0)551 201-1551
> -------------------------------------------------------------------------
> Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH Goettingen (GWDG)
> Am Fassberg 11, 37077 Goettingen
> URL:    http://www.gwdg.de             E-Mail: g...@gwdg.de
> Tel.:   +49 (0)551 201-1510            Fax:    +49 (0)551 201-2150
> Geschaeftsfuehrer:           Prof. Dr. Bernhard Neumair
> Aufsichtsratsvorsitzender: Dipl.-Kfm. Markus Hoppe
> Sitz der Gesellschaft:     Goettingen
> Registergericht:           Goettingen  Handelsregister-Nr. B 598
> -------------------------------------------------------------------------
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html