home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1995 May / Simtel-MSDOS-May1995-CD1.iso / disc1 / netpage / rfc1568.txt < prev    next >
Encoding:
Text File  |  1994-06-08  |  28.8 KB  |  721 lines

  1. Network Working Group                                           A. Gwinn
  2. Request for Comments: 1568                 Southern Methodist University
  3. Category: Informational                                        June 1994
  4.  
  5.  
  6.                SIMPLE NETWORK PAGING PROTOCOL - VERSION 2
  7.  
  8. Status of this Memo
  9.  
  10.    This memo provides information for the Internet community.  This memo
  11.    does not specify an Internet standard of any kind.  Distribution of
  12.    this memo is unlimited.
  13.  
  14.  
  15. 1. Abstract
  16.  
  17.    This RFC suggests a simple way for delivering both alphanumeric and
  18.    numeric pages (one-way) to radio paging terminals.  This RFC is
  19.    furnished, currently, as "informational" for the ARPA-Internet
  20.    community.  Discussion and suggestions for improvement are requested.
  21.    Gateways supporting this protocol, as well as SMTP, have been in use
  22.    for several months at PageMart (800-324-7243) for nationwide paging
  23.    and messaging.  In addition, email filters and SNPP client software
  24.    for Unix and Windows are available at no cost.  Please contact the
  25.    author for more information.  Distribution of this memo is unlimited.
  26.  
  27.    Earlier versions of this specification were reviewed by IESG members
  28.    and the "822 Extensions" Working Group.  They preferred an alternate
  29.    strategy, as discussed under "Relationship to Other IETF Work",
  30.    below.
  31.  
  32. 2. Introduction
  33.  
  34.    Beepers are as much a part of computer nerdom as X-terminals
  35.    (perhaps, unfortunately, more).  The intent of Simple Network Paging
  36.    Protocol is to provide a standard whereby pages can be delivered to
  37.    individual paging terminals.  The most obvious benefit is the
  38.    elimination of the need for modems and phone lines to produce
  39.    alphanumeric pages, and the added ease of delivery of pages to
  40.    terminals in other cities or countries.  Additionally, automatic page
  41.    delivery should be somewhat more simplified.
  42.  
  43. 3. System Philosophy
  44.  
  45.    Radio paging is somewhat taken for granted, because of the wide
  46.    availability and wide use of paging products.  However, the actual
  47.    delivery of the page, and the process used (especially in wider area
  48.    paging) is somewhat complicated.  When a user initiates a page, by
  49.    dialing a number on a telephone, or entering an alphanumeric page
  50.    through some input device, the page must ultimately be delivered to
  51.    some paging terminal, somewhere.  In most cases, this delivery is
  52.    made using TAP (Telocator Alphanumeric input Protocol, also known as
  53.    IXO).  This protocol can be a somewhat convoluted, and complicated
  54.    protocol using older style ASCII control characters and a non-
  55.    standard checksumming routine to assist in validating the data.
  56.  
  57.    Even though TAP is widely used throughout the industry, there are
  58.    plans on the table to move to a more flexible "standard" protocol
  59.    referred to as TME (Telocator Message Entry Protocol).  The level two
  60.    enhancements to SNPP (as described below) are intended for use with
  61.    this forthcoming standard.
  62.  
  63.    However, acknowledging the complexity and flexibility of the current
  64.    protocols (or the lack thereof), the final user function is quite
  65.    simple: to deliver a page from point-of-origin to someone's beeper.
  66.    That is the simple, real-time function that the base protocol
  67.    attempts to address.  Validation of the paging information is left
  68.    completely up to the paging terminal, making an SNPP gateway a direct
  69.    "shim" between a paging terminal and the Internet.
  70.  
  71. 4. Why not just use Email and SMTP?
  72.  
  73.    Email, while quite reliable, is not always timely.  A good example of
  74.    this is deferred messaging when a gateway is down. Suppose Mary Ghoti
  75.    (fish@hugecompany.org) sends a message to Zaphod Beeblebrox's beeper
  76.    (5551212@pager.pagingcompany.com). Hugecompany's gateway to the
  77.    Internet is down causing Mary's message to be deferred.  Mary,
  78.    however, is not notified of this delay because her message has not
  79.    actually failed to reach its destination.  Three hours later, the
  80.    link is restored, and (as soon as sendmail wakes up) the message is
  81.    sent.  Obviously, if Mary's page concerned a meeting that was
  82.    supposed to happen 2 hours ago, there will be some minor
  83.    administrative details to work out between Mary and Zaphod!
  84.  
  85.    On the other hand, if Mary had used her SNPP client (or simply
  86.    telnetted to the SNPP gateway), she would have immediately discovered
  87.    the network problem.  She would have decided to invoke plan "B" and
  88.    call Zaphod's pager on the telephone, ringing him that way.
  89.  
  90.    The obvious difference here is not page delivery, but the immediate
  91.    notification of a problem that affects your message. Standard email
  92.    and SMTP, while quite reliable in most cases, cannot be positively
  93.    guaranteed between all nodes at all times, making it less desirable
  94.    for emergency or urgent paging.  This inability to guarantee delivery
  95.    could, whether rightly or wrongly, place the service provider in an
  96.    uncomfortable position with a client who has just received his or her
  97.    emergency page, six hours too late.
  98.  
  99.    Another advantage of using a separate protocol for paging delivery is
  100.    that it gives the sender absolute flexibility over what is sent to
  101.    the pager.  For instance, in the paging arena, where messages are
  102.    sent to alphanumeric pagers, it is less desirable to send the
  103.    recipient general header lines from a standard SMTP message.  Much of
  104.    the information is useless, possibly redundant, and a waste of
  105.    precious RF bandwidth.
  106.  
  107.    Therefore, when implementing an SMTP gateway, the service provider
  108.    should elect to parse out needed information (such as the sender, and
  109.    possibly subject) such to maximize the utility of the transmission.
  110.    Parsing generally means less control over content and format by the
  111.    message originator.  SNPP provides a clean, effective way to send a
  112.    message, as written, to the recipient's pager.
  113.  
  114.    The other consideration is the relative simplicity of the SNPP
  115.    protocol for manual telnet sessions versus someone trying to manually
  116.    hack a mail message into a gateway.
  117.  
  118.  
  119.  
  120.  
  121. 5. The SNPP Protocol
  122.  
  123.    The SNPP protocol is a sequence of commands and replies, and is based
  124.    on the philosophy of many other Internet protocols currently in use.
  125.    SNPP has several input commands (the first 4 characters of each are
  126.    significant) that solicit various server responses falling into four
  127.    categories:
  128.  
  129.     2xx - Successful, continue
  130.     3xx - Begin DATA input (see "DATA" command)
  131.     4xx - Failed with connection terminated
  132.     5xx - Failed, but continue session
  133.  
  134.  
  135.    The first character of every server response code is a digit
  136.    indicating the category of response.  The text portion of the
  137.    response following the code may be altered to suit individual
  138.    applications.
  139.  
  140.    The session interaction is actually quite simple (hence the name).
  141.    The client initiates the connection with the listening server.  Upon
  142.    opening the connection, the server issues a "220" level message
  143.    (indicating the willingness of the server to accept SNPP commands).
  144.    The client passes pager ID information, and a message, then issues a
  145.    "SEND" command.  The server then feeds the information to the paging
  146.    terminal, gathers a response, and reports the success or failure to
  147.    the client.
  148.  
  149. 5.1 Examples of SNPP Transactions
  150.  
  151.    The following illustrate examples of client-server communication
  152.    using SNPP.
  153.  
  154. 5.1.1 A Typical Level One Connection
  155.  
  156.             Client                         Server
  157.  
  158.     Open Connection               -->
  159.                                   <--  220 SNPP Gateway Ready
  160.     PAGE 5551212                  -->
  161.                                   <--  250 Pager ID Accepted
  162.     MESS Your network is hosed    -->
  163.                                   <--  250 Message OK
  164.     SEND                          -->
  165.                                   <--  250 Message Sent OK
  166.     QUIT                          -->
  167.                                   <--  221 OK, Goodbye
  168.  
  169.  
  170. 5.1.2 A Typical Level Two, Multiple Transaction
  171.  
  172.    The following example illustrates a single message sent to two
  173.    pagers.  Using this level protocol, pager-specific options may be
  174.    selected for each receiver by specifying the option prior to issuing
  175.    the "PAGEr" command.  In this example, an alternate coverage area is
  176.    selected for the first pager, while delayed messaging is specified
  177.    for the second.
  178.  
  179.             Client                         Server
  180.  
  181.     Open Connection               -->
  182.                                   <--  220 SNPP Server Ready
  183.     COVE 2                        -->
  184.                                   <--  250 Alternate Area Selected
  185.     PAGE 5551212 FOOBAR           -->
  186.                                   <--  250 Pager ID Accepted
  187.     HOLD 9401152300 -0600         -->
  188.                                   <--  250 Delayed Message OK
  189.     PAGE 5552323 XYZZY            -->
  190.                                   <--  250 Pager ID Accepted
  191.     SUBJ Seattle Meeting          -->
  192.                                   <--  250 Message Subject OK
  193.     DATA                          -->
  194.                                   <--  354 Begin Input, End With '.'
  195.     Please meet me tomorrow at    -->
  196.     the Seattle office            -->
  197.                                   <--  250 DATA Accepted
  198.     SEND                          -->
  199.                                   <--  250 Message Sent OK
  200.     QUIT                          -->
  201.                                   <--  221 OK, Goodbye
  202.  
  203.  
  204. 5.2 Level 1 Commands
  205.  
  206.    Level one commands are designed as a minimum implementation of the
  207.    protocol.  This collection of commands may be used with either
  208.    TAP/IXO or TME for message delivery to the paging terminal.
  209.  
  210. 5.2.1 PAGEr <Pager ID>
  211.  
  212.    The PAGEr command submits a pager ID (PID) number, for inclusion in
  213.    the next messaging transaction.  The PID used must reside in, and be
  214.    validated by the paging terminal.  Limited validation may optionally
  215.    be done on the server (such as all numeric, and ID length), or
  216.    validation can be left up to the terminal at the time the page is
  217.    sent.
  218.  
  219.    When implementing SNPP, the user may elect to support multiple
  220.    recipients per message sent.  However, be wary that validation-
  221.    prior-to-sending is not possible with TAP/IXO (and is not an official
  222.    option of the current TME specification).  What this means is that in
  223.    order to validate a PID, one must generate a message to the pager.
  224.    The terminal responds favorably or negatively.  When reporting
  225.    failure of a single PID in a sequence, delineating and reporting the
  226.    failure in a "standard format" may prove to be a challenge.
  227.  
  228.    Possible responses from the SNPP server, with suggested text, in
  229.    response to a PAGEr command are:
  230.  
  231.     250 Pager ID Accepted
  232.     421 Too Many Errors, Goodbye (terminate connection)
  233.     421 Gateway Service Unavailable (terminate connection)
  234.     550 Error, Invalid Pager ID
  235.     554 Error, failed (technical reason)
  236.  
  237.    The level 2 enhancements affect the PAGEr command.  Please refer to
  238.    the appropriate section for details.
  239.  
  240. 5.2.2 MESSage <Alpha or Numeric Message>
  241.  
  242.    The MESSage command specifies a single-line message, into the
  243.    gateway.  Limited validation of the message may be done on the SNPP
  244.    server (such as length), but type-of-message validation should be
  245.    done by the paging terminal.  Duplicating the MESSage command before
  246.    SENDing the message should produce an "503 ERROR, Message Already
  247.    Entered" message, and allow the user to continue.
  248.  
  249.    Possible responses from the SNPP server, with suggested text, in
  250.    response to a MESSage command are:
  251.  
  252.     250 Message OK
  253.     421 Too Many Errors, Goodbye (terminate connection)
  254.     421 Gateway Service Unavailable (terminate connection)
  255.     503 ERROR, Message Already Entered
  256.     550 ERROR, Invalid Message
  257.     554 Error, failed (technical reason)
  258.  
  259. 5.2.3 RESEt
  260.  
  261.    The RESEt command clears already entered information from the server
  262.    session, resetting it to the state of a freshly opened connection.
  263.    This is provided, primarily, as a means to reset accidentally entered
  264.    information during a manual session.
  265.  
  266.    Possible responses from the SNPP server, with suggested text, in
  267.    response to a RESEt command are:
  268.  
  269.     250 RESET OK
  270.     421 Too Many Errors, Goodbye (terminate connection
  271.     421 Gateway Service Unavailable (terminate connection)
  272.  
  273. 5.2.4 SEND
  274.  
  275.    The SEND command finalizes the current message transaction, and
  276.    processes the page to the paging terminal.  Prior to processing, the
  277.    PAGEr and MESSage fields (or message DATA when using the level two
  278.    option) should be checked for the existence of information.  Should
  279.    one of these required fields be missing, the server should respond
  280.    "503 Error, Incomplete Information" and allow the user to continue.
  281.    Assuming that the information is complete, the SNPP server should
  282.    format and send the page to the paging terminal, and await a
  283.    response.
  284.  
  285.    Possible responses from the SNPP server, with suggested text, in
  286.    response to a SEND command are:
  287.  
  288.     250 Message Sent Successfully
  289.     421 Too Many Errors, Goodbye (terminate connection)
  290.     421 Gateway Service Unavailable (terminate connection)
  291.     503 Error, Pager ID or Message Incomplete
  292.     554 Message Failed [non-administrative reason]
  293.  
  294.    Or, in the case of an illegal or non-existent pager ID, or some other
  295.    administrative reason for rejecting the page, the server should
  296.    respond:
  297.  
  298.     550 Failed, Illegal Pager ID (or other explanation)
  299.  
  300.  
  301.  
  302.    After processing a SEND command, the server should remain online to
  303.    allow the client to submit another transaction.
  304.  
  305. 5.2.5 QUIT
  306.  
  307.    The QUIT command terminates the current session.  The server should
  308.    simply respond:
  309.  
  310.     221 OK, Goodbye"
  311.  
  312.    and close the connection.
  313.  
  314. 5.2.6 HELP (optional)
  315.  
  316.    The optional HELP command displays a screen of information about
  317.    commands that are valid on the SNPP server.  This is primarily to
  318.    assist manual users of the gateway.  Each line of the HELP screen
  319.    (responses) are preceded by a code "214".  At the end of the HELP
  320.    sequence, a "250" series message is issued.
  321.  
  322.    Possible responses from the SNPP server, with suggested text, in
  323.    response to a HELP command are:
  324.  
  325.     214 [Help Text]  (repeated for each line of information)
  326.     250 End of Help Information
  327.     421 Too Many Errors, Goodbye (terminate connection)
  328.     421 Gateway Service Unavailable (terminate connection)
  329.     500 Command Not Implemented
  330.  
  331. 5.3 Level 2 - Minimum Extensions
  332.  
  333.    This section specifies minimum enhancements to the SNPP protocol for
  334.    added functionality.
  335.  
  336.    5.3.1 DATA
  337.  
  338.    The DATA command is an alternate form of the MESSage command,
  339.    allowing for multiple line delivery of a message to the paging
  340.    terminal.  This command's function is similar to the DATA command
  341.    implemented in SMTP (Internet RFC821).  The SNPP server should only
  342.    allow one DATA or MESSage command to be issued prior to a SEND.
  343.  
  344.    Possible responses from the SNPP server, with suggested text, in
  345.    response to a DATA command are:
  346.  
  347.     354 Begin Input; End with <CRLF>'.'<CRLF>
  348.     421 Too Many Errors, Goodbye (terminate connection)
  349.     421 Gateway Service Unavailable (terminate connection)
  350.     503 ERROR, Message Already Entered
  351.     500 Command Not Implemented
  352.     550 ERROR, failed (administrative reason)
  353.     554 ERROR, failed (technical reason)
  354.  
  355.    Upon receiving a "354" response, the client begins line input of the
  356.    message to send to the pager.  A single period ("."), in the first
  357.    position of the line, terminates input.  After input, the server may
  358.    respond:
  359.  
  360.  
  361.     250 Message OK
  362.     421 Too Many Errors, Goodbye (terminate connection)
  363.     421 Gateway Service Unavailable (terminate connection)
  364.     550 ERROR, Invalid Message (or administrative reason)
  365.     554 ERROR, Failed (technical reason)
  366.  
  367. 5.4 Level 2 - Optional Extensions
  368.  
  369.    This section discusses enhancements to the SNPP protocol for more
  370.    control over paging functions.  These are primarily designed to
  371.    mirror the added functionality built into the Telocator Message Entry
  372.    (TME) protocol as specified in the TDP protocol suite. These
  373.    functions may, optionally (as is being done by the author), be
  374.    integrated into a paging terminal.  There is no requirement to
  375.    implement all of these functions.  Requests for invalid functions
  376.    should return a "500 Function Not Implemented" error.
  377.  
  378.    It is important to note that, at the time of this publication, the
  379.    TME standard is still not finalized.
  380.  
  381. 5.4.1 LOGIn <loginid> [password]
  382.  
  383.    This command allows for a session login ID to be specified.  It is
  384.    used to validate the person attempting to access the paging terminal.
  385.    If no LOGIn command is issued, "anonymous" user status is assumed.
  386.  
  387.    Possible responses from the SNPP server, with suggested text, in
  388.    response to a LOGIn command are:
  389.  
  390.     250 Login Accepted
  391.     421 Too Many Errors, Goodbye (terminate connection)
  392.     421 Gateway Service Unavailable (terminate connection)
  393.     421 Illegal Access Attempt
  394.     550 Error, Invalid LoginID or Password
  395.     554 Error, failed (technical reason)
  396.  
  397. 5.4.2 PAGEr <PagerID> [Password/PIN]
  398.  
  399.    This PAGEr command is an enhancement to the level one specification.
  400.    The primary difference is the ability to specify a password or PIN
  401.    for validation or feature access.
  402.  
  403.    Before proceeding, it is important to understand the logical function
  404.    of the PAGEr command with respect to the LEVEl, COVErage, HOLDtime,
  405.    and ALERt commands (option parameters as described below).  Each time
  406.    a PAGEr command is issued, it should be thought of as the last step
  407.    in a multiple step transaction.
  408.  
  409.    When the PAGEr command is processed, the pager ID (and password) is
  410.    submitted to the paging terminal with LEVEl, COVErage, HOLDtime, and
  411.    ALERt.  If these parameters have not been altered, then their
  412.    defaults are assumed for the transaction.  After the next PAGEr
  413.    command has been processed, these option parameters are reset their
  414.    defaults.  Using this type of "option-option- option-go" scheme, it
  415.    is possible to specify a different priority level for "Jeff," and an
  416.    alternate coverage area for "Kathy," while sending the same message
  417.    to each.
  418.  
  419.    Possible responses from the SNPP server, with suggested text, in
  420.    response to a PAGEr command are:
  421.  
  422.     250 Pager ID Accepted
  423.     421 Too Many Errors, Goodbye (terminate connection)
  424.     421 Gateway Service Unavailable (terminate connection)
  425.     550 Error, Invalid Pager ID or Password
  426.     554 Error, failed (technical reason)
  427.  
  428. 5.4.3 LEVEl <ServiceLevel>
  429.  
  430.    The LEVEl function is used to specify an optional alternate level of
  431.    service for the next PAGEr command.  Ideally, "ServiceLevel" should
  432.    be an integer between 0 and 11 inclusive.  The TME protocol specifies
  433.    ServiceLevel as follows:
  434.  
  435.     0 - Priority
  436.     1 - Normal (default)
  437.     2 - Five minutes
  438.     3 - Fifteen minutes
  439.     4 - One hour
  440.     5 - Four hours
  441.     6 - Twelve hours
  442.     7 - Twenty Four hours
  443.     8 - Carrier specific '1'
  444.     9 - Carrier specific '2'
  445.    10 - Carrier specific '3'
  446.    11 - Carrier specific '4'
  447.  
  448.    The choice on how to implement this feature, or to what level it
  449.    should be implemented, should be optional and up to the discretion of
  450.    the carrier.
  451.  
  452.    Possible responses from the SNPP server, with suggested text, in
  453.    response to a LEVEl command are:
  454.  
  455.     250 OK, Alternate Service Level Accepted
  456.     421 Too Many Errors, Goodbye (terminate connection)
  457.     421 Gateway Service Unavailable (terminate connection)
  458.     500 Command Not Implemented
  459.     550 Error, Invalid Service Level Specified
  460.     554 Error, failed (technical reason)
  461.  
  462. 5.4.4 ALERt <AlertOverride>
  463.  
  464.    The optional ALERt command may be used to override the default
  465.    setting and specify whether or not to alert the subscriber upon
  466.    receipt of a message.  This option, like the previous command, alters
  467.    the parameters submitted to the paging terminal using the PAGEr
  468.    command.  The TME protocol specifies AlertOverride as either 0-
  469.    DoNotAlert, or 1-Alert.
  470.  
  471.    Possible responses from the SNPP server, with suggested text, in
  472.    response to a ALERt command are:
  473.  
  474.     250 OK, Alert Override Accepted
  475.     421 Too Many Errors, Goodbye (terminate connection)
  476.     421 Gateway Service Unavailable (terminate connection)
  477.     500 Command Not Implemented
  478.     550 Error, Invalid Alert Parameter
  479.     554 Error, failed (technical reason)
  480.  
  481.  
  482. 5.4.5 COVErage <AlternateArea>
  483.  
  484.    The optional COVErage command is used to override the subscriber's
  485.    default coverage area, and allow for the selection of an alternate
  486.    region.  This option, like the previous command, alters the
  487.    parameters submitted to the paging terminal using the PAGEr command.
  488.    AlternateArea is a designator for one of the following:
  489.  
  490.     - A subscriber-specific alternate coverage area
  491.     - A carrier-defined region available to subscribers
  492.  
  493.    As an example, Mary Ghoti is a subscriber having local service in
  494.    Chicago, Illinois (Mary's region '1').  Her account has been set up
  495.    in such a manner as to allow Mary's pager to be paged nationwide upon
  496.    demand (Mary's region '2').  Specifying "COVErage 2" prior to issuing
  497.    the appropriate "PAGEr" command allows the default Chicago area to be
  498.    overridden, and Mary's pager to be messaged nationally for that
  499.    transaction.  It is assumed that the carrier providing Mary's service
  500.    will keep track of how many pages have been sent to her pager in this
  501.    manner, and will bill her accordingly.
  502.  
  503.    Possible responses from the SNPP server, with suggested text, in
  504.    response to a COVErage command are:
  505.  
  506.     250 Alternate Coverage Selected
  507.     421 Too Many Errors, Goodbye (terminate connection)
  508.     421 Gateway Service Unavailable (terminate connection)
  509.     500 Command Not Implemented
  510.     550 Error, Invalid Alternate Region
  511.     554 Error, failed (technical reason)
  512.  
  513. 5.4.6 HOLDuntil <YYMMDDHHMMSS> [+/-GMTdifference]
  514.  
  515.    The HOLDuntil command allows for the delayed delivery of a message,
  516.    to a particular subscriber, until after the time specified.  The time
  517.    may be specified in local time (e.g. local to the paging terminal),
  518.    or with an added parameter specifying offset from GMT (in other
  519.    words, "-0600" specifies Eastern Standard Time).  This option, like
  520.    the previous command, alters the parameters submitted to the paging
  521.    terminal using the PAGEr command.
  522.  
  523.    Possible responses from the SNPP server, with suggested text, in
  524.    response to a HOLDuntil command are:
  525.  
  526.     250 Delayed Messaging Selected
  527.     421 Too Many Errors, Goodbye (terminate connection)
  528.     421 Gateway Service Unavailable (terminate connection)
  529.     500 Command Not Implemented
  530.     550 Error, Invalid Delivery Date/Time
  531.     554 Error, failed (technical reason)
  532.  
  533. 5.4.7 CALLerid <CallerID>
  534.  
  535.    The CALLerid function is a message-oriented function (as opposed to
  536.    the subscriber-oriented functions just described).  This allows for
  537.    the specification of the CallerIdentifier function as described in
  538.    TME.  This parameter is optional, and is at the discretion of the
  539.    carrier as to how it should be implemented or used.
  540.  
  541.    Possible responses from the SNPP server, with suggested text, in
  542.    response to a CALLerid command are:
  543.  
  544.     250 Caller ID Accepted
  545.     421 Too Many Errors, Goodbye (terminate connection)
  546.     421 Gateway Service Unavailable (terminate connection)
  547.     500 Command Not Implemented
  548.     550 Error, Invalid Caller ID
  549.     554 Error, failed (technical reason)
  550.  
  551. 5.4.8 SUBJect <MessageSubject> The SUBJect function allows is a
  552.    message-oriented function that allows the sender to specify a subject
  553.    for the next message to be sent.  This parameter is optional and is
  554.    at the discretion of the carrier as to how it should be implemented
  555.    or used.
  556.  
  557.    Possible responses from the SNPP server, with suggested text, in
  558.    response to a SUBJect command are:
  559.  
  560.     250 Message Subject Accepted
  561.     421 Too Many Errors, Goodbye (terminate connection)
  562.     421 Gateway Service Unavailable (terminate connection)
  563.     500 Command Not Implemented
  564.     550 Error, Invalid Subject Option
  565.     554 Error, failed (technical reason)
  566.  
  567. 5.5 Illegal Commands
  568.  
  569.    Should the client issue an illegal command, the server may respond in
  570.    one of the two following ways:
  571.  
  572.     421 Too Many Errors, Goodbye (terminate connection)
  573.     500 Command Not Implemented, Try Again
  574.  
  575.    The number of illegal commands allowed before terminating the
  576.    connection should be at the discretion of the operator of the SNPP
  577.    server.  The only response that has not been discussed is:
  578.  
  579.     421 SERVER DOWN, Goodbye
  580.  
  581.    This is used to refuse or terminate connections when the gateway is
  582.    administratively down, or when there is some other technical or
  583.    administrative problem with the paging terminal.
  584.  
  585. 5.6 Timeouts
  586.  
  587.    The SNPP server can, optionally, have an inactivity timeout
  588.    implemented.  At the expiration of the allotted time, the server
  589.    responds "421 Timeout, Goodbye" and closes the connection.
  590.  
  591. 5.7 Rigidity of Command Structure
  592.  
  593.    The commands from client to server should remain constant. However,
  594.    since the first character of the response indicates success or
  595.    failure, the text of the server responses could be altered to suit
  596.    the tastes of the operator of the SNPP server. It is suggested that
  597.    the response codes mirror SMTP response codes as closely as possible.
  598.  
  599. 6. Revision History
  600.  
  601.    Originally, when proposed, the author employed POP2 style
  602.    result/response codes.  The Internet community suggested that this
  603.    '+' and '-' style theory be altered to provide numeric response codes
  604.    -- similar to those used in other services such as SMTP.  The
  605.    protocol has been altered to this specification from the first
  606.    proposed draft.
  607.  
  608.    Administrative errors (Illegal Pager ID, for example) have been
  609.    separated from technical errors (out-of-space on disk, for example).
  610.    Administrative failures are generally preceded with a 550 series
  611.    response, while technical failures bear a 554 series code.
  612.  
  613.    Level two enhancements to the protocol have been added in preparation
  614.    for TME deployment.
  615.  
  616.    Error code "502 Command not implemented" was changed to a general
  617.    "500 Command not recognized" failure result to closer follow SMTP.
  618.  
  619. 7. Relationship to Other IETF Work
  620.  
  621.    The strategy of this specification, and many of its details, were
  622.    reviewed by an IETF Working Group and three IESG members.  They
  623.    concluded that an approach using the existing email infrastructure
  624.    was preferable, due in large measure to the very high costs of
  625.    deploying a new protocol and the advantages of using the Internet's
  626.    most widely-distributed applications protocol infrastructure.  Most
  627.    reviewers felt that no new protocol was needed at all because the
  628.    special "deliver immediately or fail" requirements of SNPP could be
  629.    accomplished by careful configuration of clients and servers.  The
  630.    experimental network printing protocol [RFC1486] was identified as an
  631.    example of an existing infrastructure approach to an existing
  632.    problem. Other reviewers believed that a case could be made for new
  633.    protocol details to identify paging clients and servers to each other
  634.    and negotiate details of the transactions, but that it would be
  635.    sensible to handle those details as extensions to SMTP [RFC821,
  636.    RFC1425] rather than deploying a new protocol structure.
  637.  
  638.    The author, while recognizing these positions, believes that there is
  639.    merit in a separate protocol to isolate details of TAP/IXO and its
  640.    evolving successors from users and, indeed, from mail-based
  641.    approaches that might reach systems that would act as SMTP/MIME
  642.    [RFC1521] to SNPP gateways.  Such systems and gateways are, indeed,
  643.    undergoing design and development concurrent with this work.  See the
  644.    section "Why not just use Email and SMTP?" for additional discussion
  645.    of the author's view of the classical electronic email approach.
  646.  
  647. 8. References
  648.  
  649.    [RFC821] J. Postel, "Simple Mail Transfer Protocol", 08/01/1982. (STD
  650.        10)
  651.  
  652.    [RFC1425] J. Klensin, N. Freed, M. Rose, E. Stefferud, D. Crocker,
  653.        "SMTP Service Extensions", 02/10/1993. Printing", 07/30/1993.
  654.  
  655.    [RFC1521] N. Borenstein, N. Freed, "MIME  (Multipurpose Internet Mail
  656.        Extensions) Part One:  Mechanisms for Specifying and Describing
  657.        the Format of Internet Message Bodies", 09/23/1993.
  658.  
  659.  
  660.  
  661. 9. Author's Address
  662.  
  663.        R. Allen Gwinn, Jr.
  664.        Associate Director, Computing Services
  665.        Business Information Center
  666.        Southern Methodist University
  667.        Dallas, TX  75275
  668.        Phone:  214/768-3186
  669.        Email:  allen@mail.cox.smu.edu  or  allen@sulaco.lonestar.org
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.