<?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: Output of cprid truncated after receiving 60001 bytes in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168730#M13358</link>
    <description>&lt;P&gt;The output of "show configuration" could be saved to a file and transfered using cprid as found in sk101047.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 11:36:29 GMT</pubDate>
    <dc:creator>G_W_Albrecht</dc:creator>
    <dc:date>2023-01-23T11:36:29Z</dc:date>
    <item>
      <title>Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168096#M13353</link>
      <description>&lt;P&gt;I use cprid to automate tasks with a bunch of different SMB appliances. This works fine when executing commands with less output (e.g. "show snmp traps receivers")&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But when executing commands with larger output (e.g. "show configuration") the output is silently truncated after exactly 60001 bytes. This seems to be the case only with SMB appliances and is consistent and reproducible across different types of appliances and firmware levels:&lt;/P&gt;&lt;P&gt;This is Check Point's 1450 Appliance R77.20.87 - Build 120&lt;BR /&gt;This is Check Point's 1550 Appliance R80.20.50 - Build 773&lt;BR /&gt;This is Check Point's 1590 Appliance R80.20.50 - Build 773&lt;BR /&gt;This is Check Point's 1800 Appliance R80.20.40 - Build 665&lt;/P&gt;&lt;P&gt;Unfortunately there is no error message or other indicator that the output is incomplete. Full Gaia seems to be not affected.&lt;/P&gt;&lt;P&gt;cprid_util is invoked on SmartCenter Management Server (R81.10 - Build 029)&amp;nbsp; like this:&lt;BR /&gt;&lt;SPAN&gt;cprid_util -server $gw -verbose rexec -rcmd clish -c "show configuration" &amp;gt; $gw.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any advice?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:39:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168096#M13353</guid>
      <dc:creator>Bärbel</dc:creator>
      <dc:date>2023-01-17T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168133#M13354</link>
      <description>&lt;P&gt;This is very likely expected behavior, given we do not allow you to run "one-time scripts" on SMB appliances in SmartConsole.&lt;BR /&gt;Recommend opening a TAC case to confirm.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 21:40:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168133#M13354</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-01-17T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168173#M13355</link>
      <description>&lt;P&gt;I would at least expect an error message or a return code other than 0 in case a command could not completed.&lt;/P&gt;&lt;P&gt;But this raises more questions:&lt;/P&gt;&lt;P&gt;1.) Are there technical reasons that it is "not allowed" (or to quote SmartConsole "not supported") to run scripts on SMB appliances? There are even official sk's where&amp;nbsp;&lt;SPAN&gt;cprid_util is listed as official solution for certain tasks on SMB appliances!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.) What is the "official" supported way to automate tasks on SMB appliances?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 09:49:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168173#M13355</guid>
      <dc:creator>Bärbel</dc:creator>
      <dc:date>2023-01-18T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168250#M13356</link>
      <description>&lt;P&gt;The technical reason for the limit on the amount of data returned by cprid is quite likely the limited resources (RAM) the SMB devices have versus our regular, non-SMB gateways.&lt;BR /&gt;That, I suspect, is the reason we don't allow this from SmartConsole.&lt;BR /&gt;That and the scripts you write for SMB devices would be different.&lt;/P&gt;
&lt;P&gt;In any case, you should be able to use cprid with SMB devices, particularly since we document its usage in various SKs.&lt;BR /&gt;You'll just have to be mindful of the limit in terms of the amount of data returned by said commands.&lt;/P&gt;
&lt;P&gt;The fact this isn't officially documented is an issue, and thus it's worth a TAC case to confirm the above and get it documented in an SK.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 16:35:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168250#M13356</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-01-18T16:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168399#M13357</link>
      <description>&lt;P&gt;I asked the SMB R&amp;amp;D folks out-of-band about this issue with cprid and it turns out...it's not a limitation they're aware of.&lt;BR /&gt;Which means it's likely a bug and will require a TAC case to investigate and fix.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 16:28:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168399#M13357</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-01-19T16:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168730#M13358</link>
      <description>&lt;P&gt;The output of "show configuration" could be saved to a file and transfered using cprid as found in sk101047.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 11:36:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168730#M13358</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2023-01-23T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output of cprid truncated after receiving 60001 bytes</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/232954#M13359</link>
      <description>&lt;P&gt;**bleep**! Wish I had read this before I went to the trouble or writing a script to backup / verify that no shifts in CLISH config were occurring without oversight on these devices. I have a very lovely bunch of 60001 byte files ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 02:40:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/232954#M13359</guid>
      <dc:creator>scordy</dc:creator>
      <dc:date>2024-11-18T02:40:26Z</dc:date>
    </item>
  </channel>
</rss>

