Interdomain Routing and Games Michael Schapira Joint work with Hagay Levin and Aviv Zohar האוניברסיטה העברית בירושלים The Hebrew University of Jerusalem.

Slides:



Advertisements
Similar presentations
1 Incentive-Compatible Interdomain Routing Joan Feigenbaum Yale University Vijay Ramachandran Stevens Institute of Technology Michael Schapira The Hebrew.
Advertisements

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
This Segment: Computational game theory Lecture 1: Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie.
1 Incentive-Compatible Inter-Domain Routing Joan Feigenbaum Yale University Colloquium at Cornell University; October.
1 Robert Lychev Sharon GoldbergMichael Schapira Georgia Tech Boston University Hebrew University.
How Bad is Selfish Routing? By Tim Roughgarden Eva Tardos Presented by Alex Kogan.
Noam Nisan, Michael Schapira, Gregory Valiant, and Aviv Zohar.
Does BGP Solve the Shortest Paths Problem? Timothy G. Griffin Joint work with Bruce Shepherd and Gordon Wilfong Bell Laboratories, Lucent Technologies.
Part IV BGP Modeling. 2 BGP Is Not Guaranteed to Converge!  BGP is not guaranteed to converge to a stable routing. Policy inconsistencies can lead to.
Putting BGP on the Right Path: A Case for Next-Hop Routing Michael Schapira Joint work with Yaping Zhu and Jennifer Rexford (Princeton University)
1 Interdomain Routing and Games Hagay Levin, Michael Schapira and Aviv Zohar The Hebrew University.
A Computational Characterization of Multiagent Games with Fallacious Rewards Ariel D. Procaccia and Jeffrey S. Rosenschein.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
SCHOOL OF INFORMATION UNIVERSITY OF MICHIGAN si.umich.edu Searching for Stability in Interdomain Routing Rahul Sami (University of Michigan) Michael Schapira.
Towards a Logic for Wide-Area Internet Routing Nick Feamster and Hari Balakrishnan M.I.T. Computer Science and Artificial Intelligence Laboratory Kunal.
Announcement  Slides and reference materials available at  Slides and reference materials available.
Putting BGP on the Right Path: A Case for Next-Hop Routing Michael Schapira (Yale University and UC Berkeley) Joint work with Yaping Zhu and Jennifer Rexford.
Can Economic Incentives Make the ‘Net Work? Jennifer Rexford Princeton University
STABLE PATH PROBLEM Presented by: Sangeetha A. J. Based on The Stable Path Problem and Interdomain Routing Timothy G. Griffin, Bruce Shepherd, Gordon Wilfong.
Game Theoretic and Economic Perspectives on Interdomain Routing Michael Schapira Yale University and UC Berkeley.
1 Best-Reply Mechanisms Noam Nisan, Michael Schapira and Aviv Zohar.
BGP Safety with Spurious Updates Martin Suchara in collaboration with: Alex Fabrikant and Jennifer Rexford IEEE INFOCOM April 14, 2011.
Lecture 1 - Introduction 1.  Introduction to Game Theory  Basic Game Theory Examples  Strategic Games  More Game Theory Examples  Equilibrium  Mixed.
Distributed Multiagent Resource Allocation In Diminishing Marginal Return Domains Yoram Bachrach(Hebew University) Jeffrey S. Rosenschein (Hebrew University)
Tutorial 5 Safe Routing With BGP Based on: Internet.
Mechanism Design. Overview Incentives in teams (T. Groves (1973)) Algorithmic mechanism design (Nisan and Ronen (2000)) - Shortest Path - Task Scheduling.
Agent Technology for e-Commerce Chapter 10: Mechanism Design Maria Fasli
Beyond selfish routing: Network Formation Games. Network Formation Games NFGs model the various ways in which selfish agents might create/use networks.
Internet Networking Spring 2004 Tutorial 5 Safe “Peering Backup” Routing With BGP.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
On the Stability of Rational, Heterogeneous Interdomain Route Selection Hao Wang Yale University Joint work with Haiyong Xie, Y. Richard Yang, Avi Silberschatz,
Interdomain Routing as Social Choice Ronny R. Dakdouk, Semih Salihoglu, Hao Wang, Haiyong Xie, Yang Richard Yang Yale University IBC ’ 06.
Distributed Rational Decision Making Sections By Tibor Moldovan.
Interdomain Routing Establish routes between autonomous systems (ASes). Currently done with the Border Gateway Protocol (BGP). AT&T Qwest Comcast Verizon.
Near-Optimal Network Design with Selfish Agents By Elliot Anshelevich, Anirban Dasgupta, Eva Tardos, Tom Wexler STOC’03 Presented by Mustafa Suleyman CIFTCI.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
1 Mechanism Design for Interdomain Routing Rahul Sami Joint work with Joan Feigenbaum, David Karger, Vahab Mirrokni, Christos Papadimitriou, and Scott.
When is it Best to Best-Reply? Michael Schapira (Yale University and UC Berkeley) Joint work with Noam Nisan (Hebrew U), Gregory Valiant (UC Berkeley)
The Strategic Justification for BGP Hagay Levin, Michael Schapira, Aviv Zohar.
Mechanism Design Traditional Algorithmic Setting Mechanism Design Setting.
How Bad is Selfish Routing A survey on existing models for selfish routing Professor John Lui, David Yau and Dah-Ming Qiu presented by Joe W.J. Jiang
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research Joint work with Lixin Gao.
Game Dynamics Out of Sync Michael Schapira (Yale University and UC Berkeley) Joint work with Aaron D. Jaggard and Rebecca N. Wright.
Building a Strong Foundation for a Future Internet Jennifer Rexford ’91 Computer Science Department (and Electrical Engineering and the Center for IT Policy)
1 A BGP-based Mechanism for Lowest-Cost Routing Rahul Sami Yale University Joint work with: Joan Feigenbaum Yale Christos.
Egress Route Selection for Interdomain Traffic Engineering Design considerations beyond BGP.
9/15/2015CS622 - MIRO Presentation1 Wen Xu and Jennifer Rexford Department of Computer Science Princeton University Chuck Short CS622 Dr. C. Edward Chow.
CPS 173 Mechanism design Vincent Conitzer
How Secure are Secure Inter- Domain Routing Protocols? SIGCOMM 2010 Presenter: kcir.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Best Reply Mechanisms Justin Thaler and Victor Shnayder.
ACM SIGACT News Distributed Computing Column 9 Abstract This paper covers the distributed systems issues, concentrating on some problems related to distributed.
Michael Schapira Yale and UC Berkeley Joint work with P. Brighten Godfrey, Aviv Zohar and Scott Shenker.
Complexity of Determining Nonemptiness of the Core Vincent Conitzer, Tuomas Sandholm Computer Science Department Carnegie Mellon University.
Pitch Patarasuk Policy Disputes in Path-Vector Protocol A Safe Path Vector Protocol The Stable Paths Problem and Interdomain routing.
Information Theory for Mobile Ad-Hoc Networks (ITMANET): The FLoWS Project Competitive Scheduling in Wireless Networks with Correlated Channel State Ozan.
Beyond selfish routing: Network Games. Network Games NGs model the various ways in which selfish agents strategically interact in using a network They.
1 Robert Lychev Sharon GoldbergMichael Schapira Georgia Tech Boston University Hebrew University.
Market Design and Analysis Lecture 2 Lecturer: Ning Chen ( 陈宁 )
CSci5221: BGP Policies1 Inter-Domain Routing: BGP, Routing Policies, etc. BGP Path Selection and Policy Routing Stable Path Problem and Policy Conflicts.
1 Internet Routing 4/12/2012. Admin. r Exam 2 date: m Wednesday, May 2 at 2:00 p.m. m If you want to take the exam in another day (e.g. due to travel),
L. Cittadini, G. Di Battista, M. Rimondini, S. Vissicchio
COS 561: Advanced Computer Networks
Hao Wang Yale University Joint work with
Can Economic Incentives Make the ‘Net Work?
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 461: Computer Networks
Fixing the Internet: Think Locally, Impact Globally
Presentation transcript:

