Dual Stack Hosts Using "Bump-in-the-API" (BIA)
RFC 3338

Document Type RFC - Experimental (October 2002; No errata)
Obsoleted by RFC 6535
Last updated 2015-10-14
Stream IETF
Formats plain text pdf htmlized bibtex
Stream WG state (None)
Document shepherd No shepherd assigned
IESG IESG state RFC 3338 (Experimental)
Consensus Boilerplate Unknown
Telechat date
Responsible AD Randy Bush
IESG note Done!
Send notices to <tony@tndh.net>
Network Working Group                                             S. Lee
Request for Comments: 3338                                     M-K. Shin
Category: Experimental                                          Y-J. Kim
                                                                    ETRI
                                                             E. Nordmark
                                                               A. Durand
                                                        Sun Microsystems
                                                            October 2002

             Dual Stack Hosts Using "Bump-in-the-API" (BIA)

Status of this Memo

   This memo defines an Experimental Protocol for the Internet
   community.  It does not specify an Internet standard of any kind.
   Discussion and suggestions for improvement are requested.
   Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

Abstract

   This document specifies a mechanism of dual stack hosts using a
   technique called "Bump-in-the-API"(BIA) which allows for the hosts to
   communicate with other IPv6 hosts using existing IPv4 applications.
   The goal of this mechanism is the same as that of the Bump-in-the-
   stack mechanism, but this mechanism provides the translation method
   between the IPv4 APIs and IPv6 APIs.  Thus, the goal is simply
   achieved without IP header translation.

Lee, et al.                   Experimental                      [Page 1]
RFC 3338               Dual Stack Hosts Using BIA           October 2002

Table of Contents:

   1.  Introduction ................................................  2
   2.  Applicability and Disclaimer ................................  3
   2.1 Applicability ...............................................  3
   2.2 Disclaimer ..................................................  4
   3.  Dual Stack Host Architecture Using BIA ......................  4
   3.1 Function Mapper .............................................  4
   3.2 Name Resolver ...............................................  5
   3.3 Address Mapper ..............................................  5
   4.  Behavior Example ............................................  6
   4.1 Originator Behavior .........................................  6
   4.2 Recipient Behavior ..........................................  8
   5.  Considerations  ............................................. 10
   5.1 Socket API Conversion ....................................... 10
   5.2 ICMP Messages Handling ...................................... 10
   5.3 IPv4 Address Pool and Mapping Table ......................... 10
   5.4 Internally Assigned IPv4 Addresses .......................... 10
   5.5 Mismatch Between DNS Result and Peer Application Version .... 11
   5.6 Implementation Issues ....................................... 11
   6.  Limitations ................................................. 12
   7.  Security Considerations ..................................... 12
   8.  Acknowledgments ............................................. 12
   9.  References .................................................. 12
   Appendix:  API list intercepted by BIA .......................... 14
   Authors Addresses ............................................... 16
   Full Copyright Statement ........................................ 17

1. Introduction

   RFC2767 [BIS] specifies a host translation mechanism using a
   technique called "Bump-in-the-Stack".  It translates IPv4 into IPv6,
   and vice versa using the IP conversion mechanism defined in [SIIT].
   BIS allows hosts to communicate with other IPv6 hosts using existing
   IPv4 applications.  However, this approach is to use an API
   translator which is inserted between the TCP/IP module and network
   card driver, so that it has the same limitations as the [SIIT] based
   IP header translation methods.  In addition, its implementation is
   dependent upon the network interface driver.

   This document specifies a new mechanism of dual stack hosts called
   Bump-in-the-API(BIA) technique.  The BIA technique inserts an API
   translator between the socket API module and the TCP/IP module in the
   dual stack hosts, so that it translates the IPv4 socket API function
   into IPv6 socket API function and vice versa.  With this mechanism,
   the translation can be simplified without IP header translation.

Lee, et al.                   Experimental                      [Page 2]
RFC 3338               Dual Stack Hosts Using BIA           October 2002

   Using BIA, the dual stack host assumes that there exists both
   TCP(UDP)/IPv4 and TCP(UDP)/IPv6 stacks on the local node.

   When IPv4 applications on the dual stack communicate with other IPv6
   hosts, the API translator detects the socket API functions from IPv4
   applications and invokes the IPv6 socket API functions to communicate
Show full document text