Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Jean-Philippe Pialasse on May 26, 2010, 06:07:52 PM
-
Hello ,
i am currently working on a fail2ban contribs. I would need some intrusion logs example in order to make some regex rules. Please send them to tests _at_ pialasse -dot- com.
You can seek for the intrusions in theses files :
- ftp : /var/log/ftp/ or /var/log/proftp
- imaps : /var/log/imaps/current
- pops : /var/log/pops/current
- imap : /var/log/imap/current
- pop : /var/log/pop/current
- qpsmtpd : /var/log/sqpsmtpd/current
- webmail : /var/log/httpd/error_log
- server manager : /var/log/httpd/error_log
i currently have some rules working for apache and php url open, as well as sshd (but denyhosts does it better)
I was also planning to make some esmith db in order to store banned ip during fail2ban restart.
-
Are we there yet? :-)
Are we there yet? :-)
Are we there yet? :-)
-
i am still needing some log to train my regex.
but it's good to see that some body is interested at least !
-
Count me in too ;)
I only use fail2ban to protect my asterisk, but it would be good to protect the other services.
Thanks,
-
Good day
I am assuming this would be like the SSH DenyHosts contrib??
What would you be looking for exactley in the log files, maybe I can provide some?
-
Hello,
i would example of what you think as an intrusion like:
- bad password login attempt with http auth
- bad connexion attempt into asterisk (Franco if you already have some regex for it send it to me too, telling me the kind of installation you have like freepbx or another)
open one of these log and find an intrusion and copy paste it to my email (not in clear here)
- ftp : /var/log/ftp/ or /var/log/proftp
- imaps : /var/log/imaps/current
- pops : /var/log/pops/current
- imap : /var/log/imap/current
- pop : /var/log/pop/current
- qpsmtpd : /var/log/sqpsmtpd/current
- webmail : /var/log/httpd/error_log
- server manager : /var/log/httpd/error_log
or any other log file like the one for asterisk if you have another service you want to be added
-
Rudimentary install notes for Fail2Ban on SME7 are at:
http://www.linuxexpert.ro/Linux-Tutorials/installing-fail2ban-on-centos5.html