mod_fail2ban
About
Logs all inbound registration attempts, and failed registrations to a log file "/usr/local/freeswitch/log/fail2ban.log" (configurable) The advantage to using this module for fail2ban rather than the standard FS log is that you don't have to keep your server log level as verbose.
Click here to expand Table of Contents
- 1 Author
- 2 Install instructions
- 3 Hint
Author
Announced on the mailing list on Fri, Apr 20, 2012 at 7:17 PM
Hello everyone, I've written a FreeSWITCH module for the application Fail2ban. It currently logs all inbound registration attempts, and failed registrations to a log file "/usr/local/freeswitch/log/fail2ban.log" (configurable) The advantage to using this module for fail2ban rather than the standard FS log is that you don't have to keep your server log level as verbose.
Install instructions
- Source: https://github.com/kyconquers/freeswitch-mod%5Ffail2ban
git clone [https://github.com/kyconquers/freeswitch-mod%5Ffail2ban.git](https://github.com/kyconquers/freeswitch-mod%5Ffail2ban.git)
- Put the config file in autoload_configs and adjust as necessary.
- Enter the directory and do
make && make install
- To load manually: in fs_cli,
load mod_fail2ban
- To load automatically: in modules.conf.xml, add
mod_fail2ban
Hint
If make fails with sth. like this:
make[1]: *** No rule to make target `/usr/local/src/freeswitch-mod_fail2ban/freeswitch-mod_fail2ban.c', needed by `[freeswitch-mod_fail2ban.la](http://freeswitch-mod%5Ffail2ban.la)'.
Stop
clone the git into your freeswitch source directory, i.e. /usr/local/src/freeswitch/src/mod/applications/mod_fail2ban and execute make from there:
- cd /usr/local/src/freeswitch/src/mod/applications
- git clone https://github.com/kyconquers/freeswitch-mod%5Ffail2ban.git mod_fail2ban
- make && make install
Comments:
the download links no longer exist! Posted by madovsky at Jul 03, 2016 14:09 |
---|
Looks like you can find a fork here:https://github.com/mehulsbhatt/freeswitch-mod%5Ffail2ban Posted by frik at Aug 05, 2016 05:30 |