Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1875 → Rev 1876

/scripts/alcasar-iptables.sh
98,12 → 98,9
 
# destruction de tous les SET
# destroy all SET
ipset flush
ipset destroy
 
ipset flush bl_ip_blocked
ipset destroy bl_ip_blocked
ipset flush wl_ip_allowed
ipset destroy wl_ip_allowed
###### BL set ###########
# Calcul de la taille / Compute the length
bl_set_length=$(($(wc -l $BL_IP_CAT/* | awk '{print $1}' | tail -n 1)+$(wc -l $BL_IP_OSSI | awk '{print $1}')))