SlideShare a Scribd company logo
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Chapter 10:
Application Layer
Introduction to Networks
Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10: Objectives
By the end of this chapter, you will be able to:
 Explain how the functions of the application layer, session layer,
and presentation layer work together to provide network services to
end user applications.
 Describe how common application layer protocols interact with end
user applications.
 Describe, at a high level, common application layer protocols that
provide Internet services to end-users, including WWW services
and email.
 Describe application layer protocols that provide IP addressing
services, including DNS and DHCP.
 Describe the features and operation of well-known application layer
protocols that allow for file sharing services, including: FTP, File
Sharing Services, SMB protocol.
 Explain how data is moved across the network, from opening an
application to receiving data.
Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10
10.0 Introduction
10.1 Application Layer Protocols
10.2 Well-Known Application Layer Protocols and Service
10.3 The Message Heard Around the World
10.4 Summary
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
10.1 Application Layer
Protocols
Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application, Session and Presentation
OSI and TCP/IP Models Revisited
The key parallels are in the transport and network layer.
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application Session and Presentation
Application Layer
Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application, Session and Presentation
Presentation and Session Layers
 Presentation layer
 Coding and conversion of application layer data
 Data compression
 Data encryption for the transmission and decryption of
data upon receipt by the destination
 Session layer
 Functions, creates, and maintains dialogs between source
and destination applications
 Handles the exchange of information to initiate dialogs,
keep them active, and to restart sessions
Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application, Session and Presentation
Presentation and Session Layers (cont.)
Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application, Session and Presentation
TCP/IP Application Layer Protocols
 Domain Name Service Protocol (DNS) – used to resolve Internet
names to IP addresses
 Telnet – a terminal emulation protocol used to provide remote access
to servers and networking devices
 Bootstrap Protocol (BOOTP) – a precursor to the DHCP protocol, a
network protocol used to obtain IP address information during bootup
 Dynamic Host Control Protocol (DHCP) – used to assign an IP
address, subnet mask, default gateway and DNS server to a host
 Hypertext Transfer Protocol (HTTP) – used to transfer files that
make up the Web pages of the World Wide Web
Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application, Session and Presentation
TCP/IP Application Layer Protocols (cont.)
 File Transfer Protocol (FTP) - used for interactive file transfer
between systems
 Trivial File Transfer Protocol (TFTP) - used for connectionless
active file transfer
 Simple Mail Transfer Protocol (SMTP) - used for the transfer of
mail messages and attachments
 Post Office Protocol (POP) - used by email clients to retrieve email
from a remote server
 Internet Message Access Protocol (IMAP) – another protocol for
email retrieval
Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
How Application Protocols Interact with End-User Applications
Peer-to-Peer Networks
Both devices are considered equal in the communication.
The roles of client and server are set on a per request basis.
Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
How Application Protocols Interact with End-User Applications
Peer-to-Peer Applications
Client and server in the same communication.
Both can initiate a communication and are considered
equal in the communication process.
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
How Application Protocols Interact with End-User Applications
Common P2P Applications
 With P2P applications, each computer in the network running the
application can act as a client or a server for the other computers in
the network running the application.
 Common P2P applications include:
 eDonkey
 eMule
 Shareaza
 BitTorrent
 Bitcoin
 LionShare
 Some P2P applications are based on the Gnutella protocol which
enables people to share files on their hard disks with others
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
How Application Protocols Interact with End-User Applications
Client-Server Model
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
How Application Protocols Interact with End-User Applications
Client-Server Model
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 16
10.2 Well-Known
Application Layer
Protocols and Services
Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
Application Layer Protocols Revisited
Three application layer protocols involved in everyday work or play
include:
 HTTP to browse the web.
 Simple Mail Transfer Protocol (SMTP) to enable users to send email.
 Post Office Protocol (POP) to enable users to receive email.
Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
Hypertext Transfer Protocol and Hypertext
Markup Language
Example URL: http://www.cisco.com/index.html
1. First, the browser interprets the three parts of the URL:
 http (the protocol or scheme)
 www.cisco.com (the server name)
 index.html (the specific file name requested)
