Package: fail2ban-cn
Architecture: all
-Depends: ${misc:Depends}, fail2ban (>= 0.8.6), gamin (>= 0.1.10-4.1), python-gamin (>= 0.1.10-4.1)
+Depends: ${misc:Depends}, fail2ban (>= 0.8.13), gamin (>= 0.1.10-4.1), python-gamin (>= 0.1.10-4.1)
Description: bans IPs that cause multiple authentication errors
- Monitors log files (e.g. /var/log/auth.log,
+ Fail2ban monitors log files (e.g. /var/log/auth.log,
/var/log/apache/access.log) and temporarily or persistently bans
- failure-prone addresses by updating existing firewall rules. The
- software was completely rewritten at version 0.7.0 and now allows
- easy specification of different actions to be taken such as to ban an
- IP using iptables or hostsdeny rules, or simply to send a
- notification email. Currently, by default, supports ssh/apache/vsftpd
- but configuration can be easily extended for monitoring any other ASCII
- file. All filters and actions are given in the config files, thus
- fail2ban can be adopted to be used with a variety of files and
- firewalls.
+ failure-prone addresses by updating existing firewall rules. Fail2ban
+ allows easy specification of different actions to be taken such as to
+ ban an IP using iptables or hostsdeny rules, or simply to send a
+ notification email.
+ .
+ By default, it comes with filter expressions for various services
+ (sshd, apache, qmail, proftpd, sasl etc.) but configuration can be
+ easily extended for monitoring any other text file. All filters and
+ actions are given in the config files, thus fail2ban can be adopted
+ to be used with a variety of files and firewalls.
.
This package brings CARNet-related configuration.
fi
# restart the services
-if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d fail2ban restart || exit $?
-else
- /etc/init.d/fail2ban restart || exit $?
-fi
+service fail2ban restart || exit $?
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.