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
-------------------------------------------------------------------------