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
|
||||
Architecture: all
|
||||
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,
|
||||
/var/log/apache/access.log) and temporarily bans failure-prone
|
||||
addresses by updating existing firewall rules. Currently, iptables,
|
||||
ipfwadm and ipfw are supported.
|
||||
addresses by updating existing firewall rules. Currently, by default,
|
||||
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
|
||||
|
||||
|
|
|
@ -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_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
|
|
Loading…
Reference in New Issue