2. Browser checks with a name server to convert www.cisco.com into
a numeric address
3. Using the HTTP protocol requirements sends a GET request to the
server and asks for the file index.html
4. Server sends the HTML code for this web page
5. Browser deciphers the HTML code and formats the page
Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
HTTP and HTTPS
 Developed to publish and retrieve HTML pages
 Used for data transfer
 Specifies a request/response protocol
 Three common message types are GET, POST, and PUT
 GET is a client request for data
 POST and PUT are used to send messages that upload data to the
web server
Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
SMTP, POP, and IMAP
 Typically use an application
called a Mail User Agent
(email client)
 Allows messages to be sent
 Places received messages
into the client's mailbox
 SMTP - Send email from
either a client or a server
 POP - Receive email
messages from an email
server
 IMAP - Internet Message
Access Protocol
 Email client provides the
functionality of both
protocols within one
application
Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
SMTP, POP, and IMAP (cont.)
Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Simple Mail Transfer Protocol (SMTP)
 transfers mail
 message must be formatted properly
 SMTP processes must be running on both the client and server
 message header must have a properly formatted recipient email
address and a sender
 uses port 25
Post Office Protocol (POP)
 enables a workstation to retrieve mail from a mail server
 mail is downloaded from the server to the client and then deleted on
the server
 uses port 110
 POP does not store messages
 POP3 is desirable for an ISP, because it alleviates their responsibility
for managing large amounts of storage for their email servers
Common Application Layer Protocols
SMTP, POP, and IMAP (cont.)
Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
SMTP, POP, and IMAP (cont.)
Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
SMTP, POP, and IMAP (cont.)
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Everyday Application Layer Protocols
SMTP, POP, and IMAP (cont.)
 MDA accepts a piece of email from MTA and performs the actual
delivery.
 MDA receives all the inbound mail from the MTA and places it into
mailboxes.
 MDA can also resolve final delivery issues, such as virus scanning,
spam filtering, and return-receipt handling.
Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Common Application Layer Protocols
SMTP, POP, and IMAP (cont.)
Simple Mail Transfer Protocol (SMTP)
 Transfers mail reliably and efficiently
Post Office Protocol (POP)
 Enables a workstation to retrieve mail from a mail server
 With POP, mail is downloaded from the server to the client and then
deleted on the server
Internet Message Access Protocol (IMAP)
 Another protocol that to retrieves email messages
 Unlike POP, when the user connects to an IMAP-capable server,
copies of the messages are downloaded to the client application
 Original messages are kept on the server until manually deleted
Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
Domain Name Service
A human legible
name is resolved
to its numeric
network device
address by the
DNS protocol.
Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
Domain Name Service (cont.)
A human legible
name is resolved
to its numeric
network device
address by the
DNS protocol.
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
Domain Name Service (cont.)
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
DNS Message Format
 DNS server stores different types of resource records used to resolve
names
 Contains the name, address, and type of record.
 Record types are:
 A – An end device address
 NS – An authoritative name server
 CNAME – The canonical name for an alias; used when multiple
services have the single network address, but each service has its
own entry in DNS
 MX – Mail exchange record; maps a domain name to a list of mail
exchange servers
 Unable to resolve the name using its stored records, contacts other
servers.
 Server temporarily stores the numbered address that matches the name
in cache memory.
 Windows ipconfig /displaydns displays all cached DNS.
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
DNS Hierarchy
Examples top-
level domains:
.au - Australia
.co - Colombia
.com - business
or industry
.jp - Japan
.org - non-profit
organization
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
nslookup
 Operating system utility called nslookup allows the user to manually
query the name servers to resolve a given host name
 Utility can be used to troubleshoot name resolution issues and to verify
the current status of the name servers
Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
Dynamic Host Configuration Protocol
 DHCP allows a host to obtain an IP address dynamically.
 DHCP server is contacted and address requested - chooses address
from a configured range of addresses called a pool and “leases” it to
the host for a set period.
 DHCP used for general purpose hosts such as end user devices,
and static addressing is used for network devices such as gateways,
switches, servers and printers.
Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
Dynamic Host Configuration Protocol (cont.)
Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing IP Addressing Services
DHCP Operation
Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing File Sharing Services
File Transfer Protocol
 FTP allow data transfers between a client and a server.
 FTP client is an application that runs on a computer that is used to
