LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-25-2005, 11:43 AM   #1
lab123
LQ Newbie
 
Registered: Aug 2005
Posts: 10

Rep: Reputation: 0
Linux server will stop responding to telnet requests


I am using Linux server in my testing envoirnment. I am using Redhat 6.2 version and due to other apps, I am not able to upgrade to latest version.

My tests will telnet into the server several times, but after some time I see that the server will stop responding to the telnet requests. If I restart the inet services, problem will be solved for some time but I will eventually run in to again.

If I reboot the system, I don't see the problem for some time. When in that state, I do not see anything in the log messages. I also do not see telnet port in the listening mode.

Is there any file or secuirty feature that I have to disable to allow unlimited telnet requests on the server ??
 
Old 10-25-2005, 11:59 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You don't see anything listening because of inetd (or xinetd). Basically many services don't need to run all the time so inetd keeps track of the various ones available and only on a request for the specific service does it acually start it.

On my RH it is xinetd but I don't have anything as old as 6.2.
If its inetd you can look at /etc/inetd.conf.
If its xinetd you can look at /etc/xinetd.d/telnet.

Both will show you configuration options but I don't know of one that would do what you're talking about - it may become apparent if you look at the files. It also may not be telnetd itself that is the issue but rather some PAM or other authentication setup that is shutting you down because it thinks multiple logins at the same time are some sort of attack.
 
Old 10-25-2005, 12:32 PM   #3
lab123
LQ Newbie
 
Registered: Aug 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Below is the output from the /etc/inetd.conf file on the server. Am I missing any entries here ??


# These are standard services.
#
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
#
# Shell, login, exec, comsat and talk are BSD protocols.
#
shell stream tcp nowait root /usr/sbin/tcpd in.rshd
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
#exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
#comsat dgram udp wait root /usr/sbin/tcpd in.comsat
talk dgram udp wait nobody.tty /usr/sbin/tcpd in.talkd
ntalk dgram udp wait nobody.tty /usr/sbin/tcpd in.ntalkd
#dtalk stream tcp wait nobody.tty /usr/sbin/tcpd in.dtalkd
#
# Pop and imap mail services et al
#
 
Old 10-25-2005, 12:37 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Your telnet entry look OK. Don't see anything there that would cause a timeout. It must be some other "feature" on your system.

FYI: Rather than rebooting doing a "kill -1 <PID>" on the Process ID of inetd (ps -ef |grep inetd" to find it) will cause inetd to reread inetd.conf - this may also reset whatever it is back to square one for you.
 
  


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
Linux server stops responding to telnet requests lab123 Linux - Networking 1 10-25-2005 11:51 AM
Using swap causes system to stop responding djortz Linux - General 33 10-16-2005 07:55 AM
keyboard and mouse stop responding coffeedemon Linux - Software 8 11-09-2004 03:53 PM
CUPS not responding to que requests simbolo Linux - Software 5 03-19-2004 03:22 PM
Slackware stop responding... /bin/false Slackware 6 03-12-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:23 AM.

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