Professional Documents
Culture Documents
Chapter 11
Panko and Panko Business Data Networks and Security, 9th Edition
2013 Pearson
Layers
All 12 12 3 3 4 4 5 1-4 5
2
2013 Pearson
Basic Networked Application Concepts E-Mail Voice over IP HTTP and HTML Cloud Computing Service-Oriented Architectures Peer-to-Peer (P2P) Applications
2013 Pearson
Networked Applications
Applications that require a network to function, such as e-mail and the World Wide Web
Application Architectures
Where the processing is done Stand-alone operation Client/Server processing Cloud computing Service-Oriented Architectures (SOAs) Peer-to-peer (P2P) computing
4
2013 Pearson
Application Architectures
Critical to network design The newest architectures involve communication among multiple machines. Driven by Growing network throughput, availability, etc. Growing client processing power
2013 Pearson
2013 Pearson
2013 Pearson
2013 Pearson
E-Mail
Voice over IP HTTP and HTML Cloud Computing Service-Oriented Architectures Peer-to-Peer (P2P) Applications
2013 Pearson
Importance of E-Mail
Universal service on the Internet
Attachments deliver files
2013 Pearson
10
11
Post Office Protocol or Internet Message Access Protocol, for later receiver downloading
2013 Pearson
12
Document standards: RFC 822/2822 for plain text messages. HTML bodies for formatting. UNICODE can represent text in any language.
2013 Pearson
13
2013 Pearson
14
Either or both clients can use web-based e-mail instead of SMTP and POP or IMAP. All interactions for that client take place via HTTP instead. Message documents are HTML webpages.
HTML
SMTP POP/ IMAP SMTP 15
HTTP
2013 Pearson
Command
Explanation
Sender
Receiver
220 When the sending host mail.panko.com establishes a TCP Ready session, the receiver signals that it is ready. HELO Sender indicates that it voyager.shilder. wishes to communicate. hawaii.edu 250 Receiver signals it is mail.panko.com ready to begin message.
16
2013 Pearson
Command
Explanation
MAIL FROM Sender identifies the mail david@voyager author. .shidler.hawaii. edu 250 OK Receiver signals that will accept a message from this person.
Receiver
2013 Pearson
17
Explanation Sender identifies a recipient. Receiver will accept mail for this recipient.
2013 Pearson
18
Receiver
2013 Pearson
19
Command DATA
Receiver
2013 Pearson
20
Explanation Sends the body, which ends with a blank line. Accepts the body.
Receiver
2013 Pearson
21
2013 Pearson
22
2013 Pearson
23
24
Voice over IP
HTTP and HTML Cloud Computing Service-Oriented Architectures Peer-to-Peer (P2P) Applications
2013 Pearson
25
Transmit voice telephone calls over IP networks Saves money because the company does not have to maintain separate internal voice and data networks Saves money because the voice signal is compressed as it is digitized
2013 Pearson
26
Signaling
Setting up a connection, breaking it down afterward, billing, and so on
Transport
The actual transmission of the voice or video signal
27
2013 Pearson
28
Media gateway connects an IP network to the Public Switched Telephone Network. Handles both transport and signaling conversion.
2013 Pearson
29
30
Closes connections
Handles charges and bookkeeping In other words, ALL signaling tasks
2013 Pearson
31
Transport takes place directly between the caller and called party.
2013 Pearson
32
UDP
There is no time to wait for the transmission of lost packets. UDP makes more sense because of its lightweight processing and traffic volume requirements.
2013 Pearson
33
2013 Pearson
35
36
This webpage has text and two graphics. The HTML file has the text and tags for the graphics.
2013 Pearson
37
Based on tags in the HTML file, the graphics files are downloaded and rendered on the page.
2013 Pearson
38
Question: How many files will a browser have to download if the webpage has three graphics and plays music when it is downloaded?
2013 Pearson
39
Note:
GET is the method. It asks for a file. /panko/home.htm is the path to the file. The browser speaks HTTP version 5. CRLF means carriage return/line feed. It means to start a new line.
2013 Pearson
40
200 and OK both mean that the request was complied with.
MIME-version: 1.0[CRLF]
Content-type: text/plain[CRLF] [CRLF] File to be downloaded. A string of bits that may
2013 Pearson
Note that most fields (lines) have a variable name, a colon, and then the value of the variable. Example:
MIME-version: 1.0[CRLF]
MIME is a standard for describing file contents. The browser speaks MIME version 1.0.
This is like e-mail headers with To:, From:, and other fields
In fact, deliberately patterned after e-mail
42
2013 Pearson
Cloud Computing
Service-Oriented Architectures Peer-to-Peer (P2P) Applications
2013 Pearson
43
2013 Pearson
44
Before Google Docs, they used corporate servers running the corporate mail system.
2013 Pearson
45
With Google Docs, both the application program and data are on Google servers.
2013 Pearson
46
For users, showing the network as a cloud indicates that they do not have to understand it. In cloud computing, there is a second clouda cloud service provider.
In cloud computing, the company outsources some combination of servers, server applications, and client PC software to a cloud service provider. If client PC software is outsourced, the client PC needs only a browser.
47
2013 Pearson
Google Docs is a cloud provider of Software as a Service. Usually metered servicepay as you go.
2013 Pearson
48
Software as a Service
In Software as a Service (SaaS), an application service provider (ASP) supplies an application to customers on demand. In cloud SaaS, the user typically has a browser only. The application and data are downloaded to the client PC as needed. With cloud SaaS today, there is a broad range of applications available.
49
2013 Pearson
SaaS
Attractions of SaaS Reduces cost and risk because user only pays for software as needed
Saves money because company does not have to manage the application
Mobilityusers can access the software wherever there is Internet access Collaboration: sharing is easy
2013 Pearson
50
SaaS
Issues with SaaS If there is no Internet access, the application is unusable. Loss of control: may be locked into proprietary vendor software.
2013 Pearson
51
SaaS
Issues with SaaS Security: will companys data be vulnerable if cloud service provider is attacked or has software vulnerabilities? Legal complications: if user company is required by law to be secure, how can this be satisfied with SaaS?
2013 Pearson
52
2013 Pearson
53
No SaaS Application
54
2013 Pearson
Attractions
No need to hire staff to run the servers
No need to purchase and manage servers
2013 Pearson
55
Attractions
Flexibilitycan get extra capacity quickly when needed for a short period of time
Issues
As in cloud SaaS, loss of control and legal and security concerns
2013 Pearson
56
2013 Pearson
57
Traditional Computer
User
User Application
Operating System
Hardware
2013 Pearson
58
Virtualized Computer
App 1a
App 3a
App 3b
OS 1
OS 2
Hypervisor Hardware
OS 3
2013 Pearson
59
2013 Pearson
60
Terminal-Host v Client/Server Processing E-Mail Voice over IP HTTP and HTML Cloud Computing
Service-Oriented Architectures
Peer-to-Peer (P2P) Applications
2013 Pearson
61
2013 Pearson
62
Call
Call
2013 Pearson
63
2013 Pearson
64
2013 Pearson
65
2013 Pearson
66
SOAP-Based SOAs
2013 Pearson
SOAP-Based SOAs
68
SOAP-Based SOAs
69
2013 Pearson
70
In XML (eXtensible Markup Language), communities can add their own tags.
2013 Pearson
71
XML Tag
<Soap BODY> <Service=PriceQuote> <PartNum>T2000</PartNum> <Quantity>47</Quantity> <Shipping>Rush</Shipping> </Service=PriceQuote> </SOAP BODY> </SOAP Envelope>
72
2013 Pearson
<Service=PriceQuote>
<Price>$25,892</Price> </Service=PriceQuote> </SOAP BODY>
</SOAP Envelope>
73
2013 Pearson
UDDI
Problem: How do you find the Web services you need? Universal Description, Discovery, and Integration Allows calling program to find a suitable Web service Like a telephone directory Yellow pages: find by category of service White pages: find by name
74
2013 Pearson
WSDL
Problem: How do you use a particular Web service? Web Service Description Language (WSDL) Describes how to use a specific Web service User first decides what Web service to use User then sends a WSDL request to the vendor of the Web service The WSDL response describes how to use the Web service
2013 Pearson
75
Terminal-Host v Client/Server Processing E-Mail Voice over IP HTTP and HTML Cloud Computing Service-Oriented Architectures
76
2013 Pearson
77
2013 Pearson
78
2013 Pearson
79
In traditional client/server file retrieval, a request is sent directly to the server containing the file.
80
2013 Pearson
2013 Pearson
81
BitTorrent is a sophisticated PC file sharing standard. The client first contacts an index webserver with a file request.
2013 Pearson
82
2013 Pearson
83
The swarm consists of client PCs that have parts of the desired file.
2013 Pearson
84
85
Question: What do you think is the advantage of downloading the file from multiple sources instead of a single source?
2013 Pearson
86
2013 Pearson
87
Recap
The actual carriage of voice signals between the caller and the called party
2013 Pearson
88
2013 Pearson
89
Users must log into the network before they receive service.
2013 Pearson
90
Call set-up signaling is done P2P via supernodes, which are powerful user computers.
2013 Pearson
92
Skype Security
Many corporations ban use of Skype because: Skypes proprietary software and protocols are not revealed to security professionals, change frequently. Detailed method of Skype encryption is unknown.
2013 Pearson
93
Skype Security
Many corporations ban use of Skype because: Registration is open and uncontrolled, so usernames mean nothing from a security standpoint. Skype is almost impossible to control at firewalls. Skypes file transfer mechanism does not work with most antivirus products.
94
2013 Pearson
Stage Registration
Skype Server-based
Signaling
Transport
P2P
P2P
Server-based
P2P
Skype differs from traditional P2P only in signaling. Signaling costs are borne by Supernodes
95
2013 Pearson
96
Communication
Processor sharing
Potential cost savings by using idle PC resources Management and security issues
97
2013 Pearson
Terminal-Host v Client/Server Processing E-Mail Voice over IP HTTP and HTML Cloud Computing Service-Oriented Architectures Peer-to-Peer (P2P) Architecture
2013 Pearson
98
2013 Pearson
99