fwaccel dos config
Description
The fwaccel dos config and fwaccel6 dos config commands control the global configuration parameters of the Rate Limiting for DoS mitigation in SecureXL Check Point product on a Security Gateway that accelerates IPv4 and IPv6 traffic that passes through a Security Gateway..
These global parameters apply to all configured Rate Limiting rules.
|
Important:
|
Syntax for IPv4
|
Syntax for IPv6
|
Parameters and Options
Parameter or Option |
Description |
||
---|---|---|---|
|
Specifies the SecureXL instance ID (for IPv4 only). |
||
No Parameters |
Shows the applicable built-in usage. |
||
|
Shows the configuration parameters. |
||
|
Configuration the parameters. |
||
|
Disables the IP blacklists. This is the default configuration. |
||
|
Disables the drops of all fragmented packets. This is the default configuration.
|
||
|
Disables the drops of all packets with IP options. This is the default configuration. |
||
|
Disables the enforcement on internal interfaces. This is the default configuration. |
||
|
Disables the notifications when the DoS module drops a packet due to rate limiting policy. |
||
|
Disables the notifications when administrator adds an IP address to the penalty box. |
||
|
Disables the monitor-only mode. This is the default configuration. This command affects all Rate Limiting features. Also, see the fwaccel dos deny command. |
||
|
Disables the IP penalty box. This is the default configuration. Also, see the fwaccel dos pbox command. |
||
|
Disables the enforcement of the rate limiting policy. This is the default configuration. |
||
|
Disables the caching of Rate Limiting rule Set of traffic parameters and other conditions in a Rule Base (Security Policy) that cause specified actions to be taken for a communication session. matches. This optimizes the performance for large numbers of connections-per-second. |
||
|
Enables IP blacklists. Also, see the fwaccel dos deny command. |
||
|
Enables the drops of all fragmented packets. |
||
|
Enables the drops of all packets with IP options. |
||
|
Enables the enforcement on internal interfaces. |
||
|
Enables the notifications when the DoS module drops a packet due to rate limiting policy. This is the default configuration. |
||
|
Enables the notifications when administrator adds an IP address to the penalty box. This is the default configuration. |
||
|
Enables the monitor-only mode (accepts all packets that otherwise are dropped). This command affects all Rate Limiting features. Also, see the fwaccel dos deny command. |
||
|
Enables the IP penalty box. Also, see the fwaccel dos pbox command. |
||
|
Enables the enforcement of the rate limiting policy.
|
||
|
Enables the caching of Rate Limiting rule matches. This optimizes the performance for large numbers of packets-per-connection. This is the default configuration. |
||
|
Configures the maximal number of drop notifications per second for each SecureXL device. Range: 0 - (232-1) Default: 100 |
||
|
Configures the minimal number of reported dropped packets before SecureXL adds a source IPv4 address to the penalty box. Range: 0 - (232-1) Default: 500 |
||
|
Configures the number of seconds until SecureXL removes an IP is from the penalty box. Range: 0 - (232-1) Default: 180 |
Example 1 - Get the current DoS configuration on a non-VSX Gateway
[Expert@MyGW:0]# fwaccel dos config get rate limit: disabled (without policy) pbox: disabled blacklists: disabled log blacklist: disabled drop frags: disabled drop opts: disabled internal: disabled monitor: disabled log drops: disabled log pbox: disabled notif rate: 100 notifications/second pbox rate: 500 packets/second pbox tmo: 180 seconds [Expert@MyGW:0]# |
Example 2 - Enabling the Penalty Box on a non-VSX Gateway
[Expert@MyGW:0]# fwaccel dos config set --enable-pbox OK [Expert@MyGW:0]# [Expert@MyGW:0]# fwaccel dos config get rate limit: disabled (without policy) pbox: enabled blacklists: disabled drop frags: disabled drop opts: disabled internal: disabled monitor: disabled log drops: enabled log pbox: enabled notif rate: 100 notifications/second pbox rate: 500 packets/second pbox tmo: 180 seconds [Expert@MyGW:0]# |
Making the configuration persistent
The settings defined with the "fwaccel dos config set
" and the "fwaccel6 dos config set
" commands return to their default values during each reboot. To make these settings persistent, add the applicable commands to these configuration files:
File |
Description |
|
---|---|---|
|
This shell script for IPv4 must contain only the "
|
|
|
This shell script for IPv6 must contain only the "
|
|
Important - Do not include the fw sam_policy commands in these configuration files. The configured Rate Limiting policy survives reboot. If you add the " |
|
Notes:
|
Example of a $FWDIR/conf/fwaccel_dos_rate_on_install
file:
!/bin/bash fwaccel dos config set --enable-internal fwaccel dos config set --enable-pbox |