SLUG Mailing List Archives
RE: [SLUG] Slow initial telnet.
- Subject: RE: [SLUG] Slow initial telnet.
- From: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Oct 17 10:35:18 2000
- Cc: "Sydney Linux Users Group in Sydney (E-mail)" <slug@xxxxxxxxxxx>
No the problem is not a allow/deny problem as it eventually lets you in but
I just found out one of the other guys had put an entry in the
/etc/resolv.conf which had a 10.10.0.X address for our DNS server in it
which may have caused the delay as nslookup doesn't like 10.x.x.x or
172.16.x.x or 192.168.x.x addresses to resolve from, when I used an internet
valid IP it works.... well from my experience..
I removed the entry and it starts up real damn quick.. weird that it MUST
resolve these addresses. Must find a way to ignore them..
thanks anyway... it works for now.
PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C
PGP KeyID: 0x38A9A10C
From: Paul Robinson [mailto:Paul.Robinson@xxxxxxxxx]
Sent: Tuesday, October 17, 2000 8:19 AM
To: George Vieira
Cc: Sydney Linux Users Group in Sydney (E-mail)
Subject: Re: [SLUG] Slow initial telnet.
George Vieira wrote:
> Hi all,
> I know this is an oldie question but my initial telnet connections take
> forever to connect. It connects and then you wait for a minute before
> getting the logon message.
> I know the oldie answer was to remove `named` as the server was trying to
> resolve the IP address but named isn't running on this system.
> Also adding the names to the host file works but isn't the answer for me
> this server is going to a site which will have remote WAN connections.
When you say adding the names to the host file do you mean just
/etc/host or the whole set including hosts.allow and hosts.deny. Surely
you'd just blank out hosts.deny and put ALL: ALL (or just in.telnetd:
ALL) into hosts.allow? Then it allows everyone to connect to telnet.
If this is what you meant by adding the names to the host file then
ignore this, but I had this problem once before and this solved it.
Come to think of it. Another problem I had was with an old version of
Slackware where it seemed to have some sort of corruption in the telnet
daemon. It would also do the same thing as if you had a dodgy
hosts.allow/.deny set but it would actually zombie the telnet processes
and you could not get rid of them with any kill option. You actually had
to reboot the machine to get it to connect again. This was from Slakware
3.4(or 3 if there was one.. old one anyway). A quick download and
install of an updated version of the daemon and things were fine.
> There is no /etc/resolv.conf as it's an isolated database server and has
> connections to any other server..
> Is there a way to get the TCP wrapper or whatever it is that's trying to
> resolve these machines to ignore resolving and just allow the connection
> George Vieira
> Network Administrator
> PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C
> PGP KeyID: 0x38A9A10C
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
Web Developer / Programmer
Centre for Flexible Learning
NSW 2109, Australia
Voice: +61 2 9850 8424