Wireless Networks: Network Protocols/Mobile IP

Similar documents
IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

Mobile Routing. When a host moves, its point of attachment in the network changes. This is called a handoff.

Tomás P. de Miguel DIT-UPM. dit UPM

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

6 Mobility Management

DHCP, ICMP, IPv6. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley DHCP. DHCP UDP IP Eth Phy

Mobile IP Part I: IPv4

Mobility on IPv6 Networks

Mobile Communications Chapter 8: Network Protocols/Mobile IP

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

A DHCP Primer. Dario Laverde, 2002 Dario Laverde

HOST AUTO CONFIGURATION (BOOTP, DHCP)

Mobility Management 嚴 力 行 高 雄 大 學 資 工 系

Lecture Objectives. Lecture 6 Mobile Networks: Nomadic Services, DHCP, NAT, and VPNs. Agenda. Nomadic Services. Agenda. Nomadic Services Functions

Application Protocols for TCP/IP Administration

Chapter 9. IP Secure

Implementing DHCPv6 on an IPv6 network

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

5.0 Network Architecture. 5.1 Internet vs. Intranet 5.2 NAT 5.3 Mobile Network

DHCP Server. Heng Sovannarith

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Chapter 12 Supporting Network Address Translation (NAT)

Internetworking. Problem: There is more than one network (heterogeneity & scale)

8.2 The Internet Protocol

21.4 Network Address Translation (NAT) NAT concept

Introduction to IP v6

Static and Dynamic Network Configuration

Network Security TCP/IP Refresher

Transport and Network Layer

This chapter covers the following topics: Characteristics of roaming Layer 2 roaming Layer 3 roaming and an introduction to Mobile IP

APNIC elearning: IPSec Basics. Contact: esec03_v1.0

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

How do I get to

Dissertation Title: SOCKS5-based Firewall Support For UDP-based Application. Author: Fung, King Pong

Security issues with Mobile IP

Review: Lecture 1 - Internet History

Ethernet. Ethernet. Network Devices

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

SERVICE DISCOVERY AND MOBILITY MANAGEMENT

Internet Firewall CSIS Internet Firewall. Spring 2012 CSIS net13 1. Firewalls. Stateless Packet Filtering

IP address format: Dotted decimal notation:

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Internet Protocol Version 6 (IPv6)

Mobility Management in DECT/IPv6 Networks

CS 294-7: Cellular Digital Packet Data (CDPD) Prof. Randy H. Katz CS Division University of California, Berkeley Berkeley, CA

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Privacy- Preserving P2P Data Sharing with OneSwarm. Presented by. Adnan Malik

LECTURE 4 NETWORK INFRASTRUCTURE

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Network layer: Overview. Network layer functions IP Routing and forwarding

Firewall Implementation

Internetworking II: MPLS, Security, and Traffic Engineering

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

How To Plan Out Your Own Version Of Hpl (Dhcp) On A Network With A Network (Dns) On Your Network (Dhpl) On An Ipad Or Ipad On A Pc Or Ipa On A Server On A

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Virtual Private Networks

VoIP Security How to prevent eavesdropping on VoIP conversa8ons. Dmitry Dessiatnikov

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Chapter 4 Network Layer

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Definition. A Historical Example

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Multicasting with Mobile IP & The Session Initiation Protocol

Network Security. Internet Firewalls. Chapter 13. Network Security (WS 2002): 13 Internet Firewalls 1 Dr.-Ing G. Schäfer

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

IP Security. Ola Flygt Växjö University, Sweden

Protocol Security Where?

3GPP TS V6.3.0 ( )

Dedication Preface 1. The Age of IPv6 1.1 INTRODUCTION 1.2 PROTOCOL STACK 1.3 CONCLUSIONS 2. Protocol Architecture 2.1 INTRODUCTION 2.

Investigation of DHCP Packets using Wireshark

Technical Support Information Belkin internal use only

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

IPV6 流 量 分 析 探 讨 北 京 大 学 计 算 中 心 周 昌 令

IPv6 SECURITY. May The Government of the Hong Kong Special Administrative Region

IPv6 Advantages. Yanick Pouffary.

RARP: Reverse Address Resolution Protocol

