TELNET
TELNET
SUBMITTED BY
HARITHA T
M.sc Computer Science
TELNET
TELNET is an abbreviation for terminal network.
It is a standard TCP/IP protocol for virtual terminal
service.
It 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.
LOGGING
To access the system, user logs into the system with
user-id. The system also includes password checking
to prevent an unauthorized user accessing the
resources.
Logging process can be local logging or remote
logging.
LOGGING
Figure 1
When the user types at the terminal, the keystrokes are
accepted by the terminal driver.
Figure 2
NETWORK VIRTUAL TERMINAL
The user sends the keystrokes to the terminal driver, where the local
operating system accepts the characters but does not interpret them.
The characters are sent to the TELNET client, which transforms the
characters to a universal character set called network virtual terminal
(NVT) characters and delivers them to the local TCP/IP protocol stack.
The text in NVT form travel through the internet and arrive at the
TCP/IP stack at the remote machine.
The characters are delivered to the operating system and
passed to the TELNET server which changes the characters to
the corresponding characters understandable by the remote
computer.
However, the characters cannot be passed directly to the
operating system is not designed to receive characters from a
TELNET server.
It is designed to receive characters from a terminal driver.
A software called a pseudo terminal driver is added which
pretends that the characters are coming from a terminal.
CONCEPT OF NVT
NETWORK VIRTUAL TERMINAL
Figure 3
The client telnet translates characters that come from
local terminal into NVT form and delivers them to the
network.
Figure 4
OPTIONS
Options are extra features available to a user with a more sophisticated terminal.
Figure-5
34 Line mode Change to line mode
OPTION NEGOTIATION
Telnet lets the client and server negotiate
options before or during the use of the service.
Figure 6
Offer to enable the option
Figure 7
Request to enable an option
Figure 8
Offer to disable an option
Figure 9
Request to disable an option
Figure 10
MODE OF OPERATION
Most Telnet implementation operate in one of three
modes-
Default mode
Character mode
Line mode
DEFAULT MODE
This mode is used if no other modes are invoked
through option negotiation