mirror of https://github.com/fail2ban/fail2ban
Adjusted description and added logrotate config
parent
1ae50b123d
commit
e5e22cf50d
|
@ -8,11 +8,14 @@ Standards-Version: 3.6.2
|
||||||
Package: fail2ban
|
Package: fail2ban
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: python, iptables
|
Depends: python, iptables
|
||||||
Description: bans IPs that cause multiple authentication errors for ssh/apache
|
Description: bans IPs that cause multiple authentication errors
|
||||||
Monitors (in daemon mode) or just scans log files (e.g. /var/log/auth.log,
|
Monitors (in daemon mode) or just scans log files (e.g. /var/log/auth.log,
|
||||||
/var/log/apache/access.log) and temporarily bans failure-prone
|
/var/log/apache/access.log) and temporarily bans failure-prone
|
||||||
addresses by updating existing firewall rules. Currently, iptables,
|
addresses by updating existing firewall rules. Currently, by default,
|
||||||
ipfwadm and ipfw are supported.
|
supports ssh/apache but configuration can be easily extended for scanning
|
||||||
|
the other ASCII log files. Firewall rules are given in the config file,
|
||||||
|
thus it can be adopted to be used with a variety of firewalls (e.g. iptables,
|
||||||
|
ipfwadm).
|
||||||
.
|
.
|
||||||
Homepage: http://www.sourceforge.net/projects/fail2ban
|
Homepage: http://www.sourceforge.net/projects/fail2ban
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
/var/log/fail2ban.log {
|
||||||
|
weekly
|
||||||
|
rotate 4
|
||||||
|
compress
|
||||||
|
missingok
|
||||||
|
postrotate
|
||||||
|
/etc/init.d/fail2ban restart >/dev/null
|
||||||
|
endscript
|
||||||
|
}
|
|
@ -80,7 +80,7 @@ binary-arch: build install copy-inits
|
||||||
# dh_install
|
# dh_install
|
||||||
# dh_installmenu
|
# dh_installmenu
|
||||||
# dh_installdebconf
|
# dh_installdebconf
|
||||||
# dh_installlogrotate
|
dh_installlogrotate
|
||||||
# dh_installemacsen
|
# dh_installemacsen
|
||||||
# dh_installpam
|
# dh_installpam
|
||||||
# dh_installmime
|
# dh_installmime
|
||||||
|
|
Loading…
Reference in New Issue