<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: When does custom rules written in user.def gets executed? in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159464#M27914</link>
    <description>&lt;P&gt;.def files are used, along with your defined security policy, to determine what the gateway will ultimately enforce.&lt;BR /&gt;In practice, they are similar to .h files when compiling C/C++ code.&lt;BR /&gt;The supported changes to .def files (documented in SK) typically modify existing behaviors versus adding new access rules.&lt;BR /&gt;It is possible to write access rules in INSPECT but this is not officially supported.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 16:14:24 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2022-10-13T16:14:24Z</dc:date>
    <item>
      <title>When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159413#M27900</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Can someone please confirm the custom rules written in user.def gets executed fore implied_rules.def and after the Policy? or before everything else?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Blason R&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 04:32:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159413#M27900</guid>
      <dc:creator>Blason_R</dc:creator>
      <dc:date>2022-10-13T04:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159428#M27905</link>
      <description>&lt;P&gt;The FWM process converts all rules and database information including the user.def for each GW before fw_loader &lt;SPAN&gt;performs code generation, compilation and&amp;nbsp;&lt;/SPAN&gt;sends it to each GW, see&amp;nbsp;&lt;A class="cp_link sc_ellipsis" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk101226&amp;amp;partition=Basic&amp;amp;product=Quantum" target="_blank" rel="noopener"&gt;sk101226: Policy installation flow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would not think of before or after, as information from several sources is combined and verified for the policy per GW.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 09:17:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159428#M27905</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2022-10-13T09:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159464#M27914</link>
      <description>&lt;P&gt;.def files are used, along with your defined security policy, to determine what the gateway will ultimately enforce.&lt;BR /&gt;In practice, they are similar to .h files when compiling C/C++ code.&lt;BR /&gt;The supported changes to .def files (documented in SK) typically modify existing behaviors versus adding new access rules.&lt;BR /&gt;It is possible to write access rules in INSPECT but this is not officially supported.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:14:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159464#M27914</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-10-13T16:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159467#M27915</link>
      <description>&lt;P&gt;I talked to someone from R&amp;amp;D ages ago and thats what they told me, implied rules always first and user.def after the policy, but I had never seen an official answer/statement about it, so cant say 100%, but that would make sense to me.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:59:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159467#M27915</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-10-13T16:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159502#M27923</link>
      <description>&lt;P&gt;Well I think - Yes there has to be a sequence hence wondering whats that sequence is. And how do I alter implied rules or if I want to write my own rules like allowing certain connections through firewall without adding a policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 04:28:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159502#M27923</guid>
      <dc:creator>Blason_R</dc:creator>
      <dc:date>2022-10-14T04:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159525#M27938</link>
      <description>&lt;P&gt;When the code is prepared for compilation by FWM, the .def files come in (kind of pre-compilation code). As stated above, some existing behaviour can be altered &amp;nbsp;only by changing .def files, but Dashboard rules are much, much better as .def might get overwritten by upgrades.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 09:35:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159525#M27938</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2022-10-14T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159543#M27948</link>
      <description>&lt;P&gt;.def files aren’t the place to make actual rules.&lt;BR /&gt;Creating your own rules outside of SmartConsole is generally not supported.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 12:39:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159543#M27948</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-10-14T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: When does custom rules written in user.def gets executed?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159549#M27953</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21294"&gt;@G_W_Albrecht&lt;/a&gt;&amp;nbsp;. Those files will most likely get overwritten when upgrading. Personally, I would try get an official statement from TAC/ R &amp;amp;D.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 13:03:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/When-does-custom-rules-written-in-user-def-gets-executed/m-p/159549#M27953</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-10-14T13:03:49Z</dc:date>
    </item>
  </channel>
</rss>

