GNU Free Documentation License . .

Telnet

: ,
Telnet
:

TErminaL NETwork

( OSI):

:

TCP/IP

/ID:

23/TCP

:

:

RFC 854 / STD 8

():

telnet (Unix)
PuTTY, telnet.exe (Windows)[1]

():

telnetd, MS Telnet

:

(RFC 855)

TELNET (.  TErminaL NETwork) ( TCP). «telnet» , . RFC 854.

OSI.

[]

TELNET , , - . , . , - («») - (« »).

[]

Telnet , . ( , TCP) « » (. Network Virtual Terminal, NVT), :

  • ( , );
  • Telnet, , .

Telnet-, TCP, , NVT , .

[2], , . (), ASCII, Binary . [3], .

\377 ( 255) . \377 \377\377 . , \377 .

[]

. . , , . , . , . ( ) .

[] NVT

NVT 95 US-ASCII ( 32 126). :

(/)
NULL (NUL) * 0/0x00
Line Feed (LF) * 10/0x0A , .
Carriage Return (CR) * 13/0x0D .
BELL (BEL) 7/0x07 ( ).
Back Space (BS) 8/0x08 .
Horizontal Tab (HT) 9/0x09 . .
Vertical Tab (VT) 11/0x0B . .
Form Feed (FF) 12/0x0C , .

, *, . ; .

«CR LF» , ; «CR NUL» , ; CR .

[] Telnet

TELNET , \377 (: 255) «Interpret as Command» (IAC) . , , , . IAC.

(/)
SE 240/0xF0 , SB
NOP 241/0xF1 .
Data Mark 242/0xF2 (Synch) . TCP Urgent notification.
Break 243/0xF3 «Break» «Attention».
Interrupt Process 244/0xF4 , , .
Abort output 245/0xF5 . Synch .
Are You There 246/0xF6 , .
Erase character 247/0xF7 , .
Erase Line 248/0xF8 , , .
Go ahead 249/0xF9 .
SB 250/0xFA , .
WILL  251/0xFB , .
WONT  252/0xFC .
DO  253/0xFD , .
DONT  254/0xFE , , .
IAC 255/0XFF 255.

[]

Telnet . , MUD ASCII-art. , , .

telnet TCP, . #Telnet .

telnet FTP, telnet ftp.example.net ftp , ( telnet HTTP, IRC ).

[]

, . , , TCP. SSH ( 2), . , Telnet , ( ). Telnet .

[] Telnet

internet , Telnet (, ) HTTP, IRC, SMTP, POP3 - TCP. , telnet TCP :

  • , ( Telnet);
  • \377;
  • \377 ;
  • 1.

netcat TCP, ( stty -icrnl UNIX-) CR LF ( ). Telnet CR LF, . ( FTP , , Telnet) PuTTY «Raw» ( TCP) PuTTY Telnet.

[]

[]

  1. %SystemRoot%\System32\telnet.exe
  2. (, ) , , .
  3. RFC 2066 Telnet Charset Option