push and pull data from a server running an FTP daemon.
 To successfully transfer data, FTP requires two connections between
the client and the server, one for commands and replies, the other for
the actual file transfer.
Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing File Sharing Services
File Transfer Protocol (cont.)
Presentation_ID 38© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing File Sharing Services
Server Message Block
 Clients establish
a long term
connection to
servers.
 After the
connection is
established, the
user can access
the resources on
the server as if
the resource is
local to the client
host.
SMB is a client-server, request-response protocol. Servers
can make their resources available to clients on the network.
Presentation_ID 39© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Providing File Sharing Services
Server Message Block (cont.)
A file may be copied from PC to PC with Windows
Explorer using the SMB protocol.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 40
10.3 The Message Heard
Around the World
Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
The Internet of Things
Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Message Travels Through a Network
Presentation_ID 43© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Message Travels Through a Network (cont.)
Presentation_ID 44© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Message Travels Through a Network (cont.)
Presentation_ID 45© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Getting the Data to the End Device
Presentation_ID 46© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Getting the Data through the Internetwork
Presentation_ID 47© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Move It!
Getting the Data to the Right Application
At the end device, the service port number directs the data to
the correct conversation.
Presentation_ID 48© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application Layer
Summary
 Applications are computer programs with which the user interacts and
which initiate the data transfer process at the user’s request.
 Services are background programs that provide the connection
between the application layer and the lower layers of the networking
model.
 Protocols provide a structure of agreed-upon rules and processes that
ensure services running on one particular device can send and receive
data from a range of different network devices.
 HTTP supports the delivery of web pages to end devices.
 SMTP, POP, and IMAP support sending and receiving email.
Presentation_ID 49© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Application Layer
Summary
 SMB and FTP enable users to share files.
 P2P applications make it easier for consumers to seamlessly share
media.
 DNS resolves the human legible names used to refer to network
resources into numeric addresses usable by the network
 All of these elements work together, at the application layer.
 The application layer enables users to work and play over the
Internet.
Presentation_ID 50© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

More Related Content

PDF
CCNAv5 - S1: Chapter 6 - Network Layer
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 2
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 11
PDF
CCNAv5 - S1: Chapter 7 - Transport Layer
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 2
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 6
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 4
PPTX
Cisco router basic
CCNAv5 - S1: Chapter 6 - Network Layer
CCNA 1 Routing and Switching v5.0 Chapter 2
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNAv5 - S1: Chapter 7 - Transport Layer
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 4
Cisco router basic

What's hot (20)

PDF
CCNAv5 - S1: Chapter 3 - Network protocols and communications
PPTX
Chapter 8 : IP addressing
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 5
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 7
PDF
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
PPTX
Chapter 10 : Application layer
PPTX
Configuring RIPv2
PPTX
Chapter 17 : static routing
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 3
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 7
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 3
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 8
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 11
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 6
PDF
CCNAv5 - S2: Chapter3 Vlans
PDF
IOS Cisco - Cheat sheets
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 8
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 9
PDF
Brkmpl 2333
PPTX
CCNA v6.0 ITN - Chapter 05
CCNAv5 - S1: Chapter 3 - Network protocols and communications
Chapter 8 : IP addressing
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 7
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 10 : Application layer
Configuring RIPv2
Chapter 17 : static routing
CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNAv5 - S2: Chapter3 Vlans
IOS Cisco - Cheat sheets
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 9
Brkmpl 2333
CCNA v6.0 ITN - Chapter 05
Ad

Viewers also liked (20)

