Better use SecureXL penalty box. It is a mechanism that performs an early drop of packets arriving from suspected sources.
Controls the IP blacklist in SecureXL. The blacklist blocks all traffic to and from the specified IP addresses. It is an easy way to block certain IP addresses quickly and eficiently on SecureXL level.
The blacklist drops occur in SecureXL, which is more efficient than an Access Control Policy or SAM rule to drop the packets. This can be very helpful e.g. with DoS attacks to block an IP on SecureXL level.
For example, the traffic from and to IP 220.127.116.11 should be blocked at SecureXL level.
On gateway set the IP 18.104.22.168 to Secure XL blacklist:
# fwaccel dos blacklist -a 22.214.171.124
On gateway displays all IP's on the SecureXL blacklist:
# fwaccel dos blacklist -s
On gateway delete the IP 126.96.36.199 from Secure XL blacklist:
# fwaccel dos blacklist -d 188.8.131.52
More to SecureXL penalty box read here :
R80.x - Performance Tuning Tip - DDoS „fw sam“ vs. „fwaccel dos“
I have created a script to execute this command on all gateways at the same time or on a singel gateway.
Read more about this script here:
- GAIA - Easy execute CLI commands from management on gateways
- GAIA - Easy execute CLI commands on all gateways simultaneously
I execute this script in a loop on the management server and submit all tor network IP's from management to gateway.
Advantage: I can adjust the addresses almost in real time and don't have to install a policy.
➜ CCSM Elite, CCME, CCTE