Re-ECN: Adding Accountability for Causing Congestion to TCP/IP Bob Briscoe, BT & UCL Arnaud Jacquet, BT Alessandro Salvatori, BT IETF-64 tsvwg Nov 2005.

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

Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp draft-briscoe-tsvwg-re-ecn-tcp Bob Briscoe, BT & UCL Arnaud.
Philip Eardley, Bob Briscoe, Dave Songhurst - BT Francois Le Faucheur, Anna Charny, Vassilis Liatsos – Cisco Kwok-Ho Chan, Joe Babiarz, Stephen Dudley.
Philip Eardley, Bob Briscoe, Dave Songhurst - BT Research Francois Le Faucheur, Anna Charny – Cisco Kwok-Ho Chan, Joe Babiarz - Nortel IETF-64 tsvwg Nov.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Policing congestion response in an internetwork using re-feedback Bob Briscoe 1,2 Arnaud Jacquet 1, Carla Di Cairano- Gilfedder 1, Alessandro Salvatori.
Usage cases for Congestion Accounting Bob Briscoe Chief Researcher, BT Oct 2009 This work is partly funded by Trilogy, a research project supported by.
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.
RSVP/Diffserv Yoram Bernet - Microsoft Raj Yavatkar - Intel.
An open ECN service in the IP layer 19 Mar 2001 Bob Briscoe, BT & UCL Jon Crowcroft, UCL M3I - Market Managed Multi-service Internet IST Project No
ConEx Abstract Protocol What’s the Credit marking for? draft-mathis-conex-abstract-mech-00.txt draft-mathis-conex-abstract-mech-00.txt apologies from Bob.
Explicit Congestion Notification (ECN) RFC 3168 Justin Yackoski DEGAS Networking Group CISC856 – TCP/IP Thanks to Namratha Hundigopal.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
MPLS and Traffic Engineering
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
DoS-resistant Internet - progress Bob Briscoe Jun 2005.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
A broadband incentive solution re-feedback Bob Briscoe, BT Research Nov 2005 CFP broadband incentives w-g.
Whither Congestion Control? Sally Floyd E2ERG, July
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
M3UA Patrick Sharp.
Tunnelling of Explicit Congestion Notification draft-briscoe-tsvwg-ecn-tunnel-08.txt draft-briscoe-tsvwg-ecn-tunnel-08.txt Bob Briscoe, BT IETF-77 tsvwg.
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::
Interconnect QoS business requirements Bob Briscoe BT Group CTO.
University of the Western Cape Chapter 12: The Transport Layer.
Datagram Congestion Control Protocol
PCN WG (Pre-Congestion Notification) – a brief status update Philip Eardley, BT TSVAREA, IETF-73 Minneapolis 18 Nov 08
Congestion marking for low delay (& admission control) Bob Briscoe BT Research Mar 2005.
Controlling Internet Quality with Price Market Managed Multiservice Internet Bob Briscoe BT Research, Edge Lab, University College London & M3I Technical.
Pushing Packet Processing to the Edge Scheduling in Optics is the Wrong Answer for Fine-Grained Resource Sharing Bob Briscoe Chief Researcher, BT Group.
1 Countering DoS Through Filtering Omar Bashir Communications Enabling Technologies
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.
Re’Arch 2008 Policing Freedom… to use the Internet Resource Pool Arnaud.Jacquet, Bob.Briscoe, Toby.Moncaster December
Real-time Flow Management 2 BOF: Remote Packet Capture Extensions Jürgen Quittek NEC Europe Ltd, Heidelberg, Germany Georg Carle GMD.
Quick-Start for TCP and IP draft-ietf-tsvwg-quickstart-01.txt A.Jain, S. Floyd, M. Allman, and P. Sarolahti TSVWG, November 2005 This and earlier presentations::
Social & Economic Control of Networks Bob Briscoe Chief Researcher BT Networks Research Centre Jul 2007.
Congestion exposure BoF candidate protocol: re-ECN Bob Briscoe Chief Researcher, BT Nov 2009 This work is partly funded by Trilogy, a research project.
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP Bob Briscoe, BT & UCL Arnaud Jacquet, BT Alessandro Salvatori, BT IETF-65 tsvwg Mar 2006.
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.
Byte and Packet Congestion Notification draft-ietf-tsvwg-byte-pkt-congest-00.txt draft-ietf-tsvwg-byte-pkt-congest-00.txt Bob Briscoe, BT & UCL IETF-73.
Tunnelling of Explicit Congestion Notification draft-briscoe-tsvwg-ecn-tunnel-02.txt draft-briscoe-tsvwg-ecn-tunnel-02.txt Bob Briscoe, BT IETF-74 tsvwg.
Downstream knowledge upstream re-feedback Bob Briscoe Arnaud Jacquet, Carla Di Cairano- Gilfedder, Andrea Soppera & Martin Koyabe BT Research.
QoS interconnect best without effort Bob Briscoe Chief Researcher BT Sep 2009 This work is partly funded by Trilogy, a research project supported by the.
Guaranteed QoS Synthesiser (GQS) Bob Briscoe, Peter Hovell BT Research Jan 2005.
1 Note Well Any submission to the IETF intended by the Contributor for publication as all or part of an IETF Internet-Draft or RFC and any statement made.
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP Bob Briscoe, BT & UCL Arnaud Jacquet, BT Alessandro Salvatori, BT CRN DoS w-g, Apr 2006.
CONEX BoF. Welcome to CONEX! Chairs: –Leslie Daigle –Philip Eardley Scribe Note well.
Making stuff real re-feedback Bob Briscoe, BT Research Nov 2005 CRN DoS resistant Internet w-g.
Solving this Internet resource sharing problem... and the next, and the next Bob Briscoe Chief Researcher BT Group (& UCL) Lou Burness, Toby Moncaster,
Network Performance Isolation in Data Centres using Congestion Policing draft-briscoe-conex-data-centre-01.txt draft-briscoe-conex-data-centre-01.txt Bob.
Update on the IETF Diffserv Working Group NANOG 13 Detroit, MI June 8, 1998 Kathleen M. Nichols
1 Note Well Any submission to the IETF intended by the Contributor for publication as all or part of an IETF Internet-Draft or RFC and any statement made.
Support for ECN and PCN in MPLS networks draft-davie-ecn-mpls-00.txt Bruce Davie Cisco Systems Bob Briscoe June Tay BT Research.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-02.txt draft-briscoe-tsvwg-byte-pkt-mark-02.txt Bob Briscoe, BT & UCL IETF-71.
Generic Aggregation of Resource Reservation Protocol (RSVP) for IPv4 and IPv6 Reservation over PCN domains Georgios Karagiannis, Anurag Bhargava draft-karagiannis-pcn-tsvwg-rsvp-pcn-01.
Congestion Notification Process for Real-Time Traffic draft-babiarz-tsvwg-rtecn-04.txt Jozef Babiarz Kwok Ho Chan
K. Salah1 Security Protocols in the Internet IPSec.
Philip Eardley, Bob Briscoe, Dave Songhurst - BT Francois Le Faucheur, Anna Charny, Vassilis Liatsos – Cisco Kwok-Ho Chan, Joe Babiarz, Stephen Dudley.
Layered Encapsulation of Congestion Notification draft-briscoe-tsvwg-ecn-tunnel-01.txt draft-briscoe-tsvwg-ecn-tunnel-01.txt Bob Briscoe, BT IETF-72 tsvwg.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Support for ECN and PCN in MPLS networks
Internet Networking recitation #9
Inter domain signaling protocol
Bob Briscoe, BT IETF-72 tsvwg Jul 2008
CONEX BoF.
Internet Networking recitation #10
ECN Experimentation draft-black-ecn-experimentation
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
Presentation transcript:

