<?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: FW monitor -F syntax in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/283224#M9469</link>
    <description>&lt;P&gt;To update this old thread, in R81.20 Check Point slipped in a new "-H" flag into &lt;STRONG&gt;fw monitor&lt;/STRONG&gt; that can be used to capture traffic to and from a single host IP with an expression like "-H 1.2.3.4".&amp;nbsp;&amp;nbsp;&lt;SPAN data-olk-copy-source="MessageBody"&gt;However, this new option was only mentioned in passing in&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk30583" rel="noopener" target="_blank"&gt;sk30583: What is FW Monitor?&lt;/A&gt;&amp;nbsp;until yesterday, when it was updated based on my suggestion.&amp;nbsp; Here is the new content for -H, which is much easier to use for a single host than multiple -F filters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Creates an IP address filter.&lt;/EM&gt;&lt;/P&gt;
&lt;P data-mc-conditions="Condition-Tag-Set-Deliverables.Deliverable_CLIG"&gt;&lt;EM&gt;For more information, see the &lt;A href="https://sc1.checkpoint.com/documents/R82.10/WebAdminGuides/EN/CP_R82.10_SecurityGateway_Guide/Default.htm" rel="noopener noreferrer" target="_blank"&gt;R82.10 Security Gateway Guide&lt;/A&gt; - Chapter Kernel Debug on &lt;SPAN class="mc-variable Vars_Other.tp_sgate variable"&gt;Security Gateway&lt;/SPAN&gt; - Section Kernel Debug Filters.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This parameter supports up to 3 capture filters (up to 3 instances of the "&lt;CODE&gt;-H&lt;/CODE&gt;" parameter in the syntax).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Capture traffic only to and from the Host 1.1.1.1:&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;CODE&gt;fw monitor –H "1.1.1.1"&lt;/CODE&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Capture traffic where either the source or the destination IP address matches one of the specified IP addresses (the other peer does not have to be one of the specified IP addresses).&lt;/EM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;CODE&gt;fw monitor -H "1.1.1.1" -H "2.2.2.2" -H "3.3.3.3"&lt;/CODE&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in R82.20 &lt;STRONG&gt;fw monitor&lt;/STRONG&gt; is getting a crapload of new filtering options including exclusions, saving into a file in something other than Sun Solaris snoop format, filtering by port numbers, capturing only on certain interfaces, and lots of other goodies:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fwmonitorR8220.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/35452i55753397C11CB47A/image-size/large?v=v2&amp;amp;px=999" role="button" title="fwmonitorR8220.png" alt="fwmonitorR8220.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2026 19:56:30 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2026-10-05T19:56:30Z</dc:date>
    <item>
      <title>FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/86983#M4923</link>
      <description>&lt;P&gt;I don't understand why they nerf'd 'fw monitor -e' in favor of 'fw monitor -F'?&amp;nbsp; My opinions aside&amp;nbsp;&lt;SPAN&gt;ノಠ_ಠノ&lt;/SPAN&gt;, how do we convert old syntax such as this:&lt;/P&gt;&lt;P&gt;fw monitor -e "accept net(13.64.0.0,11) and host(10.0.0.1);"&lt;/P&gt;&lt;P&gt;how do I do that with -F?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 23:23:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/86983#M4923</guid>
      <dc:creator>FrozT</dc:creator>
      <dc:date>2020-06-01T23:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/86993#M4924</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;You don't. &lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk30583#Capture%20Examples%20-%20F" target="_self"&gt;-F is a&amp;nbsp;&lt;U&gt;simple&lt;/U&gt; capture&lt;/A&gt; filter that relies on &lt;A href="https://sc1.checkpoint.com/documents/R80.40/WebAdminGuides/EN/CP_R80.40_NextGenSecurityGateway_Guide/Content/Topics-FWG/Kernel-Debug/Kernel-Debug-Filters.htm" target="_self"&gt;Kernel Debug filters&lt;/A&gt; and doesn't support supernetting. However, it&amp;nbsp;supports using wildcards.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;So you have two options:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;fw monitor -F "&lt;FONT color="#0000FF"&gt;10.0.0.1&lt;/FONT&gt;,0,&lt;FONT color="#339966"&gt;13.*.*.*&lt;/FONT&gt;,0,0" -F "&lt;FONT color="#339966"&gt;13.*.*.*&lt;/FONT&gt;,0,&lt;FONT color="#0000FF"&gt;10.0.0.1&lt;/FONT&gt;,0,0"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;fwaccel off;&amp;nbsp;fw monitor -e "accept net(&lt;FONT color="#339966"&gt;13.64.0.0&lt;/FONT&gt;,11) and host(&lt;FONT color="#0000FF"&gt;10.0.0.1&lt;/FONT&gt;);";&amp;nbsp;fwaccel on&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 02 Jun 2020 04:52:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/86993#M4924</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-06-02T04:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/87550#M4940</link>
      <description>&lt;P&gt;Option 1 is not the same thing and option 2 isn't really an option because&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;fw monitor -e &lt;/EM&gt;&lt;/STRONG&gt;doesn't work anymore regardless if acceleration is turned on or off.&amp;nbsp; It will not filter anything and instead spit back what I can only guess is all the traffic.&lt;/P&gt;&lt;P&gt;So basically Checkpoint has removed one of the best troubleshooting methods and that's that.&amp;nbsp; I can't believe that they've taken fw monitor away from us...&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 04:22:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/87550#M4940</guid>
      <dc:creator>FrozT</dc:creator>
      <dc:date>2020-06-08T04:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/100803#M5280</link>
      <description>&lt;P&gt;&lt;EM style="background-color: #ffffff; font-weight: bold;"&gt;fw monitor -F "&lt;FONT color="#0000FF"&gt;10.0.0.1&lt;/FONT&gt;,0,&lt;FONT color="#339966"&gt;13.*.*.*&lt;/FONT&gt;,0,0" -F "&lt;FONT color="#339966"&gt;13.*.*.*&lt;/FONT&gt;,0,&lt;FONT color="#0000FF"&gt;10.0.0.1&lt;/FONT&gt;,0,0"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This syntax doesn't seem to work correctly for me, as an example this works as expected:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;fw monitor -F 4.2.2.2,*,*,*,* -F 0,0,4.2.2.2,0,0&lt;/P&gt;
