25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Describe what a user gets when he hits the registration_timeout limit

This commit is contained in:
Badlop 2010-07-19 12:08:02 +02:00
parent 5030f35558
commit ac84267b22
2 changed files with 10 additions and 6 deletions

View File

@ -2975,9 +2975,11 @@ the processing discipline for In-Band Registration (<TT>jabber:iq:register</TT>)
</DD></DL><P>This module reads also another option defined globally for the server: </DD></DL><P>This module reads also another option defined globally for the server:
<TT>{registration_timeout, Timeout}</TT>. <TT>{registration_timeout, Timeout}</TT>.
This option limits the frequency of registration from a given IP or username. This option limits the frequency of registration from a given IP or username.
So, a user can&#X2019;t register a new account from the same IP address or JID during So, a user that tries to register a new account from the same IP address or JID during
this number of seconds after previous registration. this number of seconds after his previous registration
Timeout is expressed in seconds, and must be an integer. will receive an error <TT>resource-constraint</TT> with the explanation:
&#X201C;Users are not allowed to register accounts so quickly&#X201D;.
The timeout is expressed in seconds, and it must be an integer.
To disable this limitation, To disable this limitation,
instead of an integer put a word like: <TT>infinity</TT>. instead of an integer put a word like: <TT>infinity</TT>.
Default value: 600 seconds.</P><P>Examples: Default value: 600 seconds.</P><P>Examples:

View File

@ -3779,9 +3779,11 @@ from s2s leads to uncontrolled massive accounts creation by rogue users.
This module reads also another option defined globally for the server: This module reads also another option defined globally for the server:
\term{\{registration\_timeout, Timeout\}}. \ind{options!registratimeout} \term{\{registration\_timeout, Timeout\}}. \ind{options!registratimeout}
This option limits the frequency of registration from a given IP or username. This option limits the frequency of registration from a given IP or username.
So, a user can't register a new account from the same IP address or JID during So, a user that tries to register a new account from the same IP address or JID during
this number of seconds after previous registration. this number of seconds after his previous registration
Timeout is expressed in seconds, and must be an integer. will receive an error \term{resource-constraint} with the explanation:
``Users are not allowed to register accounts so quickly''.
The timeout is expressed in seconds, and it must be an integer.
To disable this limitation, To disable this limitation,
instead of an integer put a word like: \term{infinity}. instead of an integer put a word like: \term{infinity}.
Default value: 600 seconds. Default value: 600 seconds.