IT/Tips

telnet negotiation

싸후이 2007. 3. 21. 10:40

[root@x]# telnet     #invoke client without any command-line options

telnet> toggle options  #tell client to display all the option processing
Will show option processing.
telnet> open 10.0.0.1        #now establish connection with server
Trying 10.0.0.1...
Connected to 10.0.0.1.
Escape character is '^]'.
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 WILL SUPPRESS GO AHEAD
RCVD DO NAWS
SENT IAC SB NAWS 0 80 (80) 0 27 (27)
RCVD DO LFLOW
RCVD DONT LINEMODE
RCVD WILL STATUS
RCVD IAC SB TERMINAL-SPEED SEND
SENT IAC SB TERMINAL-SPEED IS 38400,38400
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
SENT WONT ECHO
RCVD WILL ECHO
SENT DO ECHO
Red Hat Linux release 9 (Shrike)
Kernel 2.4.32 on an i686
login: xxxxxx
Password:
Last login: Wed Mar 21 10:15:47 from 10.0.0.3
SENT IAC SB NAWS 0 80 (80) 0 51 (51)

'IT > Tips' 카테고리의 다른 글

Doxygen Quick Guide  (0) 2007.04.21
Change the color for Linux prompt  (0) 2007.04.05
Security for TCP Flag  (0) 2007.03.20
Fedora Core 6 Install in VMWARE 5.xx  (0) 2007.03.06
Vi Command  (0) 2007.02.28