Interdomain Routing and Games Michael Schapira Joint work with Hagay Levin and Aviv Zohar האוניברסיטה העברית בירושלים The Hebrew University of Jerusalem

The Agenda An introduction to interdomain routing (a networking approach). A Distributed Algorithmic Mechanism Design (DAMD) perspective (an economic approach). Our Results: –A formulation of interdomain routing as a game. –Realistic settings in which BGP is immune to rational manipulations. –…–…

An Introduction to Interdomain Routing (A Networking Approach)

Interdomain Routing Establish routes between Autonomous Systems (ASes). Currently done only by the Border Gateway Protocol (BGP). AT&T Qwest Comcast UUNET

Why is Interdomain Routing Hard? Route choices are based on local policies. Expressiveness: Policies are complex. Autonomy: Policies are uncoordinated AT&T Qwest Comcast UUNET My link to UUNET is for backup purposes only. Load-balance my outgoing traffic. Always choose shortest paths. Avoid routes through AT&T if at all possible.

Interdomain Routing Routes to every destination AS are computed independently. There is an AS graph G=. –N consists of n source nodes 1,…,n and a destination node d. –L represents physical links between ASes.

Interdomain Routing receive routes from neighbours choose “best” neighbour send updates to neighbours Every source-node i is defined by a valuation function v i that assigns a non-negative value to each (simple) route from i to d. The computation performed by a single node is an infinite sequence of stages:

