4917
PROPOSED STANDARD

Mobile IPv4 Message String Extension

Authors: V. Sastry, K. Leung, A. Patel
Date: June 2007
Area: int
Working Group: mip4
Stream: IETF

Abstract

This document specifies a new extension for use in Mobile IPv4. This extension can be added by the Home Agent and the Foreign Agent to Registration Reply messages. This extension carries a text string that is intended for the user of the Mobile Node. [STANDARDS-TRACK]

RFC 4917: Mobile IPv4 Message String Extension [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Network Working Group                                          V. Sastry
Request for Comments: 4917                           Samsung Electronics
Category: Standards Track                                       K. Leung
                                                                A. Patel
                                                           Cisco Systems
                                                               June 2007


                  <span class="h1">Mobile IPv4 Message String Extension</span>

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The IETF Trust (2007).

Abstract

   This document specifies a new extension for use in Mobile IPv4.  This
   extension can be added by the Home Agent and the Foreign Agent to
   Registration Reply messages.  This extension carries a text string
   that is intended for the user of the Mobile Node.

Table of Contents

   <a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
   <a href="#section-2">2</a>. Terminology .....................................................<a href="#page-2">2</a>
   <a href="#section-3">3</a>. Mobile IPv4 Message String Extension Format .....................<a href="#page-2">2</a>
   <a href="#section-4">4</a>. Operation and Use of the Message String Extension ...............<a href="#page-3">3</a>
   <a href="#section-5">5</a>. Security Considerations .........................................<a href="#page-4">4</a>
   <a href="#section-6">6</a>. IANA Considerations .............................................<a href="#page-4">4</a>
   <a href="#section-7">7</a>. Acknowledgements ................................................<a href="#page-5">5</a>
   <a href="#section-8">8</a>. Normative References ............................................<a href="#page-5">5</a>












<span class="grey">Sastry, et al.              Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   This document specifies a new skippable extension that can be added
   by the Foreign Agent and Home Agent in any registration message
   targeted for the Mobile Node.  Such a message may be either a
   Registration Reply or Registration Revocation (i.e., co-located
   Care-of Address mode).  For the Registration Reply message, this
   extension can be added regardless of whether the registration has
   succeeded or failed.

   The content of the text string in this extension and its usage by the
   Mobile Node is implementation specific.  The text string in this
   extension is intended for the user of the Mobile Node.  For example,
   this message can be displayed on the Mobile Node's user interface,
   logged, or handled in any other implementation dependent way,
   depending on the form of the Mobile Node.

   Typical contents of the text string will indicate a registration
   failure reason, or give a welcome message on successful registration.
   This is important, as the failure reason code gives very limited
   information for interpretation by the user of the Mobile Node.  For
   example, a string like "registration failed : Prepaid Quota for the
   user is exhausted" can give a human readable description of the
   result of Mobile IP registration.

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  Terminology</span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  Mobile IPv4 Message String Extension Format</span>

   The Message String Extension conforms to the Short Extension format
   specified for Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].  The Message String Extension is
   a skippable extension.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |   Length      |    Sub-Type   |    Text ....
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type:

      145: An 8-bit identifier of the type mobility option.





<span class="grey">Sastry, et al.              Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


   Length:

      An 8-bit unsigned integer.  Length of the extension, in bytes,
      excluding the extension Type and the extension Length fields.
      This field MUST be set to 1 plus the total length of the Text
      field.

   Sub-Type:

      1: Extension comes from the Home Agent

      2: Extension comes from the Foreign Agent

   Text:

      The Text field is one or more octets, and its contents are
      implementation dependent.  It is intended to be human readable,
      and MUST NOT affect the operation of the protocol.  The message
      MUST be in UTF-8 encoded ISO-10646 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>] characters.  The
      number of octets in the encoded representation of the message is
      always exactly the value of the Length field minus one.  (The
      number of unicode characters represented by this octet sequence
      may be smaller than the number of octets.)

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Operation and Use of the Message String Extension</span>

   The Message String Extension is only valid for use within Mobile IPv4
   Registration Reply and Registration Revocation messages.  The Message
   String Extension is a skippable extension.  Either the Home Agent or
   Foreign Agent or both can add the Message String Extension to
   registration messages.  The usage of Text field of the Message String
   Extension is implementation dependent.  For example, the message can
   be displayed on the Mobile Node's user interface, logged, or handled
   in an implementation dependent way, depending on the form of the
   Mobile Node.  The Mobile Node may throttle how often the user is
   notified of the message.

   As an example, the Home Agent may reject the first Registration
   Request because the prepaid quota for the user is reached and may
   attach a Message String Extension with the text "Prepaid quota
   reached.  Please contact www.paymore.example.com to update balance".
   The Mobile Node could display this on the user interface.  As a
   response, the user of the Mobile Node may take the required action to
   update the prepaid account and retry the registration process.  The
   Home Agent may accept this Registration Request and attach a Message






