<?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: /etc/services in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945571#M577312</link>
    <description>I think of /etc/services as a documentation or reservation file.&lt;BR /&gt;&lt;BR /&gt;If you comment out the port 25 reference you have no functional effect.&lt;BR /&gt;&lt;BR /&gt;You can control stmp traffic by making changes to the sendmail.mc file, generating a new sendmail.cf file and block incoming mail traffic on any port or IP address.&lt;BR /&gt;&lt;BR /&gt;If you want to block traffic further, you need to have some kind of firewall between your box and your users. HP has a free one, or you can have an external pc based firewall.&lt;BR /&gt;&lt;BR /&gt;I refer to /etc/services as a reservation file because when you install oracle on a system it takes up several ports.  Oracle doesn't bother adding entries to the /etc/services file and everything works great.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 08 Apr 2003 12:16:01 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-04-08T12:16:01Z</dc:date>
    <item>
      <title>/etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945563#M577304</link>
      <description>Any command should be run after modified /etc/services?</description>
      <pubDate>Tue, 08 Apr 2003 00:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945563#M577304</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-04-08T00:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945564#M577305</link>
      <description>Simple answer is no. The /etc/services file is used as a reference for the port numbers and their aliases. &lt;BR /&gt;&lt;BR /&gt;# man services&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 01:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945564#M577305</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-08T01:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945565#M577306</link>
      <description>But if I disable&lt;BR /&gt;#TCP 25 SMTP&lt;BR /&gt;&lt;BR /&gt;Does this disable port 25 immediately?</description>
      <pubDate>Tue, 08 Apr 2003 01:06:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945565#M577306</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-04-08T01:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945566#M577307</link>
      <description>As long as there is no conflict with other applications and its not own by root, (* &amp;lt; 1024 *) then you shouldn't have a problem.  Order your /etc/services file with sort a check for duplicates:&lt;BR /&gt;&lt;BR /&gt;cat /etc/services | sort -n | more&lt;BR /&gt;&lt;BR /&gt;Don't confuse this with starting the network utility like oracle's listener or one of the inetd utilities.  When you make a port you reserve buffer space and allow the system to create a system file for parsing.  That's why ports are analyzed with lsof, the list open files command.&lt;BR /&gt;&lt;BR /&gt;lsof -i tcp:23&lt;BR /&gt;lsof -i udp:123, etc.</description>
      <pubDate>Tue, 08 Apr 2003 01:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945566#M577307</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-08T01:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945567#M577308</link>
      <description>Regarding: "...But if I disable #TCP 25 SMTP Does this disable port 25 immediately? ..."&lt;BR /&gt;&lt;BR /&gt;Probably not.  You've got to stop the application.  Run:&lt;BR /&gt;&lt;BR /&gt;lsof -i smtp:25&lt;BR /&gt;&lt;BR /&gt;Is there a sendmail daemon perhaps?&lt;BR /&gt;&lt;BR /&gt;killsm</description>
      <pubDate>Tue, 08 Apr 2003 01:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945567#M577308</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-08T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945568#M577309</link>
      <description>Think of /etc/services as a documentation file. A port may be used even though it is not defined in /etc/services. The file /etc/inetd.conf is used to associate a service with a daemon and route appropriate packets to the listed daemons. However, sendmail is not managed by inetd. To stop sendmail (the typical program that handles port 25), use the command:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;&lt;BR /&gt;Sendmail will no longer run and port 25 will be unused and will not respond to probes. To keep sendmail from running upon a reboot, edit the config file:&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/mailservs&lt;BR /&gt;&lt;BR /&gt;and change this line to read:&lt;BR /&gt;&lt;BR /&gt;export SENDMAIL_SERVER=0&lt;BR /&gt;&lt;BR /&gt;That will keep sendmail from running.</description>
      <pubDate>Tue, 08 Apr 2003 01:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945568#M577309</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-04-08T01:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945569#M577310</link>
      <description>Now j773303, don't you think that 'killsm' is a lot easier to use than '/sbin/init.d/sendmail stop?'</description>
      <pubDate>Tue, 08 Apr 2003 03:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945569#M577310</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-04-08T03:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945570#M577311</link>
      <description>The man pages (killsm) also states &lt;BR /&gt;&lt;BR /&gt;"HP recommends that system administrators use ``/sbin/init.d/sendmail start'' and ``/sbin/init.d/sendmail stop'' to start and stop sendmail;"&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 04:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945570#M577311</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-08T04:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945571#M577312</link>
      <description>I think of /etc/services as a documentation or reservation file.&lt;BR /&gt;&lt;BR /&gt;If you comment out the port 25 reference you have no functional effect.&lt;BR /&gt;&lt;BR /&gt;You can control stmp traffic by making changes to the sendmail.mc file, generating a new sendmail.cf file and block incoming mail traffic on any port or IP address.&lt;BR /&gt;&lt;BR /&gt;If you want to block traffic further, you need to have some kind of firewall between your box and your users. HP has a free one, or you can have an external pc based firewall.&lt;BR /&gt;&lt;BR /&gt;I refer to /etc/services as a reservation file because when you install oracle on a system it takes up several ports.  Oracle doesn't bother adding entries to the /etc/services file and everything works great.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 08 Apr 2003 12:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2945571#M577312</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-04-08T12:16:01Z</dc:date>
    </item>
  </channel>
</rss>

