bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] telnet bug: will_wont_resp is not initialized


From: Petr Malát
Subject: [bug-inetutils] telnet bug: will_wont_resp is not initialized
Date: Wed, 22 Aug 2012 12:09:20 +0200

Hello,
telnet client is not responding on DO commands sometimes (see attached
trace), because will_wont_resp is not initialized. I'm not able to
connect to inetutils telnetd with it. Initializing this array solves
the problem for me (see attached patch). I'm using inetutils-1.9.1.
Have a nice day,
  Petr

***** Trace *****
SENT DO SUPPRESS GO AHEAD
SENT WILL TERMINAL TYPE
SENT WILL NAWS
SENT WILL TSPEED
SENT WILL LFLOW
SENT WILL LINEMODE
SENT WILL NEW-ENVIRON
SENT DO STATUS
RCVD DO TERMINAL TYPE
RCVD DO TSPEED
RCVD DO XDISPLOC
SENT WONT XDISPLOC
RCVD DO NEW-ENVIRON
RCVD DO OLD-ENVIRON
SENT WONT OLD-ENVIRON
RCVD WILL SUPPRESS GO AHEAD
RCVD DO NAWS
SENT IAC SB NAWS 0 80 (80) 0 25 (25)
RCVD DO LFLOW
RCVD DO LINEMODE
SENT IAC SB LINEMODE SLC SYNCH NOSUPPORT 0; IP
VARIABLE|FLUSHIN|FLUSHOUT 3; AO VARIABLE 15; AYT NOSUPPORT 0; ABORT
VARIABLE|FLU;
SENT DO SUPPRESS GO AHEAD
RCVD IAC SB LINEMODE MODE LIT_ECHO
SENT IAC SB LINEMODE MODE LIT_ECHO|ACK
RCVD WILL STATUS
RCVD IAC SB TERMINAL-SPEED SEND
SENT IAC SB TERMINAL-SPEED IS 115200,115200
RCVD IAC SB NEW-ENVIRON SEND
SENT IAC SB NEW-ENVIRON IS
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "XTERM"
RCVD DO ECHO

Attachment: telnet_missing_init.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]