<?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 IPS Regex for Boolean &amp;quot;AND&amp;quot; in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907260#M55374</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone know the regex string for Boolean "AND" operator. I came to know OR operator got string "|". But unable to find string for AND operator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 12:39:25 GMT</pubDate>
    <dc:creator>ganesh.kumar</dc:creator>
    <dc:date>2019-03-10T12:39:25Z</dc:date>
    <item>
      <title>IPS Regex for Boolean "AND"</title>
      <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907260#M55374</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone know the regex string for Boolean "AND" operator. I came to know OR operator got string "|". But unable to find string for AND operator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 12:39:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907260#M55374</guid>
      <dc:creator>ganesh.kumar</dc:creator>
      <dc:date>2019-03-10T12:39:25Z</dc:date>
    </item>
    <item>
      <title>IPS Regex for Boolean "AND"</title>
      <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907261#M55375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to configure more than one action for a signature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that using the same operator, but with no spaces, the command should be:&lt;/P&gt;&lt;P&gt;event-action produce-alert|deny-packet-inline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure that you write "deny-packet-inline" not any abbriviation like deny-p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 08:02:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907261#M55375</guid>
      <dc:creator>a.matahen</dc:creator>
      <dc:date>2012-04-17T08:02:16Z</dc:date>
    </item>
    <item>
      <title>IPS Regex for Boolean "AND"</title>
      <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907262#M55376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am looking a option to use Regex. For example color and Green. I know multi-string can do this. But looking option to use in same line like we use OR (I) operator in Regex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 17:16:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907262#M55376</guid>
      <dc:creator>ganesh.kumar</dc:creator>
      <dc:date>2012-04-17T17:16:46Z</dc:date>
    </item>
    <item>
      <title>IPS Regex for Boolean "AND"</title>
      <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907263#M55377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say, in your example, if the strings Color and Green are separated by AAAA, you can write a regex as "ColorAAAAGreen". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not sure what characters can be between Color and Green, you can have a regex like "Color[\x00-\xff]*Green". This will fire if you see Color followed by Green in the traffic stream. But this includes a wildcard and could be memory-intensive. multistring engine would be better in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So depending on the traffic you are matching, you can hardcode some strings in the regex and get the AND functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Radhika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 21:28:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907263#M55377</guid>
      <dc:creator>rupadras</dc:creator>
      <dc:date>2012-04-19T21:28:53Z</dc:date>
    </item>
    <item>
      <title>IPS Regex for Boolean "AND"</title>
      <link>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907264#M55378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rupadras,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Your answer worked me perfectly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 16:45:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ips-regex-for-boolean-quot-and-quot/m-p/1907264#M55378</guid>
      <dc:creator>ganesh.kumar</dc:creator>
      <dc:date>2012-05-01T16:45:36Z</dc:date>
    </item>
  </channel>
</rss>