Interdomain Routing The route assignment reached by BGP forms a confluent routing tree rooted in d. –Routes are consistent (route choices depend on neighbours’ choices). –Routes are loop-free (nodes announce full routes). The final route assignment is stable. –Every node prefers its assigned route over any other available route.

Example of Stability 1 2 d Prefer routes through 2 Prefer routes through 1 2, I’m available 1, my route is 2d 1, I’m available

Assumptions on the Network The network is asynchronous. –Nodes can be activated in different timings. –Update messages can be arbitrarily delayed along selective links. Network malfunctions are possible. –Link and node failures.

BGP Pros: Nodes need have no a-priori knowledge about the network topology or about other nodes. The protocol is adaptive to changes in network topology (link and node failures). …. Cons: The lack of global coordination might result in persistent route oscillations (protocol divergence).

Example of Instability: Oscillation 1 2 d BGP might oscillate forever between 1d, 2d and 12d, 21d Prefer routes through 2 Prefer routes through 1 1, 2, I’m the destination 1, my route is 2d 2, my route is 1d

The Hardness of Stability Theorem: Determining whether a ``stable solution’’ exists is NP-Hard. [Griffin-Wilfong] Theorem: Determining whether a ``stable solution’’ exists requires exponential communication between the source-nodes. –Independent of the P-NP assumption. –Communication complexity is linear in the “size” of the local preferences of nodes.

Networking researchers seek constraints that guarantee BGP stability (for any timing, even in the presence of network malfunctions). [Balakrishnan, Feamster, Gao, Griffin, Jaggard, Johari, Ramachandran, Rexford, Shepherd, Sobrinho, Wilfong, …] A realistic and well known set of such constraints are the Gao-Rexford constraints. –The Internet is formed by economic forces. –ASes sign long-term contracts that determine who provides connectivity to whom. Guaranteeing Robust Convergence

Gao-Rexford Framework Neighboring pairs of ASes have one of: –a customer-provider relationship (One node is purchasing connectivity from the other node.) –a peering relationship (Nodes have offered to carry each other’s transit traffic, often to shortcut a longer route.) peer providers customers peer

