LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2002, 11:10 AM   #1
stevew71
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Rep: Reputation: 0
Slow login from telnet and ftp


When telnet'ing or ftp'ing into Redhat 7.1 server it takes approx 30secs before login prompt is received. I 'think' that it is due to reverse dns lookup being active, assuming this is the case what's the best way to switch it off ? Apologies if it's a noddy question,but I'm a unix bod and some of the 'little' differences in paths, etc are catching me out on this my first Linux server
 
Old 07-05-2002, 11:26 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
this is usually because the machine name is not in /etc/hosts
 
Old 07-06-2002, 02:05 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
Quote:
Originally posted by DavidPhillips
this is usually because the machine name is not in /etc/hosts
i'm having the same problem (but only on my firewall, which is slackware8 running off a cable modem and 2 nics), and here is what my /etc/hosts reads:

127.0.0.1 localhost
192.168.1.1 aya.localdomain aya

i've also suspected that it may be reverse dns lookup, but have been unable to find any sort of configuration to change in order to disable it.

any suggestions?
 
Old 07-06-2002, 04:59 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
maybe it's not worth the trouble, since you can use ssh. but it would be nice to see what it is.
 
Old 07-08-2002, 08:39 AM   #5
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
Quote:
Originally posted by DavidPhillips
maybe it's not worth the trouble, since you can use ssh. but it would be nice to see what it is.
only problem is that i don't use SSH, i use telnet. :-\

i have to use telnet from work, because the firewall here doesn't support ssh connections, only telnet. cause i need to telnet into my work firewall in order to make any sort of connection outside the intranet (they're very tight on port access around here). so unfortunately, telnet is the only option to get into my network.

however, my firewall is setup to only accept connections from my machine here at work any drop any other syn packets to port 23. and any attempts to connect via ssh are sent to another machine, which has a completely different set of login credentials, so any cleartext passwords sniffed via my telnet connection are useless unless you happen to sit down at my machine here at work. so it's fairly secure. :-)

anyways, so i need to use telnet. i can live with it (and have for months now) since i'm the only one who logs in via telnet, but it's still a problem i'd like to solve.
 
Old 07-08-2002, 08:22 PM   #6
emj
LQ Newbie
 
Registered: Jun 2002
Location: Bolivia/Tarija And Sweden/Stockholm
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Do you have reverse DNS for your client machine?
 
Old 07-09-2002, 04:50 AM   #7
stevew71
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Cheers, but I've found the problem, someone had installed a firewall and alterted the physical ip of the box (external to the firewall was still the same) without telling anyone or altering the ip in /etc/hosts (or anywhere else).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet / ftp slow to respond sanjeevkumark Linux - Networking 1 10-05-2005 08:31 AM
Connecting to Telnet and FTP slow mastahnke Linux - Networking 4 03-25-2003 07:08 AM
slow logins to telnet/ftp from outside firewall imunky Linux - Networking 3 03-08-2002 12:00 AM
Slow Telnet & FTP SkYzOpReNiCk Linux - Networking 1 04-17-2001 12:12 PM
VERY Slow Telnet and FTP tcarlis Linux - Networking 3 03-29-2001 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration