CONTINUE..
Application layer protocols as follows:
1.HTTP(Hypertext Transfer Protocol)
2.DNS(Domain Name System)
3.FTP(File Transfer Protocol)
4.TELNET
5.DHCP(Dynamic Host Configuration Protocol)
6.SMTP(Simple Mail Transfer Protocol)
11
Application-Layer Protocols
CONTINUE..
GET is a client request for data. A web browser sends the GET
message to request pages from a web server.
POST and PUT are used to send messages that upload data to the
web server.
HTTP protocol using GET.
13
Application-Layer Protocols
CONTINUE..
The TELNET Protocol
oTCP connection
odata and control over the same connection.
oNetwork Virtual Terminal
onegotiated options
24
Application-Layer Protocols
CONTINUE..
Control Functions:
oTELNETincludessupportforaseriesofcontrolfunctionscommonly
supportedbyservers.
oThisprovidesauniformmechanismforcommunicationof(the
supported)controlfunctions.
oInterrupt Process (IP)
–suspend/abort process.
oAbort Output (AO)
–process can complete, but send no more output to user’s terminal.
oAre You There (AYT)
–check to see if system is still running.
oErase Character (EC)
–delete last character sent
–typically used to edit keyboard input.
oErase Line (EL)
–delete all input in current line. 27
Application-Layer Protocols
5. DHCP
DHCP enables clients on a network to obtain IP addresses and other
information from a DHCP server.
DHCP allows a host to obtain an IP address dynamically when it
connects to the network.
The DHCP server is contacted by sending a request, and an IP
address is requested.
The DHCP server chooses an address from a configured range of
addresses called a pool and assigns it to the host client for a set
period.
different ways of having DHCP servers arranged in next diagram
28
Application-Layer Protocols
CONTINUE..
SMTP also allows the use of
Relays allowing other MTAs
to relay the mail.
Mail Gateways are used to
relay mail prepared by a
protocol other than SMTP and
convert it to SMTP.
32
Application-Layer Protocols
SUMMARY
OSI model has 7 layers.
Inparticular,anapplicationlayerprotocoldefines:
–Thetypesofmessages,e.g.,requestmessagesandresponse
messages.
Applicationlayerhas6protocols:
1. HTTP(Hypertext Transfer Protocol)
2. DNS(Domain Name System)
3. FTP(File Transfer Protocol)
4. TELNET
5. DHCP(Dynamic Host Configuration Protocol)
6. SMTP(Simple Mail Transfer Protocol)
37
REFERENCES
Web Sites:
http://www.faqs.org/rfcs/rfc821.html (RFC 821).
http://www.faqs.org/rfcs/rfc2821.html (RFC 2821)
http://www.tcpipguide.com/free/t_SMTPSpecialFeaturesCapa
bilitiesandExtensions.html
http://cns.utoronto.ca/usg/technotes/smtp-intro.html
http://computer.howstuffworks.com/email5.htm
Books:
Programmer's Guide to Internet Mail by John Rhoton
TCP/IP Illustrated Volume 1 by Richard Stevens
38