Dispute Wheels If BGP oscillates, the valuation functions and the topology of the network induce a structure called a Dispute Wheel. [Griffin- Shepherd-Wilfong] The absence of a Dispute Wheel ensures robust BGP convergence. The Gao-Rexford constraints are a special case of “No Dispute Wheel”. [Gao- Griffin-Rexford]

Dispute Wheels A Dispute Wheel: –A sequence of nodes u i and routes R i, Q i. –u i prefers R i Q i+1 over Q i.

Example of a Dispute Wheel 1 2 d Prefer routes through 2 Prefer routes through d

A DAMD Perspective (An Economic Approach)

Do Nodes Always Adhere to the Protocol? BGP was designed to guarantee connectivity between trusted and obedient parties. The commercial Internet: ASes are owned by economic and often competing entities. –Might deviate from BGP if it suits their interests.

Two Research Agendas Security research –Malicious nodes. –Cyptographic modifications of BGP (S-BGP) Distributed Algorithmic Mechanism Design [Feigenbaum-Papadimitriou-Shenker] –Rational nodes. –Seeks realistic conditions for which BGP is incentive-compatible. [Feigenbaum-Papadimitriou-Sami-Shenker]

Our Results

Our Main Results A novel game-theoretic model of interdomain routing. A surprising connection between the two research agendas (security and DAMD). Theorem: (bad news): BGP is not incentive- compatible even if No Dispute Wheel holds. Theorem: (good news): Cryptographic modifications of BGP (e.g., S-BGP) are incentive- compatible if No Dispute Wheel holds (no monetary transfers).

Interdomain Routing Games

A Static Game The source-nodes are the strategic agents (their valuation functions define their types). Each source-node chooses an outgoing edge. –Choices are simultaneous. A node’s payoff is: –v i (R) if the route R from i to d is induced by the nodes’ choices. –0 otherwise.

A Static Game A pure Nash equilibrium is a set of nodes’ choices from which no node wishes to unilaterally deviate. Pure Nash equilibria = stable routing outcomes 1 2 d Prefer routes through 2 Prefer routes through 1

The Convergence Game The game consists of an infinite number of rounds. A node that is activated in a certain round can perform the following actions: –Read update messages announcing routes. –Send update messages announcing routes. –Choose a neighbouring node to forward traffic to.

The Convergence Game There exists an adversarial entity called the scheduler that is in charge of: –Deciding which nodes are activated in each round. –Delaying update messages along selective links. –Removing links and nodes from the AS graph. Informally, a node’s strategy is its choice of a routing protocol. –Executing BGP is a strategy.

The Convergence Game A route is said to be stable if from some round onwards every node on the route forwards traffic to the next-hop node on that route. The payoff of node i from the game is: –v i (R) if there is a route R from i to d which is stable. –0 otherwise.

BGP and Incentives A node is said to deviate from BGP (or to manipulate BGP) if it does not follow BGP. What forms of manipulation are available to nodes? –Misreporting preferences. –Reporting inconsistent information. –Announcing nonexistent routes. –Denying routes. –…–…

BGP and Incentives Two possible incentive-related requirements from BGP: Incentive-compatibility: No unilateral deviation from BGP by an AS can strictly improve the routing outcome of that AS. Collusion-proofness: No deviation from BGP by coalitions of ASes of any size can strictly improve the routing outcome of even a single AS in the coalition without strictly harming another [Feigenbaum-S- Shenker].

Knowledge Assumptions knowledge omniscient agents no knowledge assumptions A dominant strategy equilibrium – I’m better off following the protocol no matter what everyone else is doing (no knowledge assumptions whatsoever). A Nash equilibrium – I’m better off following the protocol only if I know everything (network topology, nodes’ true preferences, message timings, …). An ex-post Nash equilibrium – I’m better off following the protocol as long as everyone else does (no knowledge assumptions on network topology, nodes’ true preferences, message timings, …). [Shneidman-Parkes]

