Fail2Ban settings

Hi.
I have an interesting problem which I’m hoping someone else has seen and fixed.
I have FreePBX 14.0.13.4 installed and want to modify the Fail2Ban settings so that the bantime is one year and findtime is one day.

I’ve added to common.conf:

“bantime” is the number of seconds that a host is banned.

#bantime = 600
bantime = 31536000

A host is banned if it has generated “maxretry” during the last “findtime”

seconds.

#findtime = 600
findtime = 86400

but it doesn’t seem to be overriding the settings in jail.local, which advise against modifying as the file is overwritten by sysadmin

I’m assuming there is a setting in FreePBX that will override that settings in jail.local.

Can somebody point me at this please.

https://wiki.freepbx.org/display/FPG/System+Admin+-+Intrusion+Detection#SystemAdmin-IntrusionDetection-BanTime

Thanks. I knew it would be there somewhere, just a matter of knowing where to look.
Now that I’ve been able to make that change it’s drastically cut down on the attempts to break in to the system.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.