Re-ECN: Adding Accountability for Causing Congestion to TCP/IP Bob Briscoe, BT & UCL Arnaud Jacquet, BT Alessandro Salvatori, BT IETF-64 tsvwg Nov 2005

wider problem statement (§1) conservative networks might want to throttle if unresponsive to congestion (VoIP, video, DDoS) middle ground might want to cap congestion caused per user (e.g. 24x7 heavy sources) liberal networks open access, no restrictions evolution of hi-speed/different congestion control,... new worms many believe Internet is broken not IETF role to pre-judge which is right answer to these socio-economic issues Internet needs all these answers – balance to be determined by natural selection ‘do-nothing’ doesn’t maintain liberal status quo, we just get more walls re-ECN goals just enough support for conservative policies without breaking ‘net neutrality’ manage evolution of new congestion control, even for liberal → conservative flows networks experience the cost of congestion they allow to be caused in other nets the problem: accountability for causing congestion main concern non-compliance with e2e congestion control (e.g. TCP-friendly)? how can ingress netwk detect whole path congestion? police cc? not just per-flow congestion response smaller: per-packet –single datagram ‘flows’ bigger: per-user –a congestion metric so users can be held accountable –24x7 heavy sources of congestion, DDoS from zombie hosts even bigger: per-network –a metric for holding upstream networks accountable if they allow their users to congest downstream networks controversial flashback (Nov 05)

