aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_regexp.erl
diff options
context:
space:
mode:
authorPablo Polvorin <pablo.polvorin@process-one.net>2011-12-02 15:30:20 -0300
committerPablo Polvorin <pablo.polvorin@process-one.net>2011-12-02 15:30:20 -0300
commitcf973f27bb62dbb1e5c89b062eae491a646860db (patch)
treeb695adfc9f5cf9f887b0478f855a69107e060ccc /src/ejabberd_regexp.erl
parentFix bug on s2s shaper when TLS is used (diff)
Prevent overload of incomming s2s connections
Three changes were introduced: 1) ejabberd_s2s_in now uses p1_fsm instead of gen_fsm. And uses the {max_queue, N} option to kill the process if its input queue grows too much. 2) If a ejabberd_s2s_in process is overload and killed, the server that originated that connection is not allowed to connect back to us for X seconds (set to 60seconds on the source) 3) The list of blocked (both statically and dynamically by the above method) host is now also checked for hosts authenticating by starttls+sasl. Previusly it was only used during dialback.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions