Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2182 → Rev 2183

/scripts/alcasar-conup.sh
17,17 → 17,16
 
ipset del not_auth_yet $FRAMED_IP_ADDRESS
 
 
# Add user to the SET (depending on FILTER_ID)
 
#FilterID : 12345678
#1-> profile1
#2-> profile2
#3-> profile3
#4-> warn_user (if imputability report has been generated)
#6-> WL
#7-> BL
#8-> HAVP
# FilterID bit N°0 to 7
#0-> profile1
#1-> profile2
#2-> profile3
#3-> warn_user (if imputability report has been generated)
#5-> WL
#6-> BL
#7-> HAVP
 
if [ ${FILTER_ID:7:1} -eq '1' ] #HAVP
then
53,7 → 52,6
fi
fi
 
 
if [ ${FILTER_ID:6:1} -eq '1' ] #HAVP_BL
then
set="havp_bl"
128,6 → 126,5
fi
fi
 
 
ipset add $set $FRAMED_IP_ADDRESS
ipset add $set_proto $FRAMED_IP_ADDRESS