<?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: inetd.sec in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457895#M13089</link>
    <description>Matt:&lt;BR /&gt;&lt;BR /&gt;If your webserver is not started from within inetd (ie if it is in standalone mode) then inetd.sec cannot control access to it. however, you can set up .htaccess files in the "root" of the webserver hierarchy that denies that IP:&lt;BR /&gt;&lt;BR /&gt;1. Create a file called .htaccess in your documents_home directory.  the file should contain:&lt;BR /&gt;&lt;BR /&gt;deny from bad.bad.machine.com&lt;BR /&gt;allow from all&lt;BR /&gt;&lt;BR /&gt;AuthUserFile authusr.pwd&lt;BR /&gt;AuthGroupFile /dev/null&lt;BR /&gt;AuthName "Privileged Member"&lt;BR /&gt;AuthType Basic&lt;BR /&gt;&lt;BR /&gt;&lt;LIMIT get="" post="" put=""&gt;&lt;BR /&gt;require valid-user&lt;BR /&gt;&lt;/LIMIT&gt;&lt;BR /&gt;satisfy any&lt;BR /&gt;&lt;BR /&gt;===================&lt;BR /&gt;check the documentation of apache for more information on htaccess&lt;BR /&gt;&lt;BR /&gt;If you want to absolutely control it from within inetd.sec, then you have to set up your webserver to be started by inetd.conf</description>
    <pubDate>Wed, 25 Oct 2000 17:40:59 GMT</pubDate>
    <dc:creator>Kofi ARTHIABAH</dc:creator>
    <dc:date>2000-10-25T17:40:59Z</dc:date>
    <item>
      <title>inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457893#M13087</link>
      <description>I have a web server listening on port 7500.  what i want to do is deny certain i.p. addresses from using that port. &lt;BR /&gt;i defined the service in /etc/services, and i have entered the service name and i.p. address to deny.&lt;BR /&gt;&lt;BR /&gt;however, i can still connect to the port.&lt;BR /&gt;&lt;BR /&gt;i.e. http://whatever:7500&lt;BR /&gt;&lt;BR /&gt;any ideas would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Oct 2000 17:32:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457893#M13087</guid>
      <dc:creator>Matt Walls</dc:creator>
      <dc:date>2000-10-25T17:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457894#M13088</link>
      <description>One question if you did your 'deny' correct...did you remember to recyle inetd.??&lt;BR /&gt;&lt;BR /&gt;Just a thought,</description>
      <pubDate>Wed, 25 Oct 2000 17:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457894#M13088</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-10-25T17:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457895#M13089</link>
      <description>Matt:&lt;BR /&gt;&lt;BR /&gt;If your webserver is not started from within inetd (ie if it is in standalone mode) then inetd.sec cannot control access to it. however, you can set up .htaccess files in the "root" of the webserver hierarchy that denies that IP:&lt;BR /&gt;&lt;BR /&gt;1. Create a file called .htaccess in your documents_home directory.  the file should contain:&lt;BR /&gt;&lt;BR /&gt;deny from bad.bad.machine.com&lt;BR /&gt;allow from all&lt;BR /&gt;&lt;BR /&gt;AuthUserFile authusr.pwd&lt;BR /&gt;AuthGroupFile /dev/null&lt;BR /&gt;AuthName "Privileged Member"&lt;BR /&gt;AuthType Basic&lt;BR /&gt;&lt;BR /&gt;&lt;LIMIT get="" post="" put=""&gt;&lt;BR /&gt;require valid-user&lt;BR /&gt;&lt;/LIMIT&gt;&lt;BR /&gt;satisfy any&lt;BR /&gt;&lt;BR /&gt;===================&lt;BR /&gt;check the documentation of apache for more information on htaccess&lt;BR /&gt;&lt;BR /&gt;If you want to absolutely control it from within inetd.sec, then you have to set up your webserver to be started by inetd.conf</description>
      <pubDate>Wed, 25 Oct 2000 17:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457895#M13089</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-10-25T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457896#M13090</link>
      <description>yes i have tried restarting with inetd -c&lt;BR /&gt;&lt;BR /&gt;we are using an oracle web server, not apache.  is there a similiar function?  &lt;BR /&gt;&lt;BR /&gt;also, what are the benefits/disadvantages of starting and stopping the web server with inetd?&lt;BR /&gt;&lt;BR /&gt;thanks again</description>
      <pubDate>Wed, 25 Oct 2000 17:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457896#M13090</guid>
      <dc:creator>Matt Walls</dc:creator>
      <dc:date>2000-10-25T17:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457897#M13091</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have you entered the deny ip addresses in one line at inetd.sec ?&lt;BR /&gt;There must not be any line break or line continue with &lt;BR /&gt;Reagards</description>
      <pubDate>Wed, 25 Oct 2000 17:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457897#M13091</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-25T17:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457898#M13092</link>
      <description>Yes, Matt, there must be similar functionality in the Oracle webserver... it is a standard means of restricting access to whole directories (look for security and access restriction) in your oracle webserver documentation.&lt;BR /&gt;&lt;BR /&gt;I tend to prefer to have the webserver be standalone - when started from within inetd, every time a hit comes on port 7500, inetd wakes up and invokes a new instance of the webserver to service the request (potentially 2 steps).  However, if started as a standalone, a new instance of the server is started, only if there isn't an idle one currently running.</description>
      <pubDate>Wed, 25 Oct 2000 17:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457898#M13092</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-10-25T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457899#M13093</link>
      <description>Depending on the version of Oracle you are running the web server may be a modified version of Apache. Newer versions (not sure when they switched) use Apache with modifications.  Oracle are releasing some of their enhancements back to the open source world.</description>
      <pubDate>Mon, 30 Oct 2000 23:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457899#M13093</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2000-10-30T23:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457900#M13094</link>
      <description>Matt,&lt;BR /&gt;&lt;BR /&gt;As you machine boots up just make sure the webserver will not be started automatically.  I think you also have to take out the "--daemon" parameter for the webserver entry in the inetd.conf file, then your security entries in inetd.sec should come into effect.&lt;BR /&gt;&lt;BR /&gt;If your webserver will be a busy one, then I would agree that the standalone server approach is more appropriate.</description>
      <pubDate>Tue, 31 Oct 2000 01:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457900#M13094</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-10-31T01:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457901#M13095</link>
      <description>Matt,&lt;BR /&gt;&lt;BR /&gt;As you machine boots up just make sure the webserver will not be started automatically.  I think you also have to take out the "--daemon" parameter for the webserver entry in the inetd.conf file, then your security entries in inetd.sec should come into effect.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2000 01:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec/m-p/2457901#M13095</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-10-31T01:17:46Z</dc:date>
    </item>
  </channel>
</rss>

