<?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 How to search cisco firewall Deny actions based on internal source IPs against multiple external IP subnets? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141387#M39162</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;

&lt;P&gt;This is my first post so wanted to say Hello!&lt;BR /&gt;
I am trying to create an alert for possible Deny action on our firewall from 3 different internal IPs against multiple external IP subnets not single IPs.&lt;/P&gt;

&lt;P&gt;I found this post &lt;A href="http://answers.splunk.com/answers/57094/join-ip-with-a-subnet.html"&gt;http://answers.splunk.com/answers/57094/join-ip-with-a-subnet.html&lt;/A&gt;&lt;BR /&gt;
and created ip_lookups.csv and transforms.conf&lt;/P&gt;

&lt;P&gt;ip_lookups.csv has following format (ip ranges changed for demo purpose)&lt;BR /&gt;
ip,location&lt;BR /&gt;
200.100.32.0/19,target1         255.255.224.0&lt;BR /&gt;
100.200.30.0/19,target2         255.255.224.0&lt;BR /&gt;
50.60.80.0/20,target3          255.255.240.0&lt;/P&gt;

&lt;P&gt;Could you advise on how to create a search rule to reflect the target subnets based on the ip_lookups.csv, please? Maybe there is a better way of doing it.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2015 06:03:16 GMT</pubDate>
    <dc:creator>artheb</dc:creator>
    <dc:date>2015-02-11T06:03:16Z</dc:date>
    <item>
      <title>How to search cisco firewall Deny actions based on internal source IPs against multiple external IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141387#M39162</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;

&lt;P&gt;This is my first post so wanted to say Hello!&lt;BR /&gt;
I am trying to create an alert for possible Deny action on our firewall from 3 different internal IPs against multiple external IP subnets not single IPs.&lt;/P&gt;

&lt;P&gt;I found this post &lt;A href="http://answers.splunk.com/answers/57094/join-ip-with-a-subnet.html"&gt;http://answers.splunk.com/answers/57094/join-ip-with-a-subnet.html&lt;/A&gt;&lt;BR /&gt;
and created ip_lookups.csv and transforms.conf&lt;/P&gt;

&lt;P&gt;ip_lookups.csv has following format (ip ranges changed for demo purpose)&lt;BR /&gt;
ip,location&lt;BR /&gt;
200.100.32.0/19,target1         255.255.224.0&lt;BR /&gt;
100.200.30.0/19,target2         255.255.224.0&lt;BR /&gt;
50.60.80.0/20,target3          255.255.240.0&lt;/P&gt;

&lt;P&gt;Could you advise on how to create a search rule to reflect the target subnets based on the ip_lookups.csv, please? Maybe there is a better way of doing it.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 06:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141387#M39162</guid>
      <dc:creator>artheb</dc:creator>
      <dc:date>2015-02-11T06:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to search cisco firewall Deny actions based on internal source IPs against multiple external IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141388#M39163</link>
      <description>&lt;P&gt;This works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | head 1 | eval ip = "192.168.0.11" | search ip=192.168.0.1/24
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Feb 2015 23:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141388#M39163</guid>
      <dc:creator>thomrs</dc:creator>
      <dc:date>2015-02-11T23:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to search cisco firewall Deny actions based on internal source IPs against multiple external IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141389#M39164</link>
      <description>&lt;P&gt;I tried to put it in my full search but it does not seem to work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog source=/opt/splunk/rsyslog/udp/cisco.log host=firewall1 Deny tcp src 
|head 1 |  eval ip=“10.10.10.101” | search ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/18 OR ip=XX.XX.XX.XX/17 OR ip=XX.XX.XX.XX/24 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/19]
| append [head 2 |  eval ip=“10.10.10.102” | search ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/18 OR ip=XX.XX.XX.XX/17 OR ip=XX.XX.XX.XX/24 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/19]
| append [head 3 |  eval ip=“10.10.10.103” | search ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/19 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/18 OR ip=XX.XX.XX.XX/17 OR ip=XX.XX.XX.XX/24 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/20 OR ip=XX.XX.XX.XX/16 OR ip=XX.XX.XX.XX/19]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could you advise, please?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 11:54:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141389#M39164</guid>
      <dc:creator>artheb</dc:creator>
      <dc:date>2015-02-16T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to search cisco firewall Deny actions based on internal source IPs against multiple external IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141390#M39165</link>
      <description>&lt;P&gt;Anyone could help on this?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 10:30:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-cisco-firewall-Deny-actions-based-on-internal/m-p/141390#M39165</guid>
      <dc:creator>artheb</dc:creator>
      <dc:date>2015-02-24T10:30:25Z</dc:date>
    </item>
  </channel>
</rss>

