cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Policy Management

Have a general question related to SmartConsole and/or SmartDashboard? This is the place to ask! For questions related to configuring Access Policy, including VPN, NAT, and Identity Awareness, ask in the Access Control Products space.

Ivo_Hrbacek
Ivo_Hrbacek inside Policy Management 7 hours ago
views 79 1

url fitering for suffix

hey folks, just wondering how to achieve task like this, I have some github repos, which should be allowed via check point acting as a proxy with https inspection enabled. rest to github should be blockedallow url: https://github.com/0xInfection/TIDoS-Frameworkdeny url:  https://github.comfrom my perspective there is always CONNECT before communication is established to github, when tested I can see traffic never pass via allow url since block url affecting ssl handshakes and so on..any idea how to do achieve mentioned task?thx
HeikoAnkenbrand
HeikoAnkenbrand inside Policy Management yesterday
views 893 22 28

R80.x - Policy Installation Flowchart

Policy Installation Flow Policy installation process has several stages: 1)  Assuming the initiation was made by the SmartConsole the web service policy installation command is sent to the Check Point management (CPM) on the management server. 2)  The first stage is the process that CPM convert the objects with Java from new DB language/ files to the old set language and to files. Then the policy installation process is verifying compiling it to a "language" the security gateway can understand and implement. The verification and compilation stages are performed by the FWM and in the future by CPM process.Note: The translated policies of CPM for FWM can be found for the „Standard“ policy here:$FWDIR/conf/Standard.W 3)  FWM process is responsible for code generation and compilation. For example, the process reads the policy from „$FWDIR/conf/Standard.W“ and other files and use them for the policy verification and conversion. The FWM process performs verification and conversion of the files and database information for the installation targets for which policy installation is requested. For this the fw_loader of the corresponding Check Point version is started to verify and convert the policy.Note: For the corresponding Check Point versions, the fw_loader and other tools can be found in the following path on a R80.30 management server:             /opt/CPsuite-R80.30/fw1/bin/fw_loader                      R80.30             /opt/CPR7520CMP-R80.30/bin/fw_loader                   R75.20, R75.30              /opt/CPR7540CMP-R80.30/bin/fw_loader                   R75.40, R75.45, R75.46, R75.47             /opt/CPR76CMP-R80.30/bin/fw_loader                       R76, R76SP to R76SP.50             /opt/CPR77CMP-R80.30/bin/fw_loader                       R77, R77.10, R77.20, R77.30             /opt/CPR75CMP-R80.30/bin/fw_loader                       R75, R75.10One question that keeps coming up is. Which config files are used on the management server to compile policies with user specificlally INSPECT code?For this purpose, different directorys are used for each Check Point gateway version according to the above scheme similar to fw_loader.              /opt/CPsuite-R80.30/fw1/lib                                         R80.30             /opt/CPR7520CMP-R80.30/lib                                      R75.20, R75.30              /opt/CPR7540CMP-R80.30/lib                                      R75.40, R75.45, R75.46, R75.47             /opt/CPR76CMP-R80.30/lib                                          R76, R76SP to R76SP.50             /opt/CPR77CMP-R80.30/lib                                          R77, R77.10, R77.20, R77.30             /opt/CPR75CMP-R80.30/lib                                          R75, R75.10Here are the most important config files, which we can customize Check Point INSPECT code individually:      |-> user.def                                          ->  User-defined implied rules that can be added in Check Point INSPECT language (sk98239)       |-> fwui_head.def                  |-> table.def                             -> Definitions of various kernel tables for Check Point security gateway (sk98339)                   |-> auth.def                  |-> base.def                            |-> crypt.def                   -> VPN encryption macros (sk98241)                            |-> services.def                            |-> proxy.def                            |-> crypt.def4)  After code generation and compilation, the FWM process invokes the Check Point Policy Transfer Agent (CPTA) command that sends the policy to all applicable security gateways. 5)  The CPD process on the security gateway on port 18191 receives the policy files and save this in the following directory „$FWDIR/state/__tmp/FW1“ on the security gateway. The file integrity of the policy will checked now. Once complete, the cpd invokes“fw fetchlocal“ to load the new policy with the following command from the temporary policy directory: fw fetchlocal -d $FWDIR/state/__tmp/FW1 6)  The FWD process on the security gateway updates all of the user-mode processes responsible for enforcement aspects. These include VPND process for VPN, FWSSD processes for security server issues and so on. All security server daemons running on the gateway are notified of the new policy by FWD and adjust their behavior accordingly, which could include restarting, stopping or starting if a new feature was enabled. 7)  The new policy is loaded into the INSPECT kernel instances while traffic is still being queued. This process happens very quickly.  Chain sequences are rebuilt, and may end up adding or removing chain modules from the sequences if blades were enabled or disabled since the last policy push. The new policy is prepared, the Check Point kernel holds the current traffic and starts queuing all incoming traffic. The atomic load takes place. This process should take a fraction of a second. At this point if "Connection Persistence" is set to "Rematch connections" on the gateway object, a CPU-intensive rematch of all open connections against the new policy is performed to ensure that all current connections are still allowed by the new policy.  Note SecureXL: If enabled SecureXL is restarted as well and recalculates its various state tables based on the new policy. During policy load, SecureXL is disabled and re-enabled afterwards. Here I am not quite sure if this is the case with R80.20 as well. 8).  The traffic queue on firewall kernel is released and all of the packets are handled by the new security policy. 9)  The CPD waits for fw_fetchlocal to complete the process and then informs the management server of the command's status installation succeeded or failed. 10)  The FWM process received the policy installation status from CPD process from security gateway and then presents them in SmartConsole. Note:Here I am not 100% sure whether the FWM or the CPM distributes the policy installation information to the SmartConsole. According to sk115557, this should be the FWM. Firewall Processes   CPM Process CPM process is responsible for writing all information to the PostgreSQL and SOLR databases. All the communications between the different GUI clients are done through web services. Is a component within CPM. Whenever we connect to the SmartCenter server with SmartConsole we are basically opening a connection from the GUI machine to the CPM process „java à solr-solrj-v4_X_X.jar“ on the SmartCenter server over port 19009 via web service. web_services is a component within CPM process that serves GUI and remote client (like remote API) and responsible to transfer the request to the dleserver DLE server (dleserver) is a component within the CPM server that contains all the logic of the server to writing the info to the database and SOLR object_store is a component within the CPM server, responsible to write the information to SOLR search engine and to the PostgreSQL database PostgreSQL DB The CPM process is also responsible to perform all database tasks, such as: creating objects removing objects modifying objects Whenever we create an object via SmartConsole we are basically sending a command to the CPM process on the SmartCenter server requesting it to create the object or changing it. SOLR SOLR is the Full Text Search engine that contains full clone of all data from PostgreSQL database. FWM ProcessThe FWM process is used for installing security policy to the backward compatibly R7x.x security gateways after the CPM process converts the objects from Java to old policy file format. It runs only on management products such as security management server, log server, SmartEvent, etc. Serving the embedded GUI clients and authentication requests Collecting statuses Policy compilation for backward compatibly R77.X security gateways VSX database operation SIC operations via SmartConsole Database install License attach and detach from SmartUpdate Some of management HA functionality Performs legacy operations CPD Process The CPD process runs on all Check Point products (security management server products as well as security gateways). There are 3 major responsibilities: SIC - we contact CPD process during SIC negotiation to validate and/or push the certificate. If the CPD process on a certain security gateway is down, policy installation on that security gateway will fail due to a SIC issue.  After SIC was established, the rest of the communication to the security gateway will be via port 18191. Status collection - the FWM process requests the CPD process for the statuses from security gateways and security management server and then presents them in SmartView monitor. If the CPD process is down, we will not be able to receive the gateways and security management statuses in SmartView Monitor. Installing security policy on the security gateway. FWD Process The FWD process is responsible for sending and receiving the logs from the different Check Point entities to the security management\log server (sometimes they are on the same machine). On Security Management server side: FWD process listens on port 257, waiting for logs to be sent from various security gateways that are connected to it. On the security gateway side: FWD process opens a connection to the FWD on the log\security management server on port 257. SK’s sk33208 - How to debug FWM daemon on Multi-Domain Management / Provider-1 sk86320 - How to debug the CPD daemon sk86321 - How to debug FWD daemon sk112334 - How to debug SmartConsole / SmartDashboardsk115557 - R80.x Security Management server main processes debugging  sk103918 - Policy installation fails with the error "Operation failed, install/uninstall has been improperly terminated"  
Achilles_Tagg
Achilles_Tagg inside Policy Management yesterday
views 127 3

Script in creating object and add in a object group using CLI

What is the command line script to create object/object group and add object in an object group. Like hundred of objects (IPs).I am using Checkpoint R80.10.
PhoneBoy
inside Policy Management yesterday
views 2684 1 1
Admin

Set Installation Target for Policies

(view in My Videos)I created a brief video explaining how to set the installation target for a given policy in Check point R80.10 Management.   Set Installation Target for Policy Layer | fleeq.io 
Martin_Valenta
Martin_Valenta inside Policy Management yesterday
views 81 2

policy name change on install - does it drop all connections?

Hello when doing policy install on gateway with changed policy name you get prompt to confirm if you want to install different policy name on it.Does it drop all active connections when this is done?
Howard_Gyton
Howard_Gyton inside Policy Management Wednesday
views 269 2

R80.30 - Services port conflict recurring

When we push policy, it succeeds but we get a warning stating that there are multiple services which both have 'Match for any selected'.When I first did this there were 10 pairs, so I worked through those.  At the next policy push it found another two.  And the next.  And the one after that.I don't know why, but it is drip feeding me information and doesn't list them all.  At every change I make another new pair appear for some reason.Is this expected?  If so, it's not very user friendly as I would prefer to fix them all in one go.Howard
Soren_Kristense
Soren_Kristense inside Policy Management Wednesday
views 62

identity Awareness using endpoint server

HiIn the setup i an using i have 1 Smartcenter for management of the firewalles.I also have a other Smartcenter for management for all the Endpoints.I there a way to make the firewalles user the endpoint setup as a identity source?The endpoint server has all the information that i need. GreetingsSøren Kristensen
fahmiazlan7
fahmiazlan7 inside Policy Management Wednesday
views 82

Office 365 Management Activity API

Hi, I'm new in this community, I would like to ask related to Office 365 Management activity API, I have set up SIEM log collector from Logrhythm and I have configured to collect logs from one of service from Azure platform which is Office 365 Mgtmt API, the issues is, unable to collect logs from Office 365, I have allowed IP's provided by Microsoft as below,belong to domain manage.office.com. I have created policy to allowed these IP's, but still failed to collect. I was checked my configuration are correct, I was do testing to another network environment without Checkpoint, its work.  Any idea on this? what I need to config? manage.office.com, protection.office.com, manage.office.com, protection.office.com13.80.125.22/32, 13.91.91.243/32, 13.107.6.156/31, 13.107.7.190/31, 13.107.9.156/31, 40.81.156.154/32, 40.90.218.198/32, 52.108.0.0/14, 52.174.56.180/32, 52.183.75.62/32, 52.184.165.82/32, 104.42.230.91/32, 157.55.145.0/25, 157.55.155.0/25, 157.55.227.192/26, 2603:1006:1400::/40, 2603:1016:2400::/40, 2603:1026:2400::/40, 2603:1036:2400::/40, 2603:1046:1400::/40, 2603:1056:1400::/40, 2a01:111:200a:a::/64, 2a01:111:2035:8::/64, 2a01:111:f406:1::/64, 2a01:111:f406:c00::/64, 2a01:111:f406:1004::/64, 2a01:111:f406:1805::/64, 2a01:111:f406:3404::/64, 2a01:111:f406:8000::/64, 2a01:111:f406:8801::/64, 2a01:111:f406:a003::/64
Daniel_Westlund
Daniel_Westlund inside Policy Management Wednesday
views 82 2

adding Application Control Web Browsing Services

Customer wants to add a wildcard URL to an allow rule in Application Control, but wants it to be for port 81.  The only way I can see to do this is to go into the App Control Advanced Settings and add port 81 to be allowed for all sites, which he is not comfortable with.  I told him that the site would still be blocked because it's not allowed via his security rules, but am wondering if there's a better answer than that. 
OmidDjahanpour
OmidDjahanpour inside Policy Management Wednesday
views 100 2

SmartConsole R80.20 Undo Changes Without Discarding

Hello, This is my first post on this forum, and I had a rather simple question. I'm still learning my way around R80.20, and I was hoping someone could help me figure out this simple request. Is there an easy way to undo change(s) that were done to let's say the rulebase without having to discard the entire session and start again? For example, you accidently delete the wrong rule in the rulebase and rather than discarding the entire session, you perform an "undo" function similar to CTRL + Z. I already have the session pane enabled from the Check Point Labs, but aside from it telling me what change I've made, it doesn't allow me to undo a certain change. I've had a few cases where I've made several changes, and had to discard the session due to some changes which I later discovered might cause issues. I understand that I could reverse the action via recreating what was done and tracked by the session pane, but I guess this is more of a convenience that I'm looking for. Thanks for reading. Your assistance is appreciated.
Julien_Matray
Julien_Matray inside Policy Management Wednesday
views 116 6

