22
Institut für Telematik, Universität Karlsruhe (TH) Overlay Networks in ScaleNet Overlay Networks in ScaleNet Dipl-Inform. Ingmar Baumgart Prof. Dr. Martina Zitterbart VDE ITG 5.2.1 Fachgruppentreffen, Ericsson, Aachen, 5.5.06

Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

Institut für Telematik, Universität Karlsruhe (TH)

Overlay Networks in ScaleNetOverlay Networks in ScaleNet

Dipl-Inform. Ingmar BaumgartProf. Dr. Martina Zitterbart

VDE ITG 5.2.1 Fachgruppentreffen, Ericsson, Aachen, 5.5.06

Page 2: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de1ScaleNet

The ScaleNet ProjectThe ScaleNet Project

: Scalable, efficient and flexible next generation converged mobile, wireless and fixed access networksProject duration: 1.7.2005 – 30.9.2008Partners:

ScaleNet

Page 3: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de2ScaleNet

ScaleNet High Level ArchitectureScaleNet High Level Architecture

IP Multimedia Subsystem (IMS) Core and/or Overlay Networks

AAA QoS

PlaNetSaccess

New Wirelessaccess solutions

(e.g. mesh, multi-hop,

MIMO)

WiMAXaccess

WLANaccess

Seamless Mobility; Overarching AAA, Security and QoS control

WiMAXaccess

VoD

NGN service platform

TV Voiceover IP GamingData

Centrally hosted ScaleNet functions

3GPPaccess

Mobi-lity

Converged Access and Metro Networks(Aggregation Networks)

FTTx xDSL

HAM

Seamless Personal Mobility

User withMultiple Terminals

Single IdentitySeamless Personal Mobility

Mobi-lity

Seamless Personal Mobility

Generic Router

Our Task

Page 4: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de3ScaleNet

ITM Sub Project: Overlay NetworksITM Sub Project: Overlay Networks

ITM sub project: Overlay technologies for flexible and cost-efficient introduction of new services in heterogeneous networks

Why use overlay networks in ScaleNet?Fast, cost-efficient deployment of new servicesFlexibility (i.e. extension by new access networks)Reduction of complexity in the core network

ITM work packages:Anforderungsanalyse an ein ScaleNet (AP 1.1)Mitwirkung am Entwurf der ScaleNet-Gesamtarchitektur (AP1.2)Overlay-Technologien für User-Plane (AP 3.2.8)Entwurf einer generischen Overlay-Schnittstelle (AP 4.2.2)Beteiligung an Gesamtdemonstrator (AP 5.6)

Page 5: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de4ScaleNet

Overlay NetworksOverlay Networks

What are overlay networks?Two applications communicate via a path different from the path determined by the underlying network topologyLogical network above underlying topology

Independent routingIn most cases: Independent addressing scheme

Overlay networks ≠ Peer-to-Peer systemsBut: Most P2P systems are overlay networks

DHT, Gnutella, Freenet…Overlay networks, that are not P2P

VPN, MPLS, …Research focus: Peer-to-Peer systems

Page 6: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de5ScaleNet

PeerPeer--toto--Peer SystemsPeer Systems

Equivalent, autonomous entities (peers)No central infrastructure elementsSelf organizationInteraction of end-systemsShared resources in end-systemsMoving the complexity to the edges of the network

S

CC

C

CC

C

P

P

P

P

P PP

P

Client/Server Peer-to-Peer

Page 7: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de6ScaleNet

Advantages of P2P SystemsAdvantages of P2P Systems

Rapid introduction of new servicesNo changes in routers requiredRealization of long demanded services:

MulticastAnycast

No time-consuming standardization required

ScalabilityNo costly central servers with scalability problems

ReliabilityNo single point of failureProtection against DoS attacks by redundancy and self organization

Page 8: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de7ScaleNet

OverlayOverlay NetworksNetworks in in ScaleNetScaleNet

Today’s overlays are developed for use in the Internet

ScaleNet scenario poses other requirementsHeterogeneous access networksHeterogeneous terminalsTerminal mobility

Overlays have to reflect changed requirementsConsequences of heterogeneous access networks and end-systems?Consequences of terminal mobility?How to optimize the overlays (topology adaption)?Usage of cross-layer information for optimization?Adequate overlay structures (structured vs. unstructured)?

Page 9: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de8ScaleNet

Two Kinds of P2P OverlaysTwo Kinds of P2P Overlays

Unstructured overlaysRandom choice of neighborsRouting by flooding or random walkExample: Gnutella, Freenet

Structured overlaysOverlay neighbors are chosen to form a certain topologyStructured topology allows for efficient routingExample: Chord, CAN, Pastry, Tapestry, Kademlia, Koorde

Structured

Unstructured

Page 10: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de9ScaleNet

ITM ITM Overlay SimulatorOverlay Simulator

Simulation environment OMNeT++Modular design:

Exchangeable overlay networkChord, GIA, Kademlia, …

Configurable underlayIPv4, IPv6, simple, realUDP, …

mobilityheterogeneity

