0% found this document useful (0 votes)
3 views26 pages

Application Layer Protocols Overview

The session covers the application layer and its protocols, focusing on DNS, FTP, and TELNET. It explains how the application layer facilitates user access to the network and provides services like email and file transfer. Additionally, it discusses the hierarchical structure of DNS, the functionality of FTP for file transfers, and the security issues associated with TELNET.

Uploaded by

cmokshith27
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views26 pages

Application Layer Protocols Overview

The session covers the application layer and its protocols, focusing on DNS, FTP, and TELNET. It explains how the application layer facilitates user access to the network and provides services like email and file transfer. Additionally, it discusses the hierarchical structure of DNS, the functionality of FTP for file transfers, and the security issues associated with TELNET.

Uploaded by

cmokshith27
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Session-5

Application Layer
Protocols
Session delivered by:
Dr. Jyothi A P

1
Session Objectives
• To understand the working of application layer and its protocols

• To study DNS and FTP in detail

• To discuss TELNET

2
22
Session Topics
• Application layer
• Domain Name System (DNS)
• File Transfer Protocol (FTP)
• TELNET

3
33
Application layer

The application layer enables the users to access the network

44
Application layer
• The application layer enables the user, whether human or software, to access
the network.

• It provides user interfaces and support for services such as electronic mail,
remote file access and transfer, and access to the World Wide Web.

• It receives services from the transport layer and provides services to users.

5
55
Domain Name System (DNS)
• The IP addresses uniquely identify the connection of a host to the Internet,
however, people generally prefer to use names instead of numeric addresses
because they are easier to remember and work with

• The Domain Name System (DNS) is a hierarchical naming system for computers,
services, or any resource connected to the Internet or a private network.

• Internet domain names are easier to remember than IP addresses such as


[Link] (IPv4) or 20ab:db00:2a68::855:ab7:af66:af5 (IPv6)

6
66
Name Space
• The names assigned to machines must be unique because the
addresses are unique.

• A name space that maps each address to a unique name can be


organized in two ways:
• Flat: A name is assigned to an address. In this case, the name is a sequence of
characters without structure

• Hierarchical: Here, each name is made of several parts. The first part can
define nature of the organization, the second part can define the name of the
organization while the third part can define departments in the organization
and so on

7
77
Domain Name Space
• The domain name space is hierarchical in design. The names
are defined in an inverted-tree structure with the root at the
top. The tree can have 128 levels: level 0 (root) to level 127

88
Domain Names and Labels
• Label:
• Each node in the tree has a
label. It is a string with a
maximum 63 characters

• Root label is a null string

• Children of a node ( nodes


that branch from the same
node)

99
Domain Names and Labels

• Each node in the tree has a domain name


• Full domain name is a sequence of labels separated by dots (.).
• Domain names are always read from the node up to the root
• The last label is the label of the root (null)
• Therefore, a full domain name always ends in a null label, which means the
last character is a dot

10
10
10
File Transfer Protocol (FTP)

• File transfer Protocol(FTP) is a TCP/IP client-server application for copying


files from one host to another.

• FTP requires two connections for data transfer: a control connection and a
data connection.

• Two systems may use different file name conventions and may have
different directory structures

• FTP employs American Standard Code for Information Interchange (ASCII)


for communication between dissimilar systems.

11
11
11
File Transfer Protocol (FTP)

• There are three types of file transfer:


• A file is copied from the server to the client.
• A file is copied from the client to the server.
• A list of directories or file names is sent from the server to the client.

• FTP uses the services of TCP. It needs two TCP connections. The well-known port
21 is used for the control connection, and the well-known port 20 is used for the
data connection

12
12
12
File Transfer Protocol (FTP)

• When a user starts FTP session a control connection opens. While the control connection is open,
the data connection can be opened and closed multiple times if several files are transferred.

13
13
13
Using Control Connection

• Server issues a passive open on well – known port 21


and waits for the client
• Client uses dynamic port and issues and active open
14
14
14
Using Data Connection

15
15
File Transfer

• The FTP client and server may use different operating systems, character
sets, file structures and file formats.

• FTP must make this heterogeneity compatible by using ASCII or Extended


Binary Coded Decimal Interchange Code (EBCDIC)

16
16
16
File Transfer Protocol

17
17
Example

Figure (next slide) shows an example of how a file is stored.


1. The control connection is created, and several control
commands and responses are exchanged.
2. Data are transferred record by record.
3. A few commands and responses are exchanged to close the
connection.

18
18
Example

19
19
TELNET
•TELNET stands for Telecommunication Network is a network
protocol used on the internet and Local Area Network (LAN )
connection

•TELNET 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.

20
20
Local login

21
21
Remote login

22
22
Security Issue
TELNET suffers from security problems. TELNET
requires a login name and password (when exchanging
text).

A computer connected to a broadcast LAN can easily


eavesdrop using snooper software to capture a login name
and the corresponding password (even if it is encrypted).

23
23
Summary

• The application layer enables the users to access the network

• It provides user interfaces and support for services such as electronic mail,
remote file access and transfer, and access to the World Wide Web

• DNS can use the services of UDP or TCP, using the well-known port 53

• File transfer Protocol (FTP) is a TCP/IP client-server application for copying files
from one host to another

24
24
24
Summary

• 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

• TELNET suffers from security problems. TELNET requires a login name and password
(when exchanging text)

25
25
25
References
• Behrouz A. Forouzan, Data Communication and Networking, 2nd edition, Tata
McGraw-Hill, 2000

• Behrouz A. Forouzan, TCP/IP Protocol Suite, 3rd edition, Tata McGraw-Hill, 2007

• [Link]

• Gonzalo Camarillo and Miguel A. Garcia-Martin, The 3G IP Multimedia


Subsystem, 2nd Edition, John Wiley & Sons,2006

• TCP/IP Tutorial and Technical Overview, IBM Redbooks, August 2001

26
26
26

You might also like