ips_export_import on R80.10

Hi,  is ips_export_import  is working on R80.10 Management server ?When i try to export an IPS profile it returns that profile does not exist. for example if i try to export the Default_Protection IPS profile# ips_export_import export Default_ProtectionTrying to open the CPMI database...Completed opening CPMI database.Start exporting profile object...Failed to export profile (profile 'Default_Protection' does not exist) Thanks.
carl_t
carl_t inside Policy Management Tuesday
views 101

QOS priority setup for voice traffic on Gateway

Hi AllI need to set 50Mbit of priority for my voice and video traffic on my Firewall.I have defined the interface speed 1 gig, added the diffserv class to the interface with a constant bit rate of 50Mbit.I have then created a qos rule above the default rule, I have set a guarantee of 50Mbit of this rule with a weight of 10.Would this work ? Also, regarding the class on the interface, is this setting the max bit rate the priority queue can take? and the rules cannot add up to more than this?what happens if you go over this? will it drop, or go into the default queue? cheers 
Lijo_mathai
Lijo_mathai inside Policy Management Monday
views 712 14

Unable to clone policy package in R80.20

Hi, after upgrading to R80.20 and applying take 47, i am unable to clone the existing policy package. Is there anything i am missing. I checked there is no validation error for the name i used to clone, but still i am unable to clone the policy. Attached is the error i faced. 
Tomer_Sole
inside Policy Management Monday
views 37378 21 31
Mod

Layers in R80

I would like to clarify the use of layers in R80 Management Server and SmartConsole.A layer is a set of rules, or a rule-base. R80 organizes the policy with ordered layers. For example, Gateways that have the Firewall and Application control blades enabled, will have their policies split into two ordered layers: Network and Applications. Another example is Gateways that have the IPS and Threat Emulation blades enabled, will have their policies split into two ordered layers: IPS and Threat Prevention. For Pre-R80 Gateways, this basically means the same enforcement as it always was, only in a different representation in the Security Management.Ordered layers are enforced this way: When the Gateway matches a rule in a layer, it starts to evaluate the rules in the next layer. The layers concept opens more options for policy management:Setting different view and edit permissions per layer for different administrator roles.Re-using a layer in different places: The same application control layer in different policy packages ( Sharing a layer across different policies  ), or the same inline layer for different scopes.Explaining global and local policies in Multi-Domain with the same feature set of layers: A domain layer will be the set of rules that are added in each domain by the domain administrator.R80.10 Gateways and above will have the ability to utilize layers in new ways:Unifying all blades into a single policy (How to use the unified policy? )Segregating a policy into more ordered layers, not necessarily by bladesAllowing sub-policies inside a rulebase, with the use of inline layers (How do I define diffrent policies to diffrent users? )Message was edited by: Tomer Sole
Frederic_Mereu1
Frederic_Mereu1 inside Policy Management Monday
views 1034 7 2

Impact of rulebase size on gateway performance

Good afternoon,I'm currently working on a gateway with ~300 rules, trying to follow most of the rulebase best practices (most used rules at the top, grouping similar rules together, ..).Besides this, I'm looking into automating the ruleset, and I was wondering what would be the performance impact to create one rule per "source, destination, service" tuple -- i.e. not allowing multiple sources, destinations or services in the same rule entry.For example, the following rule:source: clients_external, clients_internal, destination: servers, service: https, dnsWould translate into 4 rules:source: clients_external, destination: servers, service: httpssource: clients_external, destination: servers, service: dnssource: clients_internal, destination: servers, service: httpssource: clients_internal, destination: servers, service: dnsFrom an automation point of view, this seems easier to manage. For example, if the "clients_external" group needs to be deleted, we can delete all the rules where it is found, without impacting other flows.Also, if the service for those clients needs to be replaced, it can be done directly as it won't affect any other client.My main concern here is the performance of the gateway. A rulebase with 300 rules could easily expand to 2k rules, so there's a risk. I'm wondering if the SmartCenter is doing some kind of optimization while it's installing the policy on the gateways..Does anyone have an idea? Or maybe tested this in a lab?Thanks in advance,Frederic.