Information Network 1 Transport layer: TCP. Youki Kadobayashi Doudou Fall NAIST
|
|
- Roger McCarthy
- 6 years ago
- Views:
Transcription
1 Iformatio Network 1 Trasport layer: TCP Youki Kadobayashi Doudou Fall NAIST
2 Trasport layer: a birds-eye view Hosts maitai state for each trasport-layer edpoit Routers do t maitai per-host state H R R R R H Trasport IP IP IP IP IP Applicatio Presetatio Sessio Trasport Network Data Lik Physical Applicatio Presetatio Sessio Trasport Network Data Lik Physical 2
3 Fuctios provided by the trasport layer Commuicatio betwee processes Idetify process Idetify iter-process chael P (P, Q) Q Iterface for upper layer Coectio-orieted (virtual circuit) Coectioless (datagram) Competitio ad arbitratio of etwork resource Flow cotrol Cogestio cotrol Next lecture 3
4 Trasport protocols i the Iteret protocol suite TCP (RFC793) UDP (RFC768) Trasmissio Cotrol Protocol User Datagram Protocol Coectio-orieted Coectioless Multiple fuctios IP & Process idetificatio for reliability Packets ca be lost SCTP (RFC4960) DCCP (RFC4340) Advaced topic 4
5 Idetifyig process ad coectio i TCP Uique idetificatio of process (IP, port) Uique idetificatio of TCP coectio (source IP, source port, destiatio IP, destiatio port) ( , 1040) ( , 22) 1040 coectio 22 process 80 coectio
6 Some well-kow protocols/ports Port Protocol Use 20,21 FTP File trasfer 22 SSH Remote logi, replacemet for telet 25 SMTP 80 HTTP World Wide Web 110 POP-3 Remote access 143 IMAP Remote access 443 HTTPS Secure Web (HTTP over SSL/TLS) 543 RTSP Media player cotrol 631 IPP Priter sharig 6
7 How SSH port became 22 (1) 7
8 How SSH port became 22 (1) 8
9 TCP service model (1) Coectio-orieted Virtual Circuit Looks like a circuit, but virtual: o physical wires betwee specific edpoits Adapts to speed Adapts to speed of itermediate etworks as well as the speed of edpoits 9
10 Establishig a TCP coectio 3-way hadshake SYN, SYN-ACK, ACK Esure full-duplex commuicatio SYN URG ACK PSH RST SYN FIN SYN-ACK 16bit source port 16bit destiatio port 32bit sequece umber 32bit ackowledgmet umber 4bit hle reserved flags 16bit TCP checksum 16bit widow size 16bit urget poiter ACK 10
11 Establishig TCP coectio: a cocrete example with Wireshark # tshark -i e0 - -f 'port 80' tcpdump: listeig o de0 Capturig o e > TCP > 80 [SYN] Seq=0 Wi=65535 Le=0 MSS=1460 WS=16 TSval= TSecr=0 SACK_PERM= > TCP 80 > [SYN, ACK] Seq=0 Ack=1 Wi=50137 Le=0 TSval= TSecr= MSS=1460 WS=8 SACK_PERM= > TCP > 80 [ACK] Seq=1 Ack=1 Wi= Le=0 TSval= TSecr= Reply with Sequece umber + 1 as a ACK implies ackowledgmet 11
12 Meaigs of Wireshark output time source IP -> dest IP TCP source port > dest port [ flags ] Seq= Ack= > TCP 80 > [SYN, ACK] Seq=0 Ack=1 Wi=50137 Le=0 TSval= TSecr= MSS=1460 WS=8 SACK_PERM=1 12
13 Virtual Circuit(2):TCP coectio release close FIN Ack of FIN FIN close Ack of FIN > TCP 80 > [FIN, ACK] Seq=659 Ack=2449 Wi= Le=0 TSval= TSecr= > TCP > 80 [ACK] Seq=2449 Ack=660 Wi= Le=0 TSval= TSecr= > TCP > 80 [FIN, ACK] Seq=2449 Ack=660 Wi= Le=0 TSval= TSecr= > TCP 80 > [ACK] Seq=660 Ack=2450 Wi= Le=0 TSval= TSecr=
14 TCP coectio reset RST Abortive release Noexistet port (e.g., dead process) telet to sh.aist.jp, port 80 will result i coectio reset: > TCP > 80 [SYN] Seq=0 Wi=65535 Le=0 MSS=1460 WS=16 TSval= TSecr=0 SACK_PERM= > TCP 80 > [RST, ACK] Seq=1 Ack=1 Wi=0 Le=0 If you kill Dropbox : > TCP > 80 [RST] Seq=310 Wi=0 Le=0 14
15 Virtual Circuit Summary: TCP state trasitio diagram State trasitio: trigger / respose 15
16 Troubleshootig TCP with state machie etstat $ etstat Active Iteret coectios Proto Recv-Q Sed-Q Local Address Foreig Address (state) tcp http SYN_SENT tcp ey-i-f101.1e100.http ESTABLISHED tcp http ESTABLISHED SYN set, awaitig SYN+ACK respose May other ope-source tools are available: lsof, trpt, tcptraceroute, tcptrace, tcpflow, etc. Try some of these tools i the provided VM image. 16
17 SYN packet lost SYN packet is lost: Iside the etwork or The server rejects the packet Evetually o SYN-ACK arrives Seder sets a timer ad wait for the SYN-ACK Seder retrasmits the SYN-ACK if eeded How should the TCP seder set the timer? Seder has o idea how far away the receiver is Hard to guess a reasoable legth of time to wait Some TCP use a default of 3 or 6 secods 17
18 Hads-o: observe coectio setup/release I the provided virtual machie, 1. Observe coectio setup/release; e.g., by usig browser withi VM 2. Observe coectio reset by termiatig program; e.g., by skill Firefox 3. Observe coectio reset by coectig to oexistet port o the workig machie. e.g., by telet sh.aist.jp 80 18
19 Buffered trasfer: adapts to varyig speed of edpoits, as well as itermediate etworks Process Process Write() Read() block/ublock Write() Read() sed buffer recv buffer sed buffer recv buffer TCP coectio OS kerel OS kerel 19
20 TCP service model (2) Byte-stream service Upper layer ca t see boudaries betwee packets o boudary: structurig (framig) is eeded at upper layer O L L E H OK TCP beig viewed as byte-stream service O L L E H OK Full duplex idepedet two streams i sigle coectio Reliable masks packet reorderig, duplicatio, discard ad bit error 20
21 How does TCP implemet reliable stream service? ACK: Ackowledgmet Active ackowledgmet Explicitly ackowledge the receipt of packet Duplicate ACK Implicitly commuicate the packet loss iformatio Timeout ad Retrasmissio Wheever seder does t receive ACK after fixed time, a Timeout evet is triggered p Retrasmissio: assumig that trasmissio has failed Expoetial back-off: 3, 6, 12, 21
22 ACK: Ackowledgmet Seder Set ad ackowledged Set but uackowledged Nara Istitute of Sciece ad Techology User data arrives Packets i trasit Receiver Nara Isti 22
23 Piggybackig: Exploitig full-duplex chael Note: rough sketch Seder Receiver Set ad ackowledged Set but uackowledged Nara Istitute of Sciece ad Techology User data arrives Graduate S Packets i trasit Receiver Seder Nara Isti Graduate School of Iformatio Sciece User data arrives Set but uackowledged Set ad ackowledged 23
24 Duplicate ACK: implicit commuicatio of packet loss Seder Set ad ackowledged Set but uackowledged Nara Istitute of Sciece ad Techology User data arrives Packet loss Packets i trasit Receiver Nara Istitute o 24
25 From byte-stream to packets: TCP header Chop appropriate legth from byte-stream buffer & add TCP header IP Header TCP Header TCP segmet TCP data 16bit source port 16bit destiatio port 32bit sequece umber 32bit ackowledgmet umber 4bit hle reserved flags 16bit widow size 16bit TCP checksum 16bit urget poiter (optios) 20 octets (TCP data) 25
26 Nagle algorithm Q. If you added 20byte+20byte size header to 1byte data, is t that overhead big? Nagle algorithm (RFC896) There is oly oe small segmet which is uackowledged i the etwork. I case of short RTT: à acceptable overhead, as LAN badwidth is abudat à sed packets with small bufferig I case of log RTT à reduce overhead, due to WAN badwidth costraits 26
27 Hads-o: observe packet loss & retrasmissio Withi provided virtual machie, 1. Observe duplicate ACK; Emulate lossy etwork with: # tc qdisc add dev eth1 root etem loss 10% 1. Observe the effect of Nagle algorithm; Emulate satellite etwork with: # tc qdisc add dev eth1 root etem delay 500ms 27
28 Questios? 28
29 Summary thus far Trasport layer The trasport protocol o the iteret TCP TCP: service model, ad features Efficiecy: ACK, piggybackig, Nagle algorithm TCP coectio establishmet ad release Diagosis: tools + state machie kowledge 29
30 Trasport protocol challeges With a umber of ukow parameters: Number of active commuicatios Bottleeck badwidth Error rate how ca we accommodate as much commuicatios as possible, without collapsig etwork itself? 1 1 k Key ideas: probig, estimatio, self-policig, macro-level stability 30
31 Flow cotrol ad cogestio cotrol: Competitio ad Arbitratio of Network Resource Flow cotrol Absorb differece of trasmissio rate Recovery from sequece error Recovery from duplicatio, packets drop ad bit error Cogestio cotrol Sharig the badwidth while suppressig the cogestio Fair sharig of badwidth 31
32 Characteristics of TCP Flow Cotrol Ed to ed No global assigmet of resource Estimate available badwidth at idividual hosts Routers do ot explicitly allocate resource Implicit sigalig through packet drops Scalable Host-based autoomous method has better scalability, because it does t eed state maagemet iside etwork. Autoomous à Less state maagemet à Scalable 32
33 TCP: key characteristics Very simple algorithm Macroscopic self-stabilizatio TCP does't assume the presece of greedy odes. Elimiatio of global cotrol system Reject the idea of itermediate policig system Modest performace across almost all data-liks As opposed to optimal performace i specific coditio Stepwise improvemets over 30 years 33
34 Flow Cotrol o TCP Cotrol available badwidth Slidig widow Usig sequece umber, ot packet umber Widow size Cotrol trasmissio iterval of packets ACK clockig Miscellaeous Error detectio with TCP checksum Packet drop detectio with duplicate ACK, timeout 34
35 Slidig widow Set ad ackowledged Set but uackowledged Seder Nara Istitute of Sciece ad Techology Widow size User data arrives Sequece umber Packets i flight Receiver Nara Isti 35
36 Cogestio Cotrol o TCP Fair-share model: fair distributio of badwidth Ed to ed Icrease ad decrease of widow size additive icrease multiplicative decrease AIMD is kow to be self-stabilizig (R. Jai, et al., Aalysis of the icrease ad decrease algorithms for cogestio avoidace i computer etworks, 1989) Switch icreasig strategy of widow size Detect cogestio through packet drops 36
37 Icreasig Widow size TCP switches icreasig strategy of cogestio widow (cwd) by slow start threshold (ssthresh) (Outlie of the algorithm) O receivig a ACK: if (cwd < ssthresh) { /* slow start: expoetial icrease */ cwd += 1; } else { /* cogestio avoidace: additive icrease */ cwd += 1 / cwd; } 37
38 Icreasig Widow size Slow start expoetial icrease Cogestio avoidace additive icrease Source: TCP/IP Illustrated, Vol.1 Effectiveess: see V. Jacobso, Cogestio Avoidace ad Cotrol, SIGCOMM
39 Decreasig Widow size (Outlie of algorithm ) O detectig packet drop: ssthresh = cwd / 2; if (timeout) { cwd = 1; } Source: TCP/IP Illustrated, Vol.1 39
40 Hads-o: observe slow start & cogestio avoidace Start Wireshark Access speed test website: Filter the TCP stream with: ip.src== Plot the Time-Sequece Graph Select oe of the filtered packets Go to Statistics -> TCP StreamGraph -> Time Sequece Graph (Steves) Go to Statistics -> TCP StreamGraph -> Time Sequece Graph (tcptrace) 40
41 Questios? 41
42 Packet drop Detectio with 2 methods: Duplicate ACK Retrasmissio Time Out (RTO) How do I judge the time out? RTO ~ RTT Estimator 42
43 RTO Calculatio Source: TCP/IP Illustrated, Vol.1 Err = M A A <- A + gerr D <- D + h( Err - D) RTO = A + 4D A: smoothed RTT D: smoothed mea deviatio g: gai for the average (1/8) h: gai for the deviatio (1/4) 43
44 RTO calculatio Source: A Quick Tour Aroud TCP, 44
45 Hads-o: observe the effect of loss/delay Start Wireshark Start iperf Istall iperf3 o the VM: $sudo apt-get istall iperf3 ru iperf3: $iperf3 -c p t 2 Cofigure tc Loss: $sudo tc qdisc add dev eth1 root etem loss 10% To cofirm: $sudo tc qdisc show To remove: $sudo tc qdisc del dev eth1 root etem loss 10% Delay: $sudo tc qdisc add dev eth1 root etem delay 500ms Observe the effect of loss/delay Select oe of the filtered packets Go to Statistics -> TCP StreamGraph -> Time Sequece Graph (Steves) Go to Statistics -> TCP StreamGraph -> Time Sequece Graph (tcptrace) 45
46 User Datagram Protocol (UDP) RFC 768 Ureliable Data Protocol (J) Coectioless trasport protocol Avoid overhead ad delays of ordered, reliable delivery Sed messages to ad receive them from a socket Lightweight delivery service IP ad port umbers to support (de)multiplexig Optioal error checkig o the packet cotets 46
47 Icetives o usig UDP Fier cotrol over what data is set ad whe UDP packages the data ad sed the packet as soo as a applicatio process writes ito the socket No delay for coectio establishmet There are o prelimiaries i UDP No coectio state No allocatio of buffers, parameters, sequece umbers, etc. Small packet header overhead: oly eight -bytes log 47
48 UDP applicatios Multimedia streamig Real-time Trasport Protocol (RTP): iteret radio, telephoy, music-o-demad, video-o-demad Retrasmissio of lost/corrupted packets is ot worthwhile Simple query protocols like Domai Name System Overhead of coectio establishmet is overkill Easier to have applicatio retrasmit if eeded 48
49 Summary Trasport layer The trasport protocol o the iteret TCP TCP: service model, ad features Efficiecy: ACK, piggybackig, Nagle algorithm TCP coectio establishmet ad release Flow cotrol ad cogestio cotrol i TCP 49
Information Network 1 TCP 1/2. Youki Kadobayashi NAIST
Information Network 1 TCP 1/2 Youki Kadobayashi NAIST 1 Transport layer: a birds-eye view Hosts maintain state for each transport-layer endpoint Routers don t maintain per-host state H R R R R H Transport
More informationInformation Network 1 TCP 1/2
Functions provided by the transport layer Information Network 1 TCP 1/2 Youki Kadobayashi NAIST! Communication between processes " designation of process " identification of inter-process channel! Interface
More informationReliable Transmission. Spring 2018 CS 438 Staff - University of Illinois 1
Reliable Trasmissio Sprig 2018 CS 438 Staff - Uiversity of Illiois 1 Reliable Trasmissio Hello! My computer s ame is Alice. Alice Bob Hello! Alice. Sprig 2018 CS 438 Staff - Uiversity of Illiois 2 Reliable
More informationLecture 28: Data Link Layer
Automatic Repeat Request (ARQ) 2. Go ack N ARQ Although the Stop ad Wait ARQ is very simple, you ca easily show that it has very the low efficiecy. The low efficiecy comes from the fact that the trasmittig
More informationTCP Internals. Spring 2018 CS 438 Staff, University of Illinois 1
TCP Iterals Sprig 2018 CS 438 Staff, Uiversity of Illiois 1 TCP Usage Model Coectio setup 3-way hadshake Data trasport Seder writes data TCP Breaks data ito segmets Seds each segmet over IP Retrasmits,
More informationCourse Information. Details. Topics. Network Examples. Overview. Walrand Lecture 1. EECS 228a. EECS 228a Lecture 1 Overview: Networks
Walrad Lecture 1 Course Iformatio Lecture 1 Overview: Networks Jea Walrad www.eecs.berkeley.edu/~wlr Istructor: Jea Walrad Office Hours: M-Tu 1:00-2:00 Time/Place: MW 2:00-3:30 i 285 Cory Home Page: http://wwwist.eecs.berkeley.edu/~ee228a
More informationCS457 Transport Protocols. CS 457 Fall 2014
CS457 Transport Protocols CS 457 Fall 2014 Topics Principles underlying transport-layer services Demultiplexing Detecting corruption Reliable delivery Flow control Transport-layer protocols User Datagram
More informationTransport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP
Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport
More informationTransport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control
Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport
More informationAnnouncements. Reading. Project #4 is on the web. Homework #1. Midterm #2. Chapter 4 ( ) Note policy about project #3 missing components
Aoucemets Readig Chapter 4 (4.1-4.2) Project #4 is o the web ote policy about project #3 missig compoets Homework #1 Due 11/6/01 Chapter 6: 4, 12, 24, 37 Midterm #2 11/8/01 i class 1 Project #4 otes IPv6Iit,
More informationI TCP 1/2. Internet TA: Connection-oriented (virtual circuit) Connectionless (datagram) (flow control) (congestion control) TCP Connection-oriented
I TCP 1/2 TA: Connection-oriented (virtual circuit) Connectionless (datagram) (flow control) (congestion control) Internet TCP Connection-oriented UDP Connectionless IP + TCP (connection-oriented) (byte
More informationIS-IS in Detail. ISP Workshops
IS-IS i Detail ISP Workshops These materials are licesed uder the Creative Commos Attributio-NoCommercial 4.0 Iteratioal licese (http://creativecommos.org/liceses/by-c/4.0/) Last updated 27 th November
More informationTransport Protocols. Raj Jain. Washington University in St. Louis
Transport Protocols Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse473-05/ 16-1 Overview q TCP q Key features
More informationTransport Protocols Reading: Sections 2.5, 5.1, and 5.2
Transport Protocols Reading: Sections 2.5, 5.1, and 5.2 CE443 - Fall 1390 Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer Rexford at Princeton University. When slides
More informationPrevention of Black Hole Attack in Mobile Ad-hoc Networks using MN-ID Broadcasting
Vol.2, Issue.3, May-Jue 2012 pp-1017-1021 ISSN: 2249-6645 Prevetio of Black Hole Attack i Mobile Ad-hoc Networks usig MN-ID Broadcastig Atoy Devassy 1, K. Jayathi 2 *(PG scholar, ME commuicatio Systems,
More informationTransport Protocols Reading: Sections 2.5, 5.1, and 5.2. Goals for Todayʼs Lecture. Role of Transport Layer
Transport Protocols Reading: Sections 2.5, 5.1, and 5.2 CS 375: Computer Networks Thomas C. Bressoud 1 Goals for Todayʼs Lecture Principles underlying transport-layer services (De)multiplexing Detecting
More information6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1
6. Transport Layer 6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1 6.1 Internet Transport Layer Architecture The
More informationOverview Queueing Disciplines TCP Congestion Control Congestion Avoidance Mechanisms Quality of Service
Cogestio Cotrol Overview Queueig Disciplies TCP Cogestio Cotrol Cogestio Avoidace Mechaisms Quality of Service Sprig 2018 CS 438 Staff - Uiversity of Illiois 1 Today s Topic: Vacatios Sa Fracisco Moterey
More informationQuality of Service. Spring 2018 CS 438 Staff - University of Illinois 1
Quality of Service Sprig 2018 CS 438 Staff - Uiversity of Illiois 1 Quality of Service How good are late data ad lowthroughput chaels? It depeds o the applicatio. Do you care if... Your e-mail takes 1/2
More informationFirewall and IDS. TELE3119: Week8
Firewall ad IDS TELE3119: Week8 Outlie Firewalls Itrusio Detectio Systems (IDSs) Itrusio Prevetio Systems (IPSs) 8-2 Example Attacks Disclosure, modificatio, ad destructio of data Compromise a host ad
More informationComputer Communication Networks Midterm Review
Computer Communication Networks Midterm Review ICEN/ICSI 416 Fall 2018 Prof. Aveek Dutta 1 Instructions The exam is closed book, notes, computers, phones. You can use calculator, but not one from your
More informationTransport Layer. -UDP (User Datagram Protocol) -TCP (Transport Control Protocol)
Transport Layer -UDP (User Datagram Protocol) -TCP (Transport Control Protocol) 1 Transport Services The transport layer has the duty to set up logical connections between two applications running on remote
More informationIntroduction to OSPF. ISP Training Workshops
Itroductio to OSPF ISP Traiig Workshops 1 OSPF p Ope Shortest Path First p Lik state or SPF techology p Developed by OSPF workig group of IETF (RFC 1247) p OSPFv2 stadard described i RFC2328 p Desiged
More informationIntroduction to Wireless & Mobile Systems. Chapter 6. Multiple Radio Access Cengage Learning Engineering. All Rights Reserved.
Itroductio to Wireless & Mobile Systems Chapter 6 Multiple Radio Access 1 Outlie Itroductio Multiple Radio Access Protocols Cotetio-based Protocols Pure ALOHA Slotted ALOHA CSMA (Carrier Sese Multiple
More informationIntroduction to Network Technologies & Layered Architecture BUPT/QMUL
Itroductio to Network Techologies & Layered Architecture BUPT/QMUL 2018-3-12 Review What is the Iteret? How does it work? Whe & how did it come about? Who cotrols it? Where is it goig? 2 Ageda Basic Network
More informationTraditional queuing behaviour in routers. Scheduling and queue management. Questions. Scheduling mechanisms. Scheduling [1] Scheduling [2]
Traditioal queuig behaviour i routers Schedulig ad queue maagemet Data trasfer: datagrams: idividual packets o recogitio of flows coectioless: o sigallig Forwardig: based o per-datagram, forwardig table
More informationTransport Protocols Reading: Sections 2.5, 5.1, and 5.2
Transport Protocols Reading: Sections 2.5, 5.1, and 5.2 COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak http://www.cs.princeton.edu/courses/archive/spring06/cos461/
More informationTransitioning to BGP
Trasitioig to BGP ISP Workshops These materials are licesed uder the Creative Commos Attributio-NoCommercial 4.0 Iteratioal licese (http://creativecommos.org/liceses/by-c/4.0/) Last updated 24 th April
More informationTSIN02 - Internetworking
Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure
More informationTransport Layer (TCP/UDP)
Transport Layer (TCP/UDP) Where we are in the Course Moving on up to the Transport Layer! Application Transport Network Link Physical CSE 461 University of Washington 2 Recall Transport layer provides
More informationNT1210 Introduction to Networking. Unit 10
NT1210 Introduction to Networking Unit 10 Chapter 10, TCP/IP Transport Objectives Identify the major needs and stakeholders for computer networks and network applications. Compare and contrast the OSI
More informationIntroduction to TCP/IP networking
Introduction to TCP/IP networking TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute TCP : Transmission Control Protocol HTTP, FTP, ssh What is an internet? A set
More information6. The Transport Layer and protocols
6. The Transport Layer and protocols 1 Dr.Z.Sun Outline Transport layer services Transmission Control Protocol Connection set-up and tear-down Ports and Well-know-ports Flow control and Congestion control
More informationECE 650 Systems Programming & Engineering. Spring 2018
ECE 650 Systems Programming & Engineering Spring 2018 Networking Transport Layer Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) TCP/IP Model 2 Transport Layer Problem solved:
More informationCSCI-GA Operating Systems. Networking. Hubertus Franke
CSCI-GA.2250-001 Operating Systems Networking Hubertus Franke frankeh@cs.nyu.edu Source: Ganesh Sittampalam NYU TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute
More informationNVP-903 Series. Multi-Stream Network Video Encoder REFERENCE GUIDE
NVP-903 Series Multi-Stream Network Video Ecoder REFERENCE GUIDE NVP-903 Series User Maual Table of Cotets 1 Itroductio... 4 1.1 Product Overview... 4 1.2 Product Features... 4 2 Pael Desig... 5 2.1 Frot
More informationCS644 Advanced Networks
Limitatios of IP CS644 Advaced Networks Lecture 7 QoS Adreas Terzis IP provides oly best effort service IP does ot participate i resource maagemet Caot provide service guaratees o a per flow basis Caot
More informationCCNA 1 Chapter 7 v5.0 Exam Answers 2013
CCNA 1 Chapter 7 v5.0 Exam Answers 2013 1 A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the
More informationCopyright 2010, Elsevier Inc. All rights Reserved
Computer Networks: A Systems Approach, 5e Larry L. Peterso ad Bruce S. Davie (Subset of topics) Gettig Coected Framig Error Detectio. Reliable Trasmissio Sharig: Etheret ad Multiple Access Networks, Wireless
More informationTransport Protocols and TCP
Transport Protocols and TCP Functions Connection establishment and termination Breaking message into packets Error recovery ARQ Flow control Multiplexing, de-multiplexing Transport service is end to end
More informationMedia Access Protocols. Spring 2018 CS 438 Staff, University of Illinois 1
Media Access Protocols Sprig 2018 CS 438 Staff, Uiversity of Illiois 1 Where are We? you are here 00010001 11001001 00011101 A midterm is here Sprig 2018 CS 438 Staff, Uiversity of Illiois 2 Multiple Access
More informationLecture 3: The Transport Layer: UDP and TCP
Lecture 3: The Transport Layer: UDP and TCP Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4395 3-1 The Transport Layer Provides efficient and robust end-to-end
More informationLecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24
Lecture 20 Overview Last Lecture Transport Control Protocol (1) This Lecture Transport Control Protocol (2) Source: chapters 23, 24 Next Lecture Internet Applications Source: chapter 26 COSC244 & TELE202
More informationTransport Layer Review
Transport Layer Review Mahalingam Mississippi State University, MS October 1, 2014 Transport Layer Functions Distinguish between different application instances through port numbers Make it easy for applications
More informationTransport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections
Application / Transport Interface Application requests service from transport layer Transport Layer Application Layer Prepare Transport service requirements Data for transport Local endpoint node address
More information3D Model Retrieval Method Based on Sample Prediction
20 Iteratioal Coferece o Computer Commuicatio ad Maagemet Proc.of CSIT vol.5 (20) (20) IACSIT Press, Sigapore 3D Model Retrieval Method Based o Sample Predictio Qigche Zhag, Ya Tag* School of Computer
More informationTransmission Control Protocol. ITS 413 Internet Technologies and Applications
Transmission Control Protocol ITS 413 Internet Technologies and Applications Contents Overview of TCP (Review) TCP and Congestion Control The Causes of Congestion Approaches to Congestion Control TCP Congestion
More informationMultiple unconnected networks
TCP/IP Life in the Early 1970s Multiple unconnected networks ARPAnet Data-over-cable Packet satellite (Aloha) Packet radio ARPAnet satellite net Differences Across Packet-Switched Networks Addressing Maximum
More informationCS 111: Program Design I Lecture 19: Networks, the Web, and getting text from the Web in Python
CS 111: Program Desig I Lecture 19: Networks, the Web, ad gettig text from the Web i Pytho Robert H. Sloa & Richard Warer Uiversity of Illiois at Chicago April 3, 2018 Goals Lear about Iteret Lear about
More informationTransport Layer. Gursharan Singh Tatla. Upendra Sharma. 1
Transport Layer Gursharan Singh Tatla mailme@gursharansingh.in Upendra Sharma 1 Introduction The transport layer is the fourth layer from the bottom in the OSI reference model. It is responsible for message
More informationUser Datagram Protocol
Topics Transport Layer TCP s three-way handshake TCP s connection termination sequence TCP s TIME_WAIT state TCP and UDP buffering by the socket layer 2 Introduction UDP is a simple, unreliable datagram
More informationInternet and Intranet Protocols and Applications
Internet and Intranet Protocols and Applications Lecture 1b: The Transport Layer in the Internet January 17, 2006 Arthur Goldberg Computer Science Department New York University artg@cs.nyu.edu 01/17/06
More information05 Transmission Control Protocol (TCP)
SE 4C03 Winter 2003 05 Transmission Control Protocol (TCP) Instructor: W. M. Farmer Revised: 06 February 2003 1 Interprocess Communication Problem: How can a process on one host access a service provided
More informationECE 333: Introduction to Communication Networks Fall 2001
ECE 333: Introduction to Communication Networks Fall 2001 Lecture 28: Transport Layer III Congestion control (TCP) 1 In the last lecture we introduced the topics of flow control and congestion control.
More informationSession Initiated Protocol (SIP) and Message-based Load Balancing (MBLB)
F5 White Paper Sessio Iitiated Protocol (SIP) ad Message-based Load Balacig (MBLB) The ability to provide ew ad creative methods of commuicatios has esured a SIP presece i almost every orgaizatio. The
More informationNetwork Technology 1 5th - Transport Protocol. Mario Lombardo -
Network Technology 1 5th - Transport Protocol Mario Lombardo - lombardo@informatik.dhbw-stuttgart.de 1 overview Transport Protocol Layer realizes process to process communication data unit is called a
More informationCNT 6885 Network Review on Transport Layer
CNT 6885 Network Review on Transport Layer Jonathan Kavalan, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida User Datagram Protocol [RFC 768] no frills,
More informationSecurity of Bluetooth: An overview of Bluetooth Security
Versio 2 Security of Bluetooth: A overview of Bluetooth Security Marjaaa Träskbäck Departmet of Electrical ad Commuicatios Egieerig mtraskba@cc.hut.fi 52655H ABSTRACT The purpose of this paper is to give
More informationApplication. Transport. Network. Link. Physical
Transport Layer ELEC1200 Principles behind transport layer services Multiplexing and demultiplexing UDP TCP Reliable Data Transfer TCP Congestion Control TCP Fairness *The slides are adapted from ppt slides
More informationIntroduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis
Introduction to Internet Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis What about inter-networks communications? Between LANs? Ethernet?? Ethernet Example Similarities and Differences between
More informationConnections. Topics. Focus. Presentation Session. Application. Data Link. Transport. Physical. Network
Connections Focus How do we connect processes? This is the transport layer Topics Naming processes Connection setup / teardown Flow control Application Presentation Session Transport Network Data Link
More informationAvid Interplay Bundle
Avid Iterplay Budle Versio 2.5 Cofigurator ReadMe Overview This documet provides a overview of Iterplay Budle v2.5 ad describes how to ru the Iterplay Budle cofiguratio tool. Iterplay Budle v2.5 refers
More informationL I N U X. Unit 6 S Y S T E M DHCP & DNS (BIND) A D M I N I S T R A T I O n DPW
it 6 HCP & (B) oa Warre HCP ervice yamically assigs a P address to requestig machies P addresses are leased scope of addresses ca be assiged or excluded from assigmet HCP servers do ot talk to each other
More informationMobile Transport Layer Lesson 02 TCP Data Stream and Data Delivery
Mobile Transport Layer Lesson 02 TCP Data Stream and Data Delivery 1 TCP Data Stream Consists of bytes Delivered using a virtual connection between sockets Each socket has the port number and IP address
More informationOperating Systems and Networks. Network Lecture 8: Transport Layer. Adrian Perrig Network Security Group ETH Zürich
Operating Systems and Networks Network Lecture 8: Transport Layer Adrian Perrig Network Security Group ETH Zürich I was going to tell you a joke about UDP, but I wasn t sure if you were going to get it
More informationLinux Networking: tcp. TCP context and interfaces
Linux Networking: tcp David Morgan TCP context and interfaces Computer A Computer B application process application process data data data data TCP process TCP process a network 1 TCP purposes and features
More informationOperating Systems and Networks. Network Lecture 8: Transport Layer. Where we are in the Course. Recall. Transport Layer Services.
Operating Systems and s Lecture 8: Transport Layer I was going to tell you a joke about UDP, but I wasn t sure if you were going to get it Adrian Perrig Security Group ETH Zürich 2 Where we are in the
More informationChapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control
Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment
More informationTSIN02 - Internetworking
TSIN02 - Internetworking Literature: Lecture 4: Transport Layer Forouzan: ch 11-12 Transport layer responsibilities UDP TCP 2004 Image Coding Group, Linköpings Universitet 2 Transport layer in OSI model
More informationLayer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers
Layer 4: UDP, TCP, and others based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Concepts application set transport set High-level, "Application Set" protocols deal only with how handled
More informationCMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 25, 2018
CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet IP IP packet IP
More informationChapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control
Chapter 6 What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control OSI Model Hybrid Model Software outside the operating system Software inside
More informationperformance to the performance they can experience when they use the services from a xed location.
I the Proceedigs of The First Aual Iteratioal Coferece o Mobile Computig ad Networkig (MobiCom 9) November -, 99, Berkeley, Califoria USA Performace Compariso of Mobile Support Strategies Rieko Kadobayashi
More informationOutline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste
Outline 15-441 Computer Networking Lecture 18 TCP Performance Peter Steenkiste Fall 2010 www.cs.cmu.edu/~prs/15-441-f10 TCP congestion avoidance TCP slow start TCP modeling TCP details 2 AIMD Distributed,
More informationFundamentals of Communication Networks
Politecico di Milao Scuola di Igegeria Idustriale e dell Iformazioe Fudametals of Commuicatio Networks Alessadro Redodi Teacher o Alessadro Redodi o Office: Dip. di Elettroica, Iformazioe e Bioigegeria
More informationCOMP 431 Internet Services & Protocols. Transport Layer Protocols & Services Outline. The Transport Layer Reliable data delivery & flow control in TCP
COMP 431 Internet Services & Protocols Transport Layer Protocols & Services Outline The Transport Layer Reliable data delivery & flow control in TCP Jasleen Kaur Fundamental transport layer services» Multiplexing/Demultiplexing»
More informationUDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data
ELEX 4550 : Wide Area Networks 2015 Winter Session UDP and TCP is lecture describes the two most common transport-layer protocols used by IP networks: the User Datagram Protocol (UDP) and the Transmission
More informationArchitectural styles for software systems The client-server style
Architectural styles for software systems The cliet-server style Prof. Paolo Ciacarii Software Architecture CdL M Iformatica Uiversità di Bologa Ageda Cliet server style CS two tiers CS three tiers CS
More informationTSIN02 - Internetworking
Lecture 4: Outline Literature: Lecture 4: Transport Layer Forouzan: ch 11-12 RFC? Transport layer introduction UDP TCP 2004 Image Coding Group, Linköpings Universitet 2 The Transport Layer Transport layer
More informationCS Lecture 1 Review of Basic Protocols
CS 557 - Lecture 1 Review of Basic Protocols IP - RFC 791, 1981 TCP - RFC 793, 1981 Spring 2013 These slides are a combination of two great sources: Kurose and Ross Textbook slides Steve Deering IETF Plenary
More informationThe Transport Layer Reliable data delivery & flow control in TCP. Transport Layer Protocols & Services Outline
CPSC 360 Network Programming The Transport Layer Reliable data delivery & flow control in TCP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360
More informationThe Transport Layer: TCP & Reliable Data Transfer
The Transport Layer: TCP & Reliable Data Transfer Smith College, CSC 249 February 15, 2018 1 Chapter 3: Transport Layer q TCP Transport layer services: v Multiplexing/demultiplexing v Connection management
More informationITS323: Introduction to Data Communications
ITS323: Introduction to Data Communications Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 23 May 2012 ITS323Y12S1L13, Steve/Courses/2012/s1/its323/lectures/transport.tex,
More informationDepartment of Computer and IT Engineering University of Kurdistan. Transport Layer. By: Dr. Alireza Abdollahpouri
Department of Computer and IT Engineering University of Kurdistan Transport Layer By: Dr. Alireza Abdollahpouri TCP/IP protocol suite 2 Transport Layer The transport layer is responsible for process-to-process
More informationMOTIF XF Extension Owner s Manual
MOTIF XF Extesio Ower s Maual Table of Cotets About MOTIF XF Extesio...2 What Extesio ca do...2 Auto settig of Audio Driver... 2 Auto settigs of Remote Device... 2 Project templates with Iput/ Output Bus
More informationBluetooth Basics. Bluetooth Overview
Bluetooth Basics Bluetooth Overview Wireless techology for short-rage voice ad data commuicatio Low-cost ad low-power Provides a commuicatio platform betwee a wide rage of smart devices Not limited to
More informationNetworking Technologies and Applications
Networking Technologies and Applications Rolland Vida BME TMIT Transport Protocols UDP User Datagram Protocol TCP Transport Control Protocol and many others UDP One of the core transport protocols Used
More informationTRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016
TRANSMISSION CONTROL PROTOCOL ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016 ETI 2506 - TELECOMMUNICATION SYLLABUS Principles of Telecom (IP Telephony and IP TV) - Key Issues to remember 1.
More informationTCP/IP Networking. Part 4: Network and Transport Layer Protocols
TCP/IP Networking Part 4: Network and Transport Layer Protocols Orientation Application Application protocol Application TCP TCP protocol TCP IP IP protocol IP IP protocol IP IP protocol IP Network Access
More informationn Explore virtualization concepts n Become familiar with cloud concepts
Chapter Objectives Explore virtualizatio cocepts Become familiar with cloud cocepts Chapter #15: Architecture ad Desig 2 Hypervisor Virtualizatio ad cloud services are becomig commo eterprise tools to
More informationThe Transport Layer Reliable data delivery & flow control in TCP. Transport Layer Protocols & Services Outline
CPSC 852 Internetworking The Transport Layer Reliable data delivery & flow control in TCP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc852
More informationComputer Networks. Wenzhong Li. Nanjing University
Computer Networks Wenzhong Li Nanjing University 1 Chapter 5. End-to-End Protocols Transport Services and Mechanisms User Datagram Protocol (UDP) Transmission Control Protocol (TCP) TCP Congestion Control
More informationFall 2012: FCM 708 Bridge Foundation I
Fall 2012: FCM 708 Bridge Foundation I Prof. Shamik Sengupta Instructor s Website: http://jjcweb.jjay.cuny.edu/ssengupta/ Blackboard Website: https://bbhosted.cuny.edu/ Intro to Computer Networking Transport
More informationOSI Transport Layer. objectives
LECTURE 5 OSI Transport Layer objectives 1. Roles of the Transport Layer 1. segmentation of data 2. error detection 3. Multiplexing of upper layer application using port numbers 2. The TCP protocol Communicating
More information9th Slide Set Computer Networks
Prof. Dr. Christian Baun 9th Slide Set Computer Networks Frankfurt University of Applied Sciences WS1718 1/49 9th Slide Set Computer Networks Prof. Dr. Christian Baun Frankfurt University of Applied Sciences
More informationSwitching Hardware. Spring 2018 CS 438 Staff, University of Illinois 1
Switchig Hardware Sprig 208 CS 438 Staff, Uiversity of Illiois Where are we? Uderstad Differet ways to move through a etwork (forwardig) Read sigs at each switch (datagram) Follow a kow path (virtual circuit)
More informationNWEN 243. Networked Applications. Layer 4 TCP and UDP
NWEN 243 Networked Applications Layer 4 TCP and UDP 1 About the second lecturer Aaron Chen Office: AM405 Phone: 463 5114 Email: aaron.chen@ecs.vuw.ac.nz Transport layer and application layer protocols
More informationIntroduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.
Introduction to Networking Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved. Distributed File Systems Operating Systems In Depth XXVII 2 Copyright 2017 Thomas W.
More informationTransport Over IP. CSCI 690 Michael Hutt New York Institute of Technology
Transport Over IP CSCI 690 Michael Hutt New York Institute of Technology Transport Over IP What is a transport protocol? Choosing to use a transport protocol Ports and Addresses Datagrams UDP What is a
More informationNext generation IP- based multimedia services on cable TV networks
Iteratioal Telecommuicatio Uio Next geeratio IP- based multimedia services o cable TV etworks Volker Leisse ECCA Pre - coferece draft ITU-T Workshop All Star Network Access Geeva, 2-4 Jue 2004 Outlie o
More information