limiting the number of connections per client
Ali, Saqib
docbook.xml at gmail.com
Wed Feb 3 15:49:05 MST 2010
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 <emoenke at 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 (emoenke at gwdg.de, em at kki.org)
>
> --
> Eberhard Moenkeberg
> Arbeitsgruppe IT-Infrastruktur
> E-Mail: emoenke at 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: gwdg at 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
>
More information about the rsync
mailing list