LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. (https://www.linuxquestions.org/questions/linux-general-1/cant-end-telnet-servcie-in-xinetd-when-close-remote-telnet-cliend-forcefully-604901/)

zeroneworld 12-06-2007 06:20 AM

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
------------------------------------------------------------------------

acid_kewpie 12-06-2007 07:17 AM

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.


All times are GMT -5. The time now is 06:09 AM.