Research and Implementation of Home Agent Tunneling Mechanism of MIPv6 Based on Linux

Author
HouWenBiao
Advisor
WangBo
School
Chongqing University
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
96
Citations
0

Request the full text

Abstract

MIPv6 node(MN) are identified by their home addresses regardless access points to Internet, after leaving home link temporary address called Care Of Address(COA) could be assigned to them indicating their positions to which packets delivering to home addressed would be tunneled, therefore Home agent(HA) play a great part in MIP technology.By now MIPv6 is still on the way, but relevant researches have already been doing. Linux is open, free and abundant in software, idea of doing MIPv6 researches on it is logically reasonable. MIPL(Mobile IPv6 for Linux), which is supported by HUT, have released several versions and is a great work of MIPv6 in Linux. Differing from MIPL which is pack whole itself into kernel, this paper tried to transplant HA tunneling function into userspace on behalf of both mini-kernel-desire and stable-kernel-desire application. Furthermore, the needs for diverse applications decide diversity of implementation of MIPv6, in this way, the paper make sense.This paper breaks HA tunneling mechanism into two sequent steps:①builds and maintains a binding cache for MN belonging to same links;②intercepts and tunnels packets addressed to MN’s home address to COA.Then five functional modes have been present to realize the two steps, they are:①Analyzed the possible maximum tunneling capacity of HA in 1000M Ethernet, the paper supports hash as lookup algorithm and gives data structure for binding cache.②Detailed every field of Neighbor Advertisement Message.③Intensively investigated iptables rules and its source codes, designed code pieces adding iptables rules based on libiptc.④Through libnetfilter_queue API queuing packets to userspace competing with ip_queue API.⑤Delivering packets through IPv6 in IPv6 tunnel with analyzing work.Link these five modes together and it really,alrough roughly works in Linux, besides binding updates has been ignored. However iptables rules couldn’t be added by C but hands instead.

Table of contents

Abstract 3-4 ABSTRACT 4-7 1 Introduction 7-12 1.1 research background 7-8 1.2 Research 8-11 1.2.1 IPv6 standard status quo 8-11 1.2.2 Mobile IPv6 protocol implementations 11 main contents of this article 1.3 11-12 2 IPV6, and MIPV6 protocol analysis 12-38 2.1 IPV6 addressing 12-14 2.1.1 IPv6 address expression 12-13 2.1.2 initial allocation of IPv6 addresses 13-14 2.1.3 IPV6 address classification 14 2.2 IPV6 header structure 14-15 2.3 IPV6 extension header 15-19 2.3.1 various extension header introduction 15-18 2.3.2 IPv6 extension header logo 18 2.3.3 extension header order 18-19 2.4 IPV6 option 19-22 2.4.1 option format 20 in 2.4.2 an IPv6, several options 20-22 the 2.5 IPV6 neighbors in found 22-26 2.6 IPV6 auto-configuration 26 2.7 mobile IPV6 term 26-28 2.8 for basic IPV6 protocol modifications 28-30 2.9 mobile header carries several messages 30-34 2.10 conceptual data structure 34-35 2.11 mobile the IPV6 operation is 35-38 3 NETFILTER / IPTABLES the framework of the principle of analysis 38-53 3.1 NETFILTER Overview 38-39 3.2 LINUX2.4 kernel firewall mechanism 39-40 3.3 hook function 40-45 3.3.1 hook and under hanging function 40-42 3.3.2 nf_hook_ops data structure 42-44 3.3.3 HOOK registration function 44 3.3.4 HOOK uninstall function 44-45 3.4 NETFIITER the works 45-47 3.5 IPTABLES command processing 47-53 3.5.1 iptables framework structure 47-50 3.5.2 iptables command 50-53 In this paper, the design ideas 53-56 4.1 home agent operation 53-55 4.2 This article achieved operating 55 4.3 this article to achieve functional modules 55-56 5 hometown the agent forwarding mechanism to achieve 56-72 5.1 home agent binding cache data structure 56-59 the 5.1.1 home agent forwarding capability estimated 56-57 5.1.2 the Find algorithm selection and binding cache data structure 57-59 5.2 neighbor advertisement 59-62 5.2.1 neighbor advertisement data structures 59-60 5.2.2 values ?? 60-61 5.2.3 Neighbor Advertisement sent repeatedly 61-62 5.3 IPTABLES write filtering rules 62-66 rules under 5.3.1 shell write command 62 5.3.2 write rules through libiptc library functions 62-66 5.4 LIBNETFILTER_QUEUE API 66-68 5.5 IPV6 IN IPV6 tunnel 68-72 5.5.1 Linux IPv6 in IPv6 Tunnel 68-69 5.5.2 IPv6 in IPv6 tunnel use 69-71 5.5.3 tun () function's implementation 71-72 6 subjects conclusion 72-73 The main conclusions of the 6.1 72 6.2 follow-up study of Looking 72-73 Acknowledgements 73-74 the References 74-76 Appendix 76

Related dissertations

  1. Design and Implementation of Server Monitoring System Based on Traffic Information
  2. The Research and Design of the Internet Behavior Management System Traffic Management
    LiuZuo ·Chang'an University ·2013 ·Master's thesis
  3. Research and Implementation of Audit Monitor Firewall Based on the Framework of the Netfilter
    WuLiangMin ·Hunan University ·2012 ·Master's thesis
  4. Research of Intrusion Prevension System in IPv6Transition Environment
  5. The Design and Implementation of the Netfilter-Based Content Filtering System
  6. Configration and Analysis of Netfilter/Iptables in Linux Kernel
  7. The Design and Implematation of P2P Traffic Monitoring System
  8. Design and Implementation DPI and DFI-based System of Flow Identification and Control
  9. Internet P2P application signature extraction and flow control research
    KangDaoJie ·Yunnan University ·2013 ·Master's thesis
  10. A Novel Identity-Locator Seperation-based Protocol Stack Design and Implementation
  11. The Research and Application on Intranet IPv6Transition Technology
  12. The Research and Implementation of IPv4/IPv6Traslation Gateway Based on NAT-PT
  13. Design and Implementation of a Network Performance Emulation System
  14. Study and Design of Netfilter-based Framework of Enterprise-class Mobile Application Platform
  15. Studies on Key Technologies of Converged Channel Bilateral Transmission in HFC Network
    XueZuo ·Beijing Jiaotong University ·2012 ·Master's thesis
  16. Embedded ADHOC Network Node: Protocol Analysis and Its GUI Design
    DuZhiMin ·Huaqiao University ·2012 ·Master's thesis
  17. Fast Handover Policy Research in Mobile IPv6Network
  18. Research on AAA Resource Management Architecture Based on MIPv6
  19. An Optimized Network Layer Mobility Management Scheme Based on PB-FMIPv6Protocol
  20. The Research and Implement of Mobile IPv6