university of massachusetts, amherst 1 on the evaluation of as relationship inferences jianhong xia...

17
1 University of Massachusetts, Amherst On the Evaluation of AS On the Evaluation of AS Relationship Inferences Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer Engineering University of Massachusetts, Amherst MA 01003, USA Email: {jxia, lgao}@ecs.umass.edu

Post on 22-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

1University of Massachusetts, Amherst

On the Evaluation of AS On the Evaluation of AS Relationship InferencesRelationship Inferences

Jianhong Xia and Lixin Gao

Department of Electrical and Computer Engineering

University of Massachusetts, Amherst

MA 01003, USA

Email: {jxia, lgao}@ecs.umass.edu

Page 2: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

2University of Massachusetts, Amherst

IntroductionIntroduction

• The Internet consists of thousands of distinct regions of administrative domains– Autonomous Systems (ASes)

• Border Gateway Protocol (BGP)• Typical commercial agreements

– One ISP pays another for transit services: Provider-customer

– Exchange traffic between customers: Peer-Peer

– Mutual transit agreement: Sibling-Sibling

Page 3: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

3University of Massachusetts, Amherst

AS Relationship and Valley-Free PathsAS Relationship and Valley-Free Paths

• Focus on Provider-Customer and Peer-Peer

• Pattern of AS paths in routing tables– Valley-Free: uphill and downhill

AS5

AS3

AS6

AS1 AS2

AS4

AS7Provider-Customer

Peer-to-Peer

Page 4: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

4University of Massachusetts, Amherst

MotivationMotivation

• Why AS relationship is important?– Connectivity Reachability– Load balancing and traffic engineering– Overlay Routing

• Why accuracy of AS relationship is important?– Congestion avoidance– Place proxy server in Content Distribution Network– The more accurate, the better

• Our work:– Evaluate existing algorithms on inferring AS relationships– Improve the accuracy of AS relationship inferences

Page 5: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

5University of Massachusetts, Amherst

Evaluating AS Relationship InferencesEvaluating AS Relationship Inferences

• Challenge: – Infeasible to obtain entire relationships from all

ISPs.

• Our approach:– Obtain partial AS relationships from the public

Internet Routing Registry(IRR) databases.• Usages of BGP community attribute

• AS-SET objects in IRR databases

• Routing Policies in IRR databases

Page 6: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

6University of Massachusetts, Amherst

Methodology on Obtaining Methodology on Obtaining Partial AS RelationshipsPartial AS Relationships

• BGP Community: several ASes share common property.– Same geographic location– Same interconnection points– Same commercial agreements

• AS-SET object: A set of ASes that are customers or providers

as-set: AS4736:AS-CUSTOMERSdescr: Provides Transit to these ASesmembers: AS4736, AS10023, … …

• Routing Policies

Page 7: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

7University of Massachusetts, Amherst

Obtained Partial AS RelationshipsObtained Partial AS Relationships

• Number of partial AS relationships (Sample)

• Sample size and sample bias– 14% of total AS pairs (around 36000)– 24% of samples are peer-to-peer relationships– Covers 3616 Ases– Remove out of date information

• We believe it is a good sample for our study

Partial AS relationships 4886

Provider-Customer Relationships 3717 (76%)

Peer-Peer Relationships 1169 (24%)

Page 8: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

8University of Massachusetts, Amherst

Evaluating Existing Algorithms:Evaluating Existing Algorithms:Accuracy on Relationship TypeAccuracy on Relationship Type

• AS relationship inferences on 07/10/2003

LG: proposed by L. GaoSARK: proposed by L. Subramanian, S. Agarwal, J. Rexford, , and R. H. Katz.

Algorithm LG SARK

Overlapping sample size 2802 2821

Accuracy of P-C Relationships 99.13% 98.35%

Accuracy of P-P Relationships 49.08% 24.63%

Overall Accuracy 94.25% 91.24%

samplesour in ipsrelationsh of #

correctly inferred inferences of # Accuracy

Page 9: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

9University of Massachusetts, Amherst

Evaluating Existing Algorithms:Evaluating Existing Algorithms:Accuracy on Size of ASesAccuracy on Size of ASes

• Use AS degree to measure its size

• Accuracy on size of ASes is not consistent

Page 10: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

10University of Massachusetts, Amherst

Implications and ExplanationsImplications and Explanations

• Two implications– Accuracy on Peer-to-Peer relationships is poor– Accuracy on various size of ASes is not consistent

• Possible reasons:– Transient misconfigurations

• cause temporary AS paths

– Policy misconfigurations • non-valley-free paths

– Special routing policy between ISPs • non-valley-free paths

• Can we make use of partial AS relationship as prior information to improve the algorithms?

Page 11: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

11University of Massachusetts, Amherst

Inferring AS Relationships Inferring AS Relationships with Partial Informationwith Partial Information

• PTE: Inferring AS relationships given partial information • Algorithm

– Using partial information to filter non-valley-free AS paths

– Using valley-free property to infer more AS relationships– Using LG algorithm to infer remaining AS relationships

a

b c d e

f

Non-valley-free patha

b

c de

f

Inferring a is customer of b

Page 12: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

12University of Massachusetts, Amherst

Additional HeuristicsAdditional Heuristics

• Get more complete view of AS paths from multiple vantage points

• Filter possible transient AS paths

• Eliminate cycles in AS relationship inferences

Page 13: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

13University of Massachusetts, Amherst

AS Relationship Inferences of PTE AS Relationship Inferences of PTE

• Data Sources: routing tables on 07/10/2003– 12 tables from Oregon Route Views– 3 tables from RIPE RRC00

Relationships LG SARK PTE

Total AS Pairs 34863 35777 35583

Provider-Customer Relationships 90.44% 95.96% 85.31%

Peer-to-Peer Relationships 8.23% 4.04% 14.38%

Sibling-to-Sibling Relationships 1.33% -- 0.31%

Page 14: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

14University of Massachusetts, Amherst

Evaluating PTE Algorithm:Evaluating PTE Algorithm:Accuracy on Relationship TypesAccuracy on Relationship Types

• Select 20% of overlapping samples as input for PTE

– Evaluate inferences using remaining 80% of overlapping samples

– Evaluate inferences using 100% overlapping samples

Algorithms LG SARK PTE(100%) PTE(80%)

Overlapping sample size 2802 2821 2818 2254

Accuracy of P-C Relationships 99.13% 98.35% 96.92% 96.14%

Accuracy of P-P Relationships 49.08% 24.63% 91.45% 89.33%

Overall Accuracy 94.25% 91.24% 96.37% 95.46%

Page 15: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

15University of Massachusetts, Amherst

Evaluating PTE Algorithm:Evaluating PTE Algorithm:Accuracy on Size of ASesAccuracy on Size of ASes

• Consistent on various size of ASes– PTE outperforms LG and SARK

Page 16: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

16University of Massachusetts, Amherst

ConclusionsConclusions

• Obtaining partial AS relationships• Evaluating existing algorithms

– Accuracy on Peer-to-Peer inferences is about 25~50%

– Accuracy on various size of AS is not consistent

• PTE outperforms existing algorithms– Accuracy on peer-to-peer inferences is 91.45%

– Accuracy on various size of AS is consistent

– Small partial information help us to improve the accuracy on AS relationship inferences

Page 17: University of Massachusetts, Amherst 1 On the Evaluation of AS Relationship Inferences Jianhong Xia and Lixin Gao Department of Electrical and Computer

17University of Massachusetts, Amherst

Questions?Questions?