<?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: This debug command just about bricked our firewall in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196134#M32883</link>
    <description>&lt;P&gt;Thanks Alex, interesting with the tcpdumps as well. I imagine if it's a particularly large scope in the tcpdump it can do this.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 13:00:42 GMT</pubDate>
    <dc:creator>Parabol</dc:creator>
    <dc:date>2023-10-25T13:00:42Z</dc:date>
    <item>
      <title>This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196110#M32872</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We were trying to obtain information about an IPS false positive, we have a ticket open with TAC. The Engineer advised us to run the following debug when we test:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fw ctl debug 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl debug -buf 32768&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl set int cmi_dump_buffer 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl debug -m cmi_loader all&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl debug -m WS info session global spii policy module ssl_insp connection pkt_dump address&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl debug + cmi&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl debug -m kiss pm kw&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl set int https_inspection_show_decrypted_data_in_debug 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fw ctl kdebug -f &amp;gt; kernel_debug.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So I turned the debug on and asked the Customer to start the data transfer. I had the debug on for a 3-4 minutes max, stopped it with ctrl+c after the transfer finished, and thought nothing of it.&lt;/P&gt;&lt;P&gt;Well, issues start appearing, alarms going off, connectivity issues. I check the .txt output file and it had taken up the entire storage of the firewall. So I removed the .txt file, and thought this would resolve the issue.&lt;/P&gt;&lt;P&gt;Issues continue..&lt;/P&gt;&lt;P&gt;I check the CPU utilization of the firewall, it's running at 1500%+ so the debug is obviously still working. I run&amp;nbsp;&lt;EM&gt;fw ctl debug 0&lt;/EM&gt;&lt;EM&gt;,&lt;/EM&gt; this brought the CPU back down, normality restored.&lt;/P&gt;&lt;P&gt;In hindsight I should have observed CPU/Storage utilization the moment I enabled the debug. But I'm a little frustrated that we were advised to run this with no warning from the Engineer to be honest. It's an important production firewall, so running such a resource intensive debug even for a few seconds wouldn't have been done.&lt;/P&gt;&lt;P&gt;Anyways, all is good in the end. Just another tale of caution to add to my repertoire! Do not trust unknown debugs.. this will become my daily mantra.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 09:43:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196110#M32872</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196116#M32875</link>
      <description>&lt;P&gt;I have seen this happen a couple of times, too - so no kernel debugs without a maintenance window ! Usually, debug procedures include &lt;EM&gt;fw ctl debug 0&lt;/EM&gt; as the last step.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 11:06:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196116#M32875</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2023-10-25T11:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196117#M32876</link>
      <description>&lt;P&gt;Yes, fw ctl debug 0 is a must after data collection is complete.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 11:28:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196117#M32876</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2023-10-25T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196125#M32880</link>
      <description>&lt;P&gt;Kernel debugs should always be done during a maintenance window and properly closed as mentioned.&lt;/P&gt;&lt;P&gt;This is explicitly described in the admin guide as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_Quantum_SecurityGateway_Guide/Topics-FWG/Kernel-Debug/Kernel-Debug-Procedure.htm?tocpath=Kernel%20Debug%7C_____3" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_Quantum_SecurityGateway_Guide/Topics-FWG/Kernel-Debug/Kernel-Debug-Procedure.htm?tocpath=Kernel%20Debug%7C_____3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the same vein I've seen tcpdump bring firewalls to a standstill, &lt;A href="https://support.checkpoint.com/results/sk/sk141412" target="_blank" rel="noopener"&gt;cppcap&lt;/A&gt; is recommended instead.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 12:06:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196125#M32880</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2023-10-25T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196130#M32881</link>
      <description>&lt;P&gt;If you cancel a debug with CTRL+C will give a warning that you should use&amp;nbsp;&lt;EM&gt;fw ctl debug 0 ,&amp;nbsp;&lt;/EM&gt;instead.&lt;/P&gt;&lt;P&gt;And indeed what the previous post say, always monitor CPU and file size during debug and if you do not trust -&amp;gt; maintenance window.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 12:48:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196130#M32881</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2023-10-25T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196133#M32882</link>
      <description>&lt;P&gt;Yep, lesson learned! I will not be taking debugs lightly again that is for sure..&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 12:59:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196133#M32882</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196134#M32883</link>
      <description>&lt;P&gt;Thanks Alex, interesting with the tcpdumps as well. I imagine if it's a particularly large scope in the tcpdump it can do this.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:00:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196134#M32883</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196135#M32884</link>
      <description>&lt;P&gt;Im actually shocked if TAC engineer did not tell you to run this after hours, because any kernel debug can actually cause issues like this. I always tell customers if this has to be done, to have someone on site, just in case. Been through it before and let me tell you, it was NOT a pleasant experience.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:13:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196135#M32884</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-10-25T13:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196136#M32885</link>
      <description>&lt;P&gt;Yes I know I can't put all the blame on the TAC Engineer, but I suppose it brought my guard down somewhat with the debug being provided by them. Safe to say I'll be treating any debug as needing a downtime window moving forward!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:19:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196136#M32885</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T13:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196138#M32886</link>
      <description>&lt;P&gt;Put it this way....I learned long time ago when I hear words kernel debug, I stop asking any further questions. It means 100% of the time it will have to be done outside normal hours, preferable with console access available. Im just glad your firewall did not hose completelly...phew.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:22:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196138#M32886</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-10-25T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196141#M32887</link>
      <description>&lt;P&gt;Me too! On reflection the situation could have been much worse, so I'm grateful for that at least haha! There's nothing like an almost fatal production outage to remind you of the fundamentals!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:25:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196141#M32887</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196142#M32888</link>
      <description>&lt;P&gt;I remember one time poor guy from R&amp;amp;D caused a fw to crash because of debug he gave customer to run in production and said "Its 100% safe"...yeahhh, not so much.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:27:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196142#M32888</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-10-25T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196144#M32889</link>
      <description>&lt;P&gt;Generally TAC will always try to be helpful and give you the commands you need for the raised issue but they don't and can't know all the specifics of the environment, so it's also up to the customer to assess if it's OK to run a debug at 10:00AM when it's full production time. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Bricking your FW can be a rite of passage for a CP engineer, like removing an access-list on a Cisco router before removing the access-group on the interface first - you need to do it at least once to never do it again. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:31:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196144#M32889</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2023-10-25T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196146#M32890</link>
      <description>&lt;P&gt;It was probably honest mistake or person simply did not know debug like that is resource intensive and could cause issues. My experience that 9 times out of 10, TAC people will tell customers to always run kernel debugs off hours.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:32:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196146#M32890</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-10-25T13:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196147#M32891</link>
      <description>&lt;P&gt;I definitely feel like a fully qualified CP engineer now then&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; I've done the dreaded "switchport trunk allowed vlan x" before on a cisco switch, missing the "add" syntax, and removing all the previous allowed VLANs!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:38:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196147#M32891</guid>
      <dc:creator>Parabol</dc:creator>
      <dc:date>2023-10-25T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196148#M32892</link>
      <description>&lt;P&gt;I actually hesitated to post that example, both the switchport allowed vlan x add an no access-list x seem to be obligatory Cisco experiences. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:43:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196148#M32892</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2023-10-25T13:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: This debug command just about bricked our firewall</title>
      <link>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196149#M32893</link>
      <description>&lt;P&gt;I like that&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/82188"&gt;@Parabol&lt;/a&gt;&amp;nbsp;...FQCPE = Fully qualified Check Point engineer &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:44:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/This-debug-command-just-about-bricked-our-firewall/m-p/196149#M32893</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-10-25T13:44:54Z</dc:date>
    </item>
  </channel>
</rss>

