Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp
Bob Briscoe, BT & UCL Arnaud Jacquet, Alessandro Salvatori & Martin Koyabe, BT IETF-66 tsvwg Jul 2006
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP - - PowerPoint PPT Presentation
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp Bob Briscoe , BT & UCL Arnaud Jacquet, Alessandro Salvatori & Martin Koyabe, BT IETF-66 tsvwg Jul 2006 updated draft 02 Re-ECN: Adding
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp
Bob Briscoe, BT & UCL Arnaud Jacquet, Alessandro Salvatori & Martin Koyabe, BT IETF-66 tsvwg Jul 2006
2
draft-briscoe-tsvwg-re-ecn-tcp-02.txt
standards track
re-ECN worth using last reserved bit in IP v4?
– hold ECN nonce (RFC3540) at experimental – get you excited enough to read it, and break it
–
– we’ve fixed it (changes to policing algorithms, not protocol)
– included in updated draft to assess necessity of IPv4 header change
3
... specific link & tunnel (non-)issues re-ECN in IP ...
border policing for admission control
accountability/control/policing
(e2e QoS, DDoS damping, cong’n ctrl policing)
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-02 intent §3: overview in TCP/IP §4: in TCP & other transports stds §5: in IP §6: accountability apps inform’l Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-02 intent §3: overview in TCP/IP §4: in TCP & other transports stds §5: in IP §6: accountability apps inform’l
netwk host cc netwk cc link
dynamic sluggish
...
QoS signalling (RSVP/NSLP)
UDP TCP DCCP
hi speed cc
4
re-ECN recap: solution statement (§1)
5
re-ECN in 1 slide
congestion experienced (CE) event by blanking new re-ECN extension (RE) flag in IP hdr
diff betw fractions of RE & CE is downstream congestion
Echo in TCP
CE 11 ECT(1) 01 RE ECN
1
+1 worth 0% re-ECN fraction, vi 3% vi ≈ ≈ ≈ ≈ RE – CE
…i… n
resource index
RE
NA NB R1 S1
2.6% 0.4%CE CE
S2
dropper policer interconnect penalties
unpoliced (liberal) network policed (conservative) network
3% 3%
R E E C N
Diff serv
IPv4 header
6
IPSec encryption and layered congestion notification (§5.7)
7
NA NB ND R1 S1 S2
bottleneck policing harmful to evolvability ...and bypass-able anyway
– if they could police accurately, new congestion control evolution would require per-flow authorisation from all policers on the path (cf. IntServ)
– even splitting flow across multiple intermediate hosts (or src address spoofing)
interface, irrespective of addressing
but no advantage to split IDs
NA NB ND R1 S1 S2
8
– no reason given in RFC3168 – arbitrary decision?
9
– even tho RE flag shouldn’t change en route (AH would just tell attackers which packets not to attack)
– e.g. to distinguish wireless loss and per-packet vs per-bit congestion
Hdr Ext Length Next Header
Reserved for future use
R E Option Length Option Type
...
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Option ID 1 0 0
10
which the sender used to re-echo congestion (+1); +1 – 1 = 0
but networks could cheat by focusing marking on +1 (see §B)
– should have specified this anyway, as both represent path congestion – also check proportion of cancelled to +1 packets same as -1 to neutral
CE 11 ECT(1) 01 RE ECN
1
+1 worth
neutral cancelled
11
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP
draft-briscoe-tsvwg-re-ecn-tcp-02
draft-briscoe-tsvwg-re-ecn-border-cheat
Bob Briscoe, BT & UCL IETF-66 tsvwg Jul 2006
14
using Re-ECN on Bulk Data
draft-briscoe-tsvwg-re-ecn-border-cheat-01
informational
claim we can now scale flow reservations to any size internetwork and prevent cheating
15
... specific link & tunnel (non-)issues re-ECN in IP ...
border policing for admission control
accountability/control/policing
(e2e QoS, DDoS damping, cong’n ctrl policing)
Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-02 intent §3: overview in TCP/IP §4: in TCP & others stds §5: in IP §6: accountability apps inform’l Re-ECN: Adding Accountability for Causing Congestion to TCP/IP draft-briscoe-tsvwg-re-ecn-tcp-02 intent §3: overview in TCP/IP §4: in TCP & others stds §5: in IP §6: accountability apps inform’l
netwk host cc netwk cc link
Emulating Border Flow Policing using Re-ECN on Bulk Data
draft-briscoe-tsvwg-re-ecn-border-cheat-01
intent: informational
Emulating Border Flow Policing using Re-ECN on Bulk Data
draft-briscoe-tsvwg-re-ecn-border-cheat-01
intent: informational
RSVP Extensions for Admission Control over Diffserv using Pre-congestion Notification draft-lefaucheur-rsvp-ecn-00 intent adds congestion f/b to RSVP stds RSVP Extensions for Admission Control over Diffserv using Pre-congestion Notification draft-lefaucheur-rsvp-ecn-00 intent adds congestion f/b to RSVP stds
dynamic sluggish
...
QoS signalling (RSVP/NSLP)
UDP TCP DCCP
hi speed cc
16
problem statement
– it has to check the neighbour actually has blocked the data
– it has to check for itself that the data rate fits within the reservation
if they also have to rate police flows
control span the Internet?
processing at borders?
ND
NA NC
1
ND(CL)
NA (CL) NC (CL)
1 1
congested why should I block flows?
17
re-ECN for
downstream congestion marking
in same proportion as fraction
proportion to bulk volume of RE less bulk volume of CE marked packets over, say, a month
3% Congestion Level Estimate in RSVP extension
CE 11 ECT(1) 01 RE ECN
1
+1 worth
0% downstream congestion 3% vi ≈ ≈ ≈ ≈ RE – CE
resource index
RE
NA NB ND EG1 IG1
2.6% 0.4%CE CE
bulk marking monitor 3% Re-Echo (black) into data
3%
18
ND NA NB NC
crossing same border
depends on accumulated volume of downstream congestion crossing border in (say) a month
feels the pain of congestion caused by all flows in all downstream nets (e.g. ND)
downstream congestion marking [%] bit rate large step implies highly congested link area = instantaneous downstream congestion
19
at typical load
little difference to marking
appear proportionate to its bit rate
load admission marking [%] (logically configured) capacity typical load admission threshold 100%
20
note well: not standardising contracts
business models
proportionate usage charge, etc.
flow-based business model they choose, as now
21
and CE, triggers sanctions
– raise mgmt alarm – sanction out of band
0% 2%
downstream congestion
≈ ≈ ≈ ≈ RE – CE
resource index
RE CE 3%
NA NB ND EG1 IG1
3%
2% Re-Echo (black) into data (understatement)
22
discourage dummy traffic
cross border [Salvatori] – offsets penalties from other positive traffic
crossing border by sampling
23
to any size internetwork and prevent cheating
draft-briscoe-tsvwg-re-ecn-border-cheating-01
25
path congestion typically at both edges
bandwidth cost, C £/bps aggregate pipe bandwidth, B /bps
C ∝ 1 √B NA NB ND R1 S1
26
you MUST do this you may not do this
– usual standards compliance language (§2)
– incentives, penalties (§6 throttling, dropping, charging)
27
codepoint semantics
Congestion experienced Congestion experienced with Re-Echo Currently unused ‘Legacy’ ECN use Re-ECN capable transport Re-echo congestion event Feedback not established Not re-ECN capable transport re-ECN meaning CE(-1) CE(0)
Re-Echo FNE Not-RECT Extended ECN codepoint 1 1 1 1 RE flag CE ECT(0) ECT(1) not-ECT ECN
[RFC3168]
codepoint
+1
11 10 01
+1
00 `worth’ ECN code- point
28
codepoint; RE=1, ECN=00
RE flag, due to lack of feedback
at flow start
next packet MUST be green
(policers, droppers, firewalls, servers)
draft)
[Clark, Handley & Greenhalgh]
state set-up
state not found
without knowing semantics
independent of transport
compatible with, re-ECN
(idempotent), to be precise
29
forward data: “re-feedback”
sender sets ECT(0) else sets ECT(1)
CE 11 ECT(1) 01 ECT(0) 10 not-ECT 00 standard designation ECN code- point DF MF FE IPv4 control flags
30
accountability for congestion
nothing about policing, DoS, zombies etc will break SLA or get charged more
£ £
0%
re-ECN, vi
3%
NA NB ND R1 S1
31
congestion competition – inter-domain routing
NA NB NC ND R1 S1
? down- stream route cost, Qi resource sequence index, i
faked congestion
?
routing choice