diff --git a/freebsd/resources/fail2ban/jail.local b/freebsd/resources/fail2ban/jail.local index 5c2654c..994f8ae 100755 --- a/freebsd/resources/fail2ban/jail.local +++ b/freebsd/resources/fail2ban/jail.local @@ -3,8 +3,8 @@ enabled = true port = 5060:5091 protocol = all filter = freeswitch -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 5 findtime = 600 banaction = pf @@ -16,8 +16,8 @@ enabled = false port = 5060:5091 protocol = all filter = freeswitch-ip -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 1 findtime = 30 banaction = pf @@ -28,8 +28,8 @@ enabled = false port = 5060:5091 protocol = all filter = sip-auth-challenge-ip -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 1 findtime = 30 banaction = pf @@ -40,8 +40,8 @@ enabled = true port = 5060:5091 protocol = all filter = sip-auth-challenge -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 50 findtime = 30 banaction = pf @@ -52,8 +52,8 @@ enabled = true port = 5060:5091 protocol = all filter = freeswitch-404 -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 3 findtime = 300 banaction = pf