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