ziutek / telnet

Package to handle a telnet connection
Other
141 stars 60 forks source link

centos telnet server send data mark(242),function read get error #23

Open Vale-sail opened 2 years ago

Vale-sail commented 2 years ago

when i use ziutek/telnet connect a telnet server on centos 7。if server send data mark(242),conn.read() get will unknown command error

ziutek commented 2 years ago

I can't reproduce this in my configuration. Can you try to add this command to the list of supported ones in conn.go and simply ignore it in func cmd to see does such simple "solution" will help you?

Vale-sail commented 2 years ago

reproduce step:

for true {
telnet centos
login success
close
}
ziutek commented 2 years ago

telnet centos doesn't work for me. I don't use it.