The ICMPv6 agreement under Linux interface technology

Author
ZuoBo
Advisor
LeiWeiLi
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2004
Downloads
175
Citations
1

Request the full text

Abstract

Traditional IPv4 system , in order to provide the error report or error correction mechanism , ICMPv4 played an important role. IPv6 on IPv4 substitution can not do without the support of ICMP for IPv6 characteristics , IEFT ICMPv6 protocol draft . Both ICMPv4 ICMPv6 , IGMP, ARP , RARP superset , as well as the specific characteristics of IPv6 , the above-mentioned agreement made ??the necessary optimization and simplification . ICMPv6 protocol and related technologies such as IPv6 protocol , multicast listener discovery , neighbor discovery , stateless address auto-configuration , extensive research , especially for neighbor discovery protocol and its implementations in the UNIX environment technology depth Discussion . And provide methods and instance of the socket interface programming in a Linux environment , and provide the basis and foundation for future research and development of IPv6 router .

Table of contents

Chapter 1 Overview 13-16 Chapter II Introduction to IPv6 protocol 16-20 2.1 IPv6 packet header format 2.2 an IPv6 17-18 extension header 18-20 Chapter IPv6 address structure 20-26 3.1 the IPv6 Address divide 20-24 3.1.1 unicast Address 21-22 3.1.2 anycast addresses nbsp the; 22-23 3.1.3 multicast address 23-24 3.2 identifies the node The need to address 24-26 Chapter ICMPv6 agreement 26-33 4.1 packet format 26-27 4.2 source address 27-28 4.3 message processing rules 28-29 4.4 ICMPv6 error message 29-31 4.4.1 destination unreachable message 29 4.4.2 Packet Too Big message 29-30 4.4.3 timeout packets 30 4.4.4 parameter error message the 30-31 4.5 ICMPv6 information packets , 31-33 4.5.1 the retroreflective request message are found; 31 4.5.2 retroreflective response packets 31-33 Chapter multicast listener discovery Protocol Introduction 33-35 Chapter neighbor discovery protocol 35-74 <br / the> 6.1 protocols Profile 35-38 6.2 packet format 38-44 6.2.1 router request packets 38-39 6.2. the 2 router advertisement packets 39-40 6.2.3 Neighbor Solicitation messages 40-41 6.2.4 neighbor advertisement packets are found; 41-42 6.2.5 redirect messages are found; 42-43 6.2.6 Options 43-44 6.3 neighbor discovery 44-47 <br / > 6.3.1 data structure 44-45 6.3.2 send messages The text algorithm 45-47 6.3.3 data structure maintenance 47 <br / > 6.4 router discovery 47-57 6.4.1 the router solicitation confirm the router advertisements confirmation of the 47-48 6.4.2 48 6.4.3 router code of conduct 48-50 6.4.4 Notice 50-53 6.4.5 host behavior specification 53-57 6.5 Address Resolution 57-64 6.5.1 messages confirm 6.5.2 Address Resolution 57-59 process 59-60 6.5.3 receiving a neighbor solicitation 60-61 6.5.4 Notice of Response neighbors are found; receive a neighbor advertisement are found in 61 6.5.5; 61-63 6.5. neighbor advertisement released non-response 63 6.5.7 anycast neighbor advertisement the 63-64 6.5.8 proxy Neighbor Advertisement 64 6.6 neighbors unreachable detection 64-68 6.6.1 reachability confirmation 65 6.6.2 neighbor cache table entries status 65-66 the 6.6.3 node code of conduct 66-68 6.7 redirect 68-70 6.7.1 redirect message confirmation 68-69 6.7.2 router code of conduct 69 6.7.3 host behavior specification 69-70 6.8 option processing 70-71 6.9 protocol relevant parameters the 71-72 6.9.1 router parameters 71 6.9.2 Host parameter 71 6.9.3 node parameters nbsp safety considerations; 71-72 6.10 nbsp 72-73 6.11 renumbering considered; 73-74 Chapter VII of the IPv6 stateless address auto configuration nbsp Protocol Introduction; 74-78 7.1 74-75 7.2 auto-configuration process 75-78 Chapter VIII of the Linux environment ICMPv6 interface programming 78-110 8.1 socket options the 78-83 the 8.1.1 the Set and Get functions 78-79 8.1.2 socket election items the original 79-83 8.2 socket to create 83-93 8.2.1 original socket 83-84 8.2.2 original sets the interface output 84 8.2.3 raw socket input 84-87 8.2.4 ICMPv6 packet data structure in Linux 87-93 < br /> 8.3 data link access 93-98 8.3.1 to create PF_PACKET socket 93-95 the 8.3.2 related data structures 95 - 96 8.3.3 IPv6 packets in Ethernet transmission 96-97 8.3.4 checksum and 97-98 8.4 environment 98-99 8.5 icmp6snoop listener nbsp the; 99-101 8.5.1 main () function 99-100 8.5.2 Options the handler function nd_opt_recv () 100-101 8.6 original socket version icmp6send message sending program 101-104 8.6.1 data structure 102-103 < br /> 8.6.2 main () function 103-104 8.6.3 nd_send, () function 104 the 8.7 PACKET sets for interface version icmp6send program 104 -107 8.7.1 main () function the the 8.7.2 packet structure 105 105-106 8.7.3 checksum calculation 106-107 8.7.4 sll address structure 107 8.8 test and test 107-110 Chapter Summary 110-111 Appendix A program source code nbsp 111-113 A. 1icmp6snoop program source code; 111 A. 2 original sets the interface version icmp6send program source code 111 -112 the interface version icmp6send A. 3PACKET sets the program source code 112-113 Appendix B Linux IPv6 Socket socket 113-122 B. 1 socket address structure 113-116 under Linux generic socket address structure 113 under Linux IPv4 sets the address of the interface structure 113-114 IPv6 socket address structure under Linux 114-115 IPv6 wildcard address 115 support of IPv6 address manipulation functions 115-116 B. 2TCP sets of interfaces 116-118 socket function 116-117 the connect function 117 bind function and IPv6 wildcard address nbsp 117-118 listen function; 118 accept function 118 B. 3UDP sets of interfaces 118-119 recvfrom function of- the sendto function 119 119 B. 4 discussion 119-122 to UDP call connect 120 in a UDP sockets repeatedly call the connect 120-122 Appendix C acronyms and terminology 122-123 Reference 123-125 Acknowledgements 125-126 biographical notes, research and Awards 126