&lt;P&gt;However this next one doesn't install a filter at all, and just gives me everything unfiltered:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;fw monitor -F &lt;FONT size="5"&gt;4.2.2.&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;*&lt;/FONT&gt;&lt;/STRONG&gt;,*,*,*,* -F 0,0,4.2.2.2,0,0&lt;/P&gt;
&lt;P&gt;I've noticed that if you typo the -F filter it doesn't error out but just gives you everything unfiltered which is a bit dangerous in my opinion.&amp;nbsp; Example:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;fw monitor -F totalgarbage&lt;/P&gt;
&lt;P&gt;I get every possible packet unfiltered, it even says "Compiled OK".&amp;nbsp; Huh?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 19:48:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/100803#M5280</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-11-01T19:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/100808#M5283</link>
      <description>&lt;P&gt;Right, that's another reason such complex tools should always come with a user interface that performs syntax checking. Such as my &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/FW-Monitor-SuperTool/td-p/60098" target="_self"&gt;FW Monitor SuperTool&lt;/A&gt;. If I'd only find the time to add -F simple capture syntax support to it. Currently my entire free time is taken by Check Points CoreXL team to advance my &lt;A href="https://community.checkpoint.com/t5/SmartConsole-Extensions/SmartConsole-Extension-CoreXL-Dynamic-Balancing/td-p/87503" target="_self"&gt;CoreXL Dynamic Balancing extension&lt;/A&gt; to fully control the Dynamic Split via SmartConsole.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 21:47:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/100808#M5283</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-11-01T21:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183073#M7774</link>
      <description>&lt;P&gt;Does it always support wildcards? because our R80.40 firewall complains!&lt;/P&gt;&lt;P&gt;[Expert@FW-INET-B:0]# fw monitor -F "0,0,10.223.*.*,0,0" -F "0,0,10.224.*.*,0,0" -F "10.223.*.*,0,0,0,0" -F "10.224.*.*,0,0"&lt;BR /&gt;PPAK 0: Get before set operation succeeded of fwmonitor_kiss_enable&lt;BR /&gt;PPAK 0: Get before set operation succeeded of simple_debug_filter_off&lt;BR /&gt;PPAK 0: Get before set operation succeeded of kiss_debug_force_kdprintf_enable&lt;BR /&gt;PPAK 0: Get before set operation succeeded of fwmonitorfreebufs&lt;BR /&gt;PPAK 0: Get before set operation succeeded of kiss_debug_force_kdprintf_enable&lt;BR /&gt;Invalid destination IP address 10.223.*.* in debug filter&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:29:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183073#M7774</guid>
      <dc:creator>stallwoodj</dc:creator>
      <dc:date>2023-06-02T15:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183076#M7775</link>
      <description>&lt;P&gt;Good catch...I tried in R81.20 jumbo 14 lab and it was exact same error you got. Maybe someone from CP can confirm if this is expected...&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:46:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183076#M7775</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-06-02T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183116#M7776</link>
      <description>&lt;P&gt;This is expected behavior, you cannot use any wildcards or other special characters/ranges with the -F option.&amp;nbsp; Getting an error message like that is much better than what it used to do when the matching syntax/characters were invalid, which was to happily give you a completely unfiltered capture with no warning.&amp;nbsp; Not a good outcome on a busy gateway...&lt;/P&gt;
&lt;P&gt;Also beware of some unexpected interaction between &lt;STRONG&gt;fw ctl zdebug drop&lt;/STRONG&gt; and &lt;STRONG&gt;fw monitor -F&lt;/STRONG&gt; if you try to run them simultaneously as described here:&amp;nbsp; &lt;A href="https://community.checkpoint.com/t5/Security-Gateways/Max-Capture-Update-2-Debug-Filter-Battle-fw-monitor-F-vs-fw-ctl/m-p/147374" target="_self"&gt;Max Capture Update 2: Debug Filter Battle -- fw monitor -F vs. fw ctl zdebug + drop&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 20:45:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183116#M7776</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2023-06-02T20:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183120#M7777</link>
      <description>&lt;P&gt;Thats definitely true, as I checked after making my post about it...we still have ongoing case with TAC escalation team about route based VPN issue and guy asked us to run fw monitor -F flag with wildcard and it was failing and I even told him it failed in my R81.20 lab, to which he responded it was normal.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 21:12:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/183120#M7777</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2023-06-02T21:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: FW monitor -F syntax</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/283224#M9469</link>
      <description>&lt;P&gt;To update this old thread, in R81.20 Check Point slipped in a new "-H" flag into &lt;STRONG&gt;fw monitor&lt;/STRONG&gt; that can be used to capture traffic to and from a single host IP with an expression like "-H 1.2.3.4".&amp;nbsp;&amp;nbsp;&lt;SPAN data-olk-copy-source="MessageBody"&gt;However, this new option was only mentioned in passing in&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk30583" rel="noopener" target="_blank"&gt;sk30583: What is FW Monitor?&lt;/A&gt;&amp;nbsp;until yesterday, when it was updated based on my suggestion.&amp;nbsp; Here is the new content for -H, which is much easier to use for a single host than multiple -F filters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Creates an IP address filter.&lt;/EM&gt;&lt;/P&gt;
&lt;P data-mc-conditions="Condition-Tag-Set-Deliverables.Deliverable_CLIG"&gt;&lt;EM&gt;For more information, see the &lt;A href="https://sc1.checkpoint.com/documents/R82.10/WebAdminGuides/EN/CP_R82.10_SecurityGateway_Guide/Default.htm" rel="noopener noreferrer" target="_blank"&gt;R82.10 Security Gateway Guide&lt;/A&gt; - Chapter Kernel Debug on &lt;SPAN class="mc-variable Vars_Other.tp_sgate variable"&gt;Security Gateway&lt;/SPAN&gt; - Section Kernel Debug Filters.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;This parameter supports up to 3 capture filters (up to 3 instances of the "&lt;CODE&gt;-H&lt;/CODE&gt;" parameter in the syntax).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Capture traffic only to and from the Host 1.1.1.1:&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;CODE&gt;fw monitor –H "1.1.1.1"&lt;/CODE&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Capture traffic where either the source or the destination IP address matches one of the specified IP addresses (the other peer does not have to be one of the specified IP addresses).&lt;/EM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;CODE&gt;fw monitor -H "1.1.1.1" -H "2.2.2.2" -H "3.3.3.3"&lt;/CODE&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in R82.20 &lt;STRONG&gt;fw monitor&lt;/STRONG&gt; is getting a crapload of new filtering options including exclusions, saving into a file in something other than Sun Solaris snoop format, filtering by port numbers, capturing only on certain interfaces, and lots of other goodies:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fwmonitorR8220.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/35452i55753397C11CB47A/image-size/large?v=v2&amp;amp;px=999" role="button" title="fwmonitorR8220.png" alt="fwmonitorR8220.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2026 19:56:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/FW-monitor-F-syntax/m-p/283224#M9469</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2026-10-05T19:56:30Z</dc:date>
    </item>
  </channel>
</rss>