PDF
CCNAv5 - S1: Chapter11 It's A Network
PDF
CCNAv5 - S1: Chapter 8 - Ip Addressing
PDF
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
PDF
CCNAv5 - S1: Chapter 5 - Ethernet
PDF
CCNAv5 - S1: Chapter 1 Exploring The Network
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 10
PDF
CCNAv5 - S1: Chapter 4 - Network Access
PDF
CCNAv5 - S2: Chapter1 Introsuction to switched networks
PDF
CCNAv5 - S2: Chapter11 Network Address Translation for ipv4
PDF
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
PDF
CCNAv5 - S3: Chapter3 Link Aggregation
PDF
CCNAv5 - S3: Chapter2 Lan Redundancy
PDF
CCNAv5 - S3: Chapter1 Introduction to Scaling Networks
PPT
Application Layer Functionality and Protocols
PDF
CCNAv5 - S3: Chapter 7 EIGRP
PDF
CCNAv5 - S3: Chapter 4 Wireless Lans
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 10
PPT
PPT
Port security
PDF
Automating for Monitoring and Troubleshooting your Cisco IOS Network
CCNAv5 - S1: Chapter11 It's A Network
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
CCNAv5 - S1: Chapter 5 - Ethernet
CCNAv5 - S1: Chapter 1 Exploring The Network
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNAv5 - S1: Chapter 4 - Network Access
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter11 Network Address Translation for ipv4
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S3: Chapter3 Link Aggregation
CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter1 Introduction to Scaling Networks
Application Layer Functionality and Protocols
CCNAv5 - S3: Chapter 7 EIGRP
CCNAv5 - S3: Chapter 4 Wireless Lans
CCNA 1 Routing and Switching v5.0 Chapter 10
Port security
Automating for Monitoring and Troubleshooting your Cisco IOS Network
Ad

Similar to CCNAv5 - S1: Chapter 10 Application Layer (20)

