home *** CD-ROM | disk | FTP | other *** search
/ Internet Core Protocols / Oreilly-InternetCoreProtocols.iso / RFCs / rfc2484.txt < prev    next >
Encoding:
Text File  |  1999-10-14  |  8.4 KB  |  284 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                            G. Zorn
  8. Request for Comments: 2484                         Microsoft Corporation
  9. Category: Standards Track                                   January 1999
  10. Updates: 2284, 1994, 1570
  11.  
  12.  
  13.            PPP LCP Internationalization Configuration Option
  14.  
  15. Status of this Memo
  16.  
  17.    This document specifies an Internet standards track protocol for the
  18.    Internet community, and requests discussion and suggestions for
  19.    improvements.  Please refer to the current edition of the "Internet
  20.    Official Protocol Standards" (STD 1) for the standardization state
  21.    and status of this protocol.  Distribution of this memo is unlimited.
  22.  
  23. Copyright Notice
  24.  
  25.    Copyright (C) The Internet Society (1999).  All Rights Reserved.
  26.  
  27. 1.  Abstract
  28.  
  29.    The Point-to-Point Protocol (PPP) [1] provides a standard method for
  30.    transporting multi-protocol datagrams over point-to-point links.  PPP
  31.    also defines an extensible Link Control Protocol (LCP), which allows
  32.    negotiation of an Authentication Protocol for authenticating its peer
  33.    before allowing Network Layer protocols to transmit over the link.
  34.  
  35.    Both LCP and Authentication Protocol packets may contain text which
  36.    is intended to be human-readable [2,3,4].  This document defines an
  37.    LCP configuration option for the negotiation of character set and
  38.    language usage, as required by RFC 2277 [5].
  39.  
  40. 2.  Specification of Requirements
  41.  
  42.    In this document, the key words "MAY", "MUST, "MUST NOT", "optional",
  43.    "recommended", "SHOULD", and "SHOULD NOT" are to be interpreted as
  44.    described in [6].
  45.  
  46. 3.  Additional LCP Configuration Option
  47.  
  48.    The Configuration Option format and basic options are already defined
  49.    for LCP [1].
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Zorn                        Standards Track                     [Page 1]
  59.  
  60. RFC 2484            LCP Internationalization Option         January 1999
  61.  
  62.  
  63.    Up-to-date values of the LCP Option Type field are specified in STD 2
  64.    [7].  This document concerns the following value:
  65.  
  66.       28  Internationalization
  67.  
  68.    The Internationalization option described here MAY be negotiated
  69.    independently in each direction.
  70.  
  71.    Only one instance of this option SHOULD be sent by an implementation,
  72.    representing its preferred language and charset.
  73.  
  74.    If Internationalization option is rejected by the peer, the default
  75.    language and charset MUST be used to construct all human-readable
  76.    messages sent to the peer.
  77.  
  78. 4.1.  Internationalization
  79.  
  80.    Description
  81.  
  82.       This Configuration Option provides a method for an implementation
  83.       to indicate to the peer both the language in which human-readable
  84.       messages it sends should be composed and the charset in which that
  85.       language should be represented.
  86.  
  87.    A summary of the Internationalization option format is shown below.
  88.    The fields are transmitted from left to right.
  89.  
  90.     0                   1                   2                   3
  91.     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
  92.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  93.    |     Type      |    Length     |          MIBenum
  94.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  95.              MIBenum (cont)        |        Language-Tag...
  96.    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  97.  
  98.    Type
  99.  
  100.       28
  101.  
  102.  
  103.    Length
  104.  
  105.       >= 7
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Zorn                        Standards Track                     [Page 2]
  115.  
  116. RFC 2484            LCP Internationalization Option         January 1999
  117.  
  118.  
  119.    MIBenum
  120.  
  121.       The MIBenum field is four octets in length.  It contains a unique
  122.       integer value identifying a charset [5,11].
  123.  
  124.       This value MUST represent one of the set of charsets listed in the
  125.       IANA charset registry [7].
  126.  
  127.       The charset registration procedure is described in RFC 2278 [9].
  128.  
  129.       The default charset value is UTF-8 [10].  The MIBenum value for
  130.       the UTF-8 charset is 106.
  131.  
  132.    Language-Tag
  133.  
  134.       The Language-Tag field is an ASCII string which contains a
  135.       language tag, as defined in RFC 1766 [8].
  136.  
  137.       Language tags are in principle case-insensitive; however, since
  138.       the capitalization of a tag does not carry any meaning,
  139.       implementations SHOULD send only lower-case Tag fields.
  140.  
  141.       The default Tag value is "i-default" [8].
  142.  
  143. 4.  References
  144.  
  145.    [1]  Simpson, W., "The Point-to-Point Protocol (PPP)", STD 51, RFC
  146.         1661, July 1994.
  147.  
  148.    [2]  Simpson, W., "PPP Challenge Handshake Authentication Protocol
  149.         (CHAP)", RFC 1994, August 1996.
  150.  
  151.    [3]  Simpson, W., "PPP LCP Extensions", RFC 1570, January 1994.
  152.  
  153.    [4]  Blunk, L. and J. Vollbrecht, "PPP Extensible Authentication
  154.         Protocol (EAP)", RFC 2284, March 1998.
  155.  
  156.    [5]  Alvestrand, H., "IETF Policy on Character Sets and Languages",
  157.         BCP 18, RFC 2277, January 1998.
  158.  
  159.    [6]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
  160.         Levels", BCP 14, RFC 2119, March 1997.
  161.  
  162.    [7]  Reynolds, J. and J. Postel, "Assigned Numbers", STD 2, RFC 1700,
  163.         October 1994.  See also: http://www.iana.org/numbers.html
  164.  
  165.    [8]  Alvestrand, H., "Tags for the Identification of Languages", RFC
  166.         1766, March 1995.
  167.  
  168.  
  169.  
  170. Zorn                        Standards Track                     [Page 3]
  171.  
  172. RFC 2484            LCP Internationalization Option         January 1999
  173.  
  174.  
  175.    [9]  Freed, N. and J. Postel, "IANA Charset Registration Procedures",
  176.         BCP 19, RFC 2278, January 1998.
  177.  
  178.    [10] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC
  179.         2279, January 1998.
  180.  
  181.    [11] Smith, R., Wright, F., Hastings, T., Zilles, S. and J.
  182.         Gyllenskog, "Printer MIB", RFC 1759, March 1995.
  183.  
  184. 5.  Security Considerations
  185.  
  186.    It is possible that an attacker might manipulate the option in such a
  187.    way that displayable messages would be unintelligible to the reader.
  188.  
  189. 6.  Acknowledgements
  190.  
  191.    Thanks to Craig Fox (fox@cisco.com), James Carlson
  192.    (carlson@ironbridgenetworks.com), Harald Alvestrand
  193.    (Harald.Alvestrand@maxware.no), Kevin Smith (kevin@ascend.com), Karl
  194.    Fox (karl@ascend.com), Thomas Narten (narten@raleigh.ibm.com) and
  195.    Narendra Gidwani (nareng@microsoft.com) for helpful suggestions and
  196.    feedback.
  197.  
  198. 7.  Chair's Address
  199.  
  200.    Karl Fox
  201.    Ascend Communications
  202.    3518 Riverside Drive
  203.    Suite 101
  204.    Columbus, OH 43221
  205.  
  206.    Phone: +1 614 326 6841
  207.    EMail: karl@ascend.com
  208.  
  209. 8.  Author's Address
  210.  
  211.    Glen Zorn
  212.    Microsoft Corporation
  213.    One Microsoft Way
  214.    Redmond, Washington 98052
  215.  
  216.    Phone: +1 425 703 1559
  217.    Fax:   +1 425 936 7329
  218.    EMail: glennz@microsoft.com
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Zorn                        Standards Track                     [Page 4]
  227.  
  228. RFC 2484            LCP Internationalization Option         January 1999
  229.  
  230.  
  231. 9.  Full Copyright Statement
  232.  
  233.    Copyright (C) The Internet Society (1999).  All Rights Reserved.
  234.  
  235.    This document and translations of it may be copied and furnished to
  236.    others, and derivative works that comment on or otherwise explain it
  237.    or assist in its implementation may be prepared, copied, published
  238.    and distributed, in whole or in part, without restriction of any
  239.    kind, provided that the above copyright notice and this paragraph are
  240.    included on all such copies and derivative works.  However, this
  241.    document itself may not be modified in any way, such as by removing
  242.    the copyright notice or references to the Internet Society or other
  243.    Internet organizations, except as needed for the purpose of
  244.    developing Internet standards in which case the procedures for
  245.    copyrights defined in the Internet Standards process must be
  246.    followed, or as required to translate it into languages other than
  247.    English.
  248.  
  249.    The limited permissions granted above are perpetual and will not be
  250.    revoked by the Internet Society or its successors or assigns.
  251.  
  252.    This document and the information contained herein is provided on an
  253.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  254.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  255.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  256.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  257.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Zorn                        Standards Track                     [Page 5]
  283.  
  284.