© 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt...

17
© 2004 SafeNet, Inc. All rights reserved. obike Protocol Design raft-kivinen-mobike-design-00.txt ero Kivinen [email protected]

Transcript of © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt...

Page 1: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Mobike Protocol Designdraft-kivinen-mobike-design-00.txt

Tero [email protected]

Page 2: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Introduction

• Want to change the IP-addresses of the IKE and IPsec SAs without rekey

• 2 Basic scenarioso Roaming laptop

• Multiple network connections• IP-addresses change• Prefers some interfaces over some others

o Multihoming SGW• Multiple network connections• Static IP-addresses• Some links might be down

Page 3: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Protocol

• Notifying the other end of IP-address list changes

• Update the IKE SA endpoint address based on the notifications

• Automatically swithing to use new IP-address if old one does not work anymore

• Updating the tunnel mode IPsec SA tunnel endpoint addresses

• Return routability checks of new addresses if needed

Page 4: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Multihoming Support

• Multihoming support consist of rules how to use IP-address lists

• When to move to new address?• How to verify whether the address works

or if any addresses works?• When to do return routability checks?

Page 5: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Direct Indication of Address Change

• Directly from the other end• Authenticated• List of addressed in most preferred order• Is there max size of that list?

Page 6: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Indirect Indication of Address Change

• Indirect indication, i.e. The local end notices something that causes it to belive something along the path has changed

• Not authenticated• All kind of things

o Other end start using different source IP-addresso ICMP message is receivedo Routing information changeso No traffic from the other end for awhile

• Do not directly act on such indication

Page 7: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Dead-Peer-Detection

• Verify that the other end is still alive• In MOBIKE context verify that the IP-

address(es) still work(s)• Should have much longer timeouts,

should try to all possible IP-addresses before marking peer dead

• Can be done simultaneously for each IP-addresses

o Can cause troubles, as other end might only answer to one request

Page 8: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Return Routability Checks

• Try to verify that the other peer can be reached using the IP-address given

• Protection against the flooding attacks against third party

• Can be using similar protocol than dead-peer-detection

Page 9: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Basic Address Update Format

• Basic format of address update protocol• IKEv2 exchanges

o Informational exchange?o Own MOBIKE exchange?

• One or multiple payloads• Payload types

o Notify payload?o Own MOBIKE payload?

• Ordered list of addresses or preference number for each address

Page 10: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Exchange

• Informational exchangeo Already defined in the IKEv2o All implemenations have code to generate and

parse them

• Own MOBIKE specific exchangeo Not restricted to 2 packetso Might be able to combine RR with address

update

Page 11: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Number of Payloads

• One payload containing everythingo More compressed formato More complicated format (needs extensions,

list of both IPv4 and IPv6 addresses etc)

• Multiple payloadso Easier to parse (can use IKEv2 code to parse

the list)o Easier to add extension datao Some implementations might have limit of

max number of payloads (limits the number of IP-addresses)

Page 12: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Payloads

• Notify payloadso Already defined in the IKEv2o All implemenations should already have code

to generate and parse themo Some extra overhead

• MOBIKE specific payloado Can use more compressed formato If using one big payload, then having separate

payload for the complex format is better

Page 13: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Full List or Incremental Updates

• When sending IP-address update notifications

• Full list of IP-addresseso Easier to handle, as all IP-address arrives at same

timeo No syncronization problemso Restricts the number of IP-addresses because of

the packet size restrictions

• Incremental changeso Strict ordering restrictions (must be processed in

order)o More complicated

Page 14: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Scope of SA Changes

How to update the IPsec SA IP-address when IKE SA IP-address change• Automatic

o Fast, easy, simpleo Everything moves, no way to move only some

SAs

• Manualo Needs separate protocol, payloads etco Allows moving only parts of the traffic to new IP-

addresseso Needs per IPsec SA IP-address list

Page 15: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Zero Address Set

• Sending zero IP-addresses, meaning that other end is going to be disconnected from the net

• Is this needed?• What happens to the TCP/IP connections

while other end is disconnected• Local policy can disallow this• Helps Monday morning problems as users

can keep the SAs up over the weekends :-)

Page 16: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Return Routability Checks

When to do them• Every time we change address?

o Extra overhead

• Only when we start to use new address not used before?

o Needs to keep track of used addresses

• Never?o Not protecting third parties against flooding

attackso If other end has fixed authenticated list of IP-

address, we can leave checks out

Page 17: © 2004 SafeNet, Inc. All rights reserved. Mobike Protocol Design draft-kivinen-mobike-design-00.txt Tero Kivinen kivinen@safenet-inc.com.

© 2004 SafeNet, Inc. All rights reserved.

Summary

Lots of questions• We need to decide on some of those

issues before we can really describe the protocol

• Different scenarios and usage types affects some of the choices