Presentation is loading. Please wait.

Presentation is loading. Please wait.

Telnet  TErminaL NETwork  TELNET is a general-purpose client-server application program  TELNET enables the establishment of a connection to a remote.

Similar presentations


Presentation on theme: "Telnet  TErminaL NETwork  TELNET is a general-purpose client-server application program  TELNET enables the establishment of a connection to a remote."— Presentation transcript:

1 Telnet  TErminaL NETwork  TELNET is a general-purpose client-server application program  TELNET enables the establishment of a connection to a remote system in such a way that the local terminal appears to be a terminal at the remote system.

2 Login  Local  Remote

3 Local login

4 Remote login

5 Network Virtual Terminal(NVT)  Universal interface character set  TELNET client translates characters (data or commands) that come from the local terminal into NVT form and delivers them to the network.  TELNET server translates data and commands from NVT form into the form acceptable by the remote computer.

6 Concept of NVT

7 NVT Character Set  Data Characters  Control Characters  Both are 8 bit bytes

8 Data Characters  Use NVT ASCII  7 lower order are same as US ASCII  Higher order one is 0

9 Control Characters  8 bit character set with highest orders bit set

10 Some NVT control characters

11 Embedding  The same connection is used by TELNET for sending both data and control characters. TELNET accomplishes this by embedding the control characters in the data stream.  Each sequence of control characters is preceded by a special control character called Interpret as control(IAC)

12 An example of embedding

13 Options  TELNET lets the client and server negotiate options before or during the use of the service.  Options are extra features available to a user with a more sophisticated terminal.

14

15  Binary : This option allows the receiver to interpret every 8 bit character received as binary data except IAC  Echo : This options allows the server to echo data received from the client. This means every character sent by the client to the sender will be echoed back to the screen of the client terminal. Client terminal will not echo characters  Suppress go- ahead : suppresses go-ahead(GA) character

16  Status: to get status of the options being enabled at the server site.  Timing mark: allows one party to issue a timing mark that indicates all previously received data has been processed  Terminal Type: client to send its terminal type  Terminal Speed: client to send its terminal speed  Line mode: enable to switch to line mode

17 Option Negotiation  To use any of the options first requires option negotiation between the client and the server. Four control characters are used for this purpose

18

19 Offer to enable an option

20 Request to enable an option

21 Offer to disable an option

22 Request to disable an option

23 Example 1: Echo option

24 Controlling the server  Control characters can be used to control the remote server.

25 Escape character  When a user wants characters interpreted by the client instead of the server, he can use an escape character, normally Ctrl+]  shown as ^]

26 Mode of Operation  Most TELNET implementations operate in one of three modes: 1) default mode 2) character mode 3) line mode

27 Default Mode  In this mode echoing is done by the client  Will not sent to the server until a whole line is completed  After sending client wait for the go-ahead command from the server before accepting any more from clients  Operation is half duplex

28 Character mode  Each character typed is sent by the client to server  Server echo the character  TCP segments must send for each character

29 Line Mode  Client send one line  Line editing is possible( echoing, character erasing, line erasing,)  Full duplex mode  Will not wait for go-ahead

30 User interface  The operating system (UNIX, for example) defines an interface to TELNET with user- friendly commands. The interface is responsible for translating the user-friendly commands to the TELNET commands.


Download ppt "Telnet  TErminaL NETwork  TELNET is a general-purpose client-server application program  TELNET enables the establishment of a connection to a remote."

Similar presentations


Ads by Google