Description
Configures the whitelist for source IP addresses in the SecureXL Penalty Box.
This whitelist overrides which packet the SecureXL Penalty Box drops.
Notes:
In Gaia Clish, run: set virtual-system <
VSID>
In Expert mode, run: vsenv <
VSID>
--enable-drop-opts
--enable-drop-frags
See the 'fwaccel dos config
' and 'fwaccel6 dos config
' command.
fw samp
command. For example, fw samp -a b ...
For more information about the fw sam_policy
command, see the R80.20 Performance Tuning Administration Guide - Section Rate Limiting for DoS Mitigation - Section 'fw sam_policy' and 'fw6 sam_policy'.
fwaccel dos pbox whitelist
command.fwaccel synatk whitelist
command.Syntax for IPv4
-a <IPv4 Address>[/<Subnet Prefix>] -d <IPv4 Address>[/<Subnet Prefix>] -F -l -L -s |
Parameters
Parameter |
Description |
---|---|
|
Specifies the SecureXL instance ID (for IPv4 only). |
No Parameters |
Shows the applicable built-in usage. |
|
Adds the specified IP address to the Penalty Box whitelist.
Examples:
|
|
Removes the specified IPv4 address from the Penalty Box whitelist.
|
|
Removes (flushes) all entries from the Penalty Box whitelist. |
|
Loads the Penalty Box whitelist entries from the specified plain-text file. Note - To replace the current whitelist with the contents of a new file, use both the Important:
|
|
Loads the Penalty Box whitelist entries from the plain-text file with a predefined name:
Security Gateway automatically runs this command Note - To replace the current whitelist with the contents of a new file, use both the Important:
|
|
Shows the current Penalty Box whitelist entries. |
Example - Adding a host IP address without optional subnet prefix
[Expert@MyGW:0]# fwaccel dos whitelist -a 192.168.20.40 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -s 192.168.20.40/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -F [Expert@MyGW:0]# fwaccel dos whitelist -s [Expert@MyGW:0]# |
Example - Adding a host IP address with optional subnet prefix
[Expert@MyGW:0]# fwaccel dos whitelist -a 192.168.20.40/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -s 192.168.20.40/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -F [Expert@MyGW:0]# fwaccel dos whitelist -s [Expert@MyGW:0]# |
Example - Adding a network IP address with mandatory subnet prefix
[Expert@MyGW:0]# fwaccel dos whitelist -a 192.168.20.0/24 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -s 192.168.20.0/24 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -F [Expert@MyGW:0]# fwaccel dos whitelist -s [Expert@MyGW:0]# |
Example - Deleting an entry
[Expert@MyGW:0]# fwaccel dos whitelist -a 192.168.20.40/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -a 192.168.20.70/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -s 192.168.20.40/32 192.168.20.70/32 [Expert@MyGW:0]# fwaccel dos whitelist -d 192.168.20.70/32 [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos whitelist -s 192.168.20.40/32 [Expert@MyGW:0]# |