Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2183 → Rev 2182

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