<span class="grey">Sastry, et al.              Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


   String Extension with the text "Welcome to
   www.serviceprovider.example.com".  The Mobile Node could display this
   on the user interface, thus confirming a successful creation of
   binding on Home Agent.

   In the case that the message is not originated by the Home Agent
   itself, but for instance, is received from a RADIUS server [<a href="./rfc2865" title=""Remote Authentication Dial In User Service (RADIUS)"">RFC2865</a>],
   it could be received in some other encoding than UTF-8.  If so, the
   Home Agent MUST convert the message to UTF-8 encoded ISO-10646
   [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>] characters.

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  Security Considerations</span>

   The Message String Extension can be added by the Home Agent or
   Foreign Agent or both.  The protection of the extension is based on
   the ordering method specified for message authentication in <a href="./rfc3344">RFC 3344</a>
   [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] and emphasized below.

   If the extension is added by the Home Agent (extension with subtype
   1) to a Registration Reply or Registration Revocation message, it
   MUST appear before Mobile-Home Authentication Extension [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>].

   If the extension is added by the Foreign Agent (extension with
   subtype 2) to a Registration Reply message, it MUST appear after
   Mobile-Home Authentication Extension [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>] whenever present.
   Also the extension MUST appear before the Mobile-Foreign
   Authentication Extension whenever present.  However, since security
   association between the Mobile Node and Foreign Agent is optional, it
   is possible that the extension is not authenticated in this case.

   There is no confidentiality provided by the extension; the message is
   transferred unencrypted, and if sensitive information is sent for
   display purposes, it may need to be protected by other means.

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  IANA Considerations</span>

   This specification reserves number 145 for the Message String
   Extension in <a href="#section-3">Section 3</a> from the space of numbers for skippable
   mobility extensions (i.e., 128-255) defined for Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]
   at <a href="http://www.iana.org/assignments/mobileip-numbers">http://www.iana.org/assignments/mobileip-numbers</a>.

   This specification also creates a new subtype space for the type
   number of this extension.  The subtype values 1 and 2 are defined in
   this specification.  The subtype value 1 is reserved for use by the







<span class="grey">Sastry, et al.              Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


   Home Agent and subtype value 2 is reserved for use by the Foreign
   Agent.  Similar to the procedures specified for Mobile IPv4 [<a href="./rfc3344" title=""IP Mobility Support for IPv4"">RFC3344</a>]
   number spaces, future allocations from this number space require
   expert review [<a href="./rfc2434" title="">RFC2434</a>].

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  Acknowledgements</span>

   The authors would like to thank Avi Lior, Curtis Provost, and Henrik
   Levkowetz for their useful comments on an earlier version of this
   document.  Also, Russ Housley, Vidya Narayanan, Blake Ramsdell, Paul
   Hoffman, and Jeff Hutzelman provided justifications to mandate the
   need for only UTF-8 encoding in the message and solicited better
   clarifications in the security considerations section.

<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>.  Normative References</span>

   [<a id="ref-RFC2119">RFC2119</a>]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.

   [<a id="ref-RFC2434">RFC2434</a>]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>,
              October 1998.

   [<a id="ref-RFC2865">RFC2865</a>]  Rigney, C., Willens, S., Rubens, A., and W. Simpson,
              "Remote Authentication Dial In User Service (RADIUS)", <a href="./rfc2865">RFC</a>
              <a href="./rfc2865">2865</a>, June 2000.

   [<a id="ref-RFC3344">RFC3344</a>]  Perkins, C., Ed., "IP Mobility Support for IPv4", <a href="./rfc3344">RFC</a>
              <a href="./rfc3344">3344</a>, August 2002.

   [<a id="ref-RFC3629">RFC3629</a>]  Yergeau, F., "UTF-8, a transformation format of ISO
              10646", STD 63, <a href="./rfc3629">RFC 3629</a>, November 2003.



















<span class="grey">Sastry, et al.              Standards Track                     [Page 5]</span>

<span id="page-6" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


Authors' Addresses

   Venkateshwara Sastry
   Samsung Electronics
   124/C 5th D Cross
   Girinagar I Phase
   Bangalore  560085
   India

   Phone: +91-80-26725942
   EMail: [email protected]


   Kent Leung
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   US

   Phone: +1 408-526-5030
   EMail: [email protected]


   Alpesh Patel
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   US

   Phone: +1 408-853-9580
   EMail: [email protected]




















<span class="grey">Sastry, et al.              Standards Track                     [Page 6]</span>

<span id="page-7" ></span>
<span class="grey"><a href="./rfc4917">RFC 4917</a>          Mobile IPv4 Message String Extension         June 2007</span>


Full Copyright Statement

   Copyright (C) The IETF Trust (2007).

   This document is subject to the rights, licenses and restrictions
   contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
   THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
   THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   <a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   [email protected].

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.







Sastry, et al.              Standards Track                     [Page 7]

Additional Resources