<?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 Disable the UF web service in Security</title>
    <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196463#M5752</link>
    <description>&lt;P&gt;I am having no success in disabling the web service on my universal forwarders?&lt;/P&gt;

&lt;P&gt;Issue:  Security team were able to browse to my universal forwarders using https://[universalforwarder]:8089.  I have been instructed to kill the web service on the UFs.&lt;/P&gt;

&lt;P&gt;Have tried:  creating a new web.conf placed in etc/system/local with the following settings applied&lt;/P&gt;

&lt;P&gt;startwebserver = 0&lt;BR /&gt;
httpport = 0&lt;/P&gt;

&lt;P&gt;With these settings in place and removal of the old web.conf file sitting in etc/default i am still able to web onto my UF's from a remote machine?  &lt;/P&gt;

&lt;P&gt;Am i missing a setting somewhere?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2014 15:45:42 GMT</pubDate>
    <dc:creator>smithjnick</dc:creator>
    <dc:date>2014-01-06T15:45:42Z</dc:date>
    <item>
      <title>Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196463#M5752</link>
      <description>&lt;P&gt;I am having no success in disabling the web service on my universal forwarders?&lt;/P&gt;

&lt;P&gt;Issue:  Security team were able to browse to my universal forwarders using https://[universalforwarder]:8089.  I have been instructed to kill the web service on the UFs.&lt;/P&gt;

&lt;P&gt;Have tried:  creating a new web.conf placed in etc/system/local with the following settings applied&lt;/P&gt;

&lt;P&gt;startwebserver = 0&lt;BR /&gt;
httpport = 0&lt;/P&gt;

&lt;P&gt;With these settings in place and removal of the old web.conf file sitting in etc/default i am still able to web onto my UF's from a remote machine?  &lt;/P&gt;

&lt;P&gt;Am i missing a setting somewhere?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196463#M5752</guid>
      <dc:creator>smithjnick</dc:creator>
      <dc:date>2014-01-06T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196464#M5753</link>
      <description>&lt;P&gt;I don't know what to check but , i think if we remove the admin users capabilities we will be safe. Let's wait for the clarification&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 16:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196464#M5753</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-01-06T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196465#M5754</link>
      <description>&lt;P&gt;Yes, i dont want to kill the management port completely, just the ability to browse to a universal forwarder over this port.  I did use the httpdisable stanza in server.conf but then i lost functionality in cli mode i.e. i was not able to list forward-servers etc... for my troubleshooting scenarios.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 16:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196465#M5754</guid>
      <dc:creator>smithjnick</dc:creator>
      <dc:date>2014-01-06T16:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196466#M5755</link>
      <description>&lt;P&gt;Port 8089 is NOT splunkweb, it is Splunk's management port.  It does, however, speak HTTP so it can appear to be an HTTP Server.&lt;/P&gt;

&lt;P&gt;I don't think you can (safely) disable it entirely.  You might use &lt;CODE&gt;SPLUNK_BINDIP&lt;/CODE&gt; to restrict this port to only listening on 127.0.0.1.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/134/how-do-i-bind-splunk-to-a-specific-interface"&gt;http://answers.splunk.com/answers/134/how-do-i-bind-splunk-to-a-specific-interface&lt;/A&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;To elaborate, let's go through Splunk's architecture.  There are two daemons - services if you will - splunkd and splunkweb.  Each of these has a distinct purpose.  &lt;/P&gt;

&lt;P&gt;The splunkweb service provides the user interface components, which (by default) run HTTP on port 8000.  This is where the search interface lives, and is how most users interact with Splunk.&lt;/P&gt;

&lt;P&gt;The splunkd service is the indexing / forwarding / searching component.  It has no real UI, and is interacted with by using an HTTPS port on (usually) port 8089 where REST APIs are called.  Using Splunkd alone, you can't view a dashboard or create a chart.  If you know the REST API - or are using an SDK - you can use the REST API (or SDK) to programmatically run searches and so forth - but the UI is up to you at that point.&lt;/P&gt;

&lt;P&gt;Out of the box, UFs have the splunkweb web service disabled entirely.  In fact, it is impossible to run splunkweb on a UF because UFs do not include the Splunk python runtime.  UFs cannot run splunkweb.&lt;/P&gt;

&lt;P&gt;UFs do, however, run Splunkd - they need to run Splunkd to do things like tail log files and forward this data to Splunk indexers.&lt;/P&gt;

&lt;P&gt;As far as &lt;CODE&gt;web.conf&lt;/CODE&gt; goes, if we look closely at the &lt;CODE&gt;startwebserver&lt;/CODE&gt; option in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Webconf?r=answers"&gt;docs&lt;/A&gt;, it is specifically whether or not to start Splunkweb.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;startwebserver = [0 | 1]
    * Set whether or not to start SplunkWeb.
    * 0 disables SplunkWeb, 1 enables it.
    * Defaults to 1.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So control of Splunkd's REST port at 8089 is not governed by &lt;CODE&gt;startwebserver&lt;/CODE&gt;.  There is however the &lt;CODE&gt;disableDefaultPort&lt;/CODE&gt; option in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf?r=answers"&gt;server.conf&lt;/A&gt;.  This should work, however there have been &lt;A href="http://answers.splunk.com/answers/57315/disabledefaultport-true-not-working"&gt;issues&lt;/A&gt; documented with it in the past.&lt;/P&gt;

&lt;P&gt;Disabling the REST port entirely could cause some breakage, because there are CLI commands that use the REST port to talk to Splunkd.  You would not be able to, for example, do a &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; or &lt;CODE&gt;splunk add monitor&lt;/CODE&gt; because these commands are implemented using the REST port.  This is why I suggested using &lt;CODE&gt;SPLUNK_BINDIP&lt;/CODE&gt; to limit access to the REST port to the local host.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 16:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196466#M5755</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-01-06T16:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196467#M5756</link>
      <description>&lt;P&gt;Yes, your comment "It does, however, speak HTTP so it can appear to be an HTTP Server"  is the issue here.&lt;/P&gt;

&lt;P&gt;Seems a bit naughty that does if its not a bug.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 17:22:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196467#M5756</guid>
      <dc:creator>smithjnick</dc:creator>
      <dc:date>2014-01-06T17:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196468#M5757</link>
      <description>&lt;P&gt;No,  it's not a bug.  It is, perhaps, a case of the options in web.conf not being clear as to what they do or do not do.  I will update my post to clarify further.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 17:32:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196468#M5757</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-01-06T17:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196469#M5758</link>
      <description>&lt;P&gt;Also, it might be worth being sure to change the default password and use IPTABLES to prevent access to it (if you're running on a brand of *nix). I had similar concerns a while back&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 19:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196469#M5758</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2014-01-06T19:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable the UF web service</title>
      <link>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196470#M5759</link>
      <description>&lt;P&gt;So per &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/BindSplunktoanIP"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Admin/BindSplunktoanIP&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/splunk-launch.conf&lt;/P&gt;

&lt;P&gt;SPLUNK_BINDIP=127.0.0.1 &lt;/P&gt;

&lt;P&gt;Do you know if  this can be set running the cli ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Disable-the-UF-web-service/m-p/196470#M5759</guid>
      <dc:creator>locose</dc:creator>
      <dc:date>2017-03-24T18:13:28Z</dc:date>
    </item>
  </channel>
</rss>