...specific link & tunnel (non-)issues re-ECN in IP (default for all DSCPs)... border policing for admission control accountability/control/policing (e2e QoS, DDoS damping, cong’n ctrl policing) doc roadmap Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-01 intent §3: overview in TCP/IP §4: in TCP & othersstds §5: in IP §6: accountability appsinform’l Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-01 intent §3: overview in TCP/IP §4: in TCP & othersstds §5: in IP §6: accountability appsinform’l netwk host cc netwk cc link would update ECN RFC3168RFC3168 would update ECN RFC3168RFC3168 Emulating Border Flow Policing using Re-ECN on Bulk Data draft-briscoe-tsvwg- re-ecn-border-cheat-00 intent implementation & application at edge gateways & bordersinform’l Emulating Border Flow Policing using Re-ECN on Bulk Data draft-briscoe-tsvwg- re-ecn-border-cheat-00 intent implementation & application at edge gateways & bordersinform’l RSVP Extensions for Admission Control over Diffserv using Pre-congestion Notification draft-lefaucheur-rsvp-ecn-00 intent adds congestion f/b to RSVPstds RSVP Extensions for Admission Control over Diffserv using Pre-congestion Notification draft-lefaucheur-rsvp-ecn-00 intent adds congestion f/b to RSVPstds dynamicsluggish... ECN cc in edge-edge signalling (RSVP/NSLP) ECN cc in DCCP ECN cc in apps over UDP re-ECN in TCP hi speed cc

completely updated draft-01 Re-ECN: Adding Accountability for Causing Congestion to TCP/IP IETF-64 Vancouver Nov 05 initial draft, intent then: –hold ECN nonce (RFC3540) at experimentalRFC3540 –get you excited enough to read it, and break it thanks to reviewers (on and off-list); you broke it (co-author had noticed flaw too) another flaw just come in (off-list), widens to a family of attacks - simple fix worked out now updated draft: draft-briscoe-tsvwg-re-ecn-tcp-01.txtdraft-briscoe-tsvwg-re-ecn-tcp-01.txt other formats: ultimate intent: standards track (hope for working group draft soon) immediate intent:re-ECN worth using last reserved bit in IP v4? status: complete re-write (same structure, new wire protocol) detailed protocol spec and apps sections complete 65pp just starting implementation/simulation context controversial

you MUST do this you may not do this logically consistent statements build-time compliance usual standards comp- liance language (§2) run-time compliance incentives, penalties (§6 throttling, dropping, charging) hook in datagram service so incentive mechanisms can make run-time compliance advantageous to all except the selfish and malicious controversial incentive framework (user-network) NANA NBNB NDND R1R1 S1S1 packets carry view of downstream path congestion to each router so ingress can police rate response –using path congestion declared by sender won’t snd or rcv just understate congestion? no – egress drops negative balance ECT(1) 3% code-point rate 0% re-ECN 3% ECT(0) CE 3% policer dropper 2% flashback (Nov 05)

Diffserv ECN RERE changed re-ECN wire protocol in IPv4 (§3) propose Re-ECN Extension (RE) flag for IPv4: propose to use bit 48 (was reserved): set by sender, unchanged e2e MUST NOT deploy before standardised 3-bit extended ECN field (non-contiguous) once flow established sender re-inserts ECN feedback into forward data: “re-ECN” re-ECN sender always sets ECT(1) on every congestion event from transport (e.g. TCP) senderblanks RE elsesets RE conceptually, ‘ worth ’ of packet depends on 3 bit codepoint aim for zero balance of worth in flow protocol RE ECN ECT(1) 01 CE 11 sender (credit) unchanged ECN marking router (debit) worth controversial

