A Test To Allow TCP Senders to Identify Receiver Non-Compliance Toby Moncaster †, Bob Briscoe*, Arnaud Jacquet* † University of Cambridge * BT draft-moncaster-tcpm-rcv-cheat-03.

Slides:



Advertisements
Similar presentations
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-03 Bob Briscoe, BT & UCL Arnaud Jacquet, Alessandro Salvatori.
Advertisements

A Test To Allow TCP Senders to Identify Receiver Cheating Toby Moncaster, Bob Briscoe, Arnaud Jacquet BT PLC draft-moncaster-tcpm-rcv-cheat-00.txt Intended.
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
CCNA – Network Fundamentals
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking Assist. Prof.
Mirja Kühlewind Richard Scheffenegger tools.ietf.org/html/draft-kuehlewind-tcpm-accurate-ecn-02 tools.ietf.org/html/draft-kuehlewind-tcpm-accurate-ecn-option-01.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
1 Evaluating F-RTO (RFC 4138) Markku Kojo, Kazunori Yamamoto, Max Hata, Pasi Sarolahti Draft available at:
1 TCP CSE May TCP Services Flow control Connection establishment and termination Congestion control 2.
Explicit Congestion Notification (ECN) RFC 3168 Justin Yackoski DEGAS Networking Group CISC856 – TCP/IP Thanks to Namratha Hundigopal.
Explicit Congestion Notification (ECN) Qi (Gill) Wang CISC 856 – TCP/IP, Fall 2012 Special thanks to: Dr. Paul Amer Guna Ranjan, Justin.
IETF87 Berlin DCTCP implementation in FreeBSD
Internet Networking Spring 2003 Tutorial 12 Limited Transmit RFC 3042 Long Thin Networks RFC 2757.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
Leveraging Multiple Network Interfaces for Improved TCP Throughput Sridhar Machiraju SAHARA Retreat, June 10-12, 2002.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
3-1 Transport services and protocols r provide logical communication between app processes running on different hosts r transport protocols run in end.
HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Security Level: Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext.
Transport Layer 4 2: Transport Layer 4.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Chapter 5 Transport layer With special emphasis on Transmission Control Protocol (TCP)
1 Guidelines for Adding Congestion Notification to Protocols that Encapsulate IP draft-briscoe-tsvwg-ecn-encap-guidelines-01 Bob Briscoe IETF-85 Nov 2012.
Quick-Start for TCP and IP A.Jain, S. Floyd, M. Allman, and P. Sarolahti ICSI, April 2006 This and earlier presentations::
Adding Explicit Congestion Notification (ECN) Capability to TCP's SYN/ACK Packets A. Kuzmanovic, A. Mondal, S. Floyd, and K.K. Ramakrishnan draft-ietf-tcpm-ecnsyn-03.txt.
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
B 李奕德.  Abstract  Intro  ECN in DCTCP  TDCTCP  Performance evaluation  conclusion.
ConEx Concepts and Abstract Mechanism draft-mathis-conex-abstract-mech-00.txt draft-mathis-conex-abstract-mech-00.txt Matt Mathis, Google Bob Briscoe,
Datagram Congestion Control Protocol
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-01.txt draft-briscoe-tsvwg-byte-pkt-mark-01.txt Bob Briscoe, BT & UCL IETF-70.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-00.txt draft-briscoe-tsvwg-byte-pkt-mark-00.txt Bob Briscoe, BT & UCL IETF-69.
Congestion exposure BoF candidate protocol: re-ECN Bob Briscoe Chief Researcher, BT Nov 2009 This work is partly funded by Trilogy, a research project.
Tunnelling of Explicit Congestion Notification draft-briscoe-tsvwg-ecn-tunnel-03.txt draft-briscoe-tsvwg-ecn-tunnel-03.txt Bob Briscoe, BT IETF-75 saag.
Echo Cookie TCP Option Bob Briscoe Nov 2014 Bob Briscoe’s work is part-funded by the European Community under its Seventh Framework Programme through the.
Towards Adaptive Congestion Management for Interactive Real- Time Communications Dirk KutscherMirja KühlewindBob Briscoe IAB/IRTF Congestion Control Workshop.
Multipath TCP Signaling Options or Payload? Costin Raiciu
ConEx Concepts and Abstract Mechanism draft-ietf-conex-abstract-mech-01.txt draft-ietf-conex-abstract-mech-01.txt Matt Mathis, Google Bob Briscoe, BT IETF-80.
5. The Transport Layer 5.1 Role of Transport Layer It bridge the gab between applications and the network layer. Provides reliable cost-effective data.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
Initial ConEx Deployment Examples draft-briscoe-conex-initial-deploy-00.txt draft-briscoe-conex-initial-deploy-00.txt apologies from Bob Briscoe, BT presented.
Guidelines for Adding Congestion Notification to Protocols that Encapsulate IP (draft-ietf-tsvwg-ecn-encap-guidelines-04) Bob Briscoe (Simula Research.
1 Ad-hoc Transport Layer Protocol (ATCP) EECS 4215.
Ch23 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
draft-briscoe-tsvwg-l4s-arch-00 B. Briscoe, K. De Schepper, M. Bagnulo
Chapter 7: Transport Layer
Support for ECN and PCN in MPLS networks
Internet Networking recitation #9
Bob Briscoe Simula Research Laboratory
TCP Maintenance and Minor Extensions (TCPM) Working Group Status
Bob Briscoe, BT IETF-72 tsvwg Jul 2008
Bob Briscoe Simula Research Laboratory
Ad-hoc Transport Layer Protocol (ATCP)
draft-bagnulo-tcpm-generalized-ecn-00 M. Bagnulo & B. Briscoe IETF97
TCP Extended Option Space in the Payload of a Supplementary Segment
Dr. John P. Abraham Professor UTPA
Internet Networking recitation #10
ECN Experimentation draft-black-ecn-experimentation
Dr. John P. Abraham Professor UTPA
The problem with fragments in 6lo mesh networks
Course: CISC 856: TCP/IP and Upper Layer Protocols
ECN in QUIC - Questions Surfaced
Presentation transcript:

A Test To Allow TCP Senders to Identify Receiver Non-Compliance Toby Moncaster †, Bob Briscoe*, Arnaud Jacquet* † University of Cambridge * BT draft-moncaster-tcpm-rcv-cheat-03 Bob Briscoe’s work was part-funded by the European Community under its Seventh Framework Programme through the Reducing Internet Transport Latency (RITE) project ICT

Background and why come to IETF? ●TCP senders rely on accurate congestion feedback from receivers ●A strategising loss-insensitive, e.g. streaming, receiver can: ♦Send optimistic acks: fool a sender into increasing its rate ♦Conceal lost data segments: to avoid a congestion response ●These disrupt sharing of sender’s own resources & fool sender into using excess network resources by concealing congestion Solution is a simple test – draft-moncaster-tcpm-rcv-cheat ●Originally written in 2007 ♦parked for 6 years due to lack of interest/time ●New draft (-03) published July 2014 ♦Want to get community oversight of the proposed tests ♦Motivated by new interest in this area from large content providers ♦Also could free-up ECT(1) codepoint assigned to ECN Nonce expt ♦Have chosen to go to experimental track

Proposed solution ●Based on Sherwood’s Randomly Skipped Segments, but add initial stage to reduce impact on receivers [1] ●Key goal was to leverage existing TCP behaviour 1.Delay a segment by a small amount and check the responses SEQ S-1 S+1 S+2 S+3 S S+4 S+5 ACK S-1 (-) S-1 (S) S+3 (-) S+4 (-) S+5 (-) ●select segment S & displacement D (2 < D < K-2, K = current window)* ●Segment S transmitted after segment S+D ●Receiver should generate D dup acks * SACK allows longer gap but shorter reduces harm to receiver [1] K. Gao student project 2004: D

Proposed solution ●Based on Sherwood’s Randomly Skipped Segments, but we add initial stage to reduce impact on receivers ●Key goal was to leverage existing TCP behaviour 1.Delay a segment by a small amount and check the responses 2.Delay a segment until you have seen 3 dup-ACKs ●Hold back segment S* Transmit segment S after seeing 3 Dup ACKs for S-1 ●If you see any ACK for a segment >S then receiver has failed * perform pessimistic cong. response if no SACK SEQ S-1 S+1 S+2 S+3. R S ACK S-1. R SEQ S-1 S+1 S+2 S+3. FAIL ACK S-1 S+1 S+2.

Aims of the experiment ●Primary aims of experiment: ♦Establish whether this two-stage testing strategy works ♦Establish whether they cause any harm to other flows, and minimal harm to compliant receivers ●Secondary aim: ♦see if any receivers use these strategies ●Hope to get content providers to run these tests ♦Already identified one possible provider ♦Would love to hear from others ●Experiment would run for one year from adoption

Summary ●Strategising receivers skew a sender’s allocation of its own resources ●Receivers can fool the sender into giving excess network resources to the receiver, risking v high congestion ●This 2-stage test allows senders to identify such receivers ♦It causes minimal problems for honest receivers ♦It encourages compliant behaviour: The only way to avoid the first test carries a delay penalty Second test can’t be avoided ●Only requires modification of sender, so easy to implement

Next steps ●Get draft adopted by WG ●Considering extension to cover concealing ECN marks: ♦Easy to do if using AccECN ‘cos an introduced CE mark won’t conceal any real congestion for a whole round-trip ♦Harder with RFC3168 ECN, but possible (send a CE mark followed soon after by setting CWR) ♦Minimal impact on any actual congestion signal ●Large content provider interested in deploying this ♦Easier to convince it is safe with expert tcpm review ♦Implementation will be open source (initially FreeBSD)

draft-moncaster-tcpm-rcv-cheat-03.txt Questions?

Existing solutions ●Randomly skip segments – hold back a segment and transmit it once a duplicate acknowledgement is received ●Delayed Segments – from Kun Gao, CMU student. ●A transport layer nonce – add a specific nonce to the transport layer which has to be echoed back to the sender ●The ECN nonce* –receiver has to guess correct nonce sum (NS) [RFC3540] for any lost segment or optimistic ack *experimental and only for ECN-capable transports Skip SegDelay segECN nonceTCP nonce Doesn’t interfere with CC Utilise existing features xx Receiver plays passive role xx No negotiable TCP optionsx xx Receiver unaware of testing n/a Able to prove non-compliance? x Doesn’t harm compliant rcvrx