Top Banner
Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang
24

Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Detecting Traffic Differentiation in Backbone ISPs with

NetPolice

Ying ZhangZhuoqing Morley Mao

Ming Zhang

Page 2: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

CONTENTS

• INTRODUCTION• TRAFFIC DIFFRENTIATION• METHODLOGY• IMPLEMENTATION• REDUCING NOISE EFFECTS• EXPERIMENTAL RESULTS• SYSTEM EVALUATION• CONCLUSION

Page 3: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

INTRODUCTION

• AIM:In this paper, we consider the problem of detecting traffic differentiation in backbone ISPs.

• PURPOSE:The ability to detect traffic differentiation enables customers to develop appropriate strategies for improving their application performance.

Page 4: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

INTRODUCTION …contd

• CHALLENGES:To build such a system, we face two key challenges:

i) Unlike in the case of broadband ISPs, most end hosts are not directly connected to backbone ISPs. We need to intelligently select probing destinations to cover the relevant internal paths of backbone ISPs while complying with the requirement of limited network and CPU resources on end hosts;

ii) Measurement data taken from end host is susceptible to various types of noise on the host or in the network. We need to ensure our detection results are not distorted by noise.

Page 5: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

TRAFFIC DIFFERENTIATION

ISP may provide differentiated services based on:

1. Application type2. Routing

information3. Availability of

resources.

Page 6: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

TRAFFIC DIFFERENTIATION …contd

Page 7: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY

NetPolice detects traffic differentiation inside a particular ISP by launching probes from a distributed set of end systems. For this purpose, we have to decide on:

• PATH SELECTION.• LOSS RATE MEASUREMENT .• DIFFERENTIATION SELECTION.

Page 8: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY ….contd

PATH SELECTION:

Page 9: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY ….contd

PATH SELECTION PROBLEMS:

Given a target ISP, a list of probing sources, and all the destination prefixes on the Internet, a naive approach is to probe all the prefixes from all the sources. This may lead to both wasteful probes that do not traverse the target ISP and redundant probes that traverse the same internal paths multiple times.

SOLUTION:

1. Each three-tuple (src, ingress, egress) is traversed at least R times by probes to different destinations.

2. Each three-tuple (ingress, egress, dst) is traversed at least R times by probes from different sources;

3. A probing source does not send more than m probes.

Page 10: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY ….contd

LOSS RATE MEASUREMENT:

NetPolice measures loss rate in order to detect differentiation schemes based on rate-limiting in backbone ISPs.

NetPolice measures the loss rate as follows:

1. To reduce probing overhead, NetPolice only probes the hops that map to an ingress or an egress of a target ISP instead of all the hops along the path, given that we are only interested in detecting differentiation inside the ISP.

2. To measure the loss rate to a particular hop, NetPolice sends probe packets with pre-computed TTL (Time-to-Live) value which will trigger ICMP time exceeded response from that hop.

Finally, we subtract the measured loss rate of the ingress from that of the egress to obtain the loss rate of the internal path.

Page 11: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY ….contd

To detect content-based differentiation, we measure loss rate of an internal path using different application traffic. We select five representative applications with distinct QoS (Quality of Service) requirements:

• HTTP (default port 80), • BitTorrent (P2P file sharing,port 6881), • SMTP (email, port 25), • PPLive (video streaming, port 4004), • and VoIP (port 5060).

Page 12: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

METHODOLOGY ….contd

DIFFERENTIATION DETECTION:

• NetPolice detects differentiation by observing the performance differences measured along the same ISP internal path using different types of probe traffic.

• We also take a sufficiently large number of loss rate measurements to ensure that the observed performance differences accurately reflect how an ISP treats different types of Traffic.

Page 13: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

IMPLEMENTATION

NetPolice has 3 major components:

• Path Selector.• Probers.• Differentiation Detector.

Page 14: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

IMPLEMENTATION …contd

Page 15: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

How to Traceroute Effectively

• CPU utilization affects results

• Only use data when load average < 65%

Page 16: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

How to Traceroute Effectively

• Routers might drop our probes if we send too fast

• Probe interval = 1 sec

Page 17: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

How to Traceroute Effectively

• We might inadvertently measure reverse-path loss

• Increase probe size : response size ratio– Probe length = 1000 bytes

Page 18: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

How to Traceroute Effectively

• Paths with high loss rate could have inflated reverse path losses

• Filter out data over lossy paths (6%)

Page 19: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Experiments

• Content-based differentiation– 4 of 18 ISPs

• Routing-based differentiation– 10 of 18 ISPs

• TOS correlation• Other factors… e.g. load• Proof-of-concept implementation on a router– It’s possible to do this differentiation…

Page 20: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Content-based differentiation

• Observed differentiation

• Validation with two-ended controlled probing– Low error between one-ended versus control

Page 21: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Routing-based differentiation

• 7 of 10 ISPs give customers’ traffic higher priority

Page 22: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

TOS correlation

• Some ISPs use the TOS field– Small percent of pairs– Not applied to all routers in an ISP

Page 23: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Impact of load

• Loss rate: proxy forload

• See higherincidences ofcontent androutingdifferentiation

Page 24: Detecting Traffic Differentiation in Backbone ISPs with NetPolice Ying Zhang Zhuoqing Morley Mao Ming Zhang.

Conclusion

• Our system shows that ISPs do content- and routing-based differentiation– Load is a factor

• Future work– include delay in addition to loss rate