generic interfaceKBR, DHT, …

miscellaneous applications

simulation and analysis of different overlays over a typical ScaleNetunderlay toplogy

Page 11: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de10ScaleNet

ITM Overlay Simulator in ActionITM Overlay Simulator in Action

Page 12: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de11ScaleNet

Architecture: ScaleNetArchitecture: ScaleNet--OverlaysOverlays

Generic Interface

145.234.98.4211.77.187.2

ID 7ID 4

ID 6

ID 1

ID 0

ID 2

ID 5

ID 3

IP Backbone

UMTSxDSL

MMOGMMOG P2P-SIPP2P-SIP FilesharingFilesharing ……

Overlay Network

Page 13: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de12ScaleNet

ITM Overlay ScenariosITM Overlay Scenarios

Possible applications for overlay networks in ScaleNet:

Group communication (multicast, anycast)Distributed storageMobility support

We focus on two scenarios:Massively Multiplayer Online Gaming (MMOG)

Application Layer MulticastLarge number of participantsLow latency / QoS support

Peer-to-Peer SIPDistributed storage of SIP identitiesSecurity

Page 14: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de13ScaleNet

Massively Multiplayer Online GamingMassively Multiplayer Online Gaming

Current situation in commercial MMOGs: „Server Farms“

Unicast connection between every player and one of the serversDoes not scale with the number of playersDoes not support more than a few thousand players

Use of overlay technologies to avoid this bottleneckNot all communication has to go through the central server

RequirementsLow latencyHighly dynamic multicast groupsSecurity

Must not introduce new ways of cheating

Page 15: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de14ScaleNet

MulticastMulticast

Group chatPlayers in the same group/party communicateGroups stay active for a longer timePossible high bandwidth use (voice/video chat)

Event messagesSend to all nearby playersNo fixed groupsCommunication partners change frequently

Page 16: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de15ScaleNet

PeerPeer--toto--Peer SIPPeer SIP

What is P2P-SIP?Using a peer-to-peer network for SIP user registration and location lookup

Why P2P-SIP?Cost reduction (no servers needed)ScalabilityReliability (No single point of failure, self healing)Failover for server-based SIP networks (in emergency cases)NAT traversal

Skype (largest VoIP provider in the world) also uses P2P technologies, but no open standard

Page 17: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de16ScaleNet

ServerServer--based SIP vs. P2Pbased SIP vs. P2P--SIPSIP

Call setup with server-based SIP:

Call setup with P2P-SIP:Alice BobREGISTER

alice => 141.31.93.13INVITE alice

141.31.93.13Contact: 141.31.93.13

2

3

1P2P-

Overlay

Alice [email protected] =>

141.31.93.13INVITE [email protected]

141.31.93.13Contact :141.31.93.13

1 2

3tm.uka.de

Page 18: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de17ScaleNet

Distributed Hash Tables (DHTs)Distributed Hash Tables (DHTs)

Main ideaDistributed storage of (key, value) pairsEfficient lookup of keys

Challenges:Equal distribution of content in the networkContinuous maintenance due to churn

Assigning of key ranges to joining nodesTakeover and redistribution of key ranges in case of node failures

H(“Movie”)=23130-

1000

4001-7000

1001-2000

7001-10.000

10.001-

21.000

40.001-65.536

21.001-40.000

2001-4000

Page 19: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de18ScaleNet

DHT security: Common attacksDHT security: Common attacks

Attacks on routingNode ID selection

By carefully choosing a node ID an attacker can control access to target objects

Routing table maintenanceDoS attack by distribution of faulty routing table updates

Message forwardingMalicious nodes along the route between sender and target node can modify or drop messages to a key

Attacks on data storage:Malicious nodes can modify or delete locally stored data items

Page 20: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de19ScaleNet

P2PP2P--SIP: Open issuesSIP: Open issues

Unique assignment of user namesSecurity

Security of Distributed Hash TablesDoS resistancePrevent stealing of user names

OptimizationSelection of most suitable DHT structure (Chord, Kademlia,…)Reduce bandwidth / lookup latency by

Topology adaptationLoad balancing

DeploymentGateways to server based SIP networks

Still no open standard for P2P-SIPIETF: Ongoing discussion on forming a P2P-SIP WG

Page 21: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de20ScaleNet

Next stepsNext steps

Implementation and analysis of additional overlay protocols (GIA, Kademlia, …)Implementation of a SIP-proxy for P2P-SIP

Unique assignment of user namesPrevent stealing of user namesSecure DHT based on Kademlia

Analysis of attacks on already deployed DHTs (e.g. eMule-Kademlia)Detailed analysis of QoS requirements for MMOGs (latency and bandwith)

Page 22: Overlay Networks in ScaleNet - KIT - TM - Karlsruher Institut f¼r

„Overlay Networks in ScaleNet“ -ITG 5.2.1. Fachgruppentreffen, 5.5.06 Dipl.-Inform. Ingmar Baumgart Institut für Telematik

Universität Karlsruhe (TH) www.tm.uka.de25ScaleNet

Questions?

Thanks!