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 ([email protected], [email protected])

--
Eberhard Moenkeberg
Arbeitsgruppe IT-Infrastruktur
E-Mail: [email protected]      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: [email protected]
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

Reply via email to