PPTX
Ccna v5-S1-Chapter 10
PPTX
CCNA RS_ITN - Chapter 10
PPTX
9. Application Layer9. Application Layer.pptx
PPTX
CCNA RS_NB - Chapter 4
PPTX
CCNA v6.0 ITN - Chapter 10
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
PPTX
Chp2 Application layer.pptxdata communication and networking
PPT
The Application Layer is the topmost layer of the OSI (Open Systems Interconn...
PDF
It nv51 instructor_ppt_ch10
PPTX
Lecture Notes- Network Services - Copy.pptx
PPT
Exploration network chapter3
PPT
CCNA Exploration 1 - Chapter 3
PPT
PPTX
computer networks presentation for intervirew where you can learn about cn more
PPTX
CCNA RS_ITN - Chapter 3
PPT
CCNA Discovery 1 - Chapter 6
PPTX
CCNA RS_NB - Chapter 3
PPTX
tcp-140613123317-phpapp01.pptx
PPT
CCNA Discovery 2 - Chapter 7
Ccna v5-S1-Chapter 10
CCNA RS_ITN - Chapter 10
9. Application Layer9. Application Layer.pptx
CCNA RS_NB - Chapter 4
CCNA v6.0 ITN - Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
Chp2 Application layer.pptxdata communication and networking
The Application Layer is the topmost layer of the OSI (Open Systems Interconn...
It nv51 instructor_ppt_ch10
Lecture Notes- Network Services - Copy.pptx
Exploration network chapter3
CCNA Exploration 1 - Chapter 3
computer networks presentation for intervirew where you can learn about cn more
CCNA RS_ITN - Chapter 3
CCNA Discovery 1 - Chapter 6
CCNA RS_NB - Chapter 3
tcp-140613123317-phpapp01.pptx
CCNA Discovery 2 - Chapter 7

More from Vuz Dở Hơi (20)

PDF
Ceh v8 Labs - Module18: Buffer Overflow.
PDF
Cehv8 Labs - Module17: Evading IDS, Firewalls and Honeypots.
PDF
Cehv8 Labs - Module15: Hacking Wireless Networks.
PDF
Cehv8 Labs - Module14: SQL Injection
PDF
Cehv8 Labs - Module13: Hacking Web Applications.
PDF
Cehv8 Labs - Module12: Hacking Webservers.
PDF
Ceh v8 Labs - Module11: Session Hijacking.
PDF
Cehv8 Labs - Module10: Denial of Service.
PDF
Cehv8 Labs - Module09: Social Engineering.
PDF
Cehv8 Labs - Module08: Sniffers.
PDF
Cehv8 Labs - Module07: Viruses and Worms.
PDF
Cehv8 Labs - Module06: Trojans and Backdoors.
PDF
Cehv8 Labs - Module 05: System Hacking.
PDF
Cehv8 Labs - Module04: Enumeration
PDF
Cehv8 Labs - Module03: Scanning Networks.
PDF
Cehv8 Labs - Module02: Footprinting and Reconnaissance
PDF
Cehv8 - Labs Module 00
PDF
Cehv8 - Module18: Buffer overflow.
PDF
Cehv8 - references
PDF
Cehv8 - Module 20: penetration testing
Ceh v8 Labs - Module18: Buffer Overflow.
Cehv8 Labs - Module17: Evading IDS, Firewalls and Honeypots.
Cehv8 Labs - Module15: Hacking Wireless Networks.
Cehv8 Labs - Module14: SQL Injection
Cehv8 Labs - Module13: Hacking Web Applications.
Cehv8 Labs - Module12: Hacking Webservers.
Ceh v8 Labs - Module11: Session Hijacking.
Cehv8 Labs - Module10: Denial of Service.
Cehv8 Labs - Module09: Social Engineering.
Cehv8 Labs - Module08: Sniffers.
Cehv8 Labs - Module07: Viruses and Worms.
Cehv8 Labs - Module06: Trojans and Backdoors.
Cehv8 Labs - Module 05: System Hacking.
Cehv8 Labs - Module04: Enumeration
Cehv8 Labs - Module03: Scanning Networks.
Cehv8 Labs - Module02: Footprinting and Reconnaissance
Cehv8 - Labs Module 00
Cehv8 - Module18: Buffer overflow.
Cehv8 - references
Cehv8 - Module 20: penetration testing

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
PPH.pptx obstetrics and gynecology in nursing
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
2.FourierTransform-ShortQuestionswithAnswers.pdf
Computing-Curriculum for Schools in Ghana
TR - Agricultural Crops Production NC III.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Renaissance Architecture: A Journey from Faith to Humanism
Final Presentation General Medicine 03-08-2024.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
GDM (1) (1).pptx small presentation for students
PPH.pptx obstetrics and gynecology in nursing

CCNAv5 - S1: Chapter 10 Application Layer

  • 1. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Introduction to Networks
  • 2. Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10: Objectives By the end of this chapter, you will be able to:  Explain how the functions of the application layer, session layer, and presentation layer work together to provide network services to end user applications.  Describe how common application layer protocols interact with end user applications.  Describe, at a high level, common application layer protocols that provide Internet services to end-users, including WWW services and email.  Describe application layer protocols that provide IP addressing services, including DNS and DHCP.  Describe the features and operation of well-known application layer protocols that allow for file sharing services, including: FTP, File Sharing Services, SMB protocol.  Explain how data is moved across the network, from opening an application to receiving data.
  • 3. Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10 10.0 Introduction 10.1 Application Layer Protocols 10.2 Well-Known Application Layer Protocols and Service 10.3 The Message Heard Around the World 10.4 Summary
  • 4. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4 10.1 Application Layer Protocols
  • 5. Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application, Session and Presentation OSI and TCP/IP Models Revisited The key parallels are in the transport and network layer.
  • 6. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application Session and Presentation Application Layer
  • 7. Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application, Session and Presentation Presentation and Session Layers  Presentation layer  Coding and conversion of application layer data  Data compression  Data encryption for the transmission and decryption of data upon receipt by the destination  Session layer  Functions, creates, and maintains dialogs between source and destination applications  Handles the exchange of information to initiate dialogs, keep them active, and to restart sessions
  • 8. Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application, Session and Presentation Presentation and Session Layers (cont.)
  • 9. Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application, Session and Presentation TCP/IP Application Layer Protocols  Domain Name Service Protocol (DNS) – used to resolve Internet names to IP addresses  Telnet – a terminal emulation protocol used to provide remote access to servers and networking devices  Bootstrap Protocol (BOOTP) – a precursor to the DHCP protocol, a network protocol used to obtain IP address information during bootup  Dynamic Host Control Protocol (DHCP) – used to assign an IP address, subnet mask, default gateway and DNS server to a host  Hypertext Transfer Protocol (HTTP) – used to transfer files that make up the Web pages of the World Wide Web
  • 10. Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application, Session and Presentation TCP/IP Application Layer Protocols (cont.)  File Transfer Protocol (FTP) - used for interactive file transfer between systems  Trivial File Transfer Protocol (TFTP) - used for connectionless active file transfer  Simple Mail Transfer Protocol (SMTP) - used for the transfer of mail messages and attachments  Post Office Protocol (POP) - used by email clients to retrieve email from a remote server  Internet Message Access Protocol (IMAP) – another protocol for email retrieval
  • 11. Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential How Application Protocols Interact with End-User Applications Peer-to-Peer Networks Both devices are considered equal in the communication. The roles of client and server are set on a per request basis.
  • 12. Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential How Application Protocols Interact with End-User Applications Peer-to-Peer Applications Client and server in the same communication. Both can initiate a communication and are considered equal in the communication process.
  • 13. Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential How Application Protocols Interact with End-User Applications Common P2P Applications  With P2P applications, each computer in the network running the application can act as a client or a server for the other computers in the network running the application.  Common P2P applications include:  eDonkey  eMule  Shareaza  BitTorrent  Bitcoin  LionShare  Some P2P applications are based on the Gnutella protocol which enables people to share files on their hard disks with others
  • 14. Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential How Application Protocols Interact with End-User Applications Client-Server Model
  • 15. Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential How Application Protocols Interact with End-User Applications Client-Server Model
  • 16. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 16 10.2 Well-Known Application Layer Protocols and Services
  • 17. Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols Application Layer Protocols Revisited Three application layer protocols involved in everyday work or play include:  HTTP to browse the web.  Simple Mail Transfer Protocol (SMTP) to enable users to send email.  Post Office Protocol (POP) to enable users to receive email.
  • 18. Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols Hypertext Transfer Protocol and Hypertext Markup Language Example URL: http://www.cisco.com/index.html 1. First, the browser interprets the three parts of the URL:  http (the protocol or scheme)  www.cisco.com (the server name)  index.html (the specific file name requested) 2. Browser checks with a name server to convert www.cisco.com into a numeric address 3. Using the HTTP protocol requirements sends a GET request to the server and asks for the file index.html 4. Server sends the HTML code for this web page 5. Browser deciphers the HTML code and formats the page
  • 19. Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols HTTP and HTTPS  Developed to publish and retrieve HTML pages  Used for data transfer  Specifies a request/response protocol  Three common message types are GET, POST, and PUT  GET is a client request for data  POST and PUT are used to send messages that upload data to the web server
  • 20. Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols SMTP, POP, and IMAP  Typically use an application called a Mail User Agent (email client)  Allows messages to be sent  Places received messages into the client's mailbox  SMTP - Send email from either a client or a server  POP - Receive email messages from an email server  IMAP - Internet Message Access Protocol  Email client provides the functionality of both protocols within one application
  • 21. Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols SMTP, POP, and IMAP (cont.)
  • 22. Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Simple Mail Transfer Protocol (SMTP)  transfers mail  message must be formatted properly  SMTP processes must be running on both the client and server  message header must have a properly formatted recipient email address and a sender  uses port 25 Post Office Protocol (POP)  enables a workstation to retrieve mail from a mail server  mail is downloaded from the server to the client and then deleted on the server  uses port 110  POP does not store messages  POP3 is desirable for an ISP, because it alleviates their responsibility for managing large amounts of storage for their email servers Common Application Layer Protocols SMTP, POP, and IMAP (cont.)
  • 23. Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols SMTP, POP, and IMAP (cont.)
  • 24. Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols SMTP, POP, and IMAP (cont.)
  • 25. Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Everyday Application Layer Protocols SMTP, POP, and IMAP (cont.)  MDA accepts a piece of email from MTA and performs the actual delivery.  MDA receives all the inbound mail from the MTA and places it into mailboxes.  MDA can also resolve final delivery issues, such as virus scanning, spam filtering, and return-receipt handling.
  • 26. Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Common Application Layer Protocols SMTP, POP, and IMAP (cont.) Simple Mail Transfer Protocol (SMTP)  Transfers mail reliably and efficiently Post Office Protocol (POP)  Enables a workstation to retrieve mail from a mail server  With POP, mail is downloaded from the server to the client and then deleted on the server Internet Message Access Protocol (IMAP)  Another protocol that to retrieves email messages  Unlike POP, when the user connects to an IMAP-capable server, copies of the messages are downloaded to the client application  Original messages are kept on the server until manually deleted
  • 27. Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services Domain Name Service A human legible name is resolved to its numeric network device address by the DNS protocol.
  • 28. Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services Domain Name Service (cont.) A human legible name is resolved to its numeric network device address by the DNS protocol.
  • 29. Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services Domain Name Service (cont.)
  • 30. Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services DNS Message Format  DNS server stores different types of resource records used to resolve names  Contains the name, address, and type of record.  Record types are:  A – An end device address  NS – An authoritative name server  CNAME – The canonical name for an alias; used when multiple services have the single network address, but each service has its own entry in DNS  MX – Mail exchange record; maps a domain name to a list of mail exchange servers  Unable to resolve the name using its stored records, contacts other servers.  Server temporarily stores the numbered address that matches the name in cache memory.  Windows ipconfig /displaydns displays all cached DNS.
  • 31. Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services DNS Hierarchy Examples top- level domains: .au - Australia .co - Colombia .com - business or industry .jp - Japan .org - non-profit organization
  • 32. Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services nslookup  Operating system utility called nslookup allows the user to manually query the name servers to resolve a given host name  Utility can be used to troubleshoot name resolution issues and to verify the current status of the name servers
  • 33. Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services Dynamic Host Configuration Protocol  DHCP allows a host to obtain an IP address dynamically.  DHCP server is contacted and address requested - chooses address from a configured range of addresses called a pool and “leases” it to the host for a set period.  DHCP used for general purpose hosts such as end user devices, and static addressing is used for network devices such as gateways, switches, servers and printers.
  • 34. Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services Dynamic Host Configuration Protocol (cont.)
  • 35. Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing IP Addressing Services DHCP Operation
  • 36. Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing File Sharing Services File Transfer Protocol  FTP allow data transfers between a client and a server.  FTP client is an application that runs on a computer that is used to push and pull data from a server running an FTP daemon.  To successfully transfer data, FTP requires two connections between the client and the server, one for commands and replies, the other for the actual file transfer.
  • 37. Presentation_ID 37© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing File Sharing Services File Transfer Protocol (cont.)
  • 38. Presentation_ID 38© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing File Sharing Services Server Message Block  Clients establish a long term connection to servers.  After the connection is established, the user can access the resources on the server as if the resource is local to the client host. SMB is a client-server, request-response protocol. Servers can make their resources available to clients on the network.
  • 39. Presentation_ID 39© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Providing File Sharing Services Server Message Block (cont.) A file may be copied from PC to PC with Windows Explorer using the SMB protocol.
  • 40. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 40 10.3 The Message Heard Around the World
  • 41. Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! The Internet of Things
  • 42. Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Message Travels Through a Network
  • 43. Presentation_ID 43© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Message Travels Through a Network (cont.)
  • 44. Presentation_ID 44© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Message Travels Through a Network (cont.)
  • 45. Presentation_ID 45© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Getting the Data to the End Device
  • 46. Presentation_ID 46© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Getting the Data through the Internetwork
  • 47. Presentation_ID 47© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Move It! Getting the Data to the Right Application At the end device, the service port number directs the data to the correct conversation.
  • 48. Presentation_ID 48© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application Layer Summary  Applications are computer programs with which the user interacts and which initiate the data transfer process at the user’s request.  Services are background programs that provide the connection between the application layer and the lower layers of the networking model.  Protocols provide a structure of agreed-upon rules and processes that ensure services running on one particular device can send and receive data from a range of different network devices.  HTTP supports the delivery of web pages to end devices.  SMTP, POP, and IMAP support sending and receiving email.
  • 49. Presentation_ID 49© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Application Layer Summary  SMB and FTP enable users to share files.  P2P applications make it easier for consumers to seamlessly share media.  DNS resolves the human legible names used to refer to network resources into numeric addresses usable by the network  All of these elements work together, at the application layer.  The application layer enables users to work and play over the Internet.
  • 50. Presentation_ID 50© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential