Advertisement

09.16.2007 at 07:16PM PDT, ID: 22832300
[x]
Attachment Details

CP Firewall - Delayed TCP reply - TCP packet out of state: First packet isn't SYN; tcp_flags: FIN ACK

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.4
Tags:

out, tcp, first, syn, state

OK, I'll try and explain this as best I can,

Some months ago I set up an Anti-spam/Anti-virus gateway on my network.  I placed it in a DMZ.  When originally set up checkpoint was at version NG FP3.  My problem is the following;

As part of the AS/AV gateways spam detection I was trying to allow it communicate with two spamcop servers, vmx1 and vmx2.spamcop.net.  The Reporting call goes out on TCP port 587.  I also expect a reply over this connection.

I set up two security rules ;

1. my_gateway to any over any for tcp 587 accept log

when this rule failed to produce the goods I later added

2. vmx1 and vmx2.spamcop.net to my_gateway over any for any accept log

The call out to vmx1 or vmx2.spamcop.net:587 goes out, no problems.  However, subsequent replies are dropped by the firewal, for example;

vmx2.spamcop.net (tcp 587) to my_gateway (origin outbound source port) dropped ...
... reason 'TCP port out of state: first packet isn't SYN tcp_flags: FIN-ACK

OK, so I thought,

1. the call is going out
2. the reply is being sent
3. the firewall is stopping the reply

So then I thought that the session was timing out in the state table.  I then went to the customised TCP service object for port 587 and changed it from the default timeout of 3600 seconds to 7200 seconds.

No change, packets still going out and replies still being stopped.

The firewall has been upgraded to NGX R65 in the meantime and still no change.

I believe there may be a delay in the reply by necessity, hence my efforts to extend the timeout.  Is there any way I can exempt this specific type of call from the usual 'State' checks.  I'm GUESSING SmartDefence is at the core of this.

Thankfully, the AS/AV gateway performs quite well despite this because it uses other checks, but I'd like to see if it improves with these calls working, and besides, it's one of those nagging problems!

I'd love to know if anyone has come across this specific issue or indeed, something akin to it.

cheers


 
Expert Comment by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Expert Comment by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Expert Comment by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Accepted Solution by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Expert Comment by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Expert Comment by grimkin:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Administrative Comment by keith_alabaster:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by DesCaffreys:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Administrative Comment by keith_alabaster:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
20081119-EE-VQP-46 / EE_QW_2_20070628