CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have 72 attendees signed up from 20 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > SmartDefense
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2005-08-13
roadrunner roadrunner is offline
Senior Member
 
Join Date: 2005-08-12
Posts: 162
Rep Power: 4
roadrunner has an average reputation (10+)
Default How does SYNDefender Work?

How does SYNDefender Work?
A normal TCP connection starts like this:


Client sends SYN packet to Server
Server sends SYN/ACK packet to Client
Client sends an ACK packet.
Connection starts.
SYNDefender generally mucks with the SYN/ACK responses to help keep SYN attacks abay. There are three SYNDefender modes, SYN Relay, SYN Gateway, and Passive SYN Gateway.

SYN Relay Mode works like this (assume Firewall is between Client and Server):


Client sends SYN packet to Server, but is intercepted by Firewall.
Firewall sends back a SYN/ACK packet to Client.
Client send ACK packet to Firewall.
Firewall sends SYN packet to Server on behalf of Client.
Server sends SYN/ACK packet to Firewall.
Firewall sends ACK packet to Server.
Connection starts.
The short version of this: FireWall-1 performs the entire handshake process on behalf of the client before sending it onto the client. This is the most secure, but also places the highest overhead on the firewall.

Note that this feature is not present in FireWall-1 4.0 or 4.1. It is present in 3.0 and earlier versions. It has returned in NG FP1 and FP2, though this property disappeared again in NG FP3.

SYN Gateway Mode works like this (again, assume Firewall is between Client and Server):


Client sends SYN packet to Server
Server sends SYN/ACK packet to Client
Firewall sends ACK packet to Server on behalf of Client.
Client sends ACK packet to Server. The server receives it, but ignores it as it is redundant.
Connection starts.
The short version of this: FireWall-1 tracks the state of the handshaking process (it does not perform any handshaking on behalf of the server) and will reset "invalid" connection attempts as necessary. This is the recommended setting if SYNDefender will be employed on your network.

Passive SYN Gateway works like this (...)


Client sends SYN packet to Server. Firewall notes the handshake attempt.
Server sends SYN/ACK packet back to Client, but is intercepted by Firewall.
Firewall resends SYN/ACK to client.
Client sends ACK packet to server.
Connection starts.
The short version of this: Like SYN Gateway, the Passive SYN Gateway tracks the state of the handshake. The primary difference between the two modes is that the SYN Gateway will "open" the connection to the server without verifying the final "ACK" from the client. This means connections may get opened unnecessarily, but they will be reset if SYNDefender does not see the final "ACK" packet from the client.

In either case, if there is no ACK from the client within a certain period of time, the connection will be reset.

-- PhoneBoy - 08 Jan 2004


FAQForm
FAQs.Class: MiscellaneousFAQs
FAQs.OS:
FAQs.Version:
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:25.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0