<?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 URLF Regular Expression in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237729#M39734</link>
    <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;We have a website control requirement as follows:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.example.com" target="_blank" rel="noopener"&gt;https://www.example.com&lt;/A&gt; (Permit)&lt;BR /&gt;&lt;A href="https://www.example.com/forum/index.php(Block" target="_blank" rel="noopener"&gt;https://www.example.com/forum/popular/buzz?tab=popular(Block&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I plan to control it through HTTPS Inspection + URLF.&lt;/P&gt;&lt;P&gt;So I wrote a Regular Expression as follows:&lt;BR /&gt;\.example\.com\/forum\/popular\/buzz?tab=popular&lt;/P&gt;&lt;P&gt;But the result is a failure. Please tell me how to modify it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2025 18:25:13 GMT</pubDate>
    <dc:creator>GigaYang</dc:creator>
    <dc:date>2025-01-06T18:25:13Z</dc:date>
    <item>
      <title>URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237729#M39734</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;We have a website control requirement as follows:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.example.com" target="_blank" rel="noopener"&gt;https://www.example.com&lt;/A&gt; (Permit)&lt;BR /&gt;&lt;A href="https://www.example.com/forum/index.php(Block" target="_blank" rel="noopener"&gt;https://www.example.com/forum/popular/buzz?tab=popular(Block&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I plan to control it through HTTPS Inspection + URLF.&lt;/P&gt;&lt;P&gt;So I wrote a Regular Expression as follows:&lt;BR /&gt;\.example\.com\/forum\/popular\/buzz?tab=popular&lt;/P&gt;&lt;P&gt;But the result is a failure. Please tell me how to modify it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:25:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237729#M39734</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T18:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237730#M39735</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/83001"&gt;@GigaYang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would make sure rule to block comes first, or if you are allowed, send me actual sites directly and Im happy to test in the lab.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 18:29:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237730#M39735</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T18:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237736#M39737</link>
      <description>&lt;P&gt;&lt;A href="https://www.cmoney.tw/forum/popular/buzz?tab=popular" target="_blank"&gt;https://www.cmoney.tw/forum/popular/buzz?tab=popular&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:03:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237736#M39737</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T19:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237739#M39738</link>
      <description>&lt;P&gt;So you want to do below?&lt;/P&gt;
&lt;P&gt;block -&amp;gt;&amp;nbsp;&lt;A href="https://www.cmoney.tw/forum/popular/buzz?tab=popular" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.cmoney.tw/forum/popular/buzz?tab=popular&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;allow -&amp;gt; &lt;A href="https://www.cmoney.tw" target="_blank"&gt;https://www.cmoney.tw&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Right?&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:05:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237739#M39738</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T19:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237741#M39739</link>
      <description>&lt;P&gt;Hi Rock,&lt;/P&gt;&lt;P&gt;Yes, we need it.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:13:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237741#M39739</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T19:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237742#M39740</link>
      <description>&lt;P&gt;Will test it shortly and let you know.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:15:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237742#M39740</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237743#M39741</link>
      <description>&lt;P&gt;Sometimes if you use regular expression it can impact gateway performance.&lt;/P&gt;
&lt;P&gt;Make sure when you are done with the changes and pushed them to the firewall, to run a HCP health check.&lt;/P&gt;
&lt;P&gt;Any incorrect configured expressions that could cause high load are listed in this report.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:16:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237743#M39741</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2025-01-06T19:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237744#M39742</link>
      <description>&lt;P&gt;Hi Lesley,&lt;/P&gt;&lt;P&gt;Thank you for your reminder.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 19:20:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237744#M39742</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T19:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237746#M39743</link>
      <description>&lt;P&gt;Hm, cant seem to block it, though I even made sure its not bypassed in inspection policy. Let me keep trying/&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:07:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237746#M39743</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T20:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237747#M39744</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\.example\.com\/forum\/popular\/buzz\?tab\=popular&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"=" is significant to regular expression matching for assignment and needs to be quoted.&amp;nbsp; "?" is significant as well and although you don't strictly need to quote it with a "\" to make it work, doing so may improve performance slightly.&amp;nbsp; If it still doesn't match try toggling the checkbox "URL is a regular expression" on the custom site/app object.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Edit: clarified what ? matches based on Bob's post&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 01:54:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237747#M39744</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2025-01-07T01:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237748#M39745</link>
      <description>&lt;P&gt;I have a feeling it could be something with that site, cause every single time, no matter what "flavors" I try, it shows bypassed in https inspection, but so many different countries...Korea, Taiwan, USA...AND, on top of that, always different categories too. Though I blocked in in url layer and also inspected in https inspection policy.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:31:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237748#M39745</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T20:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237752#M39747</link>
      <description>&lt;P&gt;Assuming my alternate regex does not work and it always seems to Bypass anyway, I suppose it is possible that this server falls into the implied HTTPS Inspection exceptions.&amp;nbsp; Try disabling it but be warned this will break a lot of stuff in a production environment:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk98655" target="_blank" rel="noopener"&gt;https://support.checkpoint.com/results/sk/sk98655&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also I assume you are not using the Check Point-provided bypass object in your HTTPS Inspection policy, it could be in there too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk163595" target="_blank" rel="noopener"&gt;https://support.checkpoint.com/results/sk/sk163595&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:42:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237752#M39747</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2025-01-06T20:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237753#M39748</link>
      <description>&lt;P&gt;Just tried that too in the lab as regular expression as well, no joy...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:41:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237753#M39748</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T20:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237754#M39749</link>
      <description>&lt;P&gt;I have try that. It can block the URL.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:53:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237754#M39749</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237755#M39750</link>
      <description>&lt;P&gt;Hi Rock,&lt;/P&gt;&lt;P&gt;Thanks for your kindly help.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:53:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237755#M39750</guid>
      <dc:creator>GigaYang</dc:creator>
      <dc:date>2025-01-06T20:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237756#M39751</link>
      <description>&lt;P&gt;No worries, happy it worked for you! Maybe I did the wrong syntax in the lab.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 20:55:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237756#M39751</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237757#M39752</link>
      <description>&lt;P&gt;? in a regular expression should match the previous element (typically a character, but can be a character class or a group) 0 or 1 times. For example, "https?" would match http or https. If you want to match a literal question mark in the input, you definitely need to escape the question mark in the expression (or put it in a character class, or replace it with a dot).&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 21:11:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237757#M39752</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-01-06T21:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237761#M39753</link>
      <description>&lt;P&gt;Would you mind sharing exact syntax you used? I would like to test it in the lab...not having much luck with ones Im trying.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:19:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237761#M39753</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T22:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237762#M39754</link>
      <description>&lt;P&gt;Never mind&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/83001"&gt;@GigaYang&lt;/a&gt;&amp;nbsp;, I got it. It was being bypassed on financial services, as soon as I removed that, it was blocked. I just used below:&lt;/P&gt;
&lt;P&gt;\.cmoney\.tw\/forum\/popular\/buzz\?tab\=popular&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:48:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237762#M39754</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-01-06T22:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: URLF Regular Expression</title>
      <link>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237774#M39756</link>
      <description>&lt;P&gt;Got it, thanks for the clarification!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 01:50:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/URLF-Regular-Expression/m-p/237774#M39756</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2025-01-07T01:50:24Z</dc:date>
    </item>
  </channel>
</rss>

