|
@@ -0,0 +1,20 @@
|
|
|
+# Fail2Ban configuration file
|
|
|
+#
|
|
|
+
|
|
|
+[Definition]
|
|
|
+
|
|
|
+# Option: failregex
|
|
|
+# Notes.: regex to match the password failures messages in the logfile. The
|
|
|
+# host must be matched by a group named "host". The tag "<HOST>" can
|
|
|
+# be used for standard IP/hostname matching and is only an alias for
|
|
|
+# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
|
|
+# Values: TEXT
|
|
|
+#
|
|
|
+#2021-02-03 16:27:57.292697 [WARNING] sofia_reg.c:2353 IP 62.210.78.91 Rejected by register acl "domains"
|
|
|
+failregex = \[WARNING\] sofia_reg.c:\d+ IP <HOST> Rejected by register acl
|
|
|
+
|
|
|
+# Option: ignoreregex
|
|
|
+# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
+# Values: TEXT
|
|
|
+#
|
|
|
+ignoreregex =
|