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 2008-02-07
Junior Member
 
Join Date: 2008-01-31
Posts: 5
Rep Power: 0
dolphynsafe has an average reputation (10+)
Default Allow specific ip through Smart Defense

I need to allow traffic from a particular host inbound access for some testing. Smart Defense will not allow it through because of the ports and nature of the test. I was wondering if there was a way to allow just this ip address through smart defense but still defend against any other traffic? I thought that there was a type of exclusion list that I could add this ip to?
I know that I can create this new node, then click on the configure servers field. If I check off web server I can then shut off the protections in the webserver tree. This is called web intelligence where I can uncheck what I believe are the smart defense options. Does this sound like a way to implement what I need to do?

Last edited by dolphynsafe; 2008-02-08 at 06:55.
Reply With Quote
  #2 (permalink)  
Old 2008-02-07
Member
 
Join Date: 2006-05-05
Posts: 66
Rep Power: 3
lodown has an average reputation (10+)
Default Re: Allow specific ip through Smart Defense

Currently there is no "global bypass" for SmartDefense. You can bypass certain hosts on a SD check-by-check basis, but not for all SD checks. I submitted a feature request mid-2007 for this functionality, as we wanted to do this for our Vuln. Assess. appliances, but I am not sure if there has been any traction

lodown
Reply With Quote
  #3 (permalink)  
Old 2008-02-11
Junior Member
 
Join Date: 2008-01-31
Posts: 5
Rep Power: 0
dolphynsafe has an average reputation (10+)
Default Re: Allow specific ip through Smart Defense

Thanks for the info.
Reply With Quote
  #4 (permalink)  
Old 2008-03-04
Junior Member
 
Join Date: 2007-03-09
Location: Singapore
Posts: 25
Rep Power: 0
wicked has an average reputation (10+)
Default Re: Allow specific ip through Smart Defense

The following is a way to allow a specific IP to bypass any/all WebIntelligence settings:

If SmartCenter NGX manages a R55 gateway, make all changes to the /opt/CPngcmp/lib/base.def file on the SmartCenter.

If SmartCenter NGX manages an NGX gateway, changes should be made to the $FWDIR/lib/asm.def file on the SmartCenter.


Procedure:

1. Prepare a list of IP addresses for which you want to bypass WebIntelligence.
2. Backup the appropriate file (mentioned above) on the SmartCenter Server.
3. Edit the appropriate file on the SmartCenter:
a. Add the following line to the top of the file to create a variable representing the bypass IP addresses: IPList = {<IP1>,<IP2>,<IP3>};

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

Change it to:
#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

c. 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 Install the Security Policy on the Security Gateway to activate changes.

Note: You can also use an IP range by using the following syntax:
IPList = {<IP_start,IP_end>,<IP2_start,IP2_end>}

Note: If the traffic is passing over non-standard HTTP ports, add a user-defined service and mark the protocol type as HTTP in the Advanced Properties tab.
__________________
CEH, CCSE, CISSP
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 11:36.


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