From 544f9de6d85c5757ad8fc03742333cde278dffe1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 May 2016 14:20:24 -0600 Subject: [PATCH] Create freeswitch-ip.conf --- debian/resources/fail2ban/freeswitch-ip.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/resources/fail2ban/freeswitch-ip.conf diff --git a/debian/resources/fail2ban/freeswitch-ip.conf b/debian/resources/fail2ban/freeswitch-ip.conf new file mode 100644 index 0000000..bb5222d --- /dev/null +++ b/debian/resources/fail2ban/freeswitch-ip.conf @@ -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 "" can +# be used for standard IP/hostname matching and is only an alias for +# (?:::f{4,6}:)?(?P[\w\-.^_]+) +# Values: TEXT +# +#2014-12-01 00:47:54.331821 [WARNING] sofia_reg.c:2752 Can't find user [1000@xxx.xxx.xxx.xxx] from 62.210.151.162 +failregex = \[WARNING\] sofia_reg.c:2752 Can't find user \[.*@\d+.\d+.\d+.\d+\] from + +# Option: ignoreregex +# Notes.: regex to ignore. If this regex matches, the line is ignored. +# Values: TEXT +# +ignoreregex =