Showing posts with label authentication. Show all posts
Showing posts with label authentication. Show all posts

Telnet

Telnet (Telecommunication network) is a network protocol used on the Internet or local area network (LAN) connections. It was developed in 1969 beginning with RFC 15 and standardized as IETF STD 8, one of the first Internet standards.

The term telnet also refers to software which implements the client part of the protocol. Telnet clients are available for virtually all platforms. Most network equipment and OSes with a TCP/IP stack support some kind of Telnet service server for their remote configuration (including ones based on Windows NT). Because of security issues with Telnet, its use has waned as it is replaced by the use of SSH for remote access.

"To telnet" is also used as a verb meaning to establish or use a Telnet or other interactive TCP connection, as in, "To change your password, telnet to the server and run the passwd command".

Most often, a user will be telnetting to a Unix-like server system or a simple network device such as a router. For example, a user might "telnet in from home to check his mail at school". In doing so, he would be using a telnet client to connect from his computer to one of his servers. Once the connection is established, he would then log in with his account information and execute operating system commands remotely on that computer, such as ls or cd.

On many systems, the client may also be used to make interactive raw-TCP sessions. It is commonly believed that a telnet session which does not include an IAC (character 255) is functionally identical. This is not the case however due to special NVT (Network Virtual Terminal) rules such as the requirement for a bare CR (ASCII 13) to be followed by a NULL (ASCII 0).

List of FTP commands

Below is a list of FTP commands that may be sent to an FTP host, including all commands that are standardized in RFC 959 by the IETF. All commands below are RFC 959 based unless stated otherwise. These commands differ in use between clients. For example, GET is used instead of RETR, but most clients parse this into the proper command. In this, GET is the user command and RETR is the raw command.

* ABOR - Abort an active file transfer.
* ACCT - Account information.
* ADAT - Authentication/Security Data (RFC 2228)
* ALLO - Allocate sufficient disk space to receive a file.
* APPE - Append.
* AUTH - Authentication/Security Mechanism (RFC 2228)
* CCC - Clear Command Channel (RFC 2228)
* CDUP - Change to Parent Directory.
* CONF - Confidentiality Protection Command (RFC 697)
* CWD - Change working directory.
* DELE - Delete file.
* ENC - Privacy Protected Channel (RFC 2228)
* EPRT - Specifies an extended address and port to which the server should connect. (RFC 2428)
* EPSV - Enter extended passive mode. (RFC 2428)
* FEAT - Get the feature list implemented by the server. (RFC 2389)
* HELP - Returns usage documentation on a command if specified, else a general help document is returned.
* LAND - Language Negotiation (RFC 2640)
* LIST - Returns information of a file or directory if specified, else information of the current working directory is returned.
* LPRT - Specifies a long address and port to which the server should connect. (RFC 1639)
* LPSV - Enter long passive mode. (RFC 1639)
* MDTM - Return the last-modified time of a specified file. (RFC 3659)
* MIC - Integrity Protected Command (RFC 2228)
* MKD - Make directory.
* MLSD - Provides data about exactly the object named on its command line, and no others. (RFC 3659)
* MLST - Lists the contents of a directory if a directory is named. (RFC 3659)
* MODE - Sets the transfer mode (Stream, Block, or Compressed).
* NLST - Returns a list of file names in a specified directory.
* NOOP - No operation (dummy packet; used mostly on keepalives).
* OPTS - Select options for a feature. (RFC 2389)
* PASS - Authentication password.
* PASV - Enter passive mode.
* PBSZ - Protection Buffer Size (RFC 2228)
* PORT - Specifies an address and port to which the server should connect.
* PWD - Print working directory. Returns the current directory of the host.
* QUIT - Disconnect.
* REIN - Re initializes the connection.
* REST - Restart transfer from the specified point.
* RETR - Retrieve (download) a remote file.
* RMD - Remove a directory.
* RNFR - Rename from.
* RNTO - Rename to.
* SITE - Sends site specific commands to remote server.
* SIZE - Return the size of a file. (RFC 3659)
* SMNT - Mount file structure.
* STAT - Returns the current status.
* STOR - Store (upload) a file.
* STOU - Store file uniquely.
* STRU - Set file transfer structure.
* SYST - Return system type.
* TYPE - Sets the transfer mode (ASCII/Binary).
* USER - Authentication username.

Anonymous FTP

Many sites that run FTP servers enable anonymous ftp. Under this arrangement, users do not need an account on the server. The user name for anonymous access is typically 'anonymous', but historically 'ftp' was also used in the past; this account does not need a password.

Although users are commonly asked to send their email addresses as their passwords for "authentication," there is usually only trivial or no verification of what is actually entered. As modern FTP clients hide the login process from the user, and usually don't know the user's email address, the software supplies dummy passwords. For example:
Mozilla Firefox (2.0) — mozilla@example.com
KDE Konqueror (3.5) — anonymous@
wget (1.10.2) — -wget@
lftp (3.4.4) — lftp@

Internet Gopher has been suggested as an alternative to anonymous FTP, as well as Trivial File Transfer Protocol and File Service Protocol.