summaryrefslogtreecommitdiff
path: root/src/mod_fail2ban.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-04-08 18:49:41 +0200
committerBadlop <badlop@process-one.net>2020-04-08 18:49:41 +0200
commit2febd1c220616d3b17fa982a303968ae80299adc (patch)
tree39d183870bf9d19f352425ab969147efa4ed5344 /src/mod_fail2ban.erl
parentAdd ejabberd version number to man pages (diff)
Copy more option explanations from ejabberd Docs site
Diffstat (limited to 'src/mod_fail2ban.erl')
-rw-r--r--src/mod_fail2ban.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mod_fail2ban.erl b/src/mod_fail2ban.erl
index b9fed0db..48e7fb8e 100644
--- a/src/mod_fail2ban.erl
+++ b/src/mod_fail2ban.erl
@@ -263,7 +263,13 @@ mod_doc() ->
"record of authentication failures after some time since the "
"first failure or on a successful authentication. "
"It also does not simply block network traffic, but "
- "provides the client with a descriptive error message.")],
+ "provides the client with a descriptive error message."), "",
+ ?T("WARNING: You should not use this module behind a proxy or load "
+ "balancer. ejabberd will see the failures as coming from the "
+ "load balancer and, when the threshold of auth failures is "
+ "reached, will reject all connections coming from the load "
+ "balancer. You can lock all your user base out of ejabberd "
+ "when using this module behind a proxy.")],
opts =>
[{access,
#{value => ?T("AccessName"),