REDUCING PACKET OVERHEAD IN MOBILE IPV6

2. IP Networks, IP Hosts and IP Ports

Introduction to Mobile IPv6

enetworks TM IP Quality of Service B.1 Overview of IP Prioritization

VXLAN: Scaling Data Center Capacity. White Paper

Internet, Part 2. 1) Session Initiating Protocol (SIP) 2) Quality of Service (QoS) support. 3) Mobility aspects (terminal vs. personal mobility)

Digi Connect WAN Application Helper NAT, GRE, ESP and TCP/UPD Forwarding and IP Filtering

IPv6 mobility and ad hoc network mobility overview report

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

DHCP Failover. Necessary for a secure and stable network. DHCP Failover White Paper Page 1

Transcription:

Wireless Networks: Network Protocols/Mobile IP Mo$va$on Data transfer Encapsula$on Security IPv6 Problems DHCP Adapted from J. Schiller, Mobile Communications 1

Mo$va$on for Mobile IP Rou$ng based on IP des$na$on address, network prefix (e.g. 129.13.42) determines physical subnet change of physical subnet implies change of IP address to have a topological correct address (standard IP) or needs special entries in the rou$ng tables Specific routes to end- systems? change of all rou$ng table entries to forward packets to the right des$na$on does not scale with the number of mobile hosts and frequent changes in the loca$on, security problems Changing the IP- address? adjust the host IP address depending on the current loca$on almost impossible to find a mobile system, DNS updates take too much $me TCP connec$ons break, security problems 2

Requirements to Mobile IP (RFC 2002) Transparency mobile end- systems keep their IP address con$nua$on of communica$on auer interrup$on of link possible point of connec$on to the fixed network can be changed Compa$bility support of the same layer 2 protocols as IP no changes to current end- systems and routers required mobile end- systems can communicate with fixed systems Security authen$ca$on of all registra$on messages Efficiency and scalability only liwle addi$onal messages to the mobile system required (connec$on typically via a low bandwidth radio link) world- wide support of a large number of mobile systems in the whole Internet 3

Terminology Mobile Node (MN) system (node) that can change the point of connec$on to the network without changing its IP address Home Agent (HA) system in the home network of the MN, typically a router registers the loca$on of the MN, tunnels IP datagrams to the COA Foreign Agent (FA) system in the current foreign network of the MN, typically a router forwards the tunneled datagrams to the MN, typically also the default router for the MN Care- of Address (COA) address of the current tunnel end- point for the MN (at FA or MN) actual loca$on of the MN from an IP point of view can be chosen, e.g., via DHCP Correspondent Node (CN) communica$on partner 4

Example network HA MN router home network Internet mobile end-system (physical home network for the MN) router FA foreign network CN (current physical network for the MN) end-system router 5

Data transfer to the mobile system HA 2 MN home network Internet 3 receiver FA foreign network CN sender 1 1. Sender sends to the IP address of MN, HA intercepts packet (proxy ARP) 2. HA tunnels packet to COA, here FA, by encapsulation 3. FA forwards the packet to the MN 6

Data transfer from the mobile system HA 1 MN home network Internet sender FA foreign network CN 1. Sender sends to the IP address of the receiver as usual, FA works as default router receiver 7

Overview COA home network router HA router FA MN Internet foreign network CN router home network router HA 2. router FA 3. 4. MN Internet foreign network 1. CN router 8

Network integra$on Agent Adver$sement HA and FA periodically send adver$sement messages into their physical subnets MN listens to these messages and detects, if it is in the home or a foreign network (standard case for home network) MN reads a COA from the FA adver$sement messages Registra$on (always limited life$me!) MN signals COA to the HA via the FA, HA acknowledges via FA to MN these ac$ons have to be secured by authen$ca$on Adver$sement HA adver$ses the IP address of the MN (as for fixed systems), i.e. standard rou$ng informa$on routers adjust their entries, these are stable for a longer $me (HA responsible for a MN over a longer period of $me) packets to the MN are sent to the HA, independent of changes in COA/FA 9

