From 7ace5424b7711c90d37117b174754cea041dc677 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Mon, 23 May 2016 16:31:59 +0200 Subject: [PATCH] prva verzija za jessie --- debian/changelog | 7 +++++++ debian/control | 23 ++++++++++++----------- debian/postinst | 6 +----- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/debian/changelog b/debian/changelog index 950a1ea..f7dfb20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +fail2ban-cn (0.8.13~cn0) stable; urgency=low + + * Prva verzija za jessie + * Izmjene za systemd + + -- Ivan Rako Mon, 23 May 2016 16:29:22 +0200 + fail2ban-cn (0.8.6~cn0) stable; urgency=low * Prva verzija za wheezy diff --git a/debian/control b/debian/control index d302e40..c9222af 100644 --- a/debian/control +++ b/debian/control @@ -7,18 +7,19 @@ Standards-Version: 3.9.3 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. diff --git a/debian/postinst b/debian/postinst index 4adc7bc..cbd1e67 100755 --- a/debian/postinst +++ b/debian/postinst @@ -51,11 +51,7 @@ if [ -e "$CONF" ]; then 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. -- 1.7.10.4