11-15
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 11 Connection Settings
Configure Connection Settings
Procedure
Step 1
Create an L3/L4 class map to identify the traffic for which you want to customize connection settings.
class-map
name
match
parameter
Example:
hostname(config)#
class-map CONNS
hostname(config-cmap)#
match any
For information on matching statements, see
Identify Traffic (Layer 3/4 Class Maps), page 1-13
Step 2
Add or edit a policy map that sets the actions to take with the class map traffic, and identify the class
map.
policy-map
name
class
name
Example:
hostname(config)# policy-map global_policy
hostname(config-pmap)# class CONNS
In the default configuration, the global_policy policy map is assigned globally to all interfaces. If you
want to edit the global_policy, enter global_policy as the policy name. For the class map, specify the
class you created earlier in this procedure.
Step 3
Set connection limits and TCP sequence number randomization. (TCP Intercept.)
•
set connection conn-max
n—The maximum number of simultaneous TCP or UDP connections that
are allowed, between 0 and 2000000, for the entire class. The default is 0, which allows unlimited
connections.
–
If two servers are configured to allow simultaneous TCP or UDP connections, the connection
limit is applied to each configured server separately.
–
Because the limit is applied to a class, one attack host can consume all the connections and leave
none for the rest of the hosts that are matched to the class.
•
set connection embryonic-conn-max
n—The maximum number of simultaneous embryonic
connections allowed, between 0 and 2000000. The default is 0, which allows unlimited connections.
By setting a non-zero limit, you enable TCP Intercept, which protects inside systems from a DoS
attack perpetrated by flooding an interface with TCP SYN packets. Also set the per-client options
to protect against SYN flooding.
•
set connection per-client-embryonic-max
n—The maximum number of simultaneous embryonic
connections allowed per client, between 0 and 2000000. The default is 0, which allows unlimited
connections.
•
set connection per-client-max
n—The maximum number of simultaneous connections allowed per
client, between 0 and 2000000. The default is 0, which allows unlimited connections. This argument
restricts the maximum number of simultaneous connections that are allowed for each host that is
matched to the class.
•
set connection random-sequence-number
{
enable
|
disable
}—Whether to enable or disable TCP
sequence number randomization. Randomization is enabled by default.
Example:
hostname(config-pmap-c)#
set connection conn-max 256 random-sequence-number disable
Step 4
Set connection timeouts and Dead Connection Detection (DCD).
Содержание ASA 5512-X
Страница 5: ...P A R T 1 Service Policies and Access Control ...
Страница 6: ......
Страница 50: ...3 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 3 Access Rules History for Access Rules ...
Страница 51: ...P A R T 2 Network Address Translation ...
Страница 52: ......
Страница 126: ...5 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 5 NAT Examples and Reference DNS and NAT ...
Страница 127: ...P A R T 3 Application Inspection ...
Страница 128: ......
Страница 255: ...P A R T 4 Connection Settings and Quality of Service ...
Страница 256: ......
Страница 288: ...12 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 12 Quality of Service History for QoS ...
Страница 303: ...P A R T 5 Advanced Network Protection ...
Страница 304: ......
Страница 339: ...P A R T 6 ASA Modules ...
Страница 340: ......
Страница 398: ...17 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 17 ASA CX Module History for the ASA CX Module ...