edited by
13,876 views
44 44 votes

$\textsf{HELO}$ and $\textsf{PORT}$, respectively, are commands from the protocols:

  1. $\textsf{FTP}$ and $\textsf{HTTP}$
  2. $\textsf{TELNET}$ and $\textsf{POP3}$
  3. $\textsf{HTTP}$ and $\textsf{TELNET}$
  4. $\textsf{SMTP}$ and $\textsf{FTP}$

8 Answers

55 55 votes

For SMTP: Various commands

  1. HELO : It's the first SMTP command: is starts the conversation identifying the sender server and is generally followed by its domain name.
  2. EHLO : An alternative command to start the conversation, underlying that the server is using the Extended SMTP protocol.
  3. MAIL FROM : With this SMTP command the operations begin: the sender states the source email address in the "From" field and actually starts the email transfer.
  4. RCPT TO : It identifies the recipient of the email; if there are more than one, the command is simply repeated address by address.
  5. SIZE : This SMTP command informs the remote server about the estimated size (in terms of bytes) of the attached email. It can also be used to report the maximum size of a message to be accepted by the server.
  6. DATA : With the DATA command the email content begins to be transferred; it's generally followed by a 354 reply code given by the server, giving the permission to start the actual transmission.
  7. VRFY : The server is asked to verify whether a particular email address or username actually exists.
  8. TURN: This command is used to invert roles between the client and the server, without the need to run a new connaction.
  9. AUTH : With the AUTH command, the client authenticates itself to the server, giving its username and password. It's another layer of security to guarantee a proper transmission.
  10. RSET : It communicates the server that the ongoing email transmission is going to be terminated, though the SMTP conversation won't be closed (like in the case of QUIT).
  11. EXPN : This SMTP command asks for a confirmation about the identification of a mailing list.
  12. HELP : It's a client's request for some information that can be useful for the a successful transfer of the email.
  13. QUIT : It terminates the SMTP conversation.

FTP may run in active or passive mode, which determines how the data connection is established. In both cases, the client creates a TCP control connection from a random, usually an unprivileged, port N to the FTP server command port 21.

For HTTP commands :

  1. GET :Retrieves the document specified in the URL property (use GetHeader to retrieve header information and GetChunk to get the rest of the information)
  2. HEAD: Gets the header information (use Get Header to retrieve header information).
  3. POST : Sends data to the server.
  4. PUT : Replaces the page specified in the URL property with the specified data

D is answer

29 29 votes

answer is D

HELO:  The domain name or IP address of the SMTP client is usually sent as an argument together with the command (e.g. “HELO client.example.com”). If a domain name is used as an argument with the HELO command, it must be a fully qualified domain name (also called FQDN).

FTP  : FTP may run in active or passive mode, which determines how the data connection is established. In both cases, the client creates a TCP control connection from a random, usually an unprivileged, port N to the FTP server command port 21.

1 1 vote
Option-D

HELO(HELLO) and Port is usualy command of SMTP as well as FTP.

For more information please read the book of Top down approach of computer network.
0 0 votes

FTP uses 2 port number values -- one for commands (port 21 by default), and one for data transfer(can be any). 

The PORT command is sent by an FTP client to establish a secondary connection (address and port) for data to travel over. In some FTP implementations port 20 is used for data, but that is the exception rather than the rules

Answer:
Position:
Show:

Related questions

93 93 votes
11 answers 11 answers
22.6k
22.6k views
Ishrat Jahan asked Nov 1, 2014
22,607 views
A subnetted Class $B$ network has the following broadcast address: $144.16.95.255$Its subnet maskis necessarily $255.255.224.0$is necessarily $255.255.240.0$is necessaril...
61 61 votes
11 answers 11 answers
23.6k
23.6k views
Ishrat Jahan asked Nov 1, 2014
23,638 views
A program on machine $X$ attempts to open a $UDP$ connection to port $5376$ on a machine $Y$, and a $TCP$ connection to port $8632$ on machine $Z$. However, there are no ...
78 78 votes
14 answers 14 answers
24.2k
24.2k views
Ishrat Jahan asked Nov 1, 2014
24,170 views
On a wireless link, the probability of packet error is $0.2$. A stop-and-wait protocol is used to transfer data across the link. The channel condition is assumed to be in...
69 69 votes
13 answers 13 answers
20.2k
20.2k views
Ishrat Jahan asked Nov 1, 2014
20,186 views
A link of capacity $100$ $\text{Mbps}$ is carrying traffic from a number of sources. Each source generates an on-off traffic stream; when the source is on, the rate of tr...