Transport Layer 3-1.  What is the Transport layer for?  Where does the code for the transport layer live?  What are the two protocols at this layer?

Slides:



Advertisements
Similar presentations
Introduction 1 Lecture 13 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Advertisements

Transmission Control Protocol (TCP)
Transportation Layer. Very similar to the data link layer. – two hosts connected by a link or two hosts connected by a network differences: – When two.
Transport Layer3-1 TCP. Transport Layer3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection.
3-1 TCP Protocol r point-to-point: m one sender, one receiver r reliable, in-order byte steam: m no “message boundaries” r pipelined: m TCP congestion.
Data Communications and Computer Networks Chapter 3 CS 3830 Lecture 16 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
1 Transport Layer Lecture 9 Imran Ahmed University of Management & Technology.
Transport Layer3-1 Summary of Reliable Data Transfer Checksums help us detect errors ACKs and NAKs help us deal with errors If ACK/NAK has errors sender.
Chapter 3 outline 3.1 transport-layer services
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
The Transport Layer. 2 Purpose of this layer Interface end-to-end applications and protocols –Turn best-effort IP into a usable interface Data transfer.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
Transport Layer Transport Layer: TCP. Transport Layer 3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
Announcement Project 2 out –Much harder than project 1, start early! Homework 2 due next Tu.
Transport Layer3-1 Data Communication and Networks Lecture 7 Transport Protocols: TCP October 21, 2004.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
2: Application Layer 1 1DT066 Distributed Information System Chapter 3 Transport Layer.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
3-1 Transport services and protocols r provide logical communication between app processes running on different hosts r transport protocols run in end.
Transport Layer Transport Layer. Transport Layer 3-2 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet,
Process-to-Process Delivery:
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Network LayerII-1 RSC Part III: Transport Layer 3. TCP Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part.
Transport Layer1 Reliable Transfer Ram Dantu (compiled from various text books)
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
3: Transport Layer3b-1 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection m MSS: maximum.
2: Transport Layer 21 Transport Layer 2. 2: Transport Layer 22 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_b Transport Protocols - TCP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
3: Transport Layer 3a-1 8: Principles of Reliable Data Transfer Last Modified: 10/15/2015 7:04:07 PM Slides adapted from: J.F Kurose and K.W. Ross,
ECE453 – Introduction to Computer Networks Lecture 14 – Transport Layer (I)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
September 26 th, 2013 CS1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights.
Transport Layer 3-1 Internet Transport Layer Lecture 8 Dr. Najla Al-Nabhan.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 5: Transport services and protocols Prof. Younghee Lee * Some part of this teaching materials are prepared.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are still here.
© 2002, Cisco Systems, Inc. All rights reserved..
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 3: Transport.
CIS679: TCP and Multimedia r Review of last lecture r TCP and Multimedia.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
CSEN 404 Transport Layer II Amr El Mougy Lamia AlBadrawy.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Computer Networks 1000-Transport layer, TCP Gergely Windisch v spring.
Ch 3. Transport Layer Myungchul Kim
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Process-to-Process Delivery:
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
09-Transport Layer: TCP Transport Layer.
Chapter 3 outline 3.1 Transport-layer services
DMET 602: Networks and Media Lab
CS 1652 Jack Lange University of Pittsburgh
The Transport Layer (TCP)
Introduction to Networks
PART 5 Transport Layer Computer Networks.
CS1652 TCP Jack Lange University of Pittsburgh
Transportation Layer.
Transport Protocols: TCP Segments, Flow control and Connection Setup
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
TCP Connection Management
Presentation transcript:

Transport Layer 3-1

 What is the Transport layer for?  Where does the code for the transport layer live?  What are the two protocols at this layer?  What is the basic idea behind these?  How does the transport layer share a network connection among programs?  What are well-known port numbers for? Transport Layer 3-2

 What information is needed to decide which socket a packet is associated with?  What is port scanning? Why is it a concern?  Why does DNS use UDP instead of TCP?  What is a checksum? Transport Layer 3-3

How can we take this apart? Transport Layer a7 a2 d a ec #......Z....E a d5 2a a 32 c0 a8 46 9b 0a 01.:.*.... J2..F a d 3f &.fM? f 6e p eterson f 6d com.....

 What sort of things do we worry about to achieve reliability?  How do we address these issues?  What is going on with these state machines?  Explain what happens if a packet is lost between sender and receiver Transport Layer 3-5

 What if an acknowledgement is lost?  Why do we need to pipeline packets?  What is RTT? MSS?  What is the difference between Go Back N and Selective Repeat?  How does TCP handle out of order packets?  How do we adjust the timeout value when doing TCP? Transport Layer 3-6

 What are send and receive buffers?  How does the protocol deal with these?  What are the sequence # and ack # fields used for?  What does the ACK bit mean?  What is a cumulative acknowledgement?  How does TCP adapt to changing network conditions? Transport Layer 3-7

 How does TCP determine the link capacity?  How is the window size managed?  Why does the fast retransmit wait for 3 duplicate acks instead of 2?  How do we avoid overwhelming a slow program with data?  What is the “SYN” bit?  What is the 3-way handshake? Transport Layer 3-8

Scenarios: Attacker is in the “middle” with packets passing through Attacker is able to sniff the packets and inject new ones into the stream Attacker is blind and doesn’t understand anything about the session Transport Layer 3-9

 The initial sequence number is chosen randomly so that a hostile packet can’t appear to be part of the communication stream.  It’s easy to send a packet that impersonates a random IP address – you just can’t get a reply Transport Layer 3-10

 Suppose someone injects a random bit of data into a session – what will happen? Transport Layer 3-11

Transport Layer a ec a7 a2 d Z.... #.....E b e 06 7c d5 81 aa d7 1e c0 | b f 13 b1 61 3d 07 ac F..P..d...a=..P b 94 8b b e e c 6f......g. SYN flo f d 0a e od).. 2. Predic e f t the ne xt SEQ o e f 6d d f X in s ome way a e e e. 3. Se nd a SYN f 6d d 3e from A -> X (sp f 6f f 6d d 0a 20 oofed fr om T).. 00a e c e wait, and se 00b0 6e e 7c b f nd a SYN |ACK fro 00c0 6d d 3e f 6f m A -> X (spoofe See )..