Networking: Application layer
|
|
- Noel Morgan
- 6 years ago
- Views:
Transcription
1 ing: Application layer Comp Sci 3600 Security
2 Outline
3 Classic text-based that became popular in the 1970s and 1980s: text , remote access to computers, file transfers, and newsgroups. Killer application of the mid-1990s, the World Wide Web, encompassing Web surfing, search, and electronic commerce. Instant messaging and file sharing, the two killer introduced at the end of the millennium. Since 2000, voice-over-ip (VoIP), YouTube, Netflix, World of Warcraft, Facebook, and Twitter,
4 End system at application layer
5 Goal: write programs that: run on (different) end systems communicate over network e.g., web server software communicates with browser software no need to write software for network-core devices network-core devices do not run user on end systems allows for rapid app development, propagation
6 Client-server versus peer-to-peer ()
7 Client-server architecture Server Always-on host, called the server, which requests from many other hosts, called clients. permanent IP address Web server requests from browsers running on client hosts. When a Web server receives a request for an object from a client host, it responds by sending the requested object to the client host. Client communicate with server may be intermittently connected may have dynamic IP addresses do not communicate directly with each other
8 architecture minimal (or no) reliance on dedicated servers in data centers. direct between pairs of intermittently connected hosts, called peers. The peers are not owned by the service provider, but are instead desktops and laptops controlled by users, with most of the peers residing in homes, universities, and offices. self-scalability: each peer adds service capacity to the system by distributing files to other peers. cost effective, since they normally don t require significant server infrastructure and server bandwidth (in contrast with clients-server designs with datacenters) Peers often exchange IP addresses
9 Outline
10 via sockets
11 es Not actually programs, but processes that communicate. is a program that is running within an end system. When processes are running on the same end system, they can communicate with each other with interprocess es on two different end systems communicate with each other by exchanging messages across the computer network. A sending process creates and sends messages into the network a receiving process receives these messages and possibly responds by sending messages back. that initiates the (that is, initially contacts the other process at the beginning of the session) is labeled as the client. The process that waits to be contacted to begin the session is the server.
12 s Any message sent from one process to another must go through the underlying network. A process sends messages into, and receives messages from, the network through a software interface called a socket. socket is the interface between the application layer and the transport layer within a host. It is also referred to as the Application Programming Inter- face (API) between the application and the network, since the socket is the interface with which network are built.
13 Addresses In order for a process running on one host to send packets to a process running on another host, the receiving process needs to have an address with: address of the host identifier that specifies the receiving process in the destination host
14 Hosts are identified by IP address IP address is a 32-bit quantity uniquely identifying the host. the sending process must also identify the receiving process (more specifically, the receiving socket) running in the host. This information is needed because in general a host could be running many network. A destination port number serves this purpose. Popular have been assigned specific port numbers, e.g., a Web server is identified by port number 80. A mail server process (using the protocol) is identified by port number 25.
15 Outline
16 Service requirements for?
17 Applications usually choose between and and are transport layer, and are employed by most application layer programs Other layer exist: SCTP (stream control transmission protocol), SSU (I2P app), DCCP, R, -lite, etc An application designer could design their own transport layer protocol, since layer and up runs on end hosts, as opposed to network infrastructure.
18 is a Connection-oriented service has the client and server exchange transport-layer control information with each other before the application-level messages begin to flow. This so-called handshaking procedure alerts the client and server, allowing them to prepare for an onslaught of packets. After the handshaking phase, a connection is said to exist between the sockets of the two processes. The connection is a full-duplex connection in that the two processes can send messages to each other over the connection at the same time. When the application finishes sending messages, it must tear down the connection.
19 has a Reliable data transfer service The communicating processes can rely on to deliver all data sent without error and in the proper order.
20 also includes a congestion-control mechanism The congestion-control mechanism throttles a sending process (client or server) when the network is congested between sender and receiver.
21 is a no-frills, lightweight transport protocol, providing minimal. is connectionless, so there is no handshaking before the two processes start to communicate. provides an unreliable data transfer service when a process sends a message into a socket, provides no guarantee that the message will ever reach the receiving process. messages that do arrive at the receiving process may arrive out of order. does not include a congestion-control mechanism, so the sending side of can attempt to pump data into the layer below (the network layer) at any rate it pleases
22 Neither base nor provide any encryption Enhancement for, called Secure s Layer (SSL), provides encryption, data integrity, and end-point authentication. SSL is not a third Internet transport protocol, on the same level as and, but an enhancement of, at the application layer. Application needs to include SSL code (existing libraries) in both the client and server sides of the application. SSL has its own socket API that is similar to the traditional socket API. sending process passes cleartext data to the SSL socket; SSL in the sending host then encrypts the data and passes the encrypted data to the socket. encrypted data travels over the Internet to the socket in the receiving process. receiving socket passes the encrypted data to SSL, which decrypts the data. SSL passes the cleartext data through its SSL socket to the receiving process.
23 layer used
24 Outline
25 Application An application-layer protocol defines how an application s processes, running on different end systems, pass messages to each other, for example: The types of messages exchanged, for example, request messages and response messages The syntax of the various message types, such as the fields in the message and how the fields are delineated The semantics of the fields, that is, the meaning of the information in the fields Rules for determining when and how a process sends messages and responds to messages
26 Outline
27 Web server and clients
28 Web pages A Web page (also called a document) consists of objects. An object is simply a file such as an HTML file, a JPEG image, a Java applet, or a video clip that is addressable by a single URL. If a Web page contains HTML text and five JPEG images, then the Web page has six objects: the base HTML file plus the five images. The base HTML file references the other objects in the page with the objects URLs. Each URL has two components: the hostname of the server that houses the object and the object s path name. For example, the URL has for a hostname and /somedepartment/picture.gif for a path name.
29 uses (not ) The client first initiates a connection with the server. Once the connection is established, the browser and the server processes access through their socket interfaces. Server sends requested files to clients without storing any state information about the client, a stateless protocol.
30 Outline
31 Either: Each request/response pair sent over a separate connection (non-persistent connections), or All of the requests and their corresponding responses sent over the same connection (persistent connections)
32 sequence A base HTML file and 10 JPEG images, and that all 11 of these objects reside on the same server: 1 client process initiates a connection to the server on port number 80, which is the default port number for. Associated with the connection, there will be a socket at the client and a socket at the server. 2 client sends an request message to the server via its socket. The request message includes the path name /somedepartment/home.index. 3 server process receives the request message via its socket, retrieves the object /somedepartment/home.index from its storage (RAM or disk), encapsulates the object in an response message, and sends the response message to the client via its socket. 4 server process tells to close the connection. (But doesn t actually terminate the connection until it knows for sure that the client has received the response message intact.) 5 client receives the response message. The connection terminates. The message indicates that the encapsulated object is an HTML file. The client extracts the file from the response message, examines the HTML file, and finds references to the 10 JPEG objects. 6 first four steps are then repeated for each of the referenced JPEG objects.
33 Time to fill a request
34 Disadvantages of non-persistent connections First, a brand-new connection must be established and maintained for each requested object. For each of these connections, buffers must be allocated and variables must be kept in both the client and server. Each object suffers a delivery delay of two RTTs one RTT to establish the connection and one RTT to request and receive an object.
35 Persistent connections With persistent connections, the server leaves the connection open after sending a response. Subsequent requests and responses between the same client and server can be sent over the same connection. Multiple Web pages residing on the same server can be sent from the server to the same client over a single persistent connection. Requests for objects can be made back-to-back, without waiting for replies to pending requests (pipelining). Typically, the server closes a connection when it isn t used for a certain time (a configurable timeout interval).
36 Outline
37 request message GET / somedir / page. html /1.1 Host : www. mst. edu Connection : c l o s e User agent : M o z i l l a /5.0 Accept language : en
38 General request sp=space; cr=carriage return; lf=line feed
39 Response Message / OK Connection : c l o s e Date : Tue, 09 Aug : 4 4 : 0 4 GMT S e r v e r : Apache / ( CentOS ) Last M o d i f i e d : Tue, 09 Aug : 1 1 : 0 3 GMT Content Length : 6821 Content Type : t e x t / html ( data data data data data... The e n t i t y body i s the meat o f the message, i t c o n t a i n s the r e q u e s t e d o b j e c t i t s e l f )
40 General reply sp=space; cr=carriage return; lf=line feed
41 Server responses 200 OK: Request succeeded and the information is returned in the response. 301 Moved Permanently: Requested object has been permanently moved; the new URL is specified in Location: header of the response message. The client software will automatically retrieve the new URL. 400 Bad Request: This is a generic error code indicating that the request could not be understood by the server. 404 Not Found: The requested document does not exist on this server. 505 Version Not Supported: The requested protocol version is not supported by the server.
42 Example: Open connection, send GET request t e l n e t c i s. p o l y. edu 80 GET / r o s s / / 1.1 Host : c i s. p o l y. edu
43 Outline
44
45 Outline
46 Proxy server can cache
47 Bottleneck
48 helps bottleneck
49 Outline
50 File Transfer Protocol
51 control and data connections uses two parallel connections to transfer a file, a control connection and a data connection. The control connection is used for sending control information between the two hosts, information such as user identification, password, commands to change remote directory, and commands to put and get files. The data connection is used to actually send a file. is said to send its control information out-of-band. sends request and response header lines into the same connection that carries the transferred file itself, named in-band.
52
53 sequence When a user starts an session with a remote host, the client side of (user) first initiates a control connection with the server side (remote host) on server port number 21. client side of sends the user identification and password over this control connection. client side of also sends, over the control connection, commands to change the remote directory. When the server side receives a command for a file transfer over the control connection (either to, or from, the remote host), the server side initiates a data connection to the client side. sends exactly one file over the data connection and then closes the data connection. If, during the same session, the user wants to transfer another file, opens another data connection. Control connection remains open throughout the duration of the user session, but a new data connection is created for each file transferred within a session (data connections are non-persistent).
54 requests Commands, from client to server, and replies, from server to client, are sent across the control connection in 7-bit ASCII format. In order to delineate successive commands, a carriage return and line feed end each command.
55 requests Each command consists of four uppercase ASCII characters, some with optional arguments: USER username: Used to send the user identification to the server. PASS password: Used to send the user password to the server. LIST: Used to ask the server to send back a list of all the files in the current remote directory. The list of files is sent over a (new and non-persistent) data connection rather than the control connection. RETR filename: Used to retrieve (that is, get) a file from the current directory of the remote host. This command causes the remote host to initiate a data connection and to send the requested file over the data connection. STOR filename: Used to store (that is, put) a file into the current directory of the remote host.
56 replies Some typical replies, along with their possible messages, are as follows: 331 Username OK, password required 125 Data connection already open; transfer starting 425 Can t open data connection 452 Error writing file
57 Outline
58 Overview:, mail servers, mail user agents
59 Outline
60 Alice sends a message to Bob
61 Basic process 1 Alice invokes her user agent for , provides Bob s address (for example, bob@someschool.edu), composes a message, and instructs the user agent to send the message. 2 Alice s user agent sends the message to her mail server, where it is placed in a message queue. 3 The client side of, running on Alice s mail server, sees the message in the message queue. It opens a connection to an server, running on Bob s mail server. 4 After some initial handshaking, the client sends Alice s message into the connection. 5 At Bob s mail server, the server side of receives the message. Bob s mail server then places the message in Bob s mailbox. 6 Bob invokes his user agent to read the message at his convenience.
62 Example transcript Hostname of the client is crepes.fr Hostname of the server is server.edu S : 220 s e r v e r. edu C : HELO c r e p e s. f r S : 250 H e l l o c r e p e s. f r, p l e a s e d to meet you C : MAIL FROM: <a l i c c r e p e s. f r> S : 250 a l i c c r e p e s. f r... Sender ok C : RCPT TO: <b o s e r v e r. edu> S : 250 b o b@server. edu... R e c i p i e n t ok C : DATA S : 354 Enter mail, end with. on a l i n e by i t s e l f C : Do you l i k e ketchup? C : How about p i c k l e s? C :. S : 250 Message a c c e p t e d f o r d e l i v e r y C : QUIT S : 221 s e r v e r. edu c l o s i n g c o n n e c t i o n
63 Another example
64 Outline
65 Message header Header containing peripheral information precedes the body of the message itself. The header lines and the body of the message are separated by a blank line (CRLF). RFC 5322 specifies the exact format for mail header lines as well as their semantic interpretations. As with, each header line contains readable text, consisting of a keyword followed by a colon followed by a value. Some of the keywords are required and others are optional. Every header must have a From: header line and a To: header line; a header may include a Subject: header line as well as other optional header lines. From : a l i c c r e p e s. f r To : bob@hamburger. edu S u b j e c t : S e a r c h i n g f o r the meaning o f l i f e.
66 Outline
67 and direction of How does a recipient like Bob, running a user agent on his local PC, obtain his messages, which are sitting in a mail server within Bob s mail provider? Post Office Protocol Version 3 (POP3) Internet Mail Access Protocol (IMAP).
68 POP3 example In a POP3 transaction, the user agent issues commands, and the server responds to each command with a reply. The authorization phase has two principal commands: user < username > and pass < password >. t e l n e t m a i l S e r v e r 110 +OK POP3 s e r v e r r e a d y u s e r bob +OK p a s s hungry +OK u s e r s u c c e s s f u l l y l o g g e d on
69 POP3 example C: client, and S: server C : l i s t S : S : S :. C : r e t r 1 S : ( b l a h b l a h... S : S : b l a h ) S :. C : d e l e 1 C : r e t r 2 S : ( b l a h b l a h... S : S : b l a h ) S :. C : d e l e 2 C : q u i t S : +OK POP3 s e r v e r s i g n i n g o f f
70 Another POP3 example
71 Outline
72 : the problem One identifier for a host is its hostname. Hostnames such as cnn.com, gaia.cs.umass.edu, and cis.poly.edu are mnemonic and are therefore appreciated by humans. However, hostnames provide little, if any, information about the location within the Internet of the host. Hosts are also identified by so-called IP addresses, like : An IP address consists of four bytes and has a rigid hierarchical structure. Each period separates one of the bytes expressed in decimal notation from 0 to 255. An IP address is said to be hierarchical,. because as we scan the address from left to right, we obtain more and more specific information about where the host is located in the Internet (that is, within which network, in the network of networks).
73 Basics of : host aliasing 1 The same user machine runs the client side of the application. 2 The browser extracts the hostname, from the URL and passes the hostname to the client side of the application. 3 The client sends a query containing the hostname to a server. 4 The client eventually receives a reply, which includes the IP address for the hostname. 5 Once the browser receives the IP address from, it can initiate a con- nection to the server process located at port 80 at that IP address.
74 Partial hierarchy of servers
75 Root servers
76 server interaction
77 Recursive queries in
78 message format
79 Attacks on DDoS bandwidth-flooding attack: an attacker could attempt to send to each root server a deluge of packets, so many that the majority of legitimate queries never get answered. Man-in-the-middle attack, the attacker intercepts queries from hosts and returns bogus replies. poisoning attack, the attacker sends bogus replies to a server, tricking the server into accepting bogus records into its cache. Another important attack is not an attack on the service per se, but instead exploits the infrastructure to launch a DDoS attack against a targeted host. attacker sends queries to many authoritative servers, with each query having the spoofed source address of the targeted host. The servers then send their replies directly to the targeted host.
80 Outline
81 vs. Client server
82 Outline
83 problem: Client server vs.
84 Distribution time for vs. Client-server
85 vs Client server For the architecture, the minimal distribution time is not only always less than the distribution time of the client-server architecture It is also less than a fixed duration above some number of peers N. Applications with the architecture can be self-scaling. This scalability is a direct consequence of peers being redistributors as well as consumers of bits.
86 BitTorrent
87 BitTorrent protocol: level choices BitTorrent uses as its transport protocol. The well known port for BitTorrent traffic is (and 6969 for the tracker port). ( distributed sloppy hash table or simply called tracker) protocol uses various ports negotiated by the peers. based Micro Protocol, called utp. The motivation for utp is for BitTorrent clients to not disrupt internet connections, while still utilizing the unused bandwidth fully. When using regular connections BitTorrent quickly fills up the send buffer, adding multiple seconds delay to all interactive traffic
88 BitTorrent participation incentive Alice gives priority to the neighbors that are currently supplying her data at the highest rate. Alice continually measures the rate at which she receives bits and determines the four peers that are feeding her bits at the highest rate. She then reciprocates by sending chunks to these same four peers. Every 10 seconds, she recalculates the rates and possibly modifies the set of four peers. Every 30 seconds, she also picks one additional neighbor at random and sends it chunks, Bob Because Alice is sending data to Bob, she may become one of Bob s top four uploaders, in which case Bob would start to send data to Alice. If the rate at which Bob sends data to Alice is high enough, Bob could then, in turn, become one of Alice s top four uploaders.
89 Outline
90 Review: dictionaries, maps, and hash tables Θ(1) as regardless of size of data. Can store large sparse key-space in smaller array with constant access time
91 Problem: distributed database How to keep a database of pairings between IP addresses and torrents without a central server? Keys could be content names (e.g., names of books and software), and the value could be the IP address at which the content is stored; in this case, an example key-value pair is (ComputeringEssentials.pdf, ). Building such a database is straightforward with a client-server architecture that stores all the (key, value) pairs in one central server.
92
93 Solution: distributed hash table () n users Each user identifier is an integer in the range [0, 2 n 1] Hash the key (author/book name) into a number, mod 2 n 1 The user that has the closest value after the hashed key stores the item
94 Problem How to lookup which user is storing a particular hashed key?
95 Solution: circular (a) Only index forward neighbors; number of messages is n/2 (b) Storing indices of more neighbors increases messaging efficiency, and increases storage overhead
96 A balance of connections: space versus time can be designed so that both the number of neighbors per peer as well as the average number of messages per query is O(log N), where N is the number of peers.
97 Outline
98 Outline
99 socket : see example py
100 Outline
101 socket: see example py
102 socket: see example py
Network Applications Principles of Network Applications
Network Applications Principles of Network Applications A Network application is an application running on one host and provides communication to another application running on a different host. At the
More informationInformation Network Systems The application layer. Stephan Sigg
Information Network Systems The application layer Stephan Sigg Tokyo, November 15, 2012 Introduction 04.10.2012 Introduction to the internet 11.10.2012 The link layer 18.10.2012 The network layer 25.10.2012
More informationChapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP
Chapter 2: outline 2.1 principles of network applications app architectures app requirements 2.2 Web and HTTP 2.3 FTP 2.4 electronic mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 socket programming
More informationChapter 2: Application Layer. Chapter 2 Application Layer. Some network apps. Application architectures. Chapter 2: Application layer
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Chapter 2: Application Layer Our goals: conceptual, implementation
More informationReview of Previous Lecture
Review of Previous Lecture Network access and physical media Internet structure and ISPs Delay & loss in packet-switched networks Protocol layers, service models Some slides are in courtesy of J. Kurose
More informationCSC 4900 Computer Networks:
CSC 4900 Computer Networks: Email Professor Henry Carter Fall 2017 Villanova University Department of Computing Sciences Review Last week we talked about design principles, and the application protocols
More informationChapter 2. Application Layer. Chapter 2: Application Layer. Application layer - Overview. Some network apps. Creating a network appication
Mobile network Chapter 2 The Yanmin Zhu Department of Computer Science and Engineering Global ISP Home network Regional ISP Institutional network CSE Department 1 CSE Department 2 Application layer - Overview
More informationChapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP
Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 electronic mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 socket programming with UDP and TCP Application
More informationComputer Networks. Wenzhong Li. Nanjing University
Computer Networks Wenzhong Li Nanjing University 1 Chapter 8. Internet Applications Internet Applications Overview Domain Name Service (DNS) Electronic Mail File Transfer Protocol (FTP) WWW and HTTP Content
More informationNetworking. Layered Model. DoD Model. Application Layer. ISO/OSI Model
Networking Networking is concerned with the physical topology of two or more communicating entities and the logical topology of data transmission. Layered Model Systems communicate over a shared communication
More informationLecture 7 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it
Lecture 7 Application Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Application-layer protocols Application: communicating, distributed processes running in network hosts
More informationChapter 2 Application Layer
Chapter 2 Application Layer Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007. Application Layer 1 Chapter 2: Application layer 2.1 Principles
More informationElectronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol
SMTP Electronic Mail Three Components: 1. User Agents a.k.a. mail reader e.g., gmail, Outlook, yahoo 2. Mail Servers mailbox contains incoming messages for user message queue of outgoing (to be sent) mail
More informationLayered Model. DoD Model. ISO/OSI Model
Data Communications vs Networking (later) Communication is concerned with the transmission of data over a communication medium/channel between two entities. Here we are more concerned about EE issues such
More informationWWW: the http protocol
Internet apps: their protocols and transport protocols Application e-mail remote terminal access Web file transfer streaming multimedia remote file Internet telephony Application layer protocol smtp [RFC
More informationEECS 3214: Computer Network Protocols and Applications
EECS 3214: Computer Network Protocols and Applications Suprakash Datta Course page: http://www.eecs.yorku.ca/course/3214 Office: LAS 3043 Email: datta [at] cse.yorku.ca These slides are adapted from Jim
More informationApplication Layer: HTTP
Application Layer: HTTP EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 23-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic
More informationDATA COMMUNICATOIN NETWORKING
DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks Internet
More informationCMSC 332 Computer Networking Web and FTP
CMSC 332 Computer Networking Web and FTP Professor Szajda CMSC 332: Computer Networks Project The first project has been posted on the website. Check the web page for the link! Due 2/2! Enter strings into
More informationChapter 2 Application Layer
Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Some network apps e-mail web text messaging remote
More informationChapter 2 Application Layer
Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and
More informationChapter 2 Application Layer
Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;
More informationWeb, HTTP and Web Caching
Web, HTTP and Web Caching 1 HTTP overview HTTP: hypertext transfer protocol Web s application layer protocol client/ model client: browser that requests, receives, displays Web objects : Web sends objects
More informationCC451 Computer Networks
CC451 Computer Networks Lecture 4 Application Layer (cont d) Application Layer 1 Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3,
More informationCSC 401 Data and Computer Communications Networks
CSC 401 Data and Computer Communications Networks Application Layer: Cookies, Web Caching, SMTP Sec 2.2.4-2.4 Prof. Lina Battestilli Fall 2017 Outline Application Layer (ch 2) 2.1 principles of network
More informationInternet Protocol Stack! Principles of Network Applications! Some Network Apps" (and Their Protocols)! Application-Layer Protocols! Our goals:!
Internet Protocol Stack! Principles of Network Applications! application: supporting network applications!! HTTP,, FTP, etc.! transport: endhost-endhost data transfer!! TCP, UDP! network: routing of datagrams
More informationComputer Networking. Chapter #1. Dr. Abdulrhaman Alameer
Computer Networking Chapter #1 Dr. Abdulrhaman Alameer What is Computer Network? It is a collection of computers and devices interconnected by communications channels that facilitate communications among
More informationLecture 6 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it
Lecture 6 Application Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Application-layer protocols Application: communicating, distributed processes running in network hosts
More informationChapter 2 part B: outline
Chapter 2 part B: outline 2.3 FTP 2.4 electronic, POP3, IMAP 2.5 DNS Application Layer 2-1 FTP: the file transfer protocol at host FTP interface FTP client local file system file transfer FTP remote file
More informationLecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa
NET 331 Computer Networks Lecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 4
CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 4 1 Lab schedule confirmation Mondays, 12:00-2:00pm Tuesdays, 11:00am-1:00pm Wednesdays, 4:00-6:00pm
More informationReview for Internet Introduction
Review for Internet Introduction What s the Internet: Two Views View 1: Nuts and Bolts View billions of connected hosts routers and switches protocols control sending, receiving of messages network of
More informationProtocol Layers, Security Sec: Application Layer: Sec 2.1 Prof Lina Battestilli Fall 2017
CSC 401 Data and Computer Communications Networks Protocol Layers, Security Sec:1.5-1.6 Application Layer: Sec 2.1 Prof Lina Battestilli Fall 2017 Outline Computer Networks and the Internet (Ch 1) 1.1
More informationHyperText Transfer Protocol
Outline Introduce Socket Programming Domain Name Service (DNS) Standard Application-level Protocols email (SMTP) HTTP HyperText Transfer Protocol Defintitions A web page consists of a base HTML-file which
More informationELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition
ELEC / COMP 177 Fall 2012 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Homework #1 Assigned today Due in one week Application layer: DNS, HTTP, protocols Recommend you start early
More informationFoundations of Telematics
Foundations of Telematics Chapter 2 Application Layer Principles of network applications Important application protocols Using sockets Acknowledgement: These slides have been prepared by J.F. Kurose and
More informationCSC358 Week 2. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved
CSC358 Week 2 Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Logistics Tutorial this Friday Assignment 1 will be out shortly
More informationCS348: Computer Networks (SMTP, POP3, IMAP4); FTP
CS348: Computer Networks E-MAIL (SMTP, POP3, IMAP4); FTP Dr. Manas Khatua Assistant Professor Dept. of CSE, IIT Guwahati E-mail: manaskhatua@iitg.ac.in Electronic mail (E-mail) Allows users to exchange
More informationApplication Layer. Applications and application-layer protocols. Goals:
Application Layer Goals: Conceptual aspects of network application protocols Client paradigm Service models Learn about protocols by examining popular application-level protocols HTTP DNS 1 Applications
More informationApplications & Application-Layer Protocols: FTP and (SMTP & POP)
COMP 431 Internet Services & Protocols Applications & Application-Layer Protocols: FTP and E ( & POP) Jasleen Kaur February 7, 2019 Application-Layer Protocols Outline Example client/ systems and their
More informationChapter 2 Application Layer. Lecture 4: principles of network applications. Computer Networking: A Top Down Approach
Chapter 2 Application Layer Lecture 4: principles of network applications Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Chapter
More informationApplication layer. Some network apps. Client-server architecture. Hybrid of client-server and P2P. Pure P2P architecture. Creating a network app
Application layer Some network apps e- web instant messaging remote login P2P file sharing multi- network games streaming stored video (YouTube) voice over IP real-time video conferencing cloud computing
More informationApplication Layer: , DNS
Application Layer: E-mail, DNS EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 22-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic
More informationFTP. Mail. File Transfer Protocol (FTP) FTP commands, responses. Electronic Mail. TDTS06: Computer Networks
TDTS0: Computer Networks Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se FTP Notes derived from Computer Networking: A Top Down Approach, by Jim Kurose and Keith Ross, Addison-Wesley. The slides
More informationLecture 7b: HTTP. Feb. 24, Internet and Intranet Protocols and Applications
Internet and Intranet Protocols and Applications Lecture 7b: HTTP Feb. 24, 2004 Arthur Goldberg Computer Science Department New York University artg@cs.nyu.edu WWW - HTTP/1.1 Web s application layer protocol
More informationApplication Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app
Application Layer e- web instant messaging remote login PP file sharing multi- network games streaming stored video (YouTube) voice over IP real-time video conferencing cloud computing Creating a network
More informationChapter 2 Application Layer
Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and
More informationCSCE 463/612 Networks and Distributed Processing Spring 2018
CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer II Dmitri Loguinov Texas A&M University February 6, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter
More information1-1. Switching Networks (Fall 2010) EE 586 Communication and. September Lecture 10
EE 586 Communication and Switching Networks (Fall 2010) Lecture 10 September 17 2010 1-1 Announcement Send me your group and get group ID HW3 (short) out on Monday Personal leave for next two weeks No
More informationCSCI 466 Midterm Networks Fall 2013
CSCI 466 Midterm Networks Fall 2013 Name: This exam consists of 6 problems on the following 7 pages. You may use your single-sided hand-written 8 ½ x 11 note sheet and a calculator during the exam. No
More informationCCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols
CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols LOCAL CISCO ACADEMY ELSYS TU INSTRUCTOR: STELA STEFANOVA 1 Objectives Functions of the three upper OSI model layers, network services
More informationApplication Layer. Pure P2P architecture. Client-server architecture. Processes communicating. Hybrid of client-server and P2P. Creating a network app
Application Layer e- web instant messaging remote login P2P file sharing multi- network games streaming stored video (YouTube) voice over IP real-time video conferencing cloud computing Creating a network
More informationChapter 2: Application layer
Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming with TCP 2.8 Socket
More informationChapter 2: Application layer
Chapter 2 Application Layer A note on the use of these ppt slides: Were making these slides freely available to all (faculty, students, readers). Theyre in PowerPoint form so you can add, modify, and delete
More informationApplication Layer Protocols
Application Layer Protocols Dr. Ihsan Ullah Department of Computer Science & IT University of Balochistan, Quetta Pakistan Email: ihsan.ullah.cs@gmail.com These slides are adapted from the slides accompanying
More informationFig (1) sending and receiving s
Electronic Mail Protocols (SMTP, POP, IMAP) It is important to (1) distinguish the user interface (i.e., your mail reader) from the underlying message transfer protocols (such as SMTP, POP or IMAP), and
More informationComputer Networking Introduction
Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.5 Chapter 2: outline 2.1 principles of network applications app architectures
More informationCS4/MSc Computer Networking. Lecture 3: The Application Layer
CS4/MSc Computer Networking Lecture 3: The Application Layer Computer Networking, Copyright University of Edinburgh 2005 Network Applications Examine a popular network application: Web Client-server architecture
More informationChapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0
Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 10 Chapter 10 - Sections & Objectives 10.1 Application Layer Protocols Explain the operation of the application
More informationAPPLICATION LAYER APPLICATION LAYER : DNS, HTTP, , SMTP, Telnet, FTP, Security-PGP-SSH.
APPLICATION LAYER : DNS, HTTP, E-mail, SMTP, Telnet, FTP, Security-PGP-SSH. To identify an entity, the Internet used the IP address, which uniquely identifies the connection of a host to the Internet.
More informationDifferent Layers Lecture 21
Different Layers Lecture 21 10/17/2003 Jian Ren 1 The Transport Layer 10/17/2003 Jian Ren 2 Transport Services and Protocols Provide logical communication between app processes running on different hosts
More informationIntroduction to the Application Layer. Computer Networks Term B14
Introduction to the Application Layer Computer Networks Term B14 Intro to Application Layer Outline Current Application Layer Protocols Creating an Application Application Architectures Client-Server P2P
More informationLecture 6: Application Layer Web proxies, , and SMTP
Lecture 6: Application Layer Web proxies, Email, and SMTP COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016,
More informationInternet Technology. 03r. Application layer protocols: . Paul Krzyzanowski. Rutgers University. Spring 2016
Internet Technology 03r. Application layer protocols: email Paul Krzyzanowski Rutgers University Spring 2016 1 Email: SMTP (Simple Mail Transfer Protocol) 2 Simple Mail Transfer Protocol (SMTP) Protocol
More informationIntroduction to computer networking
edge core Introduction to computer networking Comp Sci 3600 Security Outline edge core 1 2 edge 3 core 4 5 6 The edge core Outline edge core 1 2 edge 3 core 4 5 6 edge core Billions of connected computing
More informationCSMC 412. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 2. September 15 CMSC417 Set 2 1
CSMC 412 Computer Networks Prof. Ashok K Agrawala 2015 Ashok Agrawala Set 2 September 15 CMSC417 Set 2 1 Contents Client-server paradigm End systems Clients and servers Sockets Socket abstraction Socket
More informationPLEASE READ CAREFULLY BEFORE YOU START
Page 1 of 11 MIDTERM EXAMINATION #1 OCT. 16, 2013 COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2013-75 minutes This examination
More informationLecture 2 - Application Layer. Lecture 1 Review. Application Layer. Principles of network applications. Notes. Notes. Notes. Notes
Lecture 2 - Application Layer Networks and Security Jacob Aae Mikkelsen IMADA September 9, 2013 September 9, 2013 1 / 101 Lecture 1 Review Explain in short the following terms Protocol Network Edge Network
More informationThe Application Layer: SMTP, FTP
The Application Layer: SMTP, FTP CS 352, Lecture 5 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana 1 Recap: Application-layer protocols DNS: lookup a (machine-readable) address using a (humanreadable)
More informationApplication Layer Chapter 2
Application Layer Chapter 2 Silvia Giordano SUPSI CH-6928 Manno silvia.giordano@supsi.ch http://www.supsi.ch SUPSI-DTI Silvia Giordano 10/06/2004 Application Layer 1 Chapter goals: learn about protocols
More informationDNS and HTTP. A High-Level Overview of how the Internet works
DNS and HTTP A High-Level Overview of how the Internet works Adam Portier Fall 2017 How do I Google? Smaller problems you need to solve 1. Where is Google? 2. How do I access the Google webpage? 3. How
More informationComputer Networks COMPUTER NETWORKS
SEMESTER V COMPUTER NETWORKS Subject Code IA Marks 20 Number of Lecture Hours/Week 4 Exam Marks 80 Total Number of Lecture Hours 50 Exam Hours 03 CREDITS 04 Course objectives: This course will enable students
More informationChapter 2 Application Layer
Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;
More informationPLEASE READ CAREFULLY BEFORE YOU START
Page 1 of 20 MIDTERM EXAMINATION #1 - B COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document
More informationPLEASE READ CAREFULLY BEFORE YOU START
Page 1 of 20 MIDTERM EXAMINATION #1 - A COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document
More informationComputer Networks and Applications
COMP 3331/COMP 9331 Week 2 Introduction(Protocol Layering) & Application Layer (Principles, Web, E- mail) Reading Guide: Chapter 1, Sections 1.5 Chapter 2, Sections 2.1-2.4 Week2: Introduction & Application
More informationCOMPUTER NETWORK. Homework #1. Due Date: March 29, 2017 in class
Computer Network Homework#1 COMPUTER NETWORK Homework #1 Due Date: March 29, 2017 in class Question 1 What is the role of HTTP in a network application? What other components are needed to complete a Web
More informationApplication Layer Introduction; HTTP; FTP
Application Layer Introduction; HTTP; FTP Tom Kelliher, CS 325 Feb. 4, 2011 1 Administrivia Announcements Assignment Read 2.4 2.6. From Last Time Packet-switched network characteristics; protocol layers
More informationCCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols
CCNA Exploration Network Fundamentals Chapter 03 Application Functionality and Protocols Updated: 27/04/2008 1 3.1 Applications: The Interface Between Human and Networks Applications provide the means
More informationCS 43: Computer Networks. HTTP September 10, 2018
CS 43: Computer Networks HTTP September 10, 2018 Reading Quiz Lecture 4 - Slide 2 Five-layer protocol stack HTTP Request message Headers protocol delineators Last class Lecture 4 - Slide 3 HTTP GET vs.
More informationApplication Layer: The Web and HTTP Sec 2.2 Prof Lina Battestilli Fall 2017
CSC 401 Data and Computer Communications Networks Application Layer: The Web and HTTP Sec 2.2 Prof Lina Battestilli Fall 2017 Outline Application Layer (ch 2) 2.1 principles of network applications 2.2
More informationCS 3516: Advanced Computer Networks
Welcome to CS 3516: Advanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook
More informationDepartment of Computer Science. Burapha University 6 SIP (I)
Burapha University ก Department of Computer Science 6 SIP (I) Functionalities of SIP Network elements that might be used in the SIP network Structure of Request and Response SIP messages Other important
More informationCMSC 322 Computer Networks Applications and End-To- End
CMSC 322 Computer Networks Applications and End-To- End Professor Doug Szajda CMSC 332: Computer Networks Announcements Project 2 has been posted and is due Monday, February 8 (No extension!) Homework
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 5
CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 5 1 Any problem of your lab? Due by next Monday (Jan 29) Using Canvas? Email me cqian12@ucsc.edu
More informationChapter 1 Introduction
Chapter 1 Introduction A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;
More informationChapter 2: Application layer
Chapter 2: Application layer 2. Principles of network applications app architectures app requirements 2.2 Web and HTTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming
More informationApplications & Application-Layer Protocols: (SMTP) and DNS
CS 312 Internet Concepts Applications & Application-Layer Protocols: E (SMTP) and DNS Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs312-f11
More informationThe Application Layer: Sockets, DNS
The Application Layer: Sockets, DNS CS 352, Lecture 3 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana 1 App-layer protocol Types of messages exchanged, e.g., request, response Message format:
More informationApplications & Application-Layer Protocols: The Web & HTTP
CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360
More informationApplication Layer Protocols
SC250 Computer Networking I Application Layer Protocols Prof. Matthias Grossglauser School of Computer and Communication Sciences EPFL http://lcawww.epfl.ch 1 Today's Objectives Conceptual, implementation
More informationApplication Protocols and HTTP
Application Protocols and HTTP 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia Lab #0 due
More informationGoal and A sample Network App
Application Layer Goal and A sample Network App Write programs that run on different end systems and communicate over a network. e.g., Web: Web server software communicates with browser software Little
More informationChapter 1 Introduction
Chapter 1 Introduction Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Slides adopted from original ones provided by the textbook authors. Introduction
More informationChapter 2. Application Layer. 2: Application Layer 1
Chapter 2 Application Layer 2: Application Layer 1 Some network apps e-mail web instant messaging remote login P2P file sharing multi-user network games streaming stored video clips voice over IP real-time
More informationCompSci 356: Computer Network Architectures. Lecture 23: Application Layer Protocols Chapter 9.1. Xiaowei Yang
CompSci 356: Computer Network Architectures Lecture 23: Application Layer Protocols Chapter 9.1 Xiaowei Yang xwy@cs.duke.edu The Internet Architecture Application layer Transport layer / Layer 4 Network
More informationSCS3004 Networking Technologies Application Layer Protocols
SCS3004 Networking Technologies Application Layer Protocols Dr. Ajantha Atukorale University of Colombo School of Computing (UCSC) 2 TCP/IP Suit Applications and application-layer layer protocols Application:
More informationInternet and Intranet Protocols and Applications
Internet and Intranet Protocols and Applications Lecture 4: General Characteristics of Internet Protocols; the Email Protocol February 10, 2004 Arthur Goldberg Computer Science Department New York University
More informationCSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose
CSEN 404 Introduction to Networks Mervat AbuElkheir Mohamed Abdelrazik ** Slides are attributed to J. F. Kurose HTTP Method Types HTTP/1.0 GET POST HEAD asks server to leave requested object out of response
More informationCS 640 Introduction to Computer Networks. Today s lecture. What is P2P? Lecture30. Peer to peer applications
Introduction to Computer Networks Lecture30 Today s lecture Peer to peer applications Napster Gnutella KaZaA Chord What is P2P? Significant autonomy from central servers Exploits resources at the edges
More information