The allowconnects in server only allow one connection per client.
allowallconnects allows any number of connections up to the maxconnections 
limit.

It's true as I also wrote that the number of connections can be controlled on 
the agent side. 
However that will not control those connections made by other things than 
agents.

My point is that the documentation isn't clear and that I'm missing an option.

--
Emil

-----Original Message-----
From: Seva Gluschenko [mailto:seva.glusche...@gmail.com] 
Sent: måndag den 21 juni 2010 12:35
To: Assarsson, Emil
Cc: help-cfengine
Subject: Re: Denying repeated connection from

Emil,

The maxconnections option in the body agent control serves exactly as
a number of connections a client can do. The body server control has
its own maxconnections option which restricts the total amount of
client connections served by a server. So it's not "1 or all" as you
wrote, at both sides.

2010/6/21 Assarsson, Emil <emil.assars...@sonyericsson.com>:
> Hi,
>
> It might be worth mention in the documentation:
> - that allowconnects will only accept 1 connection per client.
> - log entries "Denying repeated connection from" are a consequence of 
> multiple of connection from clients when the server only permits one.
> - allowallconnects on server or setting maxconnections on agent to 1 will 
> solve this.
>
> It would be nice to have a setting that will allow limitation of the number 
> of connections a client can do. Right now it's 1 or all.
>
>
> Best regards
>
> Emil Assarsson
> Sony Ericsson Mobile Communications AB
>
> "The information in this email, and attachment(s) thereto, is strictly 
> confidential and may be legally privileged. It is intended solely for the 
> named recipient(s), and access to this e-mail, or any attachment(s) thereto, 
> by anyone else is unauthorized. Violations hereof may result in legal 
> actions. Any attachment(s) to this e-mail has been checked for viruses, but 
> please rely on your own virus-checker and procedures. If you contact us by 
> e-mail, we will store your name and address to facilitate communications in 
> the matter concerned. If you do not consent to us storing your name and 
> address for above stated purpose, please notify the sender promptly. Also, if 
> you are not the intended recipient please inform the sender by replying to 
> this transmission, and delete the e-mail, its attachment(s), and any copies 
> of it without, disclosing it."
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>



-- 
SY, Seva Gluschenko.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to