[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: telnetd slow to respond



It may not be the /etc/hosts.deny file.

Something may be trying to log telnet sessions with the client hostname
rather than the client ip address.  Thus, reverse DNS look ups are
necessary.

If my memory serves me correctly, I saw hostnames instead of ip
addresses in my /var/log/daemon.log for telnet sessions. (I may be
wrong.)


Andrea Vettorello wrote:
> 
> Patrick Colbeck wrote:
> 
> > Yup
> >
> > I think the telnetd tries to do a reverse lookup on the incoming telnet
> > session. Adding your ip address and machine name to the hosts file of the
> > machine you are telneting to will speed it up a lot. Same thing applies to
> > proftpd so maybe its a function of the inetd super server ?
> >
> 
> I'm not sure, but i think it's related to the default setting of
> /etc/hosts.deny, where you will find the line ALL:PARANOID.
> 
> The PARANOID option will try to do a reverse lookup of the incoming connection
> to check if the name and address are matching.
> 
> The thing that puzzles me is: why the connection is not refused if the DNS
> doesn't return the name?
> 
> This could happen, for example, in a local network when the lazy admin don't
> configure the DNS with the proper local zone and contacts another box only with
> the numeric IP, and yes, this was my lame behavior some time ago: painly slow
> remote login every time!  =)   (now, with the DNS properly configured no more
> slowdown)
> 
> Andrea
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: