<?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 file not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331966#M537898</link>
    <description>Yes, tried using just ftp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Jan 2009 21:14:41 GMT</pubDate>
    <dc:creator>jerry1</dc:creator>
    <dc:date>2009-01-05T21:14:41Z</dc:date>
    <item>
      <title>inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331964#M537896</link>
      <description>I cannot seem to get the inetd.sec file to&lt;BR /&gt;work for me. What is missing?&lt;BR /&gt;Did a inetd -c if that is needed.&lt;BR /&gt;&lt;BR /&gt;I have ip of host I am testing from and&lt;BR /&gt;tried with hostname also.&lt;BR /&gt;&lt;BR /&gt;* deny 166.18.10.112</description>
      <pubDate>Mon, 05 Jan 2009 21:05:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331964#M537896</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-05T21:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331965#M537897</link>
      <description>Don't think that the wildcard for the service name is valid.  Have you tried putting a valid name from inetd.conf in place of it?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2009 21:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331965#M537897</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-01-05T21:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331966#M537898</link>
      <description>Yes, tried using just ftp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2009 21:14:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331966#M537898</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-05T21:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331967#M537899</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From the on-line manual:&lt;BR /&gt;&lt;BR /&gt;service name { allow | deny }&lt;BR /&gt;           { hostaddrs | hostnames | netaddrs | netnames }&lt;BR /&gt;&lt;BR /&gt;Service name is the name (not alias) of a&lt;BR /&gt;valid service in file /etc/services. The&lt;BR /&gt;service name for RPC-based services (NFS) is&lt;BR /&gt;the name (not alias) of a valid service in&lt;BR /&gt;file /etc/rpc. A service name in /etc/rpc&lt;BR /&gt;corresponds to a unique RPC program number.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The * and the - can be present in any of the&lt;BR /&gt;fields of the address. An address field is a&lt;BR /&gt;string of characters separated by a dot (.).&lt;BR /&gt;&lt;BR /&gt;You cannot use wildcard for service name!&lt;BR /&gt;&lt;BR /&gt;Hence, this is INVALID in /var/adm/inetd.sec:&lt;BR /&gt;&lt;BR /&gt;* deny 166.18.10.112&lt;BR /&gt;&lt;BR /&gt;And this is valid:&lt;BR /&gt;&lt;BR /&gt;ftp deny 166.18.10.112&lt;BR /&gt;login deny 166.18.10.112&lt;BR /&gt;telnet deny 166.18.10.112&lt;BR /&gt;&lt;BR /&gt;By the way, if your remote server at IP&lt;BR /&gt;address 166.18.10.112 has multiple network&lt;BR /&gt;interfaces, make sure that the way it&lt;BR /&gt;connects to your server with inetd.sec setup&lt;BR /&gt;comes through the correct interface!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2009 22:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331967#M537899</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-05T22:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331968#M537900</link>
      <description>Yes on ip address I am coming from.&lt;BR /&gt;I can see that in "last -R" and "who".&lt;BR /&gt;&lt;BR /&gt;This does not work with ip or hostname.&lt;BR /&gt;&lt;BR /&gt;ftp     deny    166.18.10.112&lt;BR /&gt;ftp     deny    jc-db-01-dm-01</description>
      <pubDate>Tue, 06 Jan 2009 17:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331968#M537900</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-06T17:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331969#M537901</link>
      <description>Just to be sure - the file you are editing is /var/adm/inetd.sec?&lt;BR /&gt;&lt;BR /&gt;Also, are you able to allow or deny any other services to other hosts?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2009 18:20:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331969#M537901</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-01-06T18:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331970#M537902</link>
      <description>No, I tested from other hosts and also&lt;BR /&gt;tried putting just:&lt;BR /&gt;&lt;BR /&gt;ftp deny</description>
      <pubDate>Tue, 06 Jan 2009 18:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331970#M537902</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-06T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331971#M537903</link>
      <description>Strange...&lt;BR /&gt;&lt;BR /&gt;If you are on 11.11 - Do you have this patch installed?&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep -i inet:&lt;BR /&gt;PHNE_35017 -  1.0    inetd(1M) cumulative patch&lt;BR /&gt;&lt;BR /&gt;Also, take a look at IPFilter:&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could block the host with something like this in /etc/opt/ipf/ipf.conf:&lt;BR /&gt;&lt;BR /&gt;block in quick on lan0 from 166.18.10.112 to any port = 21&lt;BR /&gt;&lt;BR /&gt;Assuming lan0 is you primary interface.  Other than that, i'm not sure what the problem is.  Your inetd.sec entry looks ok.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2009 18:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331971#M537903</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-01-06T18:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331972#M537904</link>
      <description>What about hp-ux 11.0 ?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2009 19:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331972#M537904</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-06T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331973#M537905</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Well, a nice surprise :)&lt;BR /&gt;&lt;BR /&gt;I did not even suspect someone would&lt;BR /&gt;still use unsupported version of the O/S.&lt;BR /&gt;&lt;BR /&gt;Do you have these two patches on the server?&lt;BR /&gt;&lt;BR /&gt;PHNE_28312&lt;BR /&gt;PHNE_26828&lt;BR /&gt;&lt;BR /&gt;They deal with various inetd bugs&lt;BR /&gt;(including inetd.sec support).&lt;BR /&gt;It might help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Tue, 06 Jan 2009 20:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331973#M537905</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-06T20:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331974#M537906</link>
      <description>I downloaded the first patch but cannot&lt;BR /&gt;find any reference to PHNE_26828.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.0? We are still running HP-UX 9&lt;BR /&gt;also, but not by choice. It's custom manufacturing &lt;BR /&gt;hardware/software.&lt;BR /&gt;&lt;BR /&gt;There is a growing market now on old legacy&lt;BR /&gt;hardware/software support. HP/SUN are&lt;BR /&gt;loosing millions because they won't support&lt;BR /&gt;their own products. We even have old VAX&lt;BR /&gt;systems that are under support with third&lt;BR /&gt;party support company with ex HP/SUN/VAX&lt;BR /&gt;technicians that HP and SUN thought were&lt;BR /&gt;getting paid to much.</description>
      <pubDate>Wed, 07 Jan 2009 15:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331974#M537906</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-07T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331975#M537907</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I understand your pain. Having&lt;BR /&gt;old operating systems is not pleasant&lt;BR /&gt;and I heard many companies believing&lt;BR /&gt;they were neglected by major vendors.&lt;BR /&gt;&lt;BR /&gt;a) I just did a test on an HP-UX 11.00&lt;BR /&gt;server. I was ucky fo find one nearby.&lt;BR /&gt;&lt;BR /&gt;/var/adm/inetd.sec contained:&lt;BR /&gt;&lt;BR /&gt;ftp allow 192.168.30.55&lt;BR /&gt;&lt;BR /&gt;It worked well. This is the syslog entry:&lt;BR /&gt;&lt;BR /&gt;Jan 8 15:09:06 myhost inetd[3688]: ftp/tcp: Connection from myhost2 (192.168.30.55) at Thu Jan  8 15:09:06 2009&lt;BR /&gt;Jan 8 15:09:08 vmyhost ftpd[3688]: USER dusan&lt;BR /&gt;Jan 8 15:09:08 myhost ftpd[3688]: PASS password&lt;BR /&gt;&lt;BR /&gt;And when I disabled ftp services in /var/adm/inetd.sec:&lt;BR /&gt;&lt;BR /&gt;ftp deny&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;ftp deny 192.168.30.55&lt;BR /&gt;&lt;BR /&gt;... I got correct response from the server:&lt;BR /&gt;&lt;BR /&gt;Jan  8 15:06:04 myhost inetd[885]: ftp/tcp: Access denied for myhost2 (192.168.30.55) at Thu Jan  8 15:06:04 2009&lt;BR /&gt;Jan  8 15:05:35 myhost inetd[885]: ident/tcp: Exit status 1&lt;BR /&gt;&lt;BR /&gt;I am not really sure why you are having problems.&lt;BR /&gt;&lt;BR /&gt;It works fine on HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;What do you syslog entries show?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Thu, 08 Jan 2009 04:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331975#M537907</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-08T04:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331976#M537908</link>
      <description>I found the problems.&lt;BR /&gt;&lt;BR /&gt;1. You cannot have just a hostname if the&lt;BR /&gt;   host is in another domain. Even if it &lt;BR /&gt;   is aliased in DNS as being in the same &lt;BR /&gt;   domain it will not work.&lt;BR /&gt;   It has to be what it is connecting as.   &lt;BR /&gt;   Just hostname will work if both hosts&lt;BR /&gt;   are in the same domain. IP will always&lt;BR /&gt;   work. Better to use IP.&lt;BR /&gt;   I had tried FQHN but number two below&lt;BR /&gt;   was breaking it.&lt;BR /&gt;&lt;BR /&gt;2. You cannot have multiple server entries.&lt;BR /&gt;   e.g. &lt;BR /&gt;   ftp deny &lt;IP&gt;&lt;BR /&gt;   ftp deny &lt;OTHER ip=""&gt;&lt;BR /&gt;&lt;BR /&gt;   The last one will override the first &lt;BR /&gt;   ones.&lt;BR /&gt;&lt;BR /&gt;I had another ftp entry farther down in the&lt;BR /&gt;file that was overriding the first ftp entry.&lt;BR /&gt;&lt;BR /&gt;There is no need to do an inetd -c.&lt;BR /&gt;&lt;BR /&gt;&lt;/OTHER&gt;&lt;/IP&gt;</description>
      <pubDate>Thu, 08 Jan 2009 22:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331976#M537908</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-08T22:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331977#M537909</link>
      <description>I guess for Sun systems you have to&lt;BR /&gt;install TCPwrappers or other.</description>
      <pubDate>Thu, 08 Jan 2009 22:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331977#M537909</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-08T22:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331978#M537910</link>
      <description>Ahh Jerry,&lt;BR /&gt;&lt;BR /&gt;You should have told us earlier :)&lt;BR /&gt;&lt;BR /&gt;Here is the excerpt from inetd.sec(4)&lt;BR /&gt;on-line manual:&lt;BR /&gt;&lt;BR /&gt;"Multiple allow|deny lines for each service are not unsupported. If there are multiple allow|deny lines for a particular service, all but the last line are ignored."&lt;BR /&gt;&lt;BR /&gt;I think we all deserve some points from you&lt;BR /&gt;before you close the thread :)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Fri, 09 Jan 2009 00:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331978#M537910</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-09T00:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331979#M537911</link>
      <description>Sorry about that.</description>
      <pubDate>Fri, 09 Jan 2009 02:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331979#M537911</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2009-01-09T02:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331980#M537912</link>
      <description>Hello Jerry,&lt;BR /&gt;&lt;BR /&gt;Your problem gave me an idea. Why not&lt;BR /&gt;automate this check? So, I updated my own&lt;BR /&gt;Perl script for Operations Acceptance&lt;BR /&gt;Testing and Auditing of HP-UX servers:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt" target="_blank"&gt;http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It will, among the other things, report:&lt;BR /&gt;&lt;BR /&gt;AUDIT-PASS: Inetd managed through ACLs (/var/adm/inetd.sec used)&lt;BR /&gt;AUDIT-NOTE: Multiple allow or deny lines for each service are not unsupported.&lt;BR /&gt;AUDIT-NOTE: If there are multiple allow or deny lines for a particular service,&lt;BR /&gt;AUDIT-NOTE: all but the last line are ignored&lt;BR /&gt;&lt;BR /&gt;AUDIT-INFO: Active services in /var/adm/inetd.sec&lt;BR /&gt;ftp 192.168.40.30&lt;BR /&gt;telnet&lt;BR /&gt;shell deny&lt;BR /&gt;ftp 10.15.20.30 172.16.1.4&lt;BR /&gt;&lt;BR /&gt;AUDIT-WARN: Entry for service "ftp" exists more than once in /var/adm/inetd.sec&lt;BR /&gt;&lt;BR /&gt;Thanks for giving me an idea :)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sat, 10 Jan 2009 00:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331980#M537912</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-10T00:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: inetd.sec file not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331981#M537913</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;I just realised: there is an error in&lt;BR /&gt;language style. It is actually wrong in&lt;BR /&gt;HP-UX on-line manual for inetd.sec:&lt;BR /&gt;&lt;BR /&gt;QUOTE&lt;BR /&gt;Multiple allow|deny lines for each service are not unsupported.&lt;BR /&gt;END QUOTE&lt;BR /&gt;&lt;BR /&gt;It should state:&lt;BR /&gt;&lt;BR /&gt;"Multiple allow|deny lines for each service are not supported."&lt;BR /&gt;&lt;BR /&gt;or even:&lt;BR /&gt;&lt;BR /&gt;"Multiple allow|deny lines for each service are unsupported."&lt;BR /&gt;&lt;BR /&gt;I made a change in my Perl script too.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sat, 10 Jan 2009 00:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-sec-file-not-working/m-p/4331981#M537913</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-01-10T00:42:53Z</dc:date>
    </item>
  </channel>
</rss>