Related dissertations

  1. A Research and Implementation of Embedded Real-time IPv6 Protocol Stack
  2. Analysis and Research of Internet Control Message Protocol in IPv6 Network
    KeMing ·Lanzhou University of Technology ·2004 ·Master's thesis
  3. Analysis and Research of IPv6 Unicast Data Forwarding
    FangShiHong ·Southwest Jiaotong University ·2006 ·Master's thesis
  4. Analysis and Validation under Linux of ICMPv6 and Its Correlative Protocols
    GuoJianHua ·Southwest Jiaotong University ·2006 ·Master's thesis
  5. Research on Application of Embedded IPv6 on ARM
    XieXiFeng ·Southwest Jiaotong University ·2006 ·Master's thesis
  6. The Realization Mechanism of Embedded IPv6 Protocol Stack Based on SkyEye Emluator Environment
    TaoWeiYe ·Guangdong University of Technology ·2006 ·Master's thesis
  7. Research and Implementation of Forwarding System in High Performance IPv6 Router
    WangHaiBin ·Tsinghua University ·2004 ·Master's thesis
  8. The Design and Implementation of Embedded IPv6 Stack
    LiXin ·Dalian University of Technology ·2005 ·Master's thesis
  9. Design and Implementation of Embedded TCP/IPV6 Stack
    ChengJiZhong ·Hunan University ·2008 ·Master's thesis
  10. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  11. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  12. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  13. The Research of Household Remote Monitoring Based on Embedded Web Server
  14. Research and Design of Intelligent Video Surveillance System Based on ARM
  15. Design of Video Monitoring System Based on the Embedded
  16. The Design of Embedded Network Video Surveillance System Based on ARM9
  17. Design and Application of the Distributed Monitoring System Based on Embedded Web
  18. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  19. Embedded Software Design of AC Field Detection Instrument Based on ARM
  20. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis