Adjusted description and added logrotate config

debian-releases/etch
Yaroslav Halchenko 2005-08-13 08:31:19 +00:00
parent 1ae50b123d
commit e5e22cf50d
3 changed files with 16 additions and 4 deletions

9
debian/control vendored
View File

@ -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

9
debian/logrotate vendored Normal file
View File

@ -0,0 +1,9 @@
/var/log/fail2ban.log {
weekly
rotate 4
compress
missingok
postrotate
/etc/init.d/fail2ban restart >/dev/null
endscript
}

2
debian/rules vendored
View File

@ -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