flow bootstrap feedback not established ( FNE ) codepoint, RE=1, ECN=00 sent when don’t know which way to set RE flag, due to lack of feedback ‘worth’ +1, so builds up credit when sent at flow start future-proofs IP, if short flows or single datagrams dominate traffic mix opposite to feedback established (FE) flag [draft-00] FNE is ‘soft-state set-up codepoint’ (idempotent), to be precise after idle >1sec, next packet MUST be FNE enables deterministic flow state mgmt (policers, droppers, firewalls, servers) FNE packets are ECN-capable routers MAY ECN mark, rather than drop strong condition on deployment (see draft) also serves as state setup bit [Clark, Handley & Greenhalgh] protocol-independent identification of flow state set-up for servers, firewalls, tag switching, etc don’t create state if not set may drop packet if not set but matching state not found firewalls can permit protocol evolution without knowing semantics some validation of encrypted traffic, independent of transport can limit outgoing rate of state setup planned I-D: state-setup codepoint independent of, but compatible with, re- ECN controversial

extended ECN codepoints: summary and new Feedback-Established (FE) flag extra semantics backward compatible with previous ECN codepoint semantics ECN code- point standard ECN codepoint RE flag Extended ECN codepoint re-ECN meaning`worth’ 00not-ECT 0Not-RECT Not re-ECN capable transport 1FNE Feedback not established +1 01ECT(1) 0Re-Echo Re-echo congestion event +1 1RECT Re-ECN capable transport 0 10ECT(0) 0--- ‘Legacy’ ECN use 1--CU-- Currently unused 11CE 0CE(0) Congestion experienced with Re-Echo 0 1CE(-1) Congestion experienced protocol

re-ECN in TCP (§4) updated still sender changes REQUIRED, receiver OPTIONAL flow start now fully spec ’ d (incl. example session) goal: all packets can be ECN capable can now allow ECN capable SYN (and SYN ACK) –with a strong deployment condition (see draft) pure ACKs, re-transmissions, window probes: still Not-ECT protocol controversial

other changes in draft (27pp → 65pp) easter egg added :) network layer (§5) OPTIONAL router forwarding changes added –preferential drop: improves robustness against DDoS –ECN marking not drop of FNE control and management section added accountability/policing applications described (§6) incentive framework fully described –example ingress policers & egress dropper described –pseudo-code TBA DDoS mitigation explained why it enables simpler ways to do e2e QoS, traffic engineering, inter-domain SLAs (still ref’d out) incremental deployment (§7) → next slide architectural rationale added (§8) security considerations added (§10) → next slide but one controversial

added incremental deployment (§7: 5½pp) brings together reasoning for wire protocol choices added deployment scenarios & incentives everyone who needs to act, must have strong incentive to act and incentives must arise in the order of required deployment main new messages first step to break ECN deployment deadlock –edge-edge PCN for end-to-end controlled load (CL) QoS next step: greed and fear motivators –help TCP (naively friendly) against greedy (streaming) apps –probably vertically integrated (conservative) operators first –3GPP devices leak deployment to other networks by roaming unilateral deployment per network {ToDo: add picture} deployment controversial

added re-ECN security considerations ( §10 ) egress dropper –robust against attack that plays-off against ingress policing –robust against state exhaustion attacks (by design of FNE ) –write-up of state aggregation implementation TBA –believe new protocol allows dropper to be robust against dynamic attacks working on preventing collateral damage where malicious source spoofs negative traffic like someone else’s flow see also limitations added (§6.3) – presented in Vancouver tsvwg posting “traffic ticketing considered ineffective or harmful” (26 Jan ‘06) security of re-ECN deliberately designed not to rely on crypto provoking you to break re-ECN evaluation controversial

summary {ToDo:} accountability for congestion long-standing weakness of the Internet architecture re-ECN appears to be a simple architectural fix in 1.5 bits main weakness with binary marking is attack detection speed request that ECN nonce is held as experimental nonce only useful if sender polices receiver on behalf of network re-ECN allows networks to police both sender and receiver and each other re-ECN offers other accountability uses but community needs time to assess makes ECN deployment more likely change tied to new capabilities/products not just performance enhancement evaluation

plans in IETF {ToDo:} finish re-ECN draft currently the text runs out after the TCP/IPv4 protocol spec re-TTL draft informational draft on security applications, incl performance we strongly encourage review on the tsvwg list changing IPv4 header isn’t a task I’ve taken on lightly evaluation

Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-01.txt draft-briscoe-tsvwg-re-ecn-tcp-01.txt Q&A

intro path congestion typically at both edges congestion risk highest in access nets cost economics of fan-out but small risk in cores/backbones failures, anomalous demand 00 bandwidth cost, C £/bps aggregate pipe bandwidth, B /bps C  1  B NANA NBNB NDND R1R1 S1S1

17 previous re-ECN protocol (IP layer) and new Feedback-Established (FE) flag sender re-inserts congestion feedback into forward data: “re-feedback” on every Echo-CE from transport (e.g. TCP) sendersets ECT(0) elsesets ECT(1) ECN code- point standard designation 00not-ECT 10ECT(0) 01ECT(1) 11CE protocol IPv4 control flags FEDFMF

18 0% re-ECN rate, v i 3% v i  ECT(0) – CE re-ECN (sketch) on every Echo-CE from TCP, sender sets ECT(0), else sets ECT(1) at any point on path, diff betw rates of ECT(0) & CE is downstream congestion routers unchanged ECT(1) 0 …i… n 3% code-point rate resource index 3% 97% ECT(0) CE Echo-CE in TCP protocol 3% NANA NBNB NDND R1R1 S1S1 2.6% 0.4% CE RE ECN ECT(1) 01 CE 11 worth

19 accountability for congestion other applications congestion-history-based policer (congestion cap) throttles causes of past heavy congestion (zombies, 24x7 p2p) DDoS mitigation QoS & DCCP profile flexibility ingress can unilaterally allow different rate responses to congestion load sharing, traffic engineering multipath routers can compare downstream congestion bulk metric for inter-domain SLAs or charges bulk volume of ECT(0) less bulk volume of CE upstream networks that do nothing about policing, DoS, zombies etc will break SLA or get charged more security aps £ £ 0% re-ECN, v i 3% NANA NBNB NDND R1R1 S1S1

£ £ inter-domain accountability for congestion metric for inter-domain SLAs or charges bulk volume of ECT(0)less bulk volume of CE measure of downstream congestion allowed by upstream nets volume charging tries to do this, but badly aggregates and deaggregates precisely to responsible networks upstream networks that do nothing about policing, DoS, zombies break SLA or get charged more 0% re-ECN, v i 3% NANA NBNB NDND R1R1 S1S1 2.6% 2.1% security aps

congestion competition – inter-domain routing if congestion → profit for a network, why not fake it? upstream networks will route round more highly congested paths N A can see relative costs of paths to R 1 thru N B & N C the issue of monopoly paths incentivise new provision collusion issues require market regulation NANA NBNB NCNC NDND R1R1 S1S1 ? down- stream route cost, Q i resource sequence index, i faked congestio n ? routin g choice

BT IPR related to draft-briscoe-tsvwg-re-ecn-tcp-00.txt draft-briscoe-tsvwg-re-ecn-tcp-00.txt See IPR declaration at which overrides this slide if there is any conflict 1)WO 2005/ Mar 2004published 2)WO 2005/ Mar 2004published 3)PCT/GB 2005/ May )GB (EP )31 Jan )GB (EP )07 Feb 2005 BT hereby grants a royalty-free licence under any patent claims contained in the patent(s) or patent application(s) disclosed above that would necessarily be infringed by implementation of the technology required by the relevant IETF specification ("Necessary Patent Claims") for the purpose of implementing such specification or for making, using, selling, distributing or otherwise lawfully dealing in products or services that include an implementation of such specification provided that any party wishing to be licensed under BT’s patent claims grants a licence on reciprocal terms under its own Necessary Patent Claims. context