Agent adver$sement 0 7 8 15 16 23 24 31 type #addresses code addr. size checksum lifetime router address 1 preference level 1 router address 2 preference level 2... R: registration required B: busy H: home agent F: foreign agent M: minimal encapsulation G: generic routing encapsulation V: header compression type length sequence number registration lifetime R B H F M G V reserved COA 1 COA 2... ICMP-Type = 9; Code = 0/16; Extension Type = 16 TTL = 1 Dest-Adr = 224.0.0.1 (multicast on link) or 255.255.255.255 (broadcast) 10

Registra$on MN FA HA registration MN registration request HA request registration request registration reply registration reply t registration reply t Goal: inform the home agent of current location of MN (COA-FA or co-located COA) Registration expires automatically (lifetime) Uses UDP port 434 11

Mobile IP registra$on request 0 7 8 15 16 23 24 31 type S B D M G V rsv lifetime home address home agent COA identification extensions... UDP packet on port 343 Type = 1 for registration request S: retain prior mobility bindings B: forward broadcast packets D: co-located address=> MN decapsulates packets 12

Encapsula$on original IP header original data new IP header new data outer header inner header original data 13

Encapsula$on I Encapsula$on of one packet into another as payload e.g. IPv6 in IPv4 (6Bone), Mul$cast in Unicast (Mbone) here: e.g. IP- in- IP- encapsula$on, minimal encapsula$on or GRE (Generic Record Encapsula$on) IP- in- IP- encapsula$on (mandatory in RFC 2003) tunnel between HA and COA ver. IHL TOS length IP identification flags fragment offset TTL IP-in-IP IP checksum IP address of HA Care-of address COA ver. IHL TOS length IP identification flags fragment offset TTL lay. 4 prot. IP checksum IP address of CN IP address of MN TCP/UDP/... payload 14

Encapsula$on II Minimal encapsula$on (op$onal) [RFC2004] avoids repe$$on of iden$cal fields e.g. TTL, IHL, version, TOS only applicable for unfragmented packets, no space leu for fragment iden$fica$on ver. IHL TOS length IP identification flags fragment offset TTL min. encap. IP checksum IP address of HA care-of address COA lay. 4 protoc. S reserved IP checksum IP address of MN original sender IP address (if S=1) TCP/UDP/... payload 15

Generic Rou$ng Encapsula$on [RFC 1701] original header original data outer header GRE header original header original data new header new data ver. IHL TOS length IP identification flags fragment offset TTL GRE IP checksum IP address of HA Care-of address COA C R K S s rec. rsv. ver. protocol checksum (optional) offset (optional) key (optional) sequence number (optional) routing (optional) ver. IHL TOS length IP identification flags fragment offset TTL lay. 4 prot. IP checksum IP address of CN IP address of MN C: checksum present R: offset/source routing is present K: key field for authentication (not implemented) S:sequence number is present s: strict source routing is used rec: Recursion control TCP/UDP/... payload 16

Op$miza$on of packet forwarding Triangular Rou$ng sender sends all packets via HA to MN higher latency and network load Solu$ons sender learns the current loca$on of MN direct tunneling to this loca$on HA informs a sender about the loca$on of MN big security problems! Change of FA packets on- the- fly during the change can be lost new FA informs old FA to avoid packet loss, old FA now forwards remaining packets to new FA this informa$on also enables the old FA to release resources for the MN 17

Change of foreign agent CN HA FA old FA new MN request update ACK data data registration warning data update ACK data registration data MN changes location update ACK data data t 18

Reverse tunneling (RFC 2344) HA 2 MN home network Internet 1 sender FA foreign network CN receiver 3 1. MN sends to FA 2. FA tunnels packets to HA by encapsulation 3. HA forwards the packet to the receiver (standard case) 19

Mobile IP with reverse tunneling Router accept ouen only topological correct addresses (firewall!) a packet from the MN encapsulated by the FA is now topologically correct furthermore mul$cast and TTL problems solved (TTL in the home network correct, but MN is too far away from the receiver) Reverse tunneling does not solve problems with firewalls, the reverse tunnel can be abused to circumvent security mechanisms (tunnel hijacking) op$miza$on of data paths, i.e. packets will be forwarded through the tunnel via the HA to a sender (double triangular rou$ng) The new standard is backwards compa$ble the extensions can be implemented easily and cooperate with current implementa$ons without these extensions 20

