uip: a zero configuration architecture for ad hoc internet ...ahae/isw-2004/slides/strauss.pdf ·...

10
UIP: A Zero Configuration Architecture for Ad Hoc Internet Naming and Secure Global Connectivity Jacob Strauss Bryan Ford               Frans Kaashoek MIT IRIS Student Workshop November 7, 2004

Upload: others

Post on 18-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

UIP: A Zero Configuration Architecture for Ad Hoc Internet 

Naming and Secure Global Connectivity

Jacob StraussBryan Ford               Frans Kaashoek

MIT   IRIS Student Workshop 

November 7, 2004

Page 2: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Ubiquitous Networking is getting harder

Unstable addresses➢ DHCP addresses change➢ Non­routable NAT addresses

Domain names and dynamic DNS

Security is inconvenient

Devices can't talk without infrastructure

Page 3: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

UIP ArchitectureIdentity­Based Routing➢ globally unique, self certifying endpoint IDs➢ persistent, stable➢ communications security➢ mobility 

Meaningful names for manipulating EIDs➢ DNS extensions➢ Ad hoc DNS – each endpoint is a name server

Page 4: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Routing: Registration Servers

NAT

DistributedHash Table

(for EID Lookup)

Public Internet

NAT

Edge Hosts onPrivate Networks

Edge Hostswith globalIP Addresses

EIDRegistrationServers

Normal case➢ edge hosts register 

current location➢ reg servers lookup 

current location➢ direct route to destination

Forward packets only when direct routes fail

Page 5: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

NAT traversal

HomeNetwork

Internet

NAT NAT

HomeNetwork

A B

RegistrationServers

A -> R: lookup B

R -> A: B is at ...

A -> B: ping B (blocked by NAT)

A -> R: ping B (relay succeeds)

B -> A: ack (succeeds)

Registration Servers mediate

Supported by most NATs R

Page 6: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Routing: Local Resolution

Avoid IP configuration

Infrastructure­free operation➢ Link Layer Broadcasts➢ Ethernet, 802.11, etc➢ local nodes only

Global names unavailable

Same Endpoint IDs 

Page 7: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Ad Hoc Naming

Each endpoint has a local name space➢ Users create bookmarks to name other hosts➢ either encoded EIDs or relative to other EIDs

● alice.bob.af34f....3df.eid● alice.bob.foo.net

Registration servers act as secondary nameservers

Page 8: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Related Work

Internet Indirection Infrastructure i3➢ Identity Based Routing via DHT

Host Identity Protocol➢ Persistent Endpoint IDs

 Delegation Oriented Architecture (DOA)

SFR

Page 9: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Edge Node Implementation

application

local UIPd

stub library

kernel

                            1.  connect(EID)

2.  IPv6 address = getipv6(EID)

                       3.  connect(IPv6 address) 4.  TCP SYN packetdst: IPv6 address

 

 5.  TCP SYNover UIP

over Ethernet or IPv4/UDP

UIPd or reg server

Local Host

UIP appears to applications as a new address family

Intercept socket & resolver calls

Page 10: UIP: A Zero Configuration Architecture for Ad Hoc Internet ...ahae/isw-2004/slides/strauss.pdf · IdentityBased Routing globally unique, self certifying endpoint IDs persistent, stable

Status & Results

Simple Registration Server

Latency & Bandwidth➢ 20 Mbps, 1ms per packet overhead

NAT traversal shortens paths➢ Supported by 75% of NATs

Naming work underway