11-13
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 11 Connection Settings
Configure Connection Settings
Examples
The following is a sample configuration for TCP state bypass:
hostname(config)#
access-list tcp_bypass extended permit tcp 10.1.1.0 255.255.255.224 any
hostname(config)#
class-map tcp_bypass
hostname(config-cmap)#
description "TCP traffic that bypasses stateful firewall"
hostname(config-cmap)#
match access-list tcp_bypass
hostname(config-cmap)#
policy-map tcp_bypass_policy
hostname(config-pmap)#
class tcp_bypass
hostname(config-pmap-c)#
set connection advanced-options tcp-state-bypass
hostname(config-pmap-c)#
service-policy tcp_bypass_policy outside
Disable TCP Sequence Randomization
Each TCP connection has two ISNs: one generated by the client and one generated by the server. The
ASA randomizes the ISN of the TCP SYN passing in both the inbound and outbound directions.
Randomizing the ISN of the protected host prevents an attacker from predicting the next ISN for a new
connection and potentially hijacking the new session.
You can disable TCP initial sequence number randomization if necessary, for example, because data is
getting scrambled. For example:
•
If another in-line firewall is also randomizing the initial sequence numbers, there is no need for both
firewalls to be performing this action, even though this action does not affect the traffic.
•
If you use eBGP multi-hop through the ASA, and the eBGP peers are using MD5. Randomization
breaks the MD5 checksum.
•
You use a WAAS device that requires the ASA not to randomize the sequence numbers of
connections.
Procedure
Step 1
Create an L3/L4 class map to identify the traffic whose TCP sequence numbers should not be
randomized. The class match should be for TCP traffic; you can identify specific hosts (with an ACL)
do a TCP port match, or simply match any traffic.
class-map
name
match
parameter
Example:
hostname(config)#
access-list preserve-sq-no extended permit tcp any host 10.2.2.2
hostname(config)#
class-map no-tcp-random
hostname(config-cmap)#
match access-list preserve-sq-no
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 preserve-sq-no
Содержание 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 ...