LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-06-2007, 06:05 AM   #1
zeroneworld
LQ Newbie
 
Registered: Dec 2007
Location: SHENZHEN
Distribution: FEDORA
Posts: 3

Rep: Reputation: 0
Question Can't end telnet servcie in xinetd when close remote telnet cliend forcely


Hello there,

I setup a telnet server through the xinetd. The target linux system is built with eldk.

I can telnet the target linux system from windows.

The problem is when I directly close the telnet client program(windows) instead of 'exit' command. The xinetd seems not close the service. So when I do this 4 times(instance = 4 in the config file), the telnet client says the max number connect already reached.

I have stuck here for 2 weeks. Please help me........

Thanks.

Attachment: xinted.conf
------------------------------------------------------------------------#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 10
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
instances = 4
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

#includedir /etc/xinetd.d
------------------------------------------------------------------------
 
Old 12-07-2007, 12:35 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
1. well, don't do that actually, it ought to time out eventually, there's prob a cfg somewhere (but see 2.).
2. don't use telnet, it's totaly unencrypted, inc passwds(!). Use ssh ; on MS use putty/pscp etc.
 
Old 12-09-2007, 08:47 PM   #3
zeroneworld
LQ Newbie
 
Registered: Dec 2007
Location: SHENZHEN
Distribution: FEDORA
Posts: 3

Original Poster
Rep: Reputation: 0
Talking Hi, chrism01, I got it. Many thanks to your answer and suggestion.

Hi, chrism01, I got it. Many thanks to your answer and suggestion.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fedora core 6 : question about xinetd.d & telnet TottiGol Red Hat 4 04-13-2007 03:02 PM
RH7.1 - pop3 - xinetd - Can't telnet 110 from network elthespian Red Hat 1 01-27-2004 11:47 AM
telnet via xinetd refuse root password adme Linux - Networking 2 02-05-2003 02:04 PM
How to Close telnet using ipchains xtian500 Linux - Security 1 02-19-2002 03:50 AM
ftp/telnet & xinet.d/xinetd.conf adenardo Linux - General 3 12-20-2001 09:09 PM


All times are GMT -5. The time now is 11:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration