From c851f9608acbafae11b3cab6c00843190b213094 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 16 Sep 2018 23:57:44 +0200 Subject: [PATCH] Set a 'max_stanza_size' for incoming s2s listener Specify a 'max_stanza_size' limit for incoming s2s connections in the example configuration, but use a relatively large value in order to minimize the risk of this limit being hit by legitimate traffic. --- ejabberd.yml.example | 1 + 1 file changed, 1 insertion(+) diff --git a/ejabberd.yml.example b/ejabberd.yml.example index fd5c3e25e..139b31751 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -51,6 +51,7 @@ listen: port: 5269 ip: "::" module: ejabberd_s2s_in + max_stanza_size: 524288 - port: 5443 ip: "::"