<?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: Block Specific host/ip on indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120627#M25057</link>
    <description>&lt;P&gt;I also think the document needs clarity.   Based on the documentation appears, " is used for logical argument breaks:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;A single IPv4 or IPv6 address (examples: "10.1.2.3", "fe80::4a3") 
A CIDR block of addresses (examples: "10/8", "fe80:1234/32")
A DNS name, possibly with a '*' used as a wildcard (examples: "myhost.example.com", "*.splunk.com")
For example, "!10.1/16, *" will allow connections from everywhere  except the 10.1.*.* network.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, it does not behave this way...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Examples:  acceptFrom = 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4 
Only allows connection from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4

Example: acceptFrom = "10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4"
Does not allow connections from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4

Example: acceptFrom = "10.1.1.1", "10.1.1.2", "10.1.1.3", "10.1.1.4"
Does not allow connections from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am using Splunk Enterprise 6.6.2 and have the rare opportunity to build from scratch in AWS, thus allow me test the settings thoroughly...&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2017 14:02:38 GMT</pubDate>
    <dc:creator>azurite</dc:creator>
    <dc:date>2017-08-09T14:02:38Z</dc:date>
    <item>
      <title>Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120620#M25050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to block the specific host/ip which sending logs to indexers for a time being later would need to enable to again. Is there a way to block on indexer level and how?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 05:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120620#M25050</guid>
      <dc:creator>kpavan</dc:creator>
      <dc:date>2014-09-11T05:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120621#M25051</link>
      <description>&lt;P&gt;You should probably take a look at the documentation for inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;acceptFrom = &amp;lt;network_acl&amp;gt; ...
* Lists a set of networks or addresses to accept connections from.  These rules are separated by commas or spaces
* Each rule can be in the following forms:
*   1. A single IPv4 or IPv6 address (examples: "10.1.2.3", "fe80::4a3")
*   2. A CIDR block of addresses (examples: "10/8", "fe80:1234/32")
*   3. A DNS name, possibly with a '*' used as a wildcard (examples: "myhost.example.com", "*.splunk.com")
*   4. A single '*' which matches anything
* Entries can also be prefixed with '!' to cause the rule to reject the
  connection.  Rules are applied in order, and the first one to match is
  used.  For example, "!10.1/16, *" will allow connections from everywhere
  except the 10.1.*.* network.
* Defaults to "*" (accept from anywhere)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 05:45:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120621#M25051</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-09-11T05:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120622#M25052</link>
      <description>&lt;P&gt;Thanks for your quick respose!&lt;/P&gt;

&lt;P&gt;I have tried the acceptForm for one IP and its worked. Now i have curious to know if we have different range of ip address or different DNS names how could we achieve using the acceptForm.&lt;/P&gt;

&lt;P&gt;like:&lt;/P&gt;

&lt;P&gt;10.1.2.3&lt;BR /&gt;
192.1.2.2&lt;BR /&gt;
172.1.1.2&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120622#M25052</guid>
      <dc:creator>kpavan</dc:creator>
      <dc:date>2014-09-11T06:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120623#M25053</link>
      <description>&lt;P&gt;Not that I have tried it, but - as it says in the docs; &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;* Lists a set of networks or addresses to accept connections from.  These rules are separated by commas or spaces&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;From that statement I would guess something like this should work for blocking more than one host:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;acceptFrom = !10.1.2.3, !192.168.1.0/24, !*.test.domain.com&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 07:13:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120623#M25053</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-09-11T07:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120624#M25054</link>
      <description>&lt;P&gt;I have the following....&lt;/P&gt;

&lt;P&gt;[tcp]&lt;BR /&gt;
acceptFrom = !txindex1, *&lt;/P&gt;

&lt;P&gt;on my indexer, yet I am still getting traffic recorded from the host txindex1.  Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120624#M25054</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2015-03-11T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120625#M25055</link>
      <description>&lt;P&gt;Maybe delete the wildcard.&lt;BR /&gt;
As far as I know !txindex1 only blocks this one host and every other is allowed.&lt;BR /&gt;
So the wildcard(*) ist not needed.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 12:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120625#M25055</guid>
      <dc:creator>DennisFFM</dc:creator>
      <dc:date>2016-06-03T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120626#M25056</link>
      <description>&lt;P&gt;But the cryptic documentation shows the * in there... I wish they would at show an example. I can't get it to work either, and again "from the documentation" it's unclear to be if there should be "quotes" around the arguments... &lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 12:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120626#M25056</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2017-04-05T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Block Specific host/ip on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120627#M25057</link>
      <description>&lt;P&gt;I also think the document needs clarity.   Based on the documentation appears, " is used for logical argument breaks:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;A single IPv4 or IPv6 address (examples: "10.1.2.3", "fe80::4a3") 
A CIDR block of addresses (examples: "10/8", "fe80:1234/32")
A DNS name, possibly with a '*' used as a wildcard (examples: "myhost.example.com", "*.splunk.com")
For example, "!10.1/16, *" will allow connections from everywhere  except the 10.1.*.* network.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, it does not behave this way...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Examples:  acceptFrom = 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4 
Only allows connection from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4

Example: acceptFrom = "10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4"
Does not allow connections from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4

Example: acceptFrom = "10.1.1.1", "10.1.1.2", "10.1.1.3", "10.1.1.4"
Does not allow connections from 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am using Splunk Enterprise 6.6.2 and have the rare opportunity to build from scratch in AWS, thus allow me test the settings thoroughly...&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 14:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Block-Specific-host-ip-on-indexer/m-p/120627#M25057</guid>
      <dc:creator>azurite</dc:creator>
      <dc:date>2017-08-09T14:02:38Z</dc:date>
    </item>
  </channel>
</rss>

