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 ------------------------------------------------------------------------ |
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. |
Hi, chrism01, I got it. Many thanks to your answer and suggestion.
Hi, chrism01, I got it. Many thanks to your answer and suggestion.:)
|
All times are GMT -5. The time now is 05:19 PM. |