<?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 Show all Gateway Parameter &amp;gt;&amp;gt;&amp;gt; Registry, Kernel, SecureXL - ONELINER in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Show-all-Gateway-Parameter-gt-gt-gt-Registry-Kernel-SecureXL/m-p/127634#M815</link>
    <description>&lt;P&gt;This oneliner shows you all parameter&amp;nbsp; of the firewall gateway with their values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Registry parameter&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Kernel parameter&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - SecureXL parameter&lt;BR /&gt;&lt;BR /&gt;This can be useful in the debug case to see an overview of all Gateway parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;printf '%.s-' {1..79};echo -e "\nRegistry";printf '%.s-' {1..79}; echo -e "";cpprod_util 2&amp;gt;&amp;amp;1 |grep -v Usage |grep -v "ome " | grep -v init | egrep -v '^\s*$|^#'|sort -u| awk '{printf $1 " = "} {system("cpprod_util " $1 " 2&amp;gt;&amp;amp;1")}' | grep -v 'cpprod_util: function'; printf '%.s-' {1..79};echo -e "\nKernel Parameter";printf '%.s-' {1..79}; echo -e ""; modinfo -p $FWDIR/boot/modules/fw_kern*.o |grep "int param" | grep -v "Get operation failed"| sort -u | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -n 1 fw ctl get int; modinfo -p $FWDIR/boot/modules/fw_kern*.o 2&amp;gt;&amp;amp;1 |grep "string param" | grep -v "Get operation failed"| sort -u | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -n 1 fw ctl get string; printf '%.s-' {1..79};echo -e "\nSecureXL Parameter";printf '%.s-' {1..79}; echo -e "";modinfo -p $PPKDIR/boot/modules/sim_kern*.o | sort -u | grep -E 'int param' | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -i -n 1 fw ctl get int {} -a 2&amp;gt; /dev/null | grep PPAK | sed -r 's/PPAK 0://'; modinfo -p $PPKDIR/boot/modules/sim_kern*.o | sort -u | grep -E 'string param' | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -i -n 1 fw ctl get string {} -a 2&amp;gt; /dev/null | grep PPAK | sed -r 's/PPAK 0://'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alle_parameter_1.JPG" style="width: 762px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/13463i49B71E7316D4895F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alle_parameter_1.JPG" alt="alle_parameter_1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Aug 2021 14:42:14 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2021-08-22T14:42:14Z</dc:date>
    <item>
      <title>Show all Gateway Parameter &gt;&gt;&gt; Registry, Kernel, SecureXL - ONELINER</title>
      <link>https://community.checkpoint.com/t5/Scripts/Show-all-Gateway-Parameter-gt-gt-gt-Registry-Kernel-SecureXL/m-p/127634#M815</link>
      <description>&lt;P&gt;This oneliner shows you all parameter&amp;nbsp; of the firewall gateway with their values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Registry parameter&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Kernel parameter&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - SecureXL parameter&lt;BR /&gt;&lt;BR /&gt;This can be useful in the debug case to see an overview of all Gateway parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;printf '%.s-' {1..79};echo -e "\nRegistry";printf '%.s-' {1..79}; echo -e "";cpprod_util 2&amp;gt;&amp;amp;1 |grep -v Usage |grep -v "ome " | grep -v init | egrep -v '^\s*$|^#'|sort -u| awk '{printf $1 " = "} {system("cpprod_util " $1 " 2&amp;gt;&amp;amp;1")}' | grep -v 'cpprod_util: function'; printf '%.s-' {1..79};echo -e "\nKernel Parameter";printf '%.s-' {1..79}; echo -e ""; modinfo -p $FWDIR/boot/modules/fw_kern*.o |grep "int param" | grep -v "Get operation failed"| sort -u | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -n 1 fw ctl get int; modinfo -p $FWDIR/boot/modules/fw_kern*.o 2&amp;gt;&amp;amp;1 |grep "string param" | grep -v "Get operation failed"| sort -u | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -n 1 fw ctl get string; printf '%.s-' {1..79};echo -e "\nSecureXL Parameter";printf '%.s-' {1..79}; echo -e "";modinfo -p $PPKDIR/boot/modules/sim_kern*.o | sort -u | grep -E 'int param' | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -i -n 1 fw ctl get int {} -a 2&amp;gt; /dev/null | grep PPAK | sed -r 's/PPAK 0://'; modinfo -p $PPKDIR/boot/modules/sim_kern*.o | sort -u | grep -E 'string param' | awk 'BEGIN {FS=":"} ; {print $1}' | xargs -i -n 1 fw ctl get string {} -a 2&amp;gt; /dev/null | grep PPAK | sed -r 's/PPAK 0://'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alle_parameter_1.JPG" style="width: 762px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/13463i49B71E7316D4895F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alle_parameter_1.JPG" alt="alle_parameter_1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 14:42:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Show-all-Gateway-Parameter-gt-gt-gt-Registry-Kernel-SecureXL/m-p/127634#M815</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2021-08-22T14:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Show all Gateway Parameter &gt;&gt;&gt; Registry, Kernel, SecureXL - ONELINER</title>
      <link>https://community.checkpoint.com/t5/Scripts/Show-all-Gateway-Parameter-gt-gt-gt-Registry-Kernel-SecureXL/m-p/154140#M985</link>
      <description>&lt;P&gt;Hi Heiko,&lt;/P&gt;&lt;P&gt;is there a way to show ONLY the non default values?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Bernhard&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 08:15:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Show-all-Gateway-Parameter-gt-gt-gt-Registry-Kernel-SecureXL/m-p/154140#M985</guid>
      <dc:creator>Bernhard</dc:creator>
      <dc:date>2022-07-29T08:15:18Z</dc:date>
    </item>
  </channel>
</rss>

