+fail2ban-cn (0.10.2+cn10u2) stable; urgency=low
+
+ * Dodana ovisnost o carnet-tools-cn i ipcalc, popravak postinsta jer faila
+ ako je zakomentiran "ignoreip" u jail.conf
+
+ -- Zeljko Boros <Zeljko.Boros@carnet.hr> Thu, 15 Apr 2021 14:31:59 +0200
+
fail2ban-cn (0.10.2+cn10u1) stable; urgency=low
* Prva verzija za buster
Section: net
Priority: optional
Maintainer: Ivan Rako <Ivan.Rako@CARNET.hr>
+Uploaders: Zeljko Boros <Zeljko.Boros@carnet.hr>
Build-Depends: debhelper (>= 10)
Standards-Version: 3.9.8
Package: fail2ban-cn
Architecture: all
-Depends: ${misc:Depends}, fail2ban (>= 0.10.2), gamin (>= 0.1.10-4.1), python-gamin (>= 0.1.10-4.1)
+Depends: ${misc:Depends}, carnet-tools-cn, ipcalc, fail2ban (>= 0.10.2), gamin (>= 0.1.10-4.1), python-gamin (>= 0.1.10-4.1)
Description: bans IPs that cause multiple authentication errors
Fail2ban monitors log files (e.g. /var/log/auth.log,
/var/log/apache/access.log) and temporarily or persistently bans
# add network address and class if needed
cp_get_netaddr || true
NETADDR="$RET"
- IGNOREIP=$(grep '^ignoreip' "$CONF")
+ IGNOREIP=$(grep '^ignoreip' "$CONF" || true)
if grep -q '^ignoreip' "$CONF"; then
IGNOREIP=$(grep '^ignoreip' "$CONF")
if ! echo "$IGNOREIP" | grep -q "$NETADDR"; then