About the Convergence Game The game is complex. –Multi-round. –Asynchronous. –Partial-information No monetary transfers! –Very rare in mechanism design. –Unlike most works on incentive-compatibility and interdomain routing –More realistic.

Known Results..... d k i IF v k (R 1 ) > v k (R 2 ) R2R2 R1R1 THEN v i ((i,k)R 1 ) > v i ((i,k)R 2 ) Valuations are policy consistent iff, for all routes R 1 and R 2 (analogous to isotonicity [Sob.03])

Known results Policy consistency is known to hold for interesting special cases: –Shortest-path routing. –Next-hop policies. Theorem: If No Dispute Wheel and Policy Consistency hold, then BGP is incentive-compatible, and even collusion- proof. [Feigenbaum-Ramachandran-S, Feigenbaum-S-Shenker]

Known results A Problem: Policy Consistency is unrealistic. –Too strong. Can it be removed?

Realistic Settings in which BGP is Incentive-Compatible and Collusion-Proof

Is BGP Incentive-Compatible? Theorem: BGP is not incentive compatible even in Gao-Rexford settings. m 1 2 d m1d m12d 2md 2d 12d 1d with manipulation m 1 2 d m1d m12d 2md 2d 12d 1d without manipulation

We define the following property: –Route verification means that an AS can verify that a route announced by a neighbouring AS is available. Route verification can be achieved via security tools (S-BGP etc.). –Not an assumption on the nodes! Can we fix this?

Many forms of manipulation are still available: –Misreporting preferences over available routes. –Reporting inconsistent information. –Denying routes. –… Does this solve the problem?

Theorem: If the “No Dispute Wheel” condition holds, then BGP with route verification is incentive-compatible. Theorem: If the “No Dispute Wheel” condition holds, then BGP with strong route verification is collusion- proof. Our Main Results

Dispute Wheels – A Reminder A Dispute Wheel: –A sequence of nodes u i and routes R i, Q i. –u i prefers R i Q i+1 over Q i. The Gao-Rexford constraints are a special case of the “No Dispute Wheel” condition.

Theorem: If the “No Dispute Wheel” condition holds, then BGP with route verification is incentive-compatible. Proof (sketch): –By contradiction. –Assume that the “No Dispute Wheel” condition holds, and that BGP is not incentive-compatible. –We present sequences of nodes and routes that form a dispute wheel. BGP with Route Verification

Proof Sketch d s TsTs MsMs Let s be the manipulator. Let T be the routing tree reached if all nodes follow the protocol. Let M be the the routing tree reached after s rationally manipulates BGP. v s (M s ) > v s (T s )

Proof Sketch d s 1 TsTs MsMs M1M1 T1T1 There must exist a node i on M s such that M i ≠T i Let 1 be the node closest to d on M s with this property. For each node i that is closer to d on M s it holds that M i =T i. This implies: v 1 (T 1 ) > v 1 (M 1 )

Proof Sketch d s 1 2 TsTs MsMs M1M1 T1T1 T2T2 M2M2 Similarly, Let 2 be the node i closest to d on T 1 such that M i ≠T i. This implies: v 2 (M 2 ) > v 2 (T 2 )

Proof Sketch d s TsTs MsMs M1M1 T1T1 T2T2 M2M2 M3M3 T3T3 T4T4 k MkMk TkTk We choose 3,4,5,… in a similar manner. Eventually some node will appear twice (assume that this node is s). We have a dispute wheel!

Why do we need route verification? The manipulator can lie about its route. For instance, k might believe that s’s route in M is L s. Still, v s (M s ) > v s (T s ) > v s (L s ) d s k TsTs MsMs M1M1 T1T1 T2T2 M2M2 M3M3 T3T3 T4T4 TkTk MkMk LsLs Proof Sketch

Theorem: If the “No Dispute Wheel” condition holds, then BGP with route verification is collusion-proof. A Problem: Is route verification achievable even in the presence many manipulators? BGP with Route Verification

