Enhanced 3-Way TCP Handshake Enforcement
The standard enforcement for a 3-way handshake that initiates a TCP connection provides adequate security by guaranteeing one-directional stickiness.
This means that it ensures that the SYN-ACK will always arrive after the SYN. However, it does not guarantee that the ACK will always arrive after the SYN-ACK, or that the first data packet will arrive after the ACK.
If you wish to have stricter policy that denies all out-of-state packets, you can configure the synchronization mechanism so that all the TCP connection initiation packets arrive in the right sequence (SYN, SYN-ACK, ACK, followed by the data).
|
Warning - The price for this extra security is a considerable delay in TCP connection establishment. |

-
Close all SmartConsole
Check Point GUI application used to manage a Check Point environment - configure Security Policies, configure devices, monitor products and events, install updates, and so on. windows connected to the Management Server
Check Point Single-Domain Security Management Server or a Multi-Domain Security Management Server..
-
Connect with Database Tool (GuiDBEdit Tool) (see sk13009) to the Security Management Server
Dedicated Check Point server that runs Check Point software to manage the objects and policies in a Check Point environment within a single management Domain. Synonym: Single-Domain Security Management Server. or Domain Management Server that manages this cluster
Two or more Security Gateways that work together in a redundant configuration - High Availability, or Load Sharing..
-
In the left upper pane, go to Table > Network Objects > network_objects.
-
In the right upper pane, select the cluster object (the Class Name column shows gateway_cluster).
-
Press the CTRL+F keys (or go to Search menu > Find).
-
In the Find window, paste this string and click Find Next:
sync_tcp_handshake_mode
-
In the lower pane, right-click on the sync_tcp_handshake_mode property and select Edit.
-
Choose complete_sync and click OK.
For more information, see the section "Synchronization modes for TCP 3-way handshake" below.
-
To save the changes, from the File menu select Save All.
-
Close Database Tool (GuiDBEdit Tool).
-
Connect with SmartConsole to the Security Management Server or Domain Management Server that manages this cluster.
-
In SmartConsole, install the Access Control Policy onto the Cluster object.

Mode |
Instructions |
---|---|
Minimal sync |
This is the default 3-way handshake synchronization mode. The 3-way handshake is not enforced. This mode offers the best connectivity for users who are willing to compromise on security is this case. |
Complete sync |
All 3-way handshake packets are Sync-and-ACK'ed, and the 3-way handshake is enforced. This mode slows down It may be used when there is no way to know where the next packet goes (for example, in 3rd party clusters). |
Smart sync |
In most cases, we can assume that if SYN and SYN-ACK were encountered by the same cluster member ClusterXL When a SYN packet arrives, the member that encountered it, records the connection and turns off its flag. All other members are synchronized, and by using a post-sync handler, their flag is turned on (in their Connections Tables). If the same member encounters the SYN-ACK packet, the connection is sticky, thus other cluster members are not informed. Otherwise, the relevant member will inform all other member (since its flag is turned on). The original member (that encountered the SYN) will now turn on its flag, thus all members will have their flag on. In this case, the third packet of the 3-way handshake is also synchronized. If for some reason, our previous assumption is not true (i.e., one cluster member encountered both SYN and SYN-ACK packets, and other members encountered the third ACK), then the “third” ACK will be dropped by the other cluster members, and we rely on the periodic sync and TCP retransmission scheme to complete the 3-way handshake. This 3-way handshake synchronization mode is a good solution for ClusterXL Load Sharing This 3-way handshake synchronization mode is also recommended for ClusterXL High Availability |