15
NAT Traversal in HIP Xiang LIU TML/HIIT ([email protected])

NAT Traversal in HIP

Embed Size (px)

DESCRIPTION

NAT Traversal in HIP. Xiang LIU TML/HIIT ([email protected]) ‏. Agenda. On Current Internet Traversal technologies (General vs. HIP) ‏ DEMO details. On Current Internet. Popular of NAT(IPv4) ‏ NATs understand TCP & UDP, but not HIP. Behave/MMusic NAT traversal Solution. - PowerPoint PPT Presentation

Citation preview

Page 1: NAT Traversal in HIP

NAT Traversal in HIP

Xiang LIUTML/HIIT

([email protected])

Page 2: NAT Traversal in HIP

Agenda

• On Current Internet• Traversal technologies (General vs. HIP)• DEMO details

Page 3: NAT Traversal in HIP

On Current Internet

• Popular of NAT(IPv4)• NATs understand TCP & UDP, but not HIP

Page 4: NAT Traversal in HIP

Behave/MMusic NAT traversal Solution

• STUN (Hole Punching Technology)• TURN• ICE• Others (configure in NAT box)

Page 5: NAT Traversal in HIP

Solutions for HIP

• HIP over UDP (port 50500)• STUN <----> RVS• TURN <---->HIP relay(FULL relay)• ICE (design for SIP) <----> HIP ICE– code borrowed from PJ project

Page 6: NAT Traversal in HIP

Demo Set Up

VM ware NAT

FROG(HIP RELAY)

OOPS(VM host)

CRASH(VM host)

Page 7: NAT Traversal in HIP

DEMO Background

• Preconditions (registration):– FROG offers HIP Relay service• All the basic HIP exchange will go thorough FROG

– Crash knows the HIT of OOPS– Crash Knows the IP of OOPS, which actually

belongs to FROG (public IP)

• Phases:– Locator exchange, candidates pairing, reachability

testing

Page 8: NAT Traversal in HIP

Registration

• OOPS register itself to FROG using the basic exchange.

• OOPS sends keep-live messages to refresh the NAT state

Page 9: NAT Traversal in HIP

Locator exchange

• Crash --I1-- >FROG(relay server) ---I1---> OOPS • Crash <--R1--FROG<---R1--- OOPS • Crash –I2-->FROG---I2--- >OOPS • Crash <--R2--FROG<---R2--- OOPS

• Locators are exchanged in R1 and I2

Page 10: NAT Traversal in HIP

FULL Relay

VM ware NAT

FROG(HIP RELAY)

OOPS(VM host)

CRASH(VM host)

Page 11: NAT Traversal in HIP

ICE Session

• After the basic exchange, the OOPS and Crash start ICE session at the same time.

• Reachability testing starts.

Page 12: NAT Traversal in HIP

Reachability Testing

VM ware NAT

FROG(HIP RELAY)

OOPS(VM host)

CRASH(VM host)

Page 13: NAT Traversal in HIP

Establish Security Policies and Associations

• ICE will give the best IP:port pair for the SA connection.

Page 14: NAT Traversal in HIP

SP/SA

VM ware NAT

FROG(HIP RELAY)

OOPS(VM host)

CRASH(VM host)

Page 15: NAT Traversal in HIP

Questions?