Corollary: If No Dispute Wheel holds, then BGP is Pareto optimal. Pareto optimality means that BGP’s outcome is such that there is no other outcome that is: –Strictly preferred by one node. –Weakly preferred by all other nodes. BGP is Socially Just

The total social welfare of a routing outcome is the sum of values nodes assign to their routes = ∑ i v i (P i ). No Dispute Wheel and Policy Consistency guarantee BGP convergence to a social-welfare maximizing solution. [Feigenbaum-Ramachandran-S] What About Social-Welfare?

Approximating Social Welfare Theorem: Obtaining an approximation to the optimal social welfare is impossible unless P=NP, even in Gao-Rexford settings. (Improvement on a bound achieved by [Feigenbaum,Sami,Shenker]) Theorem: Exponential communication is required in order to achieve an approximation of to the social welfare.

Conclusions The main results: –Bad news: BGP is not incentive-compatible even if No Dispute Wheel holds. –Good news: A modification of BGP (route verification) is incentive-compatible. Helps explain BGP’s relative resilience to manipulations in practice.

Conclusions Our results should motivate research on guaranteeing route verification in the Internet. Where’s the justice? –Bad news: Social-welfare optimization might be hopeless. –Good news: BGP is Pareto optimal.

Follow Up Works “Best-reply mechanisms” (with Noam Nisan and Aviv Zohar) –Extensions to more general game-theoretic settings. Work in progress (with Rahul Sami and Aviv Zohar) –More on BGP convergence and selfishness.

Characterizing robust BGP convergence (“No dispute wheel” is sufficient but not necessary). Does robust BGP convergence with route verification imply incentive compatibility? Can network formation games help explain the Internet’s commercial structure? Open Questions

Generalize the model to allow other forms of “attacks” [Butler-Farley-McDaniel-Rexford] Open Questions

Thank You

A Negative Result for General Routing Protocols or Why Are Protocols Like BGP Necessary?

Why settle for a routing protocol that sometimes results in persistent route oscillations? Computational answer: Determining whether a stable solution exists is NP hard. Economic answer (informal): No “reasonable” protocol that always deterministically chooses a route assignment is incentive-compatible. A Negative Result for General Routing Protocols

Theorem: Fix an AS graph G. Let A be a routing protocol such that: –A deterministically chooses a route assignment for every set of valuation functions defined over G (for all timings). –A has at least 3 possible routing outcomes. –A is incentive-compatible. Then: A is dictatorial (a specific node in G is always assigned its most preferred route by A). Proof: By reduction from Gibbard-Satterthwaite. A Negative Result for General Routing Protocols

d Negative Result – An Example Node 1 always gets its most preferred route to d, and forces nodes on that route to route traffic accordingly. the dictator This result holds even: For centralized routing protocols. When the only form of rational manipulation available is misreporting preferences.

BGP is Socially Just

We require BGP to be socially just in some global sense. A natural approach: Seek a setting in which BGP reaches a route assignment that maximizes the total social welfare. –The total social welfare is the sum of values nodes assign their assigned routes = ∑ i v i (P i ). A Problem: –Even in the Gao-Rexford setting the stable route assignment reached by BGP can be arbitrarily far from the optimum. [Feigenbaum-Ramachandran-S] –A strong additional assumption on the valuation functions is required. [Feigenbaum-Ramachandran-Schapira] BGP is Socially Just

Theorem: If BGP convergence is guaranteed, then BGP is Pareto optimal. BGP is said to be Pareto optimal if: –Let T d be the route assignment reached by BGP. –There is no route assignment T’ d such that: There is a node that strictly prefers its route in T d over its route in T’ d. All other nodes weakly prefer their routes in T d over their routes in T’ d. BGP is Socially Just

Corollary: The coalition that consists of all nodes has no rational motivation to deviate from BGP (without payments). Is that true for coalitions of any size? In particular, is it true that a unilateral deviation from BGP cannot benefit the deviating node? BGP is Socially Just NO!