home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / rfc / 3 / rfc2303.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  14.3 KB  |  452 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                      C. Allocchio
  8. Request for Comments: 2303                                   GARR-Italy
  9. Category: Standards Track                                    March 1998
  10.  
  11.  
  12.  
  13.  
  14.               Minimal PSTN address format in Internet Mail
  15.  
  16.  
  17. Status of this Memo
  18.  
  19.    This document specifies an Internet standards track protocol for the
  20.    Internet community, and requests discussion and suggestions for
  21.    improvements.  Please refer to the current edition of the "Internet
  22.    Official Protocol Standards" (STD 1) for the standardization state
  23.    and status of this protocol.  Distribution of this memo is unlimited.
  24.  
  25. Copyright Notice
  26.  
  27.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  28.  
  29. IESG NOTE
  30.  
  31.    This memo describes a simple method of encoding PSTN addresses in the
  32.    local-part of Internet email addresses, along with an extension
  33.    mechanism to allow encoding of additional standard attributes needed
  34.    for email gateways to PSTN-based services.
  35.  
  36.    As with all Internet mail addresses, the left-hand-side (local- part)
  37.    of an address generated according to this specification, is not to be
  38.    interpreted except by the MTA that is named on the right-hand-side
  39.    (domain).
  40.  
  41. 1. Introduction
  42.  
  43.    Since the very first e-mail to PSTN services gateway appeared, a
  44.    number of different methods to specify a PSTN address as an e-mail
  45.    address have been used by implementors. Two major objectives for this
  46.    were
  47.  
  48.      - enable an e-mail user to access these services from his/her
  49.        e-mail interface;
  50.  
  51.      - enable some kind of "PSTN over e-mail service" transport, to
  52.        reduce the costs of PSTN long distance transmissions, and use the
  53.        existing e-mail infrastructure.
  54.  
  55.  
  56.  
  57.  
  58. Allocchio                   Standards Track                     [Page 1]
  59.  
  60. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  61.  
  62.  
  63.    This memo describes the MINIMAL addressing method to encode PSTN
  64.    addresses into e-mail addresses and the standard extension mechanism
  65.    to allow definition of further standard elements. The opposite
  66.    problem, i.e. to allow a traditional numeric-only PSTN device user to
  67.    access the e-mail transport service, is not discussed here.
  68.  
  69.    All implementations supporting this PSTN over e-mail service MUST
  70.    support as a minimum the specification described in this document.
  71.    The generic complex case of converting the whole PSTN addressing into
  72.    e-mail is out of scope in this minimal specification: there is some
  73.    work in progress in the field, where also a number of standard
  74.    optional extensions are being defined.
  75.  
  76.    In this document the formal definitions are described using ABNF
  77.    syntax, as defined into [7]. We will also use some of the "CORE
  78.    DEFINITIONS" defined in "APPENDIX A - CORE" of that document. The
  79.    exact meaning of the capitalised words
  80.  
  81.       "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
  82.       "SHOULD NOT", "RECOMMENDED",  "MAY", "OPTIONAL"
  83.  
  84.    is defined in reference [6].
  85.  
  86. 2. Minimal PSTN address
  87.  
  88.    The minimal specification of a PSTN address in e-mail address is as
  89.    follows:
  90.  
  91.       pstn-address = pstn-mbox  [ qualif-type1 ]
  92.  
  93.       pstn-mbox = service-selector "=" global-phone
  94.  
  95.       service-selector = 1*( DIGIT / ALPHA / "-" )
  96.                          ; note that SP (space) is not allowed in
  97.                          ; service-selector.
  98.                          ; service-selector MUST be handled as a case
  99.                          ; INSENSITIVE string by implementations.
  100.  
  101.    Specifications adopting the "pstn-address" definition MUST define a
  102.    unique case insensitive "service-selector" element to identify the
  103.    specific messaging service involved.
  104.  
  105.    These specifications MUST also define which minimal "qualif-type1"
  106.    extensions, if any, MUST be supported for the specified service.
  107.  
  108.    Implementations confirming to these minimal requirements
  109.    specification are allowed to ingnore any other non-minimal extensions
  110.    address element which can be present in the "pstn-address". However,
  111.  
  112.  
  113.  
  114. Allocchio                   Standards Track                     [Page 2]
  115.  
  116. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  117.  
  118.  
  119.    conforming implementations MUST preserve all "qualif-type1" address
  120.    elements they receive.
  121.  
  122.    The generic "qualif-type1" element is defined as:
  123.  
  124.       qualif-type1 = "/" keyword "=" string
  125.  
  126.       keyword = 1*( DIGIT / ALPHA / "-" )
  127.                 ; note that SP (space) is not allowed in keyword
  128.  
  129.       string = PCHAR
  130.                ; note that printable characters are %x20-7E
  131.  
  132.    As such, all "pstn-address" extensions elements MUST be defined in
  133.    the "qualif-type1" form.
  134.  
  135. 2.1 Minimal "global-phone" definition
  136.  
  137.    We now define the minimal supported syntax for global-phone:
  138.  
  139.       global-phone = "+" 1*( DIGIT , written-sep )
  140.  
  141.       written-sep = ( "-" / "." )
  142.  
  143.    The use of other dialling schemas for PSTN numbers (like private
  144.    numbering plans or local dialling conventions) is also allowed.
  145.    However, this does not preclude nor remove the minimal compulsory
  146.    requirement to support the "global-phone" syntax as defined above.
  147.  
  148.    Any non "global-phone" dialling schema MUST NOT use the leading "+"
  149.    between the "=" sign and the dialling string. The "+" sign is
  150.    strictly reserved for the standard "global-phone" syntax.
  151.  
  152.    Note:
  153.      The specification of these different dialling schemas is out of
  154.      scope for this minimal specification.
  155.  
  156.    User specification of PSTN e-mail addresses will be facilitated if
  157.    they can insert these separators between dial elements like digits
  158.    etc.  For this reason we allow them in the syntax the written-sep
  159.    element.
  160.  
  161.    Implementors' note:
  162.      Use of the written-sep elements is allowed, but not recommended.
  163.      Any occurences of written-sep elements in a pstn-mbox MUST be
  164.      ignored by all conformant implementations. User Agents SHOULD
  165.      remove written-sep elements before submitting messages to the
  166.      Message Transport System.
  167.  
  168.  
  169.  
  170. Allocchio                   Standards Track                     [Page 3]
  171.  
  172. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  173.  
  174.  
  175. 2.2 Some examples of a minimal "pstn-address"
  176.  
  177.       VOICE=+3940226338
  178.  
  179.       FAX=+12027653000/T33S=6377
  180.  
  181.       SMS=+33-1-88335215
  182.  
  183. 3. The e-mail address of the I-pstn device: mta-I-pstn
  184.  
  185.    An "I-pstn device" has an e-mail address, or to be more exact, a name
  186.    which enables a mail system to identify it on the e-mail global
  187.    system.
  188.  
  189.    In Internet mail, this is the Right Hand Side (RHS) part of the
  190.    address, i.e. the part on the right of the "@" sign. We will call
  191.    this "mta-I-pstn"
  192.  
  193.       mta-I-pstn = domain
  194.  
  195.    For "domain" strings used in SMTP transmissions, the string MUST
  196.    conform to the requirements of that standard's <domain>
  197.    specifications [1], [3].  For "domain" strings used in message
  198.    content headers, the string MUST conform to the requirements of the
  199.    relevant standards [2], [3].
  200.  
  201.    Note: in both cases, the standards permit use of "domain names" or
  202.          "domain literals" in addresses.
  203.  
  204.  
  205. 4. The pstn-email
  206.  
  207.    The complete structure used to transfer a minimal PSTN address over
  208.    the Internet e-mail transport system is called "pstn-email". This
  209.    object is a an e-mail address which conforms to RFC822 [2] and
  210.    RFC1123 [3] "addr-spec" syntax, with some extra structure which
  211.    allows the PSTN number to be identified.
  212.  
  213.       pstn-email =  ["/"] pstn-address ["/"] "@" mta-I-pstn
  214.  
  215.    Implementors' note:
  216.      The optional "/" characters can result from other mail transport
  217.      services gateways, where it is also an optional element.
  218.      Implementations MUST accept the optional slashes but SHOULD NOT
  219.      generate them. Gateways are allowed to strip them off when
  220.      converting to Internet mail addressing.
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Allocchio                   Standards Track                     [Page 4]
  227.  
  228. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  229.  
  230.  
  231.    It is essential to remind that "pstn-address" element MUST strictly
  232.    follow the "quoting rules" spcified in the relevant standards [2],
  233.    [3].
  234.  
  235. 4.1 Multiple subaddresses
  236.  
  237.    In case a particular service requires multiple subaddresses (in any
  238.    form defined by the specific standard specification for that
  239.    service), and these subaddresses need to be given on the same "pstn-
  240.    mbox", multiple "pstn-email" elements will be used.
  241.  
  242.    Implementors' note:
  243.      The UA could accept multiple subaddress elements for the same
  244.      global-phone, but it must generate multiple "pstn-mbox" elements
  245.      when passing the message to the MTA.
  246.  
  247. 4.2 Some examples of "pstn-email"
  248.  
  249.       VOICE=+3940226338@worldvoice.com
  250.  
  251.       FAX=+1.202.7653000/T33S=6377@faxserv.org
  252.  
  253.       /SMS=+33-1-88335215/@telecom.com
  254.  
  255. 5. Conclusions
  256.  
  257.    This proposal creates a minimal standard encoding for PSTN addresses
  258.    within the global e-mail transport system and defines the standard
  259.    extension mechanism to be used to introduce specific new elements.
  260.  
  261.    The proposal requires no changes to existing e-mail software. Each
  262.    specific PSTN service using this proposal MUST define its own
  263.    "service-selector" specification and MUST define the eventual other
  264.    "qualif-type1" elements to be supported for its minimal addressing
  265.    specification. An example is in reference [13].
  266.  
  267. 6. Security Considerations
  268.  
  269.    This document specifies a means by which PSTN addresses can be
  270.    encoded into e-mail addresses. As routing of e-mail messages is
  271.    determined by Domain Name System (DNS) information, a successful
  272.    attack on this service could force the mail path via some particular
  273.    gateway or message transfer agent where mail security can be affected
  274.    by compromised software.
  275.  
  276.    There are several means by which an attacker might be able to deliver
  277.    incorrect mail routing information to a client. These include: (a)
  278.    compromise of a DNS server, (b) generating a counterfeit response to
  279.  
  280.  
  281.  
  282. Allocchio                   Standards Track                     [Page 5]
  283.  
  284. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  285.  
  286.  
  287.    a client's DNS query, (c) returning incorrect "additional
  288.    information" in response to an unrelated query. Clients SHOULD ensure
  289.    that mail routing is based only on authoritative answers. Once DNS
  290.    Security mechanisms [5] become more widely deployed, clients SHOULD
  291.    employ those mechanisms to verify the authenticity and integrity of
  292.    mail routing records.
  293.  
  294. 7. Author's Address
  295.  
  296.    Claudio Allocchio
  297.    Sincrotrone Trieste
  298.    SS 14 Km 163.5 Basovizza
  299.    I 34012 Trieste
  300.    Italy
  301.  
  302.    RFC822: Claudio.Allocchio@elettra.trieste.it
  303.    X.400:  C=it;A=garr;P=Trieste;O=Elettra;
  304.            S=Allocchio;G=Claudio;
  305.    Phone:  +39 40 3758523
  306.    Fax:    +39 40 3758565
  307.  
  308. 8. References
  309.  
  310.    [1]  Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC 821,
  311.         August 1982.
  312.  
  313.    [2]  Crocker, D., " Standard for the format of ARPA Internet text
  314.         messages", STD 11, RFC 822, August 1982.
  315.  
  316.    [3]  Braden, R., "Requirements for Internet hosts - application and
  317.         support", RFC 1123, October 1989.
  318.  
  319.    [4]  Malamud, C. and M. Rose, "Principles of Operation for the
  320.         TPC.INT Subdomain: Remote Printing -- Technical Procedures", RFC
  321.         1528, October 1993.
  322.  
  323.    [5]  Eastlake, D. and C. Kaufman, "Domain Name System Security
  324.         Extensions", RFC 2065, January 1997.
  325.  
  326.    [6]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
  327.         Levels", RFC 2119, March 1997.
  328.  
  329.    [7]  Crocker, D. and P. Overell, "Augmented BNF for Syntax
  330.         Specifications", RFC 2234, November 1997.
  331.  
  332.    [8]  ITU F.401 - Message Handling Services: Naming and Addressing for
  333.         Public Message Handling Service; recommendation F.401 (August
  334.         1992)
  335.  
  336.  
  337.  
  338. Allocchio                   Standards Track                     [Page 6]
  339.  
  340. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  341.  
  342.  
  343.    [9]  ITU F.423 - Message Handling Services: Intercommunication
  344.         Between the Interpersonal Messaging Service and the Telefax
  345.         Service; recommendation F.423 (August 1992)
  346.  
  347.    [10] ITU E.164 - Numbering plan for the ISDN era; recommendation
  348.         E.164/I.331 (August 1991)
  349.  
  350.    [11] ITU T.33 - Facsimile routing utilizing the subaddress;
  351.         recommendation T.33 (July, 1996)
  352.  
  353.    [12] ETSI I-ETS 300,380 - Universal Personal Telecommunication
  354.         (UPT): Access Devices Dual Tone Multi Frequency (DTMF) sender
  355.         for acoustical coupling to the microphone of a handset telephone
  356.         (March 1995)
  357.  
  358.    [13] Allocchio, C., " Minimal FAX address format in Internet Mail",
  359.         RFC 2304, March 1998.
  360.  
  361.    [14] Kille, S., "MIXER (Mime Internet X.400 Enhanced Relay): Mapping
  362.         between X.400 and RFC 822/MIME", RFC 2156, January 1998.
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Allocchio                   Standards Track                     [Page 7]
  395.  
  396. RFC 2303             Minimal PSTN in Internet Mail            March 1998
  397.  
  398.  
  399. 9.  Full Copyright Statement
  400.  
  401.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  402.  
  403.    This document and translations of it may be copied and furnished to
  404.    others, and derivative works that comment on or otherwise explain it
  405.    or assist in its implementation may be prepared, copied, published
  406.    and distributed, in whole or in part, without restriction of any
  407.    kind, provided that the above copyright notice and this paragraph are
  408.    included on all such copies and derivative works.  However, this
  409.    document itself may not be modified in any way, such as by removing
  410.    the copyright notice or references to the Internet Society or other
  411.    Internet organizations, except as needed for the purpose of
  412.    developing Internet standards in which case the procedures for
  413.    copyrights defined in the Internet Standards process must be
  414.    followed, or as required to translate it into languages other than
  415.    English.
  416.  
  417.    The limited permissions granted above are perpetual and will not be
  418.    revoked by the Internet Society or its successors or assigns.
  419.  
  420.    This document and the information contained herein is provided on an
  421.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  422.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  423.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  424.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  425.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Allocchio                   Standards Track                     [Page 8]
  451.  
  452.