TELNET
Encyclopedia : T : TE : TEL : TELNET
TELNET is a network protocol used on the Internet or local area network LAN connections. IETF document STD 8 (aka [RFC 854] and [RFC 855]) states:
The purpose of the TELNET Protocol is to provide a fairly general, bi-directional, eight-bit byte oriented communications facility.
It is typically used to provide user oriented command line login sessions between hosts on the Internet. The name is derived from the words telephone network, since the program is designed to emulate a single terminal attached to the other computer.
By extension, "telnet" also refers to the program which provides the client part of the protocol. TELNET clients have been available on most Unix systems for many years and are available for virtually all types of computers. Most network equipment and OSs with a TCP/IP stack support some kind of Telnet service server for their remote configuration (including ones based on Windows NT). However with recent advancements SSH has become more dominant in remote access for Unix-based machines.
On many systems, the "telnet" client program may also be used to make interactive raw-TCP sessions and is used to communicate to services such as POP3 servers without specialized client software. Although on UNIX other commands such as nc (netcat) or socat are generally better suited for this kind of (testing) usage, as they can be called with arguments to not send any terminal control handshaking characters.
"To telnet" is also used as a verb meaning to establish or use a TELNET connection, as in, "To change your password, telnet to the server and run the passwd command".
It is also a means to connect to the new style Telnet Bulletin Board Systems (that once upon a time were dialup in the 1980s and 1990s) that allow for nostalgia over TCP/IP as well as most supporting all of the well known and other commonly used protocols on the Internet today as a full blown multi-protocol server suite.
Protocol details
TELNET is a client-server protocol, based on TCP, and clients generally connect to port 23 on the host providing the service programs, it is also possible to use a TELNET program to establish an interactive TCP connection of the protocol and a means of defining and implementing extensions. There are many extensions, some of which have been adopted as Internet Standards. IETF STD document numbers from 27 to 32 define various TELNET extensions (most of which are extremely common). Of the remaining extensions the most useful ones are probably those that are on the IETF standards track as proposed standards; details can be found in STD 1.Security
There are three main reasons why TELNET is not recommended for modern systems from the point of view of computer security:
- Commonly used TELNET daemons have several vulnerabilities discovered over the years, and probably several more still exist.
- TELNET, by default, does not encrypt any data sent over the connection (including passwords), and so it is trivial to eavesdrop on the communications and use the password later for malicious purposes.
- TELNET lacks an authentication scheme that makes it possible to ensure that communication is carried out between the two desired hosts, and not intercepted in the middle (see also Man-in-the-middle attacks).
These flaws have seen the usage of the TELNET protocol drop rapidly in favor of a more secure and functional protocol called SSH, released in 1995. SSH provides all functionality present in telnet, with the addition of strong encryption to prevent sensitive data such as passwords from being intercepted, and public key authentication, to ensure that the remote computer is actually who it claims to be.
Experts in computer security, such as SANS Institute, and the members of the comp.os.linux.security newsgroup recommend that the use of TELNET for remote logins should be discontinued under all normal circumstances.
When TELNET was initially developed in 1969, most users of networked computers were in the computer departments of academic institutions, or at large private and government research facilities. In this environment, security was not nearly as much of a concern as it became after the bandwidth explosion of the 1990s. With the exponential rise in the number of people with access to the Internet, and by extension, the number of people attempting to crack into other people's servers, TELNET should generally not ever be used on networks with Internet connectivity.
Current status
While the TELNET protocol itself has been mostly superseded, the TELNET clients are still used to manually "talk" to other services. It is sometimes used in debugging network services such as an SMTP or HTTP server, by serving as a simple way to send commands to the server and examine the responses. TELNET can also be used as a rudimentary IRC client if you know the protocol well enough.
TELNET is also heavily used for MUD games played over the Internet, as well as talkers, MUSH es, MUCKs and MOOes. By using image-to-ASCII algorithms, it can also be used for primitive "video" streaming. Recently, [ASCII-WM] offered live broadcasts of the 2006 World Cup.
TELNET clients
Multiplatform
- PuTTY is a free SSH, TELNET, rlogin, and raw TCP client for Windows and Unix.
- [mTelnet] is a free full-screen TELNET client for Windows & OS/2. Easy to use client with Zmodem download capability.
Windows
- Windows comes with a built in telnet client, accessible from the command prompt.
- [TeraTerm] is a free telnet/SSH client for Windows that offers more features than the built-in telnet as well as offering a free SSH plug-in.
Free with Source Code
- [dtelnet] is a free TELNET client for Windows.
- [Pueblo/UE] is a free TELNET client for Windows with support for in-line HTML.
- [Console telnet] is a full screen (console) TELNET client for MS Win32 environments.
Non-free Source Code
- [Whitehorn Secure Terminal] free TELNET client for Windows.
- [Simpterm] is a Unicode savy TELNET client for MS Win32 environments that for example can be used for Chinese.
- [SimpleMU] is a shareware TELNET client.
- [CRT and SecureCRT] are TELNET clients with scripting capabilities in VBScript, Javascript and Perl.
Macintosh
- [tn3270] is a free TELNET client for Macintosh.
- Terminal Is a TELNET capable command line interface application that comes as part of all versions of Macintosh OS X.
- [dataComet] is a full-featured Telnet & SSH application for the Macintosh.
TELNET servers
Free with Source Code
- [telnetd] is an embeddable TELNET daemon written in Java.
- [Poor Woman's Telnet Server] is a standalone java TELNET server which bases upon telnetd.
- Synchronet is a Win32 and Linux BBS Server that also supports http, nntp, pop3, ftp and other protocols.
See also
- Telnet 3270 (TN3270)
- HyTelnet
- Telenet
- Kermit
External links
- [telnet.org places] List of publicly accessible TELNET servers
- [BBS Corner - Telnet BBS Guide]
- [Telnet Interactions Described as a Sequence Diagram]
- [Telnet START-TLS Option] draft-altman-telnet-starttls-00.txt 2006
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
