IPv6 Advanced Protocols Implementation is the second installment of a two-volume series on IPv6 and the KAME implementation. This book discusses those protocols that are found in more capable IPv6 devices, are commonly deployed in more complex IPv6 network environments, or are not specific to IPv6 but are extended to support IPv6. Specifically, this book engages the readers in advanced topics such as routing, multicasting, DNS, DHCPv6, mobility, and security.
This two-volume series covers a wide spectrum of the IPv6 technology, help the readers establish solid and empirical understanding on IPv6 and the KAME reference implementation paralleled by none.
Key Features:
- Extensive code listings with meticulous line-by-line explanation of rationale and use for KAME snapshot implementations on advanced IPv6 related protocols, including:
- Unicast and multicast routing and DNS client based on KAME snapshot dated April 2003, which are a base of more recent versions of BSD variants
- Mobile IPv6 based on KAME snapshot dated July 2004, a predecessor version of the "SHISA" implementation
- DHCPv6 based on KAME snapshot dated May 2005, a base of the WIDE-DHCPv6 implementation available at SourceForge today
- Numerous diagrams and illustrations help in visualizing the implementation
- In-depth discussion of the standards provides intrinsic understanding of the specifications
- An introduction to the IP security protocols along with the use of the racoon key exchange daemon
- Two CD-ROMs filled with the complete KAME IPv6 protocol stack and FreeBSD software
- The only authoritative reference "cookbook" for anyone interested in advanced IPv6 topics and protocols
- Line-by-line walk through of real code helps the reader master IPv6 implementation
- Comprehensive in scope, based on a working standard, and thoroughly illustrated to bring the protocols alive
Inhaltsverzeichnis
1;Front Cover;1 2;IPv6 Advanced Protocols Implementation;4 3;Copyright Page;5 4;Table of Contents;8 5;Preface;20 6;About the Authors;26 7;Chapter 1 IPv6 Unicast Routing Protocols;28 7.1;1.1 Introduction;28 7.2;1.2 Overview of Routing Concepts;29 7.3;1.3 Overview of Vector-based Algorithms and Link-State Algorithm;32 7.4;1.4 Introduction to RIPng;37 7.5;1.5 Introduction to BGP4+;44 7.6;1.6 Introduction to OSPFv3;60 7.7;1.7 Code Introduction;76 7.8;1.8 IPv6 Routing Table in the BSD Kernel;77 7.9;1.9 Routing API;82 7.10;1.10 Overview of route6d Daemon;92 7.11;1.11 Common Data Structures, Routines and Global Variables;92 7.12;1.12 Interface Configuration;100 7.13;1.13 RIPng Protocol Operation;108 7.14;1.14 Routing Operation Using route6d;132 8;Chapter 2 IPv6 Multicasting;140 8.1;2.1 Introduction;140 8.2;2.2 IPv6 Multicast Address to Layer-2 Multicast Address Mapping;141 8.3;2.3 Multicast Listener Discovery Protocol;141 8.4;2.4 Multicast Routing Fundamentals;147 8.5;2.5 Code Introduction;158 8.6;2.6 MLD Implementation;160 8.7;2.7 IPv6 Multicast Interface: mif6{} Structure;177 8.8;2.8 IPv6 Multicast Routing API;179 8.9;2.9 IPv6 Multicast Forwarding Cache;192 8.10;2.10 IPv6 Multicast Forwarding;201 8.11;2.11 IPv6 Multicast Operation;229 9;Chapter 3 DNS for IPv6;234 9.1;3.1 Introduction;234 9.2;3.2 Basics of DNS Definitions and Protocols;235 9.3;3.3 IPv6-Related Topics about DNS;244 9.4;3.4 Implementation of IPv6 DNS Resolver;253 9.5;3.5 IPv6 DNS Operation with BIND;291 10;Chapter 4 DHCPv6;316 10.1;4.1 Introduction;316 10.2;4.2 Overview of the DHCPv6 Protocol;317 10.3;4.3 Code Introduction;347 10.4;4.4 Client Implementation;353 10.5;4.5 Server Implementation;409 10.6;4.6 Relay Agent Implementation;466 10.7;4.7 Implementation of DHCPv6 Authentication;481 10.8;4.8 DHCPv6 Operation;495 11;Chapter 5 Mobile IPv6;512 11.1;5.1 Introduction;512 11.2;5.2 Mobile IPv6 Overview;513 11.3;5.3 Header Extension;518 11.4;5.4 Procedure of Mobile IPv6;539 11.5;5.5 Route Optimization;548 11.6;
5.6 Movement Detection;556 11.7;5.7 Dynamic Home Agent Address Discovery;557 11.8;5.8 Mobile Prefix Solicitation/Advertisement;560 11.9;5.9 Relationship with IPsec;561 11.10;5.10 Code Introduction;564 11.11;5.11 Mobile IPv6 Related Structures;566 11.12;5.12 Macro and Type Definitions;594 11.13;5.13 Global Variables;597 11.14;5.14 Utility Functions;597 11.15;5.15 Common Mobility Header Processing;602 11.16;5.16 Home Agent and Correspondent Node;615 11.17;5.17 Mobile Node;716 11.18;5.18 Mobile IPv6 Operation;919 11.19;5.19 Appendix;928 12;Chapter 6 IPv6 and IP Security;930 12.1;6.1 Introduction;930 12.2;6.2 Authentication Header;931 12.3;6.3 Encapsulating Security Payload;933 12.4;6.4 Transport Mode and Tunnel Mode;935 12.5;6.5 Security Association Database;936 12.6;6.6 IPsec Traffic Processing;940 12.7;6.7 SPD and SAD Management;941 12.8;6.8 Manual Configuration;943 12.9;6.9 Internet Security Association and Key Management Protocol (ISAKMP) Overview;952 12.10;6.10 Racoon Operation;958 12.11;6.11 Scenarios;964 13;References;980 14;Index;988