Mobile IP and IPv6 Mobile IP was developed for IPv4, but IPv6 simplifies the protocols security is integrated and not an add- on, authen$ca$on of registra$on is included COA can be assigned via auto- configura$on (DHCPv6 is one candidate), every node has address autoconfigura$on no need for a separate FA, all routers perform router adver$sement which can be used instead of the special agent adver$sement MN can signal a sender directly the COA, sending via HA not needed in this case (automa$c path op$miza$on) sou hand- over, i.e. without packet loss, between two subnets is supported MN sends the new COA to its old router the old router encapsulates all incoming packets for the MN and forwards them to the new COA authen$ca$on is always granted 21

Problems with mobile IP Security authen$ca$on with FA problema$c, for the FA typically belongs to another organiza$on no protocol for key management and key distribu$on has been standardized in the Internet patent and export restric$ons Firewalls typically mobile IP cannot be used together with firewalls, special set- ups are needed (such as reverse tunneling) QoS many new reserva$ons in case of RSVP tunneling makes it hard to give a flow of packets a special treatment needed for the QoS Security, firewalls, QoS etc. are topics of current research and discussions! 22

Security in Mobile IP Security requirements (Security Architecture for the Internet Protocol, RFC 1825, RFC 1826, RFC 1827) Integrity any changes to data between sender and receiver can be detected by the receiver Authen$ca$on sender address is really the address of the sender and all data received is really data sent by this sender Confiden$ality only sender and receiver can read the data Non- Repudia$on sender cannot deny sending of data Traffic Analysis crea$on of traffic and user profiles should not be possible Replay Protec$on receivers can detect replay of messages 23

IP security architecture I Two or more partners have to nego$ate security mechanisms to setup a security associa$on typically, all partners choose the same parameters and mechanisms Two headers have been defined for securing IP packets: Authen$ca$on- Header guarantees integrity and authen$city of IP packets if asymmetric encryp$on schemes are used, some non- repudia$on level can also be provided IP-Header header Encapsula$on Security Payload protects confiden$ality between communica$on partners not encrypted IP header Authentification-Header authentication header ESP header UDP/TCP-Paket data encrypted encrypted data 24

IP security architecture II Mobile Security Associa$on for registra$ons parameters for the mobile host (MH), home agent (HA), and foreign agent (FA) Extensions of the IP security architecture extended authen$ca$on of registra$on MH-FA authentication FA-HA authentication MH-HA authentication registration request registration request MH FA registration reply HA registration reply preven$on of replays of registra$ons $me stamps: 32 bit $me stamps + 32 bit random number nonces: 32 bit random number (MH) + 32 bit random number (HA) 25

Key distribu$on Home agent distributes session keys FA MH HA response: E HA-FA {session key} E HA-MH {session key} foreign agent has a security associa$on with the home agent mobile host registers a new binding at the home agent home agent answers with a new session key for foreign agent and mobile node 26

DHCP: Dynamic Host Configura$on Protocol [RFC 2131] Applica$on simplifica$on of installa$on and maintenance of networked computers supplies systems with all necessary informa$on, such as IP address, DNS server address, domain name, subnet mask, default router etc. enables automa$c integra$on of systems into an Intranet or the Internet, can be used to acquire a COA for Mobile IP Client/Server- Model the client sends via a MAC broadcast a request to the DHCP server (might be via a DHCP relay) DHCPDISCOVER DHCPDISCOVER server client client relay 27

time DHCP - protocol mechanisms server (not selected) determine the configuration client initialization DHCPDISCOVER DHCPDISCOVER DHCPOFFER DHCPOFFER collection of replies selection of configuration server (selected) determine the configuration DHCPREQUEST (reject) DHCPREQUEST (options) DHCPACK confirmation of configuration initialization completed release DHCPRELEASE delete context 28

DHCP characteris$cs Server several servers can be configured for DHCP, coordina$on not yet standardized (i.e., manual configura$on) Renewal of configura$ons IP addresses have to be requested periodically, simplified protocol Op$ons available for routers, subnet mask, NTP (network $me protocol) $meserver, SLP (service loca$on protocol) directory, DNS (domain name system) Security problems! DHCP Authen$ca$on IETF- RFC 3118 29