diff --git a/debian/resources/fail2ban/freeswitch-404.conf b/debian/resources/fail2ban/freeswitch-404.conf new file mode 100644 index 0000000..ada405c --- /dev/null +++ b/debian/resources/fail2ban/freeswitch-404.conf @@ -0,0 +1,27 @@ +# Fail2Ban configuration file +# inbound route - 404 not found + + +[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 +# +#failregex = [hostname] FusionPBX: \[\] authentication failed +#[hostname] variable doesn't seem to work in every case. Do this instead: +failregex = 404 not found + + +#EXECUTE sofia/external/8888888888888@example.fusionpbx.com log([inbound routes] 404 not found 82.68.115.62) + + +# Option: ignoreregex +# Notes.: regex to ignore. If this regex matches, the line is ignored. +# Values: TEXT +# +ignoreregex =