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

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                   J. Schoenwaelder
  8. Request for Comments: 2593                               TU Braunschweig
  9. Category: Experimental                                        J. Quittek
  10.                                                          NEC Europe Ltd.
  11.                                                                 May 1999
  12.  
  13.  
  14.              Script MIB Extensibility Protocol Version 1.0
  15.  
  16. Status of this Memo
  17.  
  18.    This memo defines an Experimental Protocol for the Internet
  19.    community.  It does not specify an Internet standard of any kind.
  20.    Discussion and suggestions for improvement are requested.
  21.    Distribution of this memo is unlimited.
  22.  
  23. Copyright Notice
  24.  
  25.    Copyright (C) The Internet Society (1999).  All Rights Reserved.
  26.  
  27. Abstract
  28.  
  29.    The IETF Script MIB defines an interface for the delegation of
  30.    management functions based on the Internet management framework. A
  31.    management script is a set of instructions that are executed by a
  32.    language specific runtime system. The Script MIB extensibility
  33.    protocol (SMX) defined in this memo separates language specific
  34.    runtime systems from language independent Script MIB implementations.
  35.  
  36. Table of Contents
  37.  
  38.    1. Introduction ................................................    2
  39.    2. Process Model and Communication Model .......................    3
  40.    3. Security Profiles ...........................................    3
  41.    4. Start of Runtime Systems and Connection Establishment .......    4
  42.    5. SMX Messages ................................................    5
  43.    5.1 Common Definitions .........................................    5
  44.    5.2 Commands ...................................................    7
  45.    5.3 Replies ....................................................    8
  46.    6. Elements of Procedure .......................................    9
  47.    6.1 SMX Message Processing on the Runtime Systems ..............    9
  48.    6.1.1 Processing the `hello' Command ...........................   10
  49.    6.1.2 Processing the `start' Command ...........................   10
  50.    6.1.3 Processing the `suspend' Command .........................   11
  51.    6.1.4 Processing the `resume' Command ..........................   12
  52.    6.1.5 Processing the `abort' Command ...........................   12
  53.    6.1.6 Processing the `status' Command ..........................   12
  54.    6.1.7 Generation of Asynchronous Notifications .................   13
  55.  
  56.  
  57.  
  58. Schoenwaelder & Quittek       Experimental                      [Page 1]
  59.  
  60. RFC 2593                    SMX Protocol 1.0                    May 1999
  61.  
  62.  
  63.    6.2 SMX Message Processing on the SNMP Agent ...................   13
  64.    6.2.1 Creating a Runtime System ................................   13
  65.    6.2.2 Generating the `hello' Command ...........................   13
  66.    6.2.3 Generating the `start' Command ...........................   14
  67.    6.2.4 Generating the `suspend' Command .........................   15
  68.    6.2.5 Generating the `resume' Command ..........................   16
  69.    6.2.6 Generating the `abort' Command ...........................   16
  70.    6.2.7 Generating the `status' Command ..........................   17
  71.    6.2.8 Processing Asynchronous Notifications ....................   18
  72.    7. An Example SMX Message Flow .................................   19
  73.    8. Security Considerations .....................................   19
  74.    9. Acknowledgments .............................................   20
  75.    10. References .................................................   20
  76.    11. Authors' Addresses .........................................   21
  77.    12. Full Copyright Statement ...................................   22
  78.  
  79. 1.  Introduction
  80.  
  81.    The Script MIB [1] defines a standard interface for the delegation of
  82.    management functions based on the Internet management framework. In
  83.    particular, it provides the following capabilities:
  84.  
  85.    1.   Transfer of management scripts to a distributed manager.
  86.  
  87.    2.   Initiating, suspending, resuming and terminating management
  88.         scripts.
  89.  
  90.    3.   Transfer of arguments for management scripts.
  91.  
  92.    4.   Monitoring and control of running management scripts.
  93.  
  94.    5.   Transfer of results produced by management scripts.
  95.  
  96.    A management script is a set of instructions executed by a language
  97.    specific runtime system. The Script MIB does not prescribe a specific
  98.    language. Instead, it allows to control scripts written in different
  99.    languages that are executing concurrently.
  100.  
  101.    The Script MIB Extensibility protocol (SMX) defined in this memo can
  102.    be used to separate language specific runtime systems from the
  103.    runtime system independent Script MIB implementations. The
  104.    lightweight SMX protocol can be used to support different runtime
  105.    systems without any changes to the language neutral part of a Script
  106.    MIB implementation.
  107.  
  108.    Examples of languages and runtime systems considered during the
  109.    design of the SMX protocol are the Java virtual machine [2] and the
  110.    Tool Command Language (Tcl) [3]. Other languages with comparable
  111.  
  112.  
  113.  
  114. Schoenwaelder & Quittek       Experimental                      [Page 2]
  115.  
  116. RFC 2593                    SMX Protocol 1.0                    May 1999
  117.  
  118.  
  119.    features should be easy to integrate as well.
  120.  
  121. 2.  Process Model and Communication Model
  122.  
  123.    Figure 1 shows the process and communication model underlying the SMX
  124.    protocol. The language and runtime system independent SNMP agent
  125.    implementing the Script MIB communicates with one ore more runtime
  126.    systems via the SMX protocol. A runtime system may be able to execute
  127.    one or multiple scripts simultaneously (multi-threading). The SMX
  128.    protocol supports multi-threading, but it does not require multi-
  129.    threaded runtime systems.
  130.  
  131.    The SMX protocol uses a local storage device (usually implemented on
  132.    top of the local file system) to transfer scripts from the SNMP agent
  133.    to the runtime systems. The SNMP agent has read and write access to
  134.    the script storage device while the runtime systems only need read
  135.    access. The SMX protocol passes the location of a script in the local
  136.    storage device to the runtime engines. It is then the responsibility
  137.    of the runtime engines to load the script from the specified
  138.    location.
  139.  
  140.                                                     runtime 1
  141.                    +--------------+       SMX      +---------+
  142.                    |              |<-------------->| O  O  O |<-+
  143.            SNMP    |  Script MIB  |                +---------+  |
  144.        <---------->|              |                             |
  145.                    |  SNMP Agent  |                 runtime 2   |
  146.                    |              |       SMX      +---------+  |
  147.                    |              |<-------------->| O       |  |
  148.                    +--------------+                +---------+  |
  149.                            ^                            ^       |
  150.                            |       +---------+          |       |
  151.                            |       | script  |----------+       |
  152.                            +------>| storage |------------------+
  153.                                    +---------+
  154.  
  155.            Figure 1: SMX process and communication model
  156.  
  157.  
  158. 3.  Security Profiles
  159.  
  160.    Security profiles control what a running script is allowed to do. It
  161.    is useful to distinguish two different classes of security profiles:
  162.  
  163.    -    The operating system security profile specifies the set of
  164.         operating system services that can be used by the operating
  165.         system level process which executes a script. Under UNIX, this
  166.         maps to the effective user and group identity for the running
  167.  
  168.  
  169.  
  170. Schoenwaelder & Quittek       Experimental                      [Page 3]
  171.  
  172. RFC 2593                    SMX Protocol 1.0                    May 1999
  173.  
  174.  
  175.         process. In addition, many UNIX versions allow to set other
  176.         resource limits, such as the number of open files or the maximum
  177.         stack sizes. Another mechanism in UNIX is the chroot() system
  178.         call which changes the file system root for a process. The
  179.         chroot() mechanism can be used to prevent runtime systems from
  180.         accessing any system files. It is suggested to make use of all
  181.         applicable operating system security mechanism in order to
  182.         protect the operating system from malicious scripts or runtime
  183.         systems.
  184.  
  185.    -    Secure runtime systems provide fine grained control over the set
  186.         of services that can be used by a running script at a particular
  187.         point during script execution. A runtime security profile
  188.         specifying fine grained access control is runtime system
  189.         dependent. For a Java virtual machine, the runtime security
  190.         profile is interpreted by the SecurityManager and ClassLoader
  191.         classes[4]. For Tcl, the runtime security profile maps to the
  192.         interpreter's security profile [5].
  193.  
  194.    The SMX protocol allows to execute scripts under different operating
  195.    system profiles and runtime system profiles. Multiple operating
  196.    system security profiles are realized by using multiple runtime
  197.    systems which execute in operating system processes with different
  198.    security profiles.  Multiple runtime security profiles are supported
  199.    by passing a security profile name to a runtime system during script
  200.    invocation.
  201.  
  202.    The Script MIB does not define how operating system or runtime system
  203.    security profiles are identified. This memo suggests that the
  204.    smLaunchOwner is mapped to an operating system security profile and a
  205.    runtime system security profile when a script is started.
  206.  
  207. 4.  Start of Runtime Systems and Connection Establishment
  208.  
  209.    The SNMP agent starts runtime systems based on the static properties
  210.    of the runtime system (multi-threaded or single-threaded) and the
  211.    operating system security profiles. Starting a new runtime system
  212.    requires to create a process environment which matches the operating
  213.    system security profile.
  214.  
  215.    The SNMP agent initially passes information to the runtime system by
  216.    means of environment variables. The information is needed to
  217.    establish a trusted communication channel between the SNMP agent and
  218.    a runtime system.
  219.  
  220.    The SNMP agent first creates a listening TCP socket which accepts
  221.    connections from runtime systems. It is the responsibility of the
  222.    runtime system to establish a connection to this TCP socket once it
  223.  
  224.  
  225.  
  226. Schoenwaelder & Quittek       Experimental                      [Page 4]
  227.  
  228. RFC 2593                    SMX Protocol 1.0                    May 1999
  229.  
  230.  
  231.    has been started. The port number of the listening TCP socket is
  232.    passed from the SNMP agent to the runtime system in the environment
  233.    variable SMX_PORT.
  234.  
  235.    The SNMP agent must ensure that only authorized runtime systems
  236.    establish a connection to the listening TCP socket. The following
  237.    rules are used for this purpose:
  238.  
  239.    -    The TCP connection must originate from the local host.
  240.  
  241.    -    The SNMP agent queries the runtime system for a security cookie
  242.         and closes the TCP connection if no valid response is received
  243.         within a given time interval. The security cookie is a random
  244.         number generated by the SNMP agent and passed to the runtime
  245.         system as part of its environment. The cookie is found in the
  246.         environment variable SMX_COOKIE.
  247.  
  248.    The security assumption here is that access to the process
  249.    environment is protected by the operating system.
  250.  
  251.    Alternate transports (e.g. UNIX domain sockets) are possible but not
  252.    defined at this point in time. The reason to choose TCP as the
  253.    transport protocol for SMX was that TCP is supported by all potential
  254.    runtime systems, while other transports are not universally
  255.    available.
  256.  
  257. 5.  SMX Messages
  258.  
  259.    The message formats described below are defined using the Augmented
  260.    BNF (ABNF) defined in RFC 2234 [6]. The definitions for `ALPHA',
  261.    `DIGIT', `HEXDIG', `WSP', `CRLF', `CR', `LF', `HTAB', `VCHAR' and
  262.    `DQUOTE' are imported from appendix A of RFC 2234 and not repeated
  263.    here.
  264.  
  265. 5.1.  Common Definitions
  266.  
  267.    The following ABNF definitions are used in subsequent sections to
  268.    define the SMX protocol messages.
  269.  
  270.      Zero          = %x30          ; the ASCII character '0'
  271.  
  272.      AlNum         = DIGIT / ALPHA / %x2D-2F
  273.                                    ; digits, alphas plus '-', '.', '/'
  274.  
  275.      QuotedString  = DQUOTE *(VCHAR / WSP) DQUOTE
  276.  
  277.      HexString     = 1*(HEXDIG HEXDIG)
  278.  
  279.  
  280.  
  281.  
  282. Schoenwaelder & Quittek       Experimental                      [Page 5]
  283.  
  284. RFC 2593                    SMX Protocol 1.0                    May 1999
  285.  
  286.  
  287.      Id            = 1*DIGIT       ; identifier for an SMX transaction
  288.  
  289.      Script        = QuotedString  ; script file name
  290.  
  291.      RunId         = 1*DIGIT       ; globally unique identifier for a
  292.                                    ; running script (note, smRunIndex
  293.                                    ; is only unique for a smLaunchOwner,
  294.                                    ; smLaunchName pair)
  295.  
  296.      Profile       = 1*AlNum       ; security profile name
  297.  
  298.      RunState      =  "1"          ; smRunState `initializing'
  299.      RunState      =/ "2"          ; smRunState `executing'
  300.      RunState      =/ "3"          ; smRunState `suspending'
  301.      RunState      =/ "4"          ; smRunState `suspended'
  302.      RunState      =/ "5"          ; smRunState `resuming'
  303.      RunState      =/ "6"          ; smRunState `aborting'
  304.      RunState      =/ "7"          ; smRunState `terminated'
  305.  
  306.      ExitCode      =  "1"          ; smRunExitCode `noError'
  307.      ExitCode      =/ "2"          ; smRunExitCode `halted'
  308.      ExitCode      =/ "3"          ; smRunExitCode `lifeTimeExceeded'
  309.      ExitCode      =/ "4"          ; smRunExitCode `noResourcesLeft'
  310.      ExitCode      =/ "5"          ; smRunExitCode `languageError'
  311.      ExitCode      =/ "6"          ; smRunExitCode `runtimeError'
  312.      ExitCode      =/ "7"          ; smRunExitCode `invalidArgument'
  313.      ExitCode      =/ "8"          ; smRunExitCode `securityViolation'
  314.      ExitCode      =/ "9"          ; smRunExitCode `genericError'
  315.  
  316.      Cookie        = HexString     ; authentication cookie
  317.  
  318.      Version       = "SMX/1.0"     ; current version of the SMX protocol
  319.  
  320.      Argument      = HexString / QuotedString      ; see smRunArgument
  321.  
  322.      Result        = HexString / QuotedString      ; see smRunResult
  323.  
  324.      ErrorMsg      = HexString / QuotedString      ; see smRunError
  325.  
  326.  
  327.    The definition of QuotedString requires further explanation. A quoted
  328.    string may contain special character sequences, all starting with the
  329.    backslash character (%x5C). The interpretation of these sequences is
  330.    as follows:
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Schoenwaelder & Quittek       Experimental                      [Page 6]
  339.  
  340. RFC 2593                    SMX Protocol 1.0                    May 1999
  341.  
  342.  
  343.            `\\'   backslash character       (`%x5C')
  344.            `\t'   tab character             (`HTAB')
  345.            `\n'   newline character         (`LF')
  346.            `\r'   carriage-return character (`CR')
  347.            `\"'   quote character           (`DQUOTE')
  348.  
  349.    In all other cases not listed above, the backslash is dropped and the
  350.    following character is treated as an ordinary character.  `Argument'
  351.    and `Result' is either a QuotedString or a HexString.  The Script MIB
  352.    defines script arguments and results as arbitrary octet strings. The
  353.    SMX protocol supports a binary and a human readable representation
  354.    since it is likely that printable argument and result strings will be
  355.    used frequently. However, an implementation must be able to handle
  356.    both formats in order to be compliant with the Script MIB.
  357.  
  358.    The `Cookie' is a HexString which does not carry any semantics other
  359.    than being a random sequence of bytes. It is therefore not necessary
  360.    to have a human readable representation.
  361.  
  362. 5.2.  Commands
  363.  
  364.    The following ABNF definitions define the set of SMX commands which
  365.    can be sent from the SNMP agent to a runtime system.
  366.  
  367.      Command =  "hello"   WSP Id CRLF
  368.  
  369.      Command =/ "start"   WSP Id WSP RunId WSP Script WSP Profile
  370.                           WSP Argument CRLF
  371.  
  372.      Command =/ "suspend" WSP Id WSP RunId CRLF
  373.  
  374.      Command =/ "resume"  WSP Id WSP RunId CRLF
  375.  
  376.      Command =/ "abort"   WSP Id WSP RunId CRLF
  377.  
  378.      Command =/ "status"  WSP Id WSP RunId CRLF
  379.  
  380.    The `hello' command is always the first command sent over a SMX
  381.    connection. It is used to identify and authenticate the runtime
  382.    system. The `start' command starts the execution of a script. The
  383.    `suspend', `resume' and `abort' commands can be used to change the
  384.    status of a running script. The `status' command is used to retrieve
  385.    status information for a running script.
  386.  
  387.    There is no compile command. It is the responsibility of the SNMP
  388.    agent to perform any compilation steps as needed before using the SMX
  389.    `start' command. There is no SMX command to shutdown a runtime
  390.    system. Closing the connection must be interpreted as a request to
  391.  
  392.  
  393.  
  394. Schoenwaelder & Quittek       Experimental                      [Page 7]
  395.  
  396. RFC 2593                    SMX Protocol 1.0                    May 1999
  397.  
  398.  
  399.    terminate all running scripts in that runtime system and to shutdown
  400.    the runtime system.
  401.  
  402. 5.3.  Replies
  403.  
  404.    Every reply message starts with a three digit reply code and ends
  405.    with `CRLF'. The three digits in a reply code have a special meaning.
  406.    The first digit identifies the class of a reply message. The
  407.    following classes exist:
  408.  
  409.      1yz   transient positive response
  410.      2yz   permanent positive response
  411.      3yz   transient negative response
  412.      4yz   permanent negative response
  413.      5yz   asynchronous notification
  414.  
  415.    The classes 1yz and 3yz are currently not used by SMX version 1.0.
  416.    They are defined only for future SMX extensions.
  417.  
  418.    The second digit encodes the specific category. The following
  419.    categories exist:
  420.  
  421.      x0z   syntax errors that don't fit any other category
  422.      x1z   replies for commands targeted at the whole runtime system
  423.      x2z   replies for commands targeted at scripts
  424.      x3z   replies for commands targeted at running instances of scripts
  425.  
  426.    The third digit gives a finer gradation of meaning in each category
  427.    specified by the second digit. Below is the ABNF definition of all
  428.    reply messages and codes:
  429.  
  430.      Reply =  "211" WSP Id WSP Version WSP Cookie CRLF
  431.                                    ; identification of the
  432.                                    ; runtime system
  433.  
  434.      Reply =/ "231" WSP Id WSP RunState CRLF
  435.                                    ; status of a running script
  436.  
  437.      Reply =/ "232" WSP Id CRLF    ; abort of a running script
  438.  
  439.      Reply =/ "401" WSP Id CRLF    ; syntax error in command
  440.  
  441.      Reply =/ "402" WSP Id CRLF    ; unknown command
  442.  
  443.      Reply =/ "421" WSP Id CRLF    ; unknown or illegal Script
  444.  
  445.      Reply =/ "431" WSP Id CRLF    ; unknown or illegal RunId
  446.  
  447.  
  448.  
  449.  
  450. Schoenwaelder & Quittek       Experimental                      [Page 8]
  451.  
  452. RFC 2593                    SMX Protocol 1.0                    May 1999
  453.  
  454.  
  455.      Reply =/ "432" WSP Id CRLF    ; unknown or illegal Profile
  456.  
  457.      Reply =/ "433" WSP Id CRLF    ; illegal Argument
  458.  
  459.      Reply =/ "434" WSP Id CRLF    ; unable to change the status of
  460.                                    ; a running script
  461.  
  462.      Reply =/ "511" WSP Zero WSP QuotedString CRLF
  463.                                    ; an arbitrary message send from
  464.                                    ; the runtime system
  465.  
  466.      Reply =/ "531" WSP Zero WSP RunId WSP RunState CRLF
  467.                                    ; asynchronous running script
  468.                                    ; status change
  469.  
  470.      Reply =/ "532" WSP Zero WSP RunId WSP RunState WSP Result CRLF
  471.                                    ; intermediate script result
  472.  
  473.      Reply =/ "533" WSP Zero WSP RunId WSP RunState WSP Result CRLF
  474.                                    ; intermediate script result that
  475.                                    ; trigger an event report
  476.  
  477.      Reply =/ "534" WSP Zero WSP RunId WSP Result CRLF
  478.                                    ; normal script termination
  479.  
  480.      Reply =/ "535" WSP Zero WSP RunId WSP ExitCode WSP ErrorMsg CRLF
  481.                                    ; abnormal script termination.
  482.  
  483. 6.  Elements of Procedure
  484.  
  485.    This section describes in detail the processing steps performed by
  486.    the SNMP agent and the runtime system with regard to the SMX
  487.    protocol.
  488.  
  489. 6.1.  SMX Message Processing on the Runtime Systems
  490.  
  491.    This section describes the processing of SMX command messages by a
  492.    runtime engine and the conditions under which asynchronous
  493.    notifications are generated.
  494.  
  495.    When the runtime system receives a message, it first tries to
  496.    recognize a command consisting of the command string and the
  497.    transaction identifier. If the runtime system is not able to extract
  498.    both the command string and the transaction identifier, then the
  499.    message is discarded. An asynchronous `511' reply may be generated in
  500.    this case. Otherwise, the command string is checked to be valid, i.e.
  501.    to be one of the strings `hello', `start', `suspend', `resume',
  502.    `abort', or `status'.  If the string is invalid, a `402' reply is
  503.  
  504.  
  505.  
  506. Schoenwaelder & Quittek       Experimental                      [Page 9]
  507.  
  508. RFC 2593                    SMX Protocol 1.0                    May 1999
  509.  
  510.  
  511.    sent and processing of the message stops.  If a valid command has
  512.    been detected, further processing of the message depends on the
  513.    command as described below.
  514.  
  515.    The command specific processing describes several possible syntax
  516.    errors for which specific reply messages are generated. If the
  517.    runtime engine detects any syntax error which is not explicitely
  518.    mentioned or which cannot be identified uniquely, a generic `401'
  519.    reply is sent indicating that the command cannot be executed.
  520.  
  521. 6.1.1.  Processing the `hello' Command
  522.  
  523.    When the runtime system receives a `hello' command, it processes it
  524.    as follows:
  525.  
  526.    1.   The runtime system obtains the security cookie from its process
  527.         environment.
  528.  
  529.    2.   The runtime system sends a `211' reply containing the security
  530.         cookie.
  531.  
  532. 6.1.2.  Processing the `start' Command
  533.  
  534.    When the runtime system receives a `start' command, it processes it
  535.    as follows:
  536.  
  537.    1.   The syntax of the arguments of the `start' command is checked.
  538.         The following four checks must be made:
  539.  
  540.         (a)   The syntax of the `RunId' parameter is checked and a `431'
  541.               reply is sent if any syntax error is detected.
  542.  
  543.         (b)   The syntax of the `Script' parameter is checked and a
  544.               `421' reply is sent if any syntax error is detected.
  545.  
  546.         (c)   The syntax of the `Profile' parameter is checked and a
  547.               `432' reply is sent if any syntax error is detected.
  548.  
  549.         (d)   If syntax of the `Argument' parameter is checked and a
  550.               `433' reply is sent if any syntax error is detected.
  551.  
  552.    2.   The runtime system checks whether the new `RunId' is already in
  553.         use. If yes, a `431' reply is sent and processing stops.
  554.  
  555.    3.   The runtime system checks whether the `Script' parameter is the
  556.         name of a file on the local storage device, that can be read. A
  557.         `421' reply is sent and processing stops if the file does not
  558.         exist or is not readable.
  559.  
  560.  
  561.  
  562. Schoenwaelder & Quittek       Experimental                     [Page 10]
  563.  
  564. RFC 2593                    SMX Protocol 1.0                    May 1999
  565.  
  566.  
  567.    4.   The runtime system checks whether the security profile is known
  568.         and sends a `432' reply and stops processing if not.
  569.  
  570.    5.   The runtime engine starts the script given by the script name.
  571.         When the script has been started, a `231' reply is sent
  572.         including the current run state.
  573.  
  574.    Processing of the `start' command stops, when the script reaches the
  575.    state `running'. For each asynchronous state change of the running
  576.    script, a `531' reply is sent. Processing of the `start' command is
  577.    also stopped if an error occurs before the state `running' is
  578.    reached. In this case, the run is aborted and a `535' reply is
  579.    generated.
  580.  
  581.    If an `abort' command or a `suspend' command for the running script
  582.    is received before processing of the `start' command is complete,
  583.    then the processing of the `start' command may be stopped before the
  584.    state `running' is reached. In this case, the resulting status of the
  585.    running script is given by the respective reply to the `abort' or
  586.    `suspend' command, and no reply with the transaction identifier of
  587.    the `start' command is generated.
  588.  
  589. 6.1.3.  Processing the `suspend' Command
  590.  
  591.    When the runtime system receives a `suspend' command, it processes it
  592.    as follows:
  593.  
  594.    1.   If there is a syntax error in the running script identifier or
  595.         if there is no running script matching the identifier, a `431'
  596.         reply is sent and processing of the command is stopped.
  597.  
  598.    2.   If the running script is already in the state `suspended', a
  599.         '231' reply is sent and processing of the command is stopped.
  600.  
  601.    3.   If the running script is in the state `running', it is suspended
  602.         and a `231' reply is sent after suspending. If suspending fails,
  603.         a `434' reply is sent and processing of the command is stopped.
  604.  
  605.    4.   If the running script has not yet reached the state `running'
  606.         (the `start' command still being processed), it may reach the
  607.         state `suspended' without having been in the state `running'.
  608.         After reaching the state `suspended', a `231' reply is sent.
  609.  
  610.    5.   If the running script is in any other state, a `434' reply is
  611.         sent.
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. Schoenwaelder & Quittek       Experimental                     [Page 11]
  619.  
  620. RFC 2593                    SMX Protocol 1.0                    May 1999
  621.  
  622.  
  623. 6.1.4.  Processing the `resume' Command
  624.  
  625.    When the runtime system receives a `resume' command, it processes it
  626.    as follows:
  627.  
  628.    1.   If there is a syntax error in the running script identifier or
  629.         if there is no running script matching the identifier, a `431'
  630.         reply is sent and processing of the command is stopped.
  631.  
  632.    2.   If the running script is already in the state `running', a `231'
  633.         reply is sent and processing of the command is stopped.
  634.  
  635.    3.   If the running script is in the state `suspended', it is resumed
  636.         and a `231' reply is sent after resuming. If resuming fails, a
  637.         `434' reply is sent and processing of the command is stopped.
  638.  
  639.    4.   If the `start' command is still being processed for the script,
  640.         a `231' reply is sent when the state `running' has been reached.
  641.  
  642.    5.   If the running script is in any other state, a `434' reply is
  643.         sent.
  644.  
  645. 6.1.5.  Processing the `abort' Command
  646.  
  647.    When the runtime system receives an `abort' command, it processes it
  648.    as follows:
  649.  
  650.    1.   If there is a syntax error in the running script identifier or
  651.         if there is no running script matching the identifier, a `431'
  652.         reply is sent and processing of the command is stopped.
  653.  
  654.    2.   If the running script is already aborted, a `232' reply is sent
  655.         and processing of the command is stopped.
  656.  
  657.    3.   The running script is aborted and a `232' reply is sent after
  658.         aborting. If aborting fails, a `434' reply is sent and
  659.         processing is stopped.
  660.  
  661. 6.1.6.  Processing the `status' Command
  662.  
  663.    When the runtime system receives a `status' command, it processes it
  664.    as follows:
  665.  
  666.    1.   If there is a syntax error in the running script identifier or
  667.         if there is no running script matching the identifier, a `431'
  668.         reply is sent and processing of the command is stopped.
  669.  
  670.    2.   The status of the script is obtained and a `231' reply is sent.
  671.  
  672.  
  673.  
  674. Schoenwaelder & Quittek       Experimental                     [Page 12]
  675.  
  676. RFC 2593                    SMX Protocol 1.0                    May 1999
  677.  
  678.  
  679. 6.1.7.  Generation of Asynchronous Notifications
  680.  
  681.    The runtime system generates or may generate the following
  682.    notifications:
  683.  
  684.    1.   If a change of the status of a running script is observed by the
  685.         runtime system, a `531' reply is sent.
  686.  
  687.    2.   A `534' reply is sent if a running script terminates normally.
  688.  
  689.    3.   A `535' reply is sent if a running script terminates abnormally.
  690.  
  691.    4.   If a script generates an intermediate result, a `532' reply is
  692.         sent.
  693.  
  694.    5.   If a script requests the generation of a `smScriptResult'
  695.         notification, a `533' reply is sent.
  696.  
  697.    6.   Besides the notifications mentioned above, the runtime system
  698.         may generate arbitrary `511' replies, which are logged or
  699.         displayed by the SNMP agent.
  700.  
  701. 6.2.  SMX Message Processing on the SNMP Agent
  702.  
  703.    This section describes the conditions under which an SNMP agent
  704.    implementing the Script MIB generates SMX commands. It also describes
  705.    how the SNMP agent processes replies to SMX commands.
  706.  
  707. 6.2.1.  Creating a Runtime System
  708.  
  709.    New runtime systems are started by the SNMP agent while processing
  710.    set requests for a `smLaunchStart' variable. The SNMP agent first
  711.    searches for an already running runtime systems which matches the
  712.    security profiles associated with the `smLaunchStart' variable. If no
  713.    suitable runtime system is available, a new runtime system is started
  714.    by preparing the environment for the new runtime system and starting
  715.    the executable for the runtime system in a new process which conforms
  716.    to the operating system security profile. The SNMP agent prepares to
  717.    accept a connection from the new runtime system. The `smRunState' of
  718.    all scripts that should be executed in this new runtime system is set
  719.    to `initializing'.
  720.  
  721. 6.2.2.  Generating the `hello' Command
  722.  
  723.    The `hello' command is generated once a connection request from a
  724.    runtime system has been accepted. The SNMP agent sends the `hello'
  725.    command as defined in section 5.2. The SNMP agent then expects a
  726.    reply from the runtime system within a reasonable timeout interval.
  727.  
  728.  
  729.  
  730. Schoenwaelder & Quittek       Experimental                     [Page 13]
  731.  
  732. RFC 2593                    SMX Protocol 1.0                    May 1999
  733.  
  734.  
  735.    1.   If the timeout expires before the SNMP agent received a reply,
  736.         then the connection is closed and all data associated with it is
  737.         deleted.  Any scripts that should be running in this runtime
  738.         system are aborted, the `smRunExitCode' is set to `genericError'
  739.         and `smRunError' is modified to describe the error situation.
  740.  
  741.    2.   If the received message can not be analyzed because it does not
  742.         have the required format, then the connection is closed and all
  743.         data associated with it is deleted. Any scripts that should be
  744.         running in this runtime system are aborted, the `smRunExitCode'
  745.         is set to `genericError' and `smRunError' is modified to
  746.         describe the error situation.
  747.  
  748.    3.   If the received message is a `211' reply, then the `Id' is
  749.         checked whether it matches the `Id' used in the `hello' command.
  750.         If the `Id' matches, then the `Version' is checked. If the
  751.         `Version' matches a supported SMX protocol version, then the
  752.         `Cookie' is checked whether it matches the cookie passed to the
  753.         runtime system. If any of these tests fails, then the connection
  754.         is closed and all data associated with this runtime system is
  755.         deleted. Any scripts that should be running in this runtime
  756.         system are aborted, the `smRunExitCode' is set to `genericError'
  757.         and `smRunError' is modified to describe the error situation.
  758.  
  759.    4.   Received messages are discarded if none of the previous rules
  760.         applies.
  761.  
  762. 6.2.3.  Generating the `start' Command
  763.  
  764.    The `start' command is generated while processing set-requests for a
  765.    `smLaunchStart' variable. The `start' command assumes that the SNMP
  766.    agent already determined a runtime system suitable to execute the
  767.    script associated with the `smLaunchStart' variable.  The SNMP agent
  768.    sends the `start' command as defined in section 5.2 to the selected
  769.    runtime system. The SNMP agent then expects a reply from the runtime
  770.    system within a reasonable timeout interval.
  771.  
  772.    1.   If the timeout expires before the SNMP agent received a reply,
  773.         then the SNMP agent sends an `abort' command to abort the
  774.         running script and sets the `smRunState' of the running script
  775.         to `terminated', the `smRunExitCode' to `genericError' and
  776.         `smRunError' is modified to describe the timeout situation.
  777.  
  778.    2.   If the received message can not be analyzed because it does not
  779.         have the required format, then the message is ignored. The SNMP
  780.         agent continues to wait for a valid reply message until the
  781.         timeout expires.
  782.  
  783.  
  784.  
  785.  
  786. Schoenwaelder & Quittek       Experimental                     [Page 14]
  787.  
  788. RFC 2593                    SMX Protocol 1.0                    May 1999
  789.  
  790.  
  791.    3.   If the received message is a `4yz' reply and the `Id' matches
  792.         the `Id' of the `start' command, then the SNMP agent assumes
  793.         that the script can not be started. The `smRunState' of the
  794.         running script is set to `terminated', the `smRunExitCode' to
  795.         `genericError' and the `smRunError' is modified to contain a
  796.         message describing the error situation.
  797.  
  798.    4.   If the received message is a `231' reply and the `Id' matches
  799.         the `Id' of the `start' command, then the `smRunState' variable
  800.         of the running script is updated.
  801.  
  802.    5.   Received messages are discarded if none of the previous rules
  803.         applies.
  804.  
  805. 6.2.4.  Generating the `suspend' Command
  806.  
  807.    The `suspend' command is generated while processing set-requests for
  808.    the `smLaunchControl' and `smRunControl' variables which change the
  809.    value to `suspend'. The SNMP agent sets the `smRunState' variable to
  810.    `suspending' and sends the `suspend' command as defined in section
  811.    5.2. The SNMP agent then expects a reply from the runtime system
  812.    within a reasonable timeout interval.
  813.  
  814.    1.   If the timeout expires before the SNMP agent received a reply,
  815.         then the SNMP agent sends an `abort' command to abort the
  816.         running script and sets the `smRunState' of the running script
  817.         to `terminated', the `smRunExitCode' to `genericError' and
  818.         `smRunError' is modified to describe the timeout situation.
  819.  
  820.    2.   If the received message can not be analyzed because it does not
  821.         have the required format, then the message is ignored. The SNMP
  822.         agent continues to wait for a valid reply message until the
  823.         timeout expires.
  824.  
  825.    3.   If the received message is a `401', `402' or a `431' reply and
  826.         the `Id' matches the `Id' of the `suspend' command, then the
  827.         runtime systems is assumed to not provide the suspend/resume
  828.         capability and processing of the `suspend' command stops.
  829.  
  830.    4.   If the received message is a `231' reply and the `Id' matches
  831.         the `Id' of the `suspend' command, then the `smRunState'
  832.         variable of the running script is updated.
  833.  
  834.    5.   Received messages are discarded if none of the previous rules
  835.         applies.
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Schoenwaelder & Quittek       Experimental                     [Page 15]
  843.  
  844. RFC 2593                    SMX Protocol 1.0                    May 1999
  845.  
  846.  
  847. 6.2.5.  Generating the `resume' Command
  848.  
  849.    The `resume' command is generated while processing set-requests for
  850.    the `smLaunchControl' and `smRunControl' variables which change the
  851.    value to `resume'. The SNMP agent sets the `smRunState' variable to
  852.    `resuming' and sends the `resume' command as defined in section 5.2.
  853.    The SNMP agent then expects a reply from the runtime system within a
  854.    reasonable timeout interval.
  855.  
  856.    1.   If the timeout expires before the SNMP agent received a reply,
  857.         then the SNMP agent sends an `abort' command to abort the
  858.         running script and sets the `smRunState' of the running script
  859.         to `terminated', the `smRunExitCode' to `genericError' and
  860.         `smRunError' is modified to describe the timeout situation.
  861.  
  862.    2.   If the received message can not be analyzed because it does not
  863.         have the required format, then the message is ignored. The SNMP
  864.         agent continues to wait for a valid reply message until the
  865.         timeout expires.
  866.  
  867.    3.   If the received message is a `401', `402' or a `431' reply and
  868.         the `Id' matches the `Id' of the `resume' command, then the
  869.         runtime systems is assumed to not provide the suspend/resume
  870.         capability and processing of the `resume' command stops.
  871.  
  872.    4.   If the received message is a `231' reply and the `Id' matches
  873.         the `Id' of the `resume' command, then the `smRunState' variable
  874.         of the running script is updated.
  875.  
  876.    5.   Received messages are discarded if none of the previous rules
  877.         applies.
  878.  
  879. 6.2.6.  Generating the `abort' Command
  880.  
  881.    The `abort' command is generated while processing set-requests for
  882.    the `smLaunchControl' and `smRunControl' variables which change the
  883.    value to `abort'. In addition, the `abort' command is also generated
  884.    if the `smRunLifeTime' variable reaches the value 0. The SNMP agent
  885.    sends the `abort' command as defined in section 5.2. The SNMP agent
  886.    then expects a reply from the runtime system within a reasonable
  887.    timeout interval.
  888.  
  889.    1.   If the timeout expires before the SNMP agent received a reply,
  890.         then the SNMP agent sets the `smRunState' of the running script
  891.         to `terminated', the `smRunExitCode' to `genericError' and
  892.         `smRunError' is modified to describe the timeout situation.
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Schoenwaelder & Quittek       Experimental                     [Page 16]
  899.  
  900. RFC 2593                    SMX Protocol 1.0                    May 1999
  901.  
  902.  
  903.    2.   If the received message can not be analyzed because it does not
  904.         have the required format, then the message is ignored. The SNMP
  905.         agent continues to wait for a valid reply message until the
  906.         timeout expires.
  907.  
  908.    3.   If the received message is a `4yz' reply and the `Id' matches
  909.         the `Id' of the `abort' command, then the SNMP agent assumes
  910.         that the script can not be aborted. The `smRunState' of the
  911.         running script is set to `terminated', the `smRunExitCode' to
  912.         `genericError' and the `smRunResult' is modified to describe the
  913.         error situation.
  914.  
  915.    4.   If the received message is a `232' reply and the `Id' matches
  916.         the `Id' of the `abort' command, then the `smRunExitCode'
  917.         variable of the terminated script is changed to either `halted'
  918.         (when processing a set-request for the `smLaunchControl' and
  919.         `smRunControl' variables) or `lifeTimeExceeded' (if the `abort'
  920.         command was generated because the `smRunLifeTime' variable
  921.         reached the value 0). The `smRunState' variable is changed to
  922.         the value `terminated'.
  923.  
  924.    5.   Received messages are discarded if none of the previous rules
  925.         applies.
  926.  
  927. 6.2.7.  Generating the `status' Command
  928.  
  929.    The `status' command is generated either periodically or on demand by
  930.    the SNMP agent in order to retrieve status information from running
  931.    scripts. The SNMP agent sends the `status' command as defined in 5.2.
  932.    The SNMP agent then expects a reply from the runtime system within a
  933.    reasonable timeout interval.
  934.  
  935.    1.   If the timeout expires before the SNMP agent received a reply,
  936.         then the SNMP agent sends an `abort' command to abort the
  937.         running script and sets the `smRunState' of the running script
  938.         to `terminated', the `smRunExitCode' to `genericError' and
  939.         `smRunError' is modified to describe the timeout situation.
  940.  
  941.    2.   If the received message can not be analyzed because it does not
  942.         have the required format, then the message is ignored. The SNMP
  943.         agent continues to wait for a valid reply message until the
  944.         timeout expires.
  945.  
  946.    3.   If the received message is a `4yz' reply and the `Id' matches
  947.         the `Id' of the `status' command, then the SNMP agent assumes
  948.         that the script status can not be read, which is a fatal error
  949.         condition. The SNMP agent sends an `abort' command to abort the
  950.         running script. The `smRunState' of the running script is set to
  951.  
  952.  
  953.  
  954. Schoenwaelder & Quittek       Experimental                     [Page 17]
  955.  
  956. RFC 2593                    SMX Protocol 1.0                    May 1999
  957.  
  958.  
  959.         `terminated', the `smRunExitCode' to `genericError' and the
  960.         `smRunError' is modified to describe the error situation.
  961.  
  962.    4.   If the received message is a `231' reply and the `Id' matches
  963.         the `Id' of the `status' command, then the `smRunState' variable
  964.         of the running script is updated.
  965.  
  966.    5.   Received messages are discarded if none of the previous rules
  967.         applies.
  968.  
  969. 6.2.8.  Processing Asynchronous Notifications
  970.  
  971.    The runtime system can send asynchronous status change notifications.
  972.    These `5yz' replies are processed as described below.
  973.  
  974.    1.   If the received message is a `511' reply, then the message is
  975.         displayed or logged appropriately and processing stops.
  976.  
  977.    2.   If the received message is a `531' reply, then the SNMP agent
  978.         checks whether a running script with the given `RunId' exists in
  979.         the runtime system. Processing of the notification stops if
  980.         there is no running script with the `RunId'. Otherwise, the
  981.         `smRunState' is updated.
  982.  
  983.    3.   If the received message is a `532' reply, then the SNMP agent
  984.         checks whether a running script with the given `RunId' exists in
  985.         the runtime system. Processing of the notification stops if
  986.         there is no running script with the `RunId'. Otherwise,
  987.         `smRunState' and `smRunResult' are updated.
  988.  
  989.    4.   If the received message is a `533' reply, then the SNMP agent
  990.         checks whether a running script with the given `RunId' exists in
  991.         the runtime system. Processing of the notification stops if
  992.         there is no running script with the `RunId'. Otherwise,
  993.         `smRunState' and `smRunResult' are updated and the
  994.         `smScriptResult' notification is generated.
  995.  
  996.    5.   If the received message is a `534' reply, then the SNMP agent
  997.         checks whether a running script with the given `RunId' exists in
  998.         the runtime system. Processing stops if there is no running
  999.         script with the `RunId'. Otherwise, `smExitCode' is set to
  1000.         `noError', `smRunState' is set to `terminated' and `smRunResult'
  1001.         is updated.
  1002.  
  1003.    6.   If the received message is a `535' reply, then the SNMP agent
  1004.         checks whether a running script with the given `RunId' exists in
  1005.         the runtime system. Processing stops if there is no running
  1006.         script with the `RunId'. Otherwise, `smRunState' is set to
  1007.  
  1008.  
  1009.  
  1010. Schoenwaelder & Quittek       Experimental                     [Page 18]
  1011.  
  1012. RFC 2593                    SMX Protocol 1.0                    May 1999
  1013.  
  1014.  
  1015.         `terminated' and `smExitCode' and `smRunError' are updated.
  1016.  
  1017. 7.  An Example SMX Message Flow
  1018.  
  1019.    Below is an example SMX message exchange. Messages send from the SNMP
  1020.    agent are marked with `>' while replies send from the runtime system
  1021.    are marked with `<'. Line terminators (`CRLF') are not shown in order
  1022.    to make the example more readable.
  1023.  
  1024.      > hello 1
  1025.      < 211 1 SMX/1.0 0AF0BAED6F877FBC
  1026.      > start 2 42 "/var/snmp/scripts/foo.jar" untrusted ""
  1027.      > start 5 44 "/var/snmp/scripts/bar.jar" trusted "www.ietf.org"
  1028.      < 231 2 2
  1029.      > start 12 48 "/var/snmp/scripts/foo.jar" funny ""
  1030.      < 231 5 2
  1031.      < 532 0 44 2 "waiting for response"
  1032.      > status 18 42
  1033.      > status 19 44
  1034.      < 432 12
  1035.      < 231 19 2
  1036.      < 231 18 2
  1037.      > hello 578
  1038.      < 211 578 SMX/1.0 0AF0BAED6F877FBC
  1039.      > suspend 581 42
  1040.      < 231 581 4
  1041.      < 534 0 44 "test completed"
  1042.      > abort 611 42
  1043.      < 232 611
  1044.  
  1045. 8.  Security Considerations
  1046.  
  1047.    The SMX protocol runs on top of a local TCP connection. Protocol
  1048.    messages never leave the local system. It is therefore not possible
  1049.    to attack the message exchanges if the underlying operating system
  1050.    protects local TCP connections from other users on the same machine.
  1051.  
  1052.    The only critical situation is the connection establishment phase.
  1053.    The rules defined in section 4 ensure that only local connections are
  1054.    accepted and that a runtime system has to identify itself with a
  1055.    security cookie generated by the SNMP agent and passed to the runtime
  1056.    system process as part of its environment. This rule ensures that
  1057.    scripts will only be executed on authorized runtime systems. This
  1058.    scheme relies on the protection of process environments by the
  1059.    operating system. Well maintained UNIX operating systems have this
  1060.    property.
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Schoenwaelder & Quittek       Experimental                     [Page 19]
  1067.  
  1068. RFC 2593                    SMX Protocol 1.0                    May 1999
  1069.  
  1070.  
  1071.    The SMX protocol allows to execute script under different operating
  1072.    system and runtime system security profiles. The memo suggests to map
  1073.    the smLaunchOwner value to an operating system and a runtime system
  1074.    security profile. The operating system security profile is enforced
  1075.    by the operating system by setting up a proper process environment.
  1076.    The runtime security profile is enforced by a secure runtime system
  1077.    (e.g. the Java virtual machine or a safe Tcl interpreter) [7].
  1078.  
  1079. 9.  Acknowledgments
  1080.  
  1081.    The protocol described in this memo is the result of a joint project
  1082.    between the Technical University of Braunschweig and C&C Research
  1083.    Laboratories of NEC Europe Ltd. in Berlin. We would like to thank the
  1084.    following project members for their contributions to the initial
  1085.    design and the implementation of the protocol described in this memo:
  1086.  
  1087.            M. Bolz         (TU Braunschweig)
  1088.            C. Kappler      (NEC Europe Ltd.)
  1089.            A. Kind         (NEC Europe Ltd.)
  1090.            S. Mertens      (TU Braunschweig)
  1091.            J. Nicklisch    (NEC Europe Ltd.)
  1092.  
  1093. 10.  References
  1094.  
  1095.    [1]  Levi, D. and J. Schoenwaelder, "Definitions of Managed Objects
  1096.         for the Delegation of Management Scripts", RFC 2592, May 1999.
  1097.  
  1098.    [2]  Lindholm, T., and F. Yellin, "The Java Virtual Machine
  1099.         Specification", Addison Wesley, 1997.
  1100.  
  1101.    [3]  J.K. Ousterhout, "Tcl and the Tk Toolkit", Addison Wesley, 1994.
  1102.  
  1103.    [4]  Fritzinger, J.S., and M. Mueller, "Java Security", White Paper,
  1104.         Sun Microsystems, Inc., 1996.
  1105.  
  1106.    [5]  Levy, J.Y., Demailly, L., Ousterhout, J.K., and B. Welch, "The
  1107.         Safe-Tcl Security Model", Proc. USENIX Annual Technical
  1108.         Conference, June 1998.
  1109.  
  1110.    [6]  Crocker, D., and P. Overell, "Augmented BNF for Syntax
  1111.         Specifications: ABNF", RFC 2234, Internet Mail Consortium, Demon
  1112.         Internet Ltd., November 1997.
  1113.  
  1114.    [7]  Schoenwaelder, J., and J. Quittek, "Secure Management by
  1115.         Delegation within the Internet Management", Proc. IFIP/IEEE
  1116.         International Symposium on Integrated Network Management '99,
  1117.         May 1999.
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Schoenwaelder & Quittek       Experimental                     [Page 20]
  1123.  
  1124. RFC 2593                    SMX Protocol 1.0                    May 1999
  1125.  
  1126.  
  1127. 11.  Authors' Addresses
  1128.  
  1129.    Juergen Schoenwaelder
  1130.    TU Braunschweig
  1131.    Bueltenweg 74/75
  1132.    38106 Braunschweig
  1133.    Germany
  1134.  
  1135.    Phone: +49 531 391-3283
  1136.    EMail: schoenw@ibr.cs.tu-bs.de
  1137.  
  1138.  
  1139.    Juergen Quittek
  1140.    NEC Europe Ltd.
  1141.    C&C Research Laboratories
  1142.    Hardenbergplatz 2
  1143.    10623 Berlin
  1144.    Germany
  1145.  
  1146.    Phone: +49 30 254230-19
  1147.    EMail: quittek@ccrle.nec.de
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Schoenwaelder & Quittek       Experimental                     [Page 21]
  1179.  
  1180. RFC 2593                    SMX Protocol 1.0                    May 1999
  1181.  
  1182.  
  1183. 12.  Full Copyright Statement
  1184.  
  1185.    Copyright (C) The Internet Society (1999). All Rights Reserved.
  1186.  
  1187.    This document and translations of it may be copied and furnished to
  1188.    others, and derivative works that comment on or otherwise explain it
  1189.    or assist in its implementation may be prepared, copied, published
  1190.    and distributed, in whole or in part, without restriction of any
  1191.    kind, provided that the above copyright notice and this paragraph are
  1192.    included on all such copies and derivative works.  However, this
  1193.    document itself may not be modified in any way, such as by removing
  1194.    the copyright notice or references to the Internet Society or other
  1195.    Internet organizations, except as needed for the  purpose of
  1196.    developing Internet standards in which case the procedures for
  1197.    copyrights defined in the Internet Standards process must be
  1198.    followed, or as required to translate it into languages other than
  1199.    English.
  1200.  
  1201.    The limited permissions granted above are perpetual and will not be
  1202.    revoked by the Internet Society or its successors or assigns.
  1203.  
  1204.    This document and the information contained herein is provided on an
  1205.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  1206.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  1207.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  1208.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  1209.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  1210.  
  1211. Acknowledgement
  1212.  
  1213.    Funding for the RFC Editor function is currently provided by the
  1214.    Internet Society.
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. Schoenwaelder & Quittek       Experimental                     [Page 22]
  1235.  
  1236.