CPUG

The Check Point User Group

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

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. 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 2007-06-20
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Deactivate SD for hosted web servers?

We use Header Rejection in R61 to protect against spyware/adware. Since SmartDefense applies to all interfaces, spyware-infected people on the Internet cannot connect to our web server behind FW-1 because Header Rejection is blocking them.

Is there any way around this without disabling the Header Rejection protections for everyone? Does R62/R65 work differently?

Thanks,

Ray
Reply With Quote
  #2 (permalink)  
Old 2007-06-20
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,670
Rep Power: 5
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: Deactivate SD for hosted web servers?

Quote:
Originally Posted by RayPesek View Post
Is there any way around this without disabling the Header Rejection protections for everyone? Does R62/R65 work differently?

With R62/65 you have the profiles option if you have different firewalls, but otherwise no.
Reply With Quote
  #3 (permalink)  
Old 2007-06-20
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: Deactivate SD for hosted web servers?

Bummer. It really needs a "do not enforce on external interface" selection.

Since I can apply the protection to just a resource, how much of a performance hit would I take if I created an HTTP resource in the rule that allows the proxy server outbound and changed the setting to apply to resources only and not all HTTP traffic? We're talking R61 here.

It seems to me that this protection was moved to the kernel in NGX from the security server for performance reasons, so I guess I would be un-doing that. We already have the HTTP security server running but it's on a very low volume rule.

On a similar note, I could probably get away with activating the custom error page, but the warning about it affecting performance makes me leery. Do you have any idea what would happen response-wise? Does the performance hit affect every single connection regardless of whether it trips the error page or not? We're only talking about a T-1 here.

Thanks for the prompt response,

Ray

Last edited by RayPesek; 2007-06-20 at 20:22.
Reply With Quote
  #4 (permalink)  
Old 2007-06-21
Member
 
Join Date: 2006-06-27
Location: United Kingdom
Posts: 73
Rep Power: 3
munrog has an average reputation (10+)
Send a message via MSN to munrog Send a message via Skype™ to munrog
Default Re: Deactivate SD for hosted web servers?

There is another way, but unfortunately it will turn all SmartDefense into Monitor only for those hosts. This is covered in SK #sk31918

On your Manager
  • If SmartCenter NGX manages the VPN-1/FireWall-1 NG AI R55 Security gateway, make all changes in the /opt/CPngcmp/lib/base.def file on the SmartCenter.
  • If SmartCenter NGX manages the VPN-1Pro NGX Security gateway, make all changes in the $FWDIR/lib/asm.def file on the SmartCenter.
Above the CIFS worm catcher add
// List of devices to disable SmartDefense services
IPList={<192.168.0.1>,<192.168.0.2>,<192.168.0.3>} ;

Note that you can also use an IP ranges by using the following syntax:

IPList = {<IP_start,IP_end>,<IP_start,IP2_end>};


Find the following line:
#define ACTIVATE_WS_GLOBAL_DEFENSE (tcp, dport in http_services,ADD_INSPECTION(SPII_WEBSEC_ID)) or 1

Change it to the following:
#define ACTIVATE_WS_GLOBAL_DEFENSE (src not in IPList,dst not in IPList, tcp, dport in http_services,ADD_INSPECTION(SPII_WEBSEC_ID)) or 1


Find the following line:
#define ACTIVATE_WS_SERVER_DEFENSE ( tcp, get from web_server_rules to sr10, ADD_INSPECTION_WITH_PARAMS(SPII_WEBSEC_ID, sr10)) or ACTIVATE_WS_GLOBAL_DEFENSE

Change it to the following:
#define ACTIVATE_WS_SERVER_DEFENSE ( src not in IPList,dst not in IPList, tcp, get from web_server_rules to sr10, ADD_INSPECTION_WITH_PARAMS(SPII_WEBSEC_ID, sr10)) or ACTIVATE_WS_GLOBAL_DEFENSE

Save your changes, open the SmartDashboard and push the security policy to your gateway.
-Greg
Reply With Quote
  #5 (permalink)  
Old 2007-06-21
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: Deactivate SD for hosted web servers?

Thanks! I did not know about that. I think it is better to just un-block th header reject patterns I see in the logs. As much as I do not want to do that, it is a bit better than turning everything off.

Ray
Reply With Quote
  #6 (permalink)  
Old 2007-06-22
Member
 
Join Date: 2006-06-27
Location: United Kingdom
Posts: 73
Rep Power: 3
munrog has an average reputation (10+)
Send a message via MSN to munrog Send a message via Skype™ to munrog
Default Re: Deactivate SD for hosted web servers?

Quote:
Originally Posted by RayPesek View Post
Thanks! I did not know about that. I think it is better to just un-block th header reject patterns I see in the logs. As much as I do not want to do that, it is a bit better than turning everything off.
I totally agree, however we've come across a number of scenarios where it has been necessary to "monitor only" all smartdefense to specific hosts - such as to our proxy servers from our internal clients because both http and https use port 80 and the HTTP Method "CONNECT", Altiris Servers because they stick the data in an AVI stream inside HTTP and DNS because of the way some of our internal apps and Lucent QiP operate...
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 18:27.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0