<?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:  Check Point Diagnostic Console (cdc)  in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20736#M3829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added &lt;/P&gt;&lt;P&gt;27 scripts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2019 10:21:25 GMT</pubDate>
    <dc:creator>Maciej_Maczka</dc:creator>
    <dc:date>2019-01-03T10:21:25Z</dc:date>
    <item>
      <title>Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20731#M3824</link>
      <description>&lt;P&gt;Hi Check Mates,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inspired by &lt;A href="https://community.checkpoint.com/migrated-users/41735" target="_blank" rel="noopener"&gt;Danny Jung&lt;/A&gt;‌ and his &lt;A href="https://community.checkpoint.com/docs/DOC-2214" target="_blank" rel="noopener"&gt;Common Check Point Commands (ccc)&lt;/A&gt;‌ I decided to create a fork of this tool as&amp;nbsp; a cli console (without menu and arrows operations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;About&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDC is set of scripts that allows to show CKP parameters, do some simple configuration and do debugs. Scirpts are organized in following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;action&amp;gt;_&amp;lt;place&amp;gt;_&amp;lt;module&amp;gt;_&amp;lt;info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;action:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;show - show CKP parameters&lt;/LI&gt;&lt;LI&gt;config - change something&lt;/LI&gt;&lt;LI&gt;debug - start/stop, show debug, test something, show logs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;place:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MGMT - scripts for Management&lt;/LI&gt;&lt;LI&gt;Gateway - scripts for Gateway&lt;/LI&gt;&lt;LI&gt;General - GAIA&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;module:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Corexl&lt;/LI&gt;&lt;LI&gt;SecureXL&lt;/LI&gt;&lt;LI&gt;Threat Prevention&lt;/LI&gt;&lt;LI&gt;and other stuff&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;enable - start debug&lt;/LI&gt;&lt;LI&gt;show - show debug&lt;/LI&gt;&lt;LI&gt;other - no rules here. Just to kepp is simple&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================== GENERAL ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(go to directory)&lt;/P&gt;&lt;P&gt;cd cdc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(run command)&lt;/P&gt;&lt;P&gt;./show_gateway_firewall_interface_drop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hint: Use tab to finish command or to show commands available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================== SHOW COMMANDS ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see all commands&amp;nbsp; available run:&amp;nbsp;&amp;nbsp; ls&lt;/P&gt;&lt;P&gt;To search for specific command:&amp;nbsp;&amp;nbsp; ls&amp;nbsp; | grep module.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;[Expert@te:0]# ls | grep securexl&lt;BR /&gt;config_gateway_securexl_disable&lt;BR /&gt;config_gateway_securexl_enable&lt;BR /&gt;debug_gateway_securexl_errors_enable&lt;BR /&gt;debug_gateway_securexl_show&lt;BR /&gt;show_gateway_securexl_connections&lt;BR /&gt;show_gateway_securexl_connections_summary&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can alse use&amp;nbsp; search here:&lt;/P&gt;&lt;P&gt;&lt;A title="http://epg.org.pl/cdc/reference.php?search=" href="http://epg.org.pl/cdc/reference.php?search=" target="_blank" rel="noopener"&gt;http://epg.org.pl/cdc/reference.php?search=&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================== SHOW ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All commands start with "show"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@te:0]# ./show_mgmt_manager_status&lt;BR /&gt;Check Point Security Management Server is running and ready&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================== DEBUG ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All commands start with "debug"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To start debug:&lt;/P&gt;&lt;P&gt;Most debugs require 3 commands: enable, show, disable_debug. Some only show.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;./debug_gateway_ssl_inspect_related_enable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will start debug of ssl inspect module. All kernel variable will be set for you. After that, what to do next message will be presented:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Usage:&lt;BR /&gt;&amp;nbsp;debug_gateway_ssl_inspect_show | grep &amp;lt;options&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;debug_gateway_debug_disable to turn off debug!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;TIPS:&lt;BR /&gt;&amp;nbsp;| grep CN&amp;nbsp;&amp;nbsp; - to check certificate CN processed by SSL Inspect&lt;BR /&gt;&amp;nbsp;| grep domain - to check search for specific domain&lt;BR /&gt;&amp;nbsp;Check log number. Use grep -A 10 -B 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see debug in this example:&lt;/P&gt;&lt;P&gt;./debug_gateway_ssl_inspect_show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CTRL + C to break.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To disable debug&lt;/P&gt;&lt;P&gt;./debug_gateway_debug_disable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================== CONFIG&amp;nbsp; ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All commands start with "config"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@te:0]# ./config_gateway_identity_users_excluded_clear&lt;BR /&gt;Warning this will CLEAR excluded users list!!!&lt;BR /&gt;Do you wan't to continue? (Hit any key to continue. CTRL+C to exit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The suspected service accounts list has been cleared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be a message, what this command will do. You need to press Enter to continue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;====================== HOW TO INSTALL ===================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In expert mode.&lt;/P&gt;&lt;P&gt;Go to directory where do you want to install. Run:&lt;/P&gt;&lt;P&gt;Copy files go GW/MGMT&lt;/P&gt;&lt;P&gt;cd cdc&lt;BR /&gt;chmod 755 *&lt;BR /&gt;mkdir /var/log/cdc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;========================== WHAT CAN YOU DO =============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything &lt;IMG src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" border="0" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can share, edit, add / remove scirpts. Please, be so kind and share changes &lt;IMG src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" border="0" alt="Smiley Happy" title="Smiley Happy" /&gt;. Internet access is not required. If you don't want to share changes just edit your scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need a new command or feel need to change something, just send a script with correct file name to me &lt;A href="mailto:maciej.maczka@gmail.com" target="_blank" rel="noopener"&gt;maciej.maczka@gmail.com&lt;/A&gt; or leave comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestion, comments, ideas are welcome.&lt;/P&gt;&lt;P&gt;Please also let me know if you see a need to maintain this tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now we have more than &lt;STRONG&gt;300&lt;/STRONG&gt; scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also try to read Check Mates forum, and add commands from differents threads. I also try to comment with scrpit author. If for some reason I forgot to do so please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 09:01:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20731#M3824</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2021-03-25T09:01:03Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20732#M3825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, &lt;A href="https://community.checkpoint.com/migrated-users/47117"&gt;Maciej Maczka&lt;/A&gt;‌, that's a great initiative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:27:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20732#M3825</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-22T09:27:21Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20733#M3826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added&lt;/P&gt;&lt;P&gt;- install scirpt&lt;/P&gt;&lt;P&gt;- change log&lt;/P&gt;&lt;P&gt;- 12 scripts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 11:47:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20733#M3826</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2018-08-23T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20734#M3827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Online change log:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://epg.org.pl/cdc/changelog.html" title="http://epg.org.pl/cdc/changelog.html"&gt;http://epg.org.pl/cdc/changelog.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Online command search:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://epg.org.pl/cdc/reference.php?search=" title="http://epg.org.pl/cdc/reference.php?search="&gt;http://epg.org.pl/cdc/reference.php?search=&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:10:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20734#M3827</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2018-08-28T08:10:17Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20735#M3828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added &lt;/P&gt;&lt;P&gt;24 scripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;removed some duplicates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 09:01:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20735#M3828</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2018-08-30T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20736#M3829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added &lt;/P&gt;&lt;P&gt;27 scripts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 10:21:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20736#M3829</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2019-01-03T10:21:25Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20737#M3830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jumbo update &lt;/P&gt;&lt;P&gt;more then 100 scripts added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have fun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 13:56:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/20737#M3830</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2019-02-04T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re:  Check Point Diagnostic Console (cdc)</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/52246#M10353</link>
      <description>&lt;P&gt;jumbo update&lt;/P&gt;&lt;P&gt;97 scripts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now 413 commands&amp;nbsp; available&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 11:13:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Check-Point-Diagnostic-Console-cdc/m-p/52246#M10353</guid>
      <dc:creator>Maciej_Maczka</dc:creator>
      <dc:date>2019-04-30T11:13:37Z</dc:date>
    </item>
  </channel>
</rss>

