IPv6 Network Programming -  Jun-ichiro itojun Hagino

IPv6 Network Programming (eBook)

eBook Download: PDF
2004 | 1. Auflage
376 Seiten
Elsevier Science (Verlag)
978-0-08-047879-1 (ISBN)
Systemvoraussetzungen
53,95 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
This book contains everything you need to make your application program support IPv6. IPv6 socket APIs (RFC2553) are fully described with real-world examples. It covers security, a great concern these days. To secure the Internet infrastructure, every developer has to take a security stance - to audit every line of code, to use proper API and write correct and secure code as much as possible. To achieve this goal, the examples presented in this book are implemented with a security stance. Also, the book leads you to write secure programs. For instance, the book recommends against the use of some of the IPv6 standard APIs - unfortunately, there are some IPv6 APIs that are inherently insecure, so the book tries to avoid (and discourage) the use of such APIs. Another key issue is portability. The examples in the book should be applicable to any of UNIX based operating systems, MacOS X, and Windows XP.

* Covers the new protocol just adopted by the Dept of Defense for future systems
* Deals with security concerns, including spam and email, by presenting the best programming standards
* Fully describes IPv6 socket APIs (RFC2553) using real-world examples
* Allows for portability to UNIX-based operating systems, MacOS X, and Windows XP
This book contains everything you need to make your application program support IPv6. IPv6 socket APIs (RFC2553) are fully described with real-world examples. It covers security, a great concern these days. To secure the Internet infrastructure, every developer has to take a security stance - to audit every line of code, to use proper API and write correct and secure code as much as possible. To achieve this goal, the examples presented in this book are implemented with a security stance. Also, the book leads you to write secure programs. For instance, the book recommends against the use of some of the IPv6 standard APIs - unfortunately, there are some IPv6 APIs that are inherently insecure, so the book tries to avoid (and discourage) the use of such APIs. Another key issue is portability. The examples in the book should be applicable to any of UNIX based operating systems, MacOS X, and Windows XP.* Covers the new protocol just adopted by the Dept of Defense for future systems* Deals with security concerns, including spam and email, by presenting the best programming standards * Fully describes IPv6 socket APIs (RFC2553) using real-world examples * Allows for portability to UNIX-based operating systems, MacOS X, and Windows XP

Front Cover 1
IPv6 Network Programming 4
Copyright Page 5
Contents 6
Preface 8
About This Book 10
Write Portable Application Programs 10
Be Security Conscious When Writing Programs 10
Terminology and Portability 11
Chapter 1. Introduction 14
1.1 A History of IPv6 and Its Key Features 14
1.2 Transition from IPv4-Only Internet to IPv4/v6 Dual Stack Internet 17
1.3 UNIX Socket Programming 19
1.4 IPv6 Architecture from a Programmer's Point of View 23
Chapter 2. IPv6 Socket Programming 26
2.1 AF_INET6: The Address Family for IPv6 26
2.2 Why Programs Need to Be Address-Family Independent? 27
2.3 Guidelines to Address-Family Independent Socket Programming 30
Chapter 3. Porting Applications to Support IPv6 40
3.1 Making Existing Applications IPv6 Ready 40
3.2 Finding Where to Rewrite, Reorganizing Code 40
3.3 Rewriting Client Applications 42
3.4 Rewriting Server Applications 44
Chapter 4. Tips in IPv6 Programming 62
4.1 Parsing a IPv6 Address out of String 62
4.2 Issues with ":" As a Separator 62
4.3 Issues with an IPv4 Mapped Address 63
4.4 bind(2) Ordering and Conflicts 64
4.5 How IPv4 Traffic Gets Routed to Sockets 65
4.6 Portability across Systems 65
4.7 RFCs 2292/3542, Advanced API 67
4.8 Platform Support Status 67
Chapter 5. A Practical Example 72
5.1 Server Program Example—popa3d 72
5.2 Further Extensions 75
5.3 Client Program Example—nail 75
A. Coming updates to IPv6 APIs 94
B. RFC2553 "Basic Socket Interface Extensions for IPv6" 96
C. RFC3493 "Basic Socket Interface Extensions for IPv6" 138
D. RFC2292 "Advanced Sockets API for IPv6" 178
E. RFC3542 "Advanced Sockets Application Program Interface (API) for IPv6" 246
F. IPv4-Mapped Address API Considered Harmful 324
G. IPv4-Mapped Addresses on the Wire Considered Harmful 330
H. Possible Abuse Against IPv6 Transition Technologies 336
I. An Extension of format for IPv6 Scoped Addresses 346
J. Protocol Independence Using the Sockets API 358
References 368

Erscheint lt. Verlag 16.11.2004
Sprache englisch
Themenwelt Sachbuch/Ratgeber
Informatik Netzwerke TCP / IP und IPv6
Mathematik / Informatik Informatik Software Entwicklung
ISBN-10 0-08-047879-4 / 0080478794
ISBN-13 978-0-08-047879-1 / 9780080478791
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)
Größe: 13,8 MB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.