<?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 Avoid INETD on doing reverse-lookups in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121558#M150952</link>
    <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;Is there a way to stop inetd doing reverse DNS lookups on new connections? The only work-around I have found is to place an entry on /etc/hosts for the machine trying to connect to my server (if that machine doesn't have an entry on DNS).&lt;BR /&gt; &lt;BR /&gt;If I don't do this, it takes a couple of minutes before you get the login prompt be it ftp or sshd.  I'm spending a lot of time adding entries to /etc/hosts when someone wants to connect to the server.&lt;BR /&gt; &lt;BR /&gt;I did my homework and did a search on the forums but nothing comes up. There is a "-s" switch for inetd that it is supposed to disable logging but it still doesn't work.  So far, I just know that inetd does this because it's in log-mode.&lt;BR /&gt; &lt;BR /&gt;Any ideas anyone? I have a bag full of points :)&lt;BR /&gt; &lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge</description>
    <pubDate>Mon, 17 Nov 2003 17:46:52 GMT</pubDate>
    <dc:creator>Jorge Fabregas</dc:creator>
    <dc:date>2003-11-17T17:46:52Z</dc:date>
    <item>
      <title>Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121558#M150952</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;Is there a way to stop inetd doing reverse DNS lookups on new connections? The only work-around I have found is to place an entry on /etc/hosts for the machine trying to connect to my server (if that machine doesn't have an entry on DNS).&lt;BR /&gt; &lt;BR /&gt;If I don't do this, it takes a couple of minutes before you get the login prompt be it ftp or sshd.  I'm spending a lot of time adding entries to /etc/hosts when someone wants to connect to the server.&lt;BR /&gt; &lt;BR /&gt;I did my homework and did a search on the forums but nothing comes up. There is a "-s" switch for inetd that it is supposed to disable logging but it still doesn't work.  So far, I just know that inetd does this because it's in log-mode.&lt;BR /&gt; &lt;BR /&gt;Any ideas anyone? I have a bag full of points :)&lt;BR /&gt; &lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 17 Nov 2003 17:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121558#M150952</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-11-17T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121559#M150953</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Visit this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=62885" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=62885&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think your delay is due to logging... why dont u disable it.&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Mon, 17 Nov 2003 17:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121559#M150953</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-11-17T17:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121560#M150954</link>
      <description>Hello  Vijayakumar,&lt;BR /&gt;&lt;BR /&gt;I saw that thread. However, I tried using inetd -l and inetd -s, to toggle log options...but it still doesn't solve the problem.&lt;BR /&gt; &lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 17 Nov 2003 18:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121560#M150954</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-11-17T18:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121561#M150955</link>
      <description>Jorge,&lt;BR /&gt;&lt;BR /&gt;I'd like to see your inetd.conf file.&lt;BR /&gt;&lt;BR /&gt;I'm posting up a sample file.&lt;BR /&gt;&lt;BR /&gt;My system has BIND 9.2 and does not do this.&lt;BR /&gt;&lt;BR /&gt;I thought however this was a feature of how you configured BIND, not inetd.&lt;BR /&gt;&lt;BR /&gt;## Configured using SAM by root on Mon Jun 10 20:00:03 2002&lt;BR /&gt;## Configured using SAM by root on Mon Feb 10 12:06:01 2003&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;# @(#)B.11.11_LRinetd.conf $Revision: 1.24.214.3 $ $Date: 97/09/10 14:50:49 $&lt;BR /&gt;#&lt;BR /&gt;# Inetd  reads its configuration information from this file upon execution&lt;BR /&gt;# and at some later time if it is reconfigured.&lt;BR /&gt;#&lt;BR /&gt;# A line in the configuration file has the following fields separated by&lt;BR /&gt;# tabs and/or spaces:&lt;BR /&gt;#&lt;BR /&gt;#       service name            as in /etc/services&lt;BR /&gt;#       socket type             either "stream" or "dgram"&lt;BR /&gt;#       protocol                as in /etc/protocols&lt;BR /&gt;#       wait/nowait             only applies to datagram sockets, stream&lt;BR /&gt;#                               sockets should specify nowait&lt;BR /&gt;#       user                    name of user as whom the server should run&lt;BR /&gt;#       server program          absolute pathname for the server inetd will &lt;BR /&gt;#                               execute&lt;BR /&gt;#       server program args.    arguments server program uses as they normally&lt;BR /&gt;#                               are starting with argv[0] which is the name of&lt;BR /&gt;#                               the server.&lt;BR /&gt;#&lt;BR /&gt;# See the inetd.conf(4) manual page for more information.&lt;BR /&gt;##&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;# ARPA/Berkeley services&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd ftpd -l&lt;BR /&gt;telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd -b /etc/issue&lt;BR /&gt;&lt;BR /&gt;# Before uncommenting the "tftp" entry below, please make sure&lt;BR /&gt;# that you have a "tftp" user in /etc/passwd. If you don't&lt;BR /&gt;# have one, please consult the tftpd(1M) manual entry for&lt;BR /&gt;# information about setting up this service.&lt;BR /&gt;&lt;BR /&gt;tftp        dgram  udp wait   root /usr/lbin/tftpd    tftpd\&lt;BR /&gt; /images\&lt;BR /&gt; /opt/ignite\&lt;BR /&gt; /var/opt/ignite&lt;BR /&gt;bootps      dgram  udp wait   root /usr/lbin/bootpd   bootpd&lt;BR /&gt;#finger      stream tcp nowait bin  /usr/bin/cat cat /etc/finger.msg&lt;BR /&gt;login        stream tcp nowait root /usr/lbin/rlogind  rlogind&lt;BR /&gt;shell        stream tcp nowait root /usr/lbin/remshd   remshd&lt;BR /&gt;exec         stream tcp nowait root /usr/lbin/rexecd   rexecd&lt;BR /&gt;#uucp        stream tcp nowait root /usr/sbin/uucpd    uucpd&lt;BR /&gt;ntalk        dgram  udp wait   root /usr/lbin/ntalkd   ntalkd&lt;BR /&gt;ident        stream tcp wait   bin  /usr/lbin/identd   identd &lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;# Other HP-UX network services&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;# printer     stream tcp nowait root /usr/sbin/rlpdaemon  rlpdaemon -i&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;#       inetd internal services&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;daytime      stream tcp nowait root internal&lt;BR /&gt;daytime      dgram  udp nowait root internal&lt;BR /&gt;time         stream tcp nowait root internal&lt;BR /&gt;#time         dgram  udp nowait root internal&lt;BR /&gt;echo         stream tcp nowait root internal&lt;BR /&gt;echo         dgram  udp nowait root internal&lt;BR /&gt;discard      stream tcp nowait root internal&lt;BR /&gt;discard      dgram  udp nowait root internal&lt;BR /&gt;chargen      stream tcp nowait root internal&lt;BR /&gt;chargen      dgram  udp nowait root internal&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;#       rpc services, registered by inetd with portmap&lt;BR /&gt;#       Do not uncomment these unless your system is running portmap!&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;# WARNING: The rpc.mountd should now be started from a startup script.&lt;BR /&gt;#    Please enable the mountd startup script to start rpc.mountd.&lt;BR /&gt;##&lt;BR /&gt;#rpc  stream tcp  nowait  root  /usr/sbin/rpc.rexd     100017  1    rpc.rexd&lt;BR /&gt;# #rpc  dgram  udp  wait    root  /usr/lib/netsvc/rstat/rpc.rstatd   100001  2-4  rpc.rstatd&lt;BR /&gt;#rpc  dgram  udp  wait    root  /usr/lib/netsvc/rusers/rpc.rusersd  100002  1-2  rpc.rusersd&lt;BR /&gt;#rpc  dgram  udp  wait    root  /usr/lib/netsvc/rwall/rpc.rwalld   100008  1    rpc.rwalld&lt;BR /&gt;#rpc  dgram  udp  wait    root  /usr/sbin/rpc.rquotad  100011  1    rpc.rquotad&lt;BR /&gt;#rpc  dgram  udp  wait    root  /usr/lib/netsvc/spray/rpc.sprayd   100012  1    rpc.sprayd&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;# The standard remshd and rlogind do not include the Kerberized&lt;BR /&gt;# code. You must install the InternetSvcSec/INETSVCS-SEC fileset and &lt;BR /&gt;#       configure Kerberos as described in the SIS(5) man page.&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;kshell stream tcp nowait root /usr/lbin/remshd remshd -K&lt;BR /&gt;klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;##&lt;BR /&gt;#&lt;BR /&gt;#       NCPM programs.&lt;BR /&gt;# Do not uncomment these unless you are using NCPM.&lt;BR /&gt;#&lt;BR /&gt;##&lt;BR /&gt;&lt;BR /&gt;#ncpm-pm          dgram udp wait root /opt/ncpm/bin/ncpmd ncpmd&lt;BR /&gt;#ncpm-hip         dgram udp wait root /opt/ncpm/bin/hipd  hipd&lt;BR /&gt;&lt;BR /&gt;dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd&lt;BR /&gt;rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver&lt;BR /&gt;registrar stream tcp nowait root /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lbin/registrar&lt;BR /&gt;&lt;BR /&gt;recserv stream tcp nowait root /usr/lbin/recserv recserv  -display :0&lt;BR /&gt;rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd&lt;BR /&gt;swat    stream tcp   nowait.400 root /opt/samba/bin/swat swat&lt;BR /&gt;bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd&lt;BR /&gt;vopied stream tcp nowait root /usr/openv/netbackup/bin/vopied vopied&lt;BR /&gt;bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc -transient&lt;BR /&gt;instl_boots dgram udp wait root /opt/ignite/lbin/instl_bootd instl_bootd&lt;BR /&gt;vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd&lt;BR /&gt;&lt;BR /&gt;Note the Berkley protocols are enabled.  We turn them on when we need them and right now we're using them.&lt;BR /&gt;&lt;BR /&gt;Here is a document on the BIND named.conf configuration file:&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-60103/B2355-60103_top.html&amp;amp;con=/hpux/onlinedocs/B2355-60103/00/39/3922-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-60103/00/39/3922-toc.html&amp;amp;searchterms=lookup%7cBIND%7cReverse&amp;amp;queryid=20031117-162208" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-60103/B2355-60103_top.html&amp;amp;con=/hpux/onlinedocs/B2355-60103/00/39/3922-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-60103/00/39/3922-toc.html&amp;amp;searchterms=lookup%7cBIND%7cReverse&amp;amp;queryid=20031117-162208&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 Nov 2003 18:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121561#M150955</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-17T18:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121562#M150956</link>
      <description>Hello Steven,&lt;BR /&gt;&lt;BR /&gt;Here's the inetd.conf attached..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 17 Nov 2003 18:39:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121562#M150956</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-11-17T18:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121563#M150957</link>
      <description>Hi Jorge,&lt;BR /&gt;&lt;BR /&gt;In my opinion reverse lookups are something you WANT. If it's causing delays or problems then that's due to improperly configured hosts files and/or DNS.&lt;BR /&gt;Fix *those* problems &amp;amp; all will be well again.&lt;BR /&gt;Keep in mind that lookups in both directions are a security feature that's designed to work *for* you. Don't circumvent them or you're likely to become a ripe target for spammers or other unsavory characters. Then you'll have all kinds of fun trying to get other domains to accept your mail &amp;amp; your Security folks will have you on their Top-ten list.&lt;BR /&gt;So my advice to you is fix the *problem* - NOT the symptom.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 17 Nov 2003 19:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121563#M150957</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-11-17T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121564#M150958</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;The server is not exposed to the internet so security is not a major issue -in this sense-.&lt;BR /&gt;&lt;BR /&gt;DNS is working fine on the server (also, resolving thru hosts file).  I have them properly configured on nsswitch.conf.  &lt;BR /&gt;&lt;BR /&gt;The sympton is: You don't have a DNS entry or your ip is not on my hosts file: you're going to wait A WHILE before you the login prompt.&lt;BR /&gt;&lt;BR /&gt;I put you on my hosts file: everything works perfect.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 17 Nov 2003 20:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121564#M150958</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-11-17T20:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid INETD on doing reverse-lookups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121565#M150959</link>
      <description>This behavior is by design. Tools such as remsh, rcp and rlogin as well as telnet and ftp will try to verify that the incoming connection is authenticated, at least partially. It doesn't matter whether your computer is behind a firewall, accepting any connection from any location is not a good policy. Using /etc/hosts is a good choice since you must make a conscious decision about each IP address.&lt;BR /&gt; &lt;BR /&gt;Now if the problem is due to a DHCP server, then it needs to be integrated into your DNS system or find a DNS server that can handle DHCP address assignments. Many DNS admins will simply create unique names for every IP address that can be handed out.</description>
      <pubDate>Mon, 17 Nov 2003 22:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/avoid-inetd-on-doing-reverse-lookups/m-p/3121565#M150959</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-11-17T22:34:27Z</dc:date>
    </item>
  </channel>
</rss>

