Hello,
We use ConfigServer Firewall (CSF) and when we add a IP to whitelist in csf.allow the IP still get’s blocked in Comodo WAF.
We had to disable Comodo WAF for that domain.
Is that something you could fix in the future release?
Hello,
We use ConfigServer Firewall (CSF) and when we add a IP to whitelist in csf.allow the IP still get’s blocked in Comodo WAF.
We had to disable Comodo WAF for that domain.
Is that something you could fix in the future release?
Hi Hedloff
I think it possible to create shell script allowing to whitelist IP by adding it to csf.allow and CWAF.
Something like:
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Usage: $0 IP_TO_ALLOW"
exit 0
fi
DATE=`date`
IP=$1
echo "$IP # added by $0 - $DATE" >> /etc/csf/csf.allow
/var/cpanel/cwaf/scripts/cwaf-cli.pl -f -dd $IP
echo "Added $IP to CSF/CWAF whitelist"