From 7426f890db9c59fbb94e94c2831e5890de00ff18 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Wed, 17 Oct 2007 15:08:38 +0000 Subject: [PATCH] r13: - u slucaju greske kod ucitavanja SSH bruteforce, ne izadje s greskom.. --- debian/changelog | 7 +++++++ debian/postinst | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 48d4e77..b229265 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +iptables-cn (2:1.2.11-6) stable; urgency=low + + * ne izadji s greskom u slucaju da se SSH bruteforce zastita ne uspije + ucitati do kraja + + -- Dinko Korunic Wed, 17 Oct 2007 17:04:43 +0200 + iptables-cn (2:1.2.11-5) stable; urgency=low * primjeri za koristenje iptables naredbe diff --git a/debian/postinst b/debian/postinst index d4f3626..0fe9d74 100755 --- a/debian/postinst +++ b/debian/postinst @@ -47,7 +47,8 @@ fi if [ ! -e /var/lib/iptables/active ]; then if ! iptables-save | grep '^-' >/dev/null; then echo "CN: Netfilter rules empty: importing SSH bruteforce rules" - . /usr/share/doc/iptables-cn/examples/ssh-bruteforce + /usr/share/doc/iptables-cn/examples/ssh-bruteforce \ + 1>/dev/null 2>&1 || true fi echo "CN: Saving current Netfilter rules to /var/lib/iptables/active" iptables-save > /var/lib/iptables/active -- 1.7.10.4