LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Closed Thread
 
Search this Thread
Old 12-06-2007, 07:20 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 forcefully.


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-06-2007, 08:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't end telnet servcie in xinetd when close remote telnet cliend forcely zeroneworld Linux - Newbie 2 12-09-2007 09:47 PM
fedora core 6 : question about xinetd.d & telnet TottiGol Red Hat 4 04-13-2007 04:02 PM
telnet via xinetd refuse root password adme Linux - Networking 2 02-05-2003 03:04 PM
How to Close telnet using ipchains xtian500 Linux - Security 1 02-19-2002 04:50 AM
ftp/telnet & xinet.d/xinetd.conf adenardo Linux - General 3 12-20-2001 10:09 PM


All times are GMT -5. The time now is 08:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration