<?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: Creating a custom app signature to block by URL path in Custom Signatures</title>
    <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239731#M282</link>
    <description>&lt;P&gt;I just tested and of course it works perfectly.&amp;nbsp; Thanks so much for setting me straight.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 21:27:00 GMT</pubDate>
    <dc:creator>svintinner</dc:creator>
    <dc:date>2018-11-13T21:27:00Z</dc:date>
    <item>
      <title>Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/237202#M277</link>
      <description>&lt;P&gt;I'm hoping to get some help with a custom signature that I've created.&amp;nbsp; We're trying to block users from playing flash games on facebook, but still allow them to get to everything else.&amp;nbsp; For example:&amp;nbsp; &lt;A href="https://apps.facebook.com/candycrush.&amp;nbsp;" target="_blank"&gt;https://apps.facebook.com/candycrush.&amp;nbsp;&lt;/A&gt; The URL category is social-networking and the application is facebook-apps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a signature to detect the app as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; facebook-candycrush {
     subcategory gaming;
     category media;
     technology browser-based;
     risk 2;
     data-ident no;
     parent-app facebook-apps;
     default {
         port tcp/443;
     }
     signature {
         facebook-candycrush-url {
             and-condition {
                 "And Condition 1" {
                     or-condition {
                         "Or Condition 1" {
                             operator {
                                 pattern-match {
                                     pattern apps\.facebook\.com;
                                     context http-req-host-header;
                                 }
                             }
                         }
                     }
                 }
                 "And Condition 2" {
                     or-condition {
                         "Or Condition 1" {
                             operator {
                                 pattern-match {
                                     pattern candycrush;
                                     context http-req-uri-path;
                                 }
                             }
                         }
                     }
                 }
             }
             scope protocol-data-unit;
             order-free no;
             comment "Detect apps.facebook.com/candycrush";
         }
     }
    &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Picture of the GUI config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Snag_c5699be.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/17300iB68CB665E507FD93/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Snag_c5699be.png" alt="Snag_c5699be.png" /&gt;&lt;/span&gt;&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;I'm missing something with the AND syntax.&amp;nbsp; It works fine if I only look for the http-req-host-header or if I only look for the http-req-uri-path, but when I add both, it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 22:40:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/237202#M277</guid>
      <dc:creator>svintinner</dc:creator>
      <dc:date>2018-10-25T22:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/237295#M278</link>
      <description>&lt;P&gt;Solved my problem by changing from transaction to session and removing ordered condition match.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:26:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/237295#M278</guid>
      <dc:creator>svintinner</dc:creator>
      <dc:date>2018-10-26T15:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239685#M279</link>
      <description>&lt;P&gt;Why don't you use custom url category and block this category with security profile?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 12:28:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239685#M279</guid>
      <dc:creator>Raido_Rattameister</dc:creator>
      <dc:date>2018-11-13T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239729#M280</link>
      <description>&lt;P&gt;Well that would certainly be easier.&amp;nbsp; I guess I was under the impression that URL Categories only worked on hostnames or domains, not paths.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:23:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239729#M280</guid>
      <dc:creator>svintinner</dc:creator>
      <dc:date>2018-11-13T21:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239730#M281</link>
      <description>&lt;P&gt;You can use path. For example permit single Youtube video.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:26:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239730#M281</guid>
      <dc:creator>Raido_Rattameister</dc:creator>
      <dc:date>2018-11-13T21:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a custom app signature to block by URL path</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239731#M282</link>
      <description>&lt;P&gt;I just tested and of course it works perfectly.&amp;nbsp; Thanks so much for setting me straight.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 21:27:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/creating-a-custom-app-signature-to-block-by-url-path/m-p/239731#M282</guid>
      <dc:creator>svintinner</dc:creator>
      <dc:date>2018-11-13T21:27:00Z</dc:date>
    </item>
  </channel>
</rss>

