From owner-disman@dorothy.bmc.com  Tue Jun  5 14:01:00 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA27381
	for <disman-archive@odin.ietf.org>; Tue, 5 Jun 2001 14:00:45 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f55HtTg00775;
	Tue, 5 Jun 2001 12:55:29 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA24430
	for disman-list; Tue, 5 Jun 2001 10:51:25 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id KAA24423
	for <disman@dorothy.bmc.com>; Tue, 5 Jun 2001 10:51:20 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f55Hq3513944
	for <disman@dorothy.bmc.com>; Tue, 5 Jun 2001 12:52:03 -0500 (CDT)
Received: from red.juniper.net ([207.17.136.137]) by fw-us-hou-9.bmc.com; Mon, 05 Jun 2000 12:52:22 +0000 (CST)
Received: from juniper.net (mojito.juniper.net [172.17.28.44])
	by red.juniper.net (8.9.3/8.9.3) with ESMTP id KAA28768;
	Tue, 5 Jun 2001 10:10:54 -0700 (PDT)
Message-ID: <3B1D1295.9A37D705@juniper.net>
Date: Tue, 05 Jun 2001 10:10:45 -0700
From: Paul Fraley <fraley@juniper.net>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: disman@dorothy.bmc.com, wkenneth@us.ibm.com
CC: fraley@juniper.net
Subject: simple question on pingCtlMaxRows - pingMIB (rfc2925)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit


I need to know what happens when pingCtlMaxRows is set to a number
less than the number of entries CURRENTLY in the History table for
a given ping test.

Consider the following scenario, for a given Ping test:
   Run 1
       pingCtlProbeCount  == 15
       pingCtlMaxRows     == 30

   At the end of this run, I have 15 entries in the History table,
   numbered 1-15

   Run 2
       pingCtlProbeCount  == 15
       pingCtlMaxRows     == 30

   At the end of this run, I have 30 entries in the History table,
   numbered 1-30

   Run 3
       pingCtlProbeCount  == 15
       pingCtlMaxRows     == 30

   At the end of this run, I have 30 entries in the History table,
   numbered 16-45

   Run 4
       pingCtlProbeCount  == 15
       pingCtlMaxRows     ==  5

Question 1.
    What should have at the end of the end of Run 4?

    A.  5 entries numbered 56-60?
    B. 30 entries numbered 31-60?
    C. something else?  if so, what?

Question 2.
    What happens when I set pingCtlMaxRows to 0?  Do I delete any 
    current History entries for this test?  If so, I would assume
    that I would do this when I STARTED the test, and NOT when
    pingCtlMaxRows is set 0.

Thanks,

Paul
fraley@juniper.net


From owner-disman@dorothy.bmc.com  Tue Jun  5 14:45:53 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA28050
	for <disman-archive@odin.ietf.org>; Tue, 5 Jun 2001 14:45:38 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f55Ihwn05142;
	Tue, 5 Jun 2001 13:43:58 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA24782
	for disman-list; Tue, 5 Jun 2001 11:38:10 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id LAA24777
	for <disman@dorothy.bmc.com>; Tue, 5 Jun 2001 11:38:06 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f55IciV25745
	for <disman@dorothy.bmc.com>; Tue, 5 Jun 2001 13:38:44 -0500 (CDT)
Received: from red.juniper.net ([207.17.136.137]) by fw-us-hou-9.bmc.com; Mon, 05 Jun 2000 13:38:35 +0000 (CST)
Received: from juniper.net (mojito.juniper.net [172.17.28.44])
	by red.juniper.net (8.9.3/8.9.3) with ESMTP id LAA01824;
	Tue, 5 Jun 2001 11:37:45 -0700 (PDT)
Message-ID: <3B1D26F0.F52026A0@juniper.net>
Date: Tue, 05 Jun 2001 11:37:36 -0700
From: Paul Fraley <fraley@juniper.net>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: disman@dorothy.bmc.com
CC: wkenneth@us.ibm.com
Subject: rtt valus in Results table - pingMIB rfc2925
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit


Please check my understanding on what happens to RTT values
when pingResultsOperStatus transitions from disabled(2) to
enabled(1).  I believe these values should be cleared upon
this transition.

  I think it must.  Else, this entry could be in the MIB for the life
  of the process.  You would need to keep tracked of the results
  of every probe ever for that test, which does not seem reasonable.

  Also, I can not be based on what is in the history table because 
  the user can choose pingCtlMaxRows == 0 and I still need to produce
  rtt results.

Thanks

Paul


From owner-disman@dorothy.bmc.com  Fri Jun  8 11:49:06 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA14868
	for <disman-archive@odin.ietf.org>; Fri, 8 Jun 2001 11:49:06 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f58Fjxw07610;
	Fri, 8 Jun 2001 10:46:00 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA07692
	for disman-list; Fri, 8 Jun 2001 08:43:35 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA07687
	for <disman@dorothy.bmc.com>; Fri, 8 Jun 2001 08:43:32 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f58FiDn19158
	for <disman@dorothy.bmc.com>; Fri, 8 Jun 2001 10:44:13 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de ([134.169.34.190]) by fw-us-hou-9.bmc.com; Thu, 08 Jun 2000 10:44:29 +0000 (CST)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA10717;
	Fri, 8 Jun 2001 17:39:26 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA09865; Fri, 8 Jun 2001 17:39:26 +0200
Date: Fri, 8 Jun 2001 17:39:26 +0200
Message-Id: <200106081539.RAA09865@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: internet-drafts@ietf.org
CC: disman <disman@dorothy.bmc.com>
Subject: please post draft-ietf-disman-script-mib-v2-04.txt
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


Please post the following document as an Internet Draft. The document
has been produced by the DISMAN working group.

http://www.ibr.cs.tu-bs.de/~schoenw/draft-ietf-disman-script-mib-v2-04.txt

Thank you.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Fri Jun  8 11:54:39 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA14869
	for <disman-archive@odin.ietf.org>; Fri, 8 Jun 2001 11:49:06 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f58Fjwc07607;
	Fri, 8 Jun 2001 10:45:58 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA07677
	for disman-list; Fri, 8 Jun 2001 08:42:04 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA07672
	for <disman@dorothy.bmc.com>; Fri, 8 Jun 2001 08:41:58 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f58Fgdp17854
	for <disman@dorothy.bmc.com>; Fri, 8 Jun 2001 10:42:39 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de ([134.169.34.190]) by fw-us-hou-9.bmc.com; Thu, 08 Jun 2000 10:42:58 +0000 (CST)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA11154;
	Fri, 8 Jun 2001 17:43:05 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA09875; Fri, 8 Jun 2001 17:43:05 +0200
Date: Fri, 8 Jun 2001 17:43:05 +0200
Message-Id: <200106081543.RAA09875@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: disman <disman@dorothy.bmc.com>
Subject: script mib updates
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


Some issues were raised during IANA/IESG review that required us to
post another revision of the script mib. Despite some minor editorial
changes, I had to make some more changes to get the compliance and
conformance definitions right.

There are now a bunch of new compliance and conformance definitions
that take care of the new objects/notifications. The old definitions
have been deprecated. Below is a unified context diff of my nroff
sources so that you can easily check what has been touched.

Lets hope this is the final one...

/js

Index: sm.me
===================================================================
RCS file: /usr/home/schoenw/CVS/ietf/disman/src/sm.me,v
retrieving revision 1.13
diff -u -r1.13 sm.me
--- sm.me	2001/04/11 15:35:38	1.13
+++ sm.me	2001/06/08 15:32:00
@@ -12,7 +12,7 @@
 .nr sf R
 .nr bm 0.5i
 .nr fm 0 \}
-.he 'Internet-Draft'Script MIB'April 2001'
+.he 'Internet-Draft'Script MIB'June 2001'
 .fo 'Levi & Schoenwaelder'Standards Track'[Page %ENDPAGE'
 .hy 0
 .de $0
@@ -28,14 +28,14 @@
 Internet-Draft                                           Nortel Networks
 Expires September 2001                                  J. Schoenwaelder
                                                          TU Braunschweig
-                                                              April 2001
+                                                               June 2001
 .sp 1
 .ce 2
 Definitions of Managed Objects for the
 Delegation of Management Scripts
 .sp 1
 .ce 1
-<draft-ietf-disman-script-mib-v2-03.txt>
+<draft-ietf-disman-script-mib-v2-04.txt>
 
 .ti 0
 Status of this Memo
@@ -72,6 +72,8 @@
 for use with network management protocols in the Internet
 community. In particular, it describes a set of managed objects that
 allow the delegation of management scripts to distributed managers.
+.PP
+This document obsoletes RFC 2592.
 
 .bp
 .PP
@@ -324,22 +326,22 @@
 objects can be used to control how entries in the history are aged out
 if the table fills up.
 
-.sh 1 "The Structure of the MIB"
+.sh 1 "Structure of the MIB"
 .PP
 This section presents the structure of the MIB. The objects are
 arranged into the following groups:
 .ip "   o" 8
-language group (smLanguageGroup)
+language group (smLangTable, smExtsnTable)
 .ip "   o" 8
-script group (smScriptGroup)
+script group (smScriptTable)
 .ip "   o" 8
-script code group (smCodeGroup)
+script code group (smCodeTable)
 .ip "   o" 8
-script launch group (smLaunchGroup)
+script launch group (smLaunchTable)
 .ip "   o" 8
-running script group (smRunGroup)
+running script group (smRunTable)
 
-.sh 2 "The smLanguageGroup"
+.sh 2 "Language Group"
 .PP
 The smLanguageGroup is used to provide information about the languages
 and the language extensions supported by a Script MIB implementation.
@@ -348,7 +350,7 @@
 smExtsnTable lists the extensions that are available for a given
 language.
 
-.sh 2 "The smScriptGroup"
+.sh 2 "Script Group"
 .PP
 The smScriptGroup consists of a single table, called the
 smScriptTable. The smScriptTable lists all scripts known to a Script
@@ -391,7 +393,7 @@
 state `enabled'. Errors during the retrieval or compilation phase will
 result in an error state such as `compilationFailed'.
 
-.sh 2 "The smCodeGroup"
+.sh 2 "Code Group"
 .PP
 The smCodeGroup consists of a single table, called the smCodeTable,
 which provides the ability to transfer and modify scripts via SNMP
@@ -411,7 +413,7 @@
 .PP
 The implementation of the smCodeGroup is optional.
 
-.sh 2 "The smLaunchGroup"
+.sh 2 "Launch Group"
 .PP
 The smLaunchGroup contains a single table, the smLaunchTable. An entry
 in the smLaunchTable represents a launch button which can be used to
@@ -432,7 +434,7 @@
 An entry in the smLaunchTable also defines the owner which will be
 used to associate permissions with the script execution.
 
-.sh 2 "The smRunGroup"
+.sh 2 "Run Group"
 .PP
 The smRunGroup contains a single table, called the smRunTable, which
 lists all scripts that are currently running or have terminated
@@ -482,7 +484,7 @@
         FROM SNMP-FRAMEWORK-MIB;
 
 scriptMIB MODULE-IDENTITY
-    LAST-UPDATED "200104110000Z"
+    LAST-UPDATED "200106080000Z"
     ORGANIZATION "IETF Distributed Management Working Group"
     CONTACT-INFO
         "WG EMail:  disman@dorothy.bmc.com
@@ -515,7 +517,7 @@
     DESCRIPTION
         "This MIB module defines a set of objects that allow to
          delegate management scripts to distributed managers."
-    REVISION    "200104110000Z"
+    REVISION    "200106080000Z"
     DESCRIPTION
         "Revised version, published as RFC XXXX.
 
@@ -532,6 +534,9 @@
          A new smScriptException notification has been added to
          support runtime error notifications.
 
+	 Created new conformance and compliance statements that
+	 take care of the new objects and notifications.
+
 	 Clarifications have been added in several places to remove
 	 ambiguities or contradictions that were discovered and
 	 reported by implementors."
@@ -1078,7 +1083,7 @@
     DESCRIPTION
 	"The date and time when this script table entry was last
 	 modified. The value '0000000000000000'H is returned if
-         the launch table entry has not yet been modified.
+         the script table entry has not yet been modified.
 
 	 Note that the resetting of smScriptError is not considered
 	 a change of the script table entry."
@@ -1982,14 +1987,15 @@
 
 -- compliance statements
 
-smCompliance MODULE-COMPLIANCE
+smCompliance2 MODULE-COMPLIANCE
     STATUS	current
     DESCRIPTION
 	"The compliance statement for SNMP entities which implement
 	 the Script MIB."
     MODULE	-- this module
     MANDATORY-GROUPS { 
-	    smLanguageGroup, smScriptGroup, smLaunchGroup, smRunGroup
+	    smLanguageGroup, smScriptGroup2, smLaunchGroup2, 
+	    smRunGroup2, smNotificationsGroup2
     }
     GROUP   smCodeGroup
     DESCRIPTION
@@ -2024,20 +2030,15 @@
 	 when the smRunControl is set to `suspend' and remain in this
 	 state until smRunControl is set to `resume' or the script 
 	 terminates."
-    ::= { smCompliances 1 }
+    ::= { smCompliances 2 }
 
 smLanguageGroup OBJECT-GROUP
     OBJECTS {
-	smLangLanguage,
-	smLangVersion,
-	smLangVendor,
-	smLangRevision,
-	smLangDescr,
-	smExtsnExtension,
-	smExtsnVersion,
-	smExtsnVendor,
-	smExtsnRevision,
-	smExtsnDescr
+	smLangLanguage, smLangVersion,
+	smLangVendor, smLangRevision,
+	smLangDescr, smExtsnExtension,
+	smExtsnVersion, smExtsnVendor,
+	smExtsnRevision, smExtsnDescr
     }
     STATUS	current
     DESCRIPTION
@@ -2045,28 +2046,23 @@
 	 capabilities of the scripting engine."
     ::= { smGroups 1 }
 
-smScriptGroup OBJECT-GROUP
+smScriptGroup2 OBJECT-GROUP
     OBJECTS {
-	smScriptDescr,
-	smScriptLanguage,
-	smScriptSource,
-	smScriptAdminStatus,
-	smScriptOperStatus,
-	smScriptStorageType,
-	smScriptRowStatus,
-	smScriptError,
+	smScriptDescr, smScriptLanguage,
+	smScriptSource, smScriptAdminStatus,
+	smScriptOperStatus, smScriptStorageType,
+	smScriptRowStatus, smScriptError,
 	smScriptLastChange
     }
     STATUS	current
     DESCRIPTION
 	"A collection of objects providing information about
 	 installed scripts."
-    ::= { smGroups 2 }
+    ::= { smGroups 7 }
 
 smCodeGroup OBJECT-GROUP
     OBJECTS {
-	smCodeText,
-	smCodeRowStatus
+	smCodeText, smCodeRowStatus
     }
     STATUS	current
     DESCRIPTION
@@ -2074,54 +2070,40 @@
 	 by using SNMP set requests."
     ::= { smGroups 3 }
 
-smLaunchGroup OBJECT-GROUP
+smLaunchGroup2 OBJECT-GROUP
     OBJECTS {
-        smLaunchScriptOwner,
-        smLaunchScriptName,
-	smLaunchArgument,
-	smLaunchMaxRunning,
-	smLaunchMaxCompleted,
-	smLaunchLifeTime,
-	smLaunchExpireTime,
-	smLaunchStart,
-	smLaunchControl,
-	smLaunchAdminStatus,
-	smLaunchOperStatus,
-	smLaunchRunIndexNext,
-	smLaunchStorageType,
-	smLaunchRowStatus,
-	smLaunchError,
-	smLaunchLastChange,
+        smLaunchScriptOwner, smLaunchScriptName,
+	smLaunchArgument, smLaunchMaxRunning,
+	smLaunchMaxCompleted, smLaunchLifeTime,
+	smLaunchExpireTime, smLaunchStart,
+	smLaunchControl, smLaunchAdminStatus,
+	smLaunchOperStatus, smLaunchRunIndexNext,
+	smLaunchStorageType, smLaunchRowStatus,
+	smLaunchError, smLaunchLastChange,
         smLaunchRowExpireTime
     }
     STATUS	current
     DESCRIPTION
 	"A collection of objects providing information about scripts
 	 that can be launched."
-    ::= { smGroups 4 }
+    ::= { smGroups 8 }
 
-smRunGroup OBJECT-GROUP
+smRunGroup2 OBJECT-GROUP
     OBJECTS {
-	smRunArgument,
-	smRunStartTime,
-	smRunEndTime,
-	smRunLifeTime,
-	smRunExpireTime,
-	smRunExitCode,
-	smRunResult,
-	smRunState,
-	smRunControl,
-	smRunError,
-	smRunResultTime,
-	smRunErrorTime
+	smRunArgument, smRunStartTime,
+	smRunEndTime, smRunLifeTime,
+	smRunExpireTime, smRunExitCode,
+	smRunResult, smRunState,
+	smRunControl, smRunError,
+	smRunResultTime, smRunErrorTime
     }
     STATUS	current
     DESCRIPTION
 	"A collection of objects providing information about running
 	 scripts."
-    ::= { smGroups 5 }
+    ::= { smGroups 9 }
 
-smNotificationsGroup NOTIFICATION-GROUP
+smNotificationsGroup2 NOTIFICATION-GROUP
     NOTIFICATIONS {
 	smScriptAbort,
 	smScriptResult,
@@ -2130,6 +2112,108 @@
     STATUS	current
     DESCRIPTION
 	"The notifications emitted by the Script MIB."
+    ::= { smGroups 10 }
+
+--
+-- Deprecated compliance and conformance group definitions 
+-- from RFC 2592.
+--
+
+smCompliance MODULE-COMPLIANCE
+    STATUS	deprecated
+    DESCRIPTION
+	"The compliance statement for SNMP entities which implement
+	 the Script MIB."
+    MODULE	-- this module
+    MANDATORY-GROUPS { 
+	    smLanguageGroup, smScriptGroup, smLaunchGroup, smRunGroup
+    }
+    GROUP   smCodeGroup
+    DESCRIPTION
+	"The smCodeGroup is mandatory only for those implementations
+	 that support the downloading of scripts via SNMP."
+    OBJECT  smScriptSource
+    MIN-ACCESS	read-only
+    DESCRIPTION
+	"The smScriptSource object is read-only for implementations
+	 that are not able to download script code from a URL."
+    OBJECT smCodeText
+    DESCRIPTION
+	"A compliant implementation need only support write access
+	 to the smCodeText object during row creation."
+    OBJECT smLaunchArgument
+    DESCRIPTION
+	"A compliant implementation has to support a minimum size
+	 for smLaunchArgument of 255 octets."
+    OBJECT smRunArgument
+    DESCRIPTION
+	"A compliant implementation has to support a minimum size
+	 for smRunArgument of 255 octets."
+    OBJECT smRunResult
+    DESCRIPTION
+	"A compliant implementation has to support a minimum size
+	 for smRunResult of 255 octets."
+    OBJECT smRunState
+    DESCRIPTION
+	"A compliant implementation does not have to support script
+	 suspension and the smRunState `suspended'. Such an 
+	 implementation will change into the `suspending' state
+	 when the smRunControl is set to `suspend' and remain in this
+	 state until smRunControl is set to `resume' or the script 
+	 terminates."
+    ::= { smCompliances 1 }
+
+smScriptGroup OBJECT-GROUP
+    OBJECTS {
+	smScriptDescr, smScriptLanguage,
+	smScriptSource, smScriptAdminStatus,
+	smScriptOperStatus, smScriptStorageType,
+	smScriptRowStatus
+    }
+    STATUS	deprecated
+    DESCRIPTION
+	"A collection of objects providing information about
+	 installed scripts."
+    ::= { smGroups 2 }
+
+smLaunchGroup OBJECT-GROUP
+    OBJECTS {
+        smLaunchScriptOwner, smLaunchScriptName,
+	smLaunchArgument, smLaunchMaxRunning,
+	smLaunchMaxCompleted, smLaunchLifeTime,
+	smLaunchExpireTime, smLaunchStart,
+	smLaunchControl, smLaunchAdminStatus,
+	smLaunchOperStatus, smLaunchRunIndexNext,
+	smLaunchStorageType, smLaunchRowStatus
+    }
+    STATUS	deprecated
+    DESCRIPTION
+	"A collection of objects providing information about scripts
+	 that can be launched."
+    ::= { smGroups 4 }
+
+smRunGroup OBJECT-GROUP
+    OBJECTS {
+	smRunArgument, smRunStartTime,
+	smRunEndTime, smRunLifeTime,
+	smRunExpireTime, smRunExitCode,
+	smRunResult, smRunState,
+	smRunControl, smRunError
+    }
+    STATUS	deprecated
+    DESCRIPTION
+	"A collection of objects providing information about running
+	 scripts."
+    ::= { smGroups 5 }
+
+smNotificationsGroup NOTIFICATION-GROUP
+    NOTIFICATIONS {
+	smScriptAbort,
+	smScriptResult
+    }
+    STATUS	deprecated
+    DESCRIPTION
+	"The notifications emitted by the Script MIB."
     ::= { smGroups 6 }
 
 END
@@ -2531,15 +2615,15 @@
 .sh 1 "IANA Considerations"
 .PP
 The Internet Assigned Numbers Authority (IANA) is responsible for
-maintaining a MIB module which provides OID registrations for well-known
-languages. The IANA language registry is intented to reduce
-interoperability problems by providing a single list of well-known
-languages. However, it is of course still possible to register
-languages in private OID spaces. Registering languages in private
-spaces is especially attractive if a language is used for
+maintaining a MIB module (IANA-LANGUAGE-MIB) which provides OID
+registrations for well-known languages. The IANA language registry is
+intented to reduce interoperability problems by providing a single
+list of well-known languages. However, it is of course still possible
+to register languages in private OID spaces. Registering languages in
+private OID spaces is especially attractive if a language is used for
 experimentation or if a language is only used in environments where
-the distribution of MIB modules with the language registration does not
-cause any maintenance problems.
+the distribution of MIB modules with the language registration does
+not cause any maintenance problems.
 .PP
 Any additions or changes to the list of languages registered via IANA
 require Designated Expert Review as defined in the IANA guidelines
@@ -2670,6 +2754,11 @@
 .ip "   -" 6
 Updated the smCompliances statement to not require write access to the
 smCodeText object after row creation.
+.ip "   -" 6
+Deprecated smCompliance, smScriptGroup, smLaunchGroup, smRunGroup,
+smNotificationsGroup and created smCompliance2, smScriptGroup2,
+smLaunchGroup2, smRunGroup2 and smNotificationsGroup2 that take care
+of the new objects and notifications.
 
 .sh 1 "Acknowledgments"
 .PP



From owner-disman@dorothy.bmc.com  Mon Jun 11 07:22:49 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id HAA06427
	for <disman-archive@odin.ietf.org>; Mon, 11 Jun 2001 07:22:48 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5BBHUW20463;
	Mon, 11 Jun 2001 06:17:34 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id EAA01204
	for disman-list; Mon, 11 Jun 2001 04:07:13 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id EAA01199
	for <disman@dorothy.bmc.com>; Mon, 11 Jun 2001 04:07:08 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f5BB7lq28343
	for <disman@dorothy.bmc.com>; Mon, 11 Jun 2001 06:07:47 -0500 (CDT)
Received: from odin.ietf.org ([132.151.1.176]) by fw-us-hou-9.bmc.com; Sun, 11 Jun 2000 06:08:05 +0000 (CST)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA06117;
	Mon, 11 Jun 2001 07:07:47 -0400 (EDT)
Message-Id: <200106111107.HAA06117@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: disman@dorothy.bmc.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-disman-script-mib-v2-04.txt
Date: Mon, 11 Jun 2001 07:07:47 -0400
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Distributed Management Working Group of the IETF.

	Title		: Definitions of Managed Objects for the Delegation of 
                          Management Scripts
	Author(s)	: D. Levi, J. Schoenwaelder
	Filename	: draft-ietf-disman-script-mib-v2-04.txt
	Pages		: 61
	Date		: 08-Jun-01
	
This memo defines a portion of the Management Information Base (MIB)
for use with network management protocols in the Internet community.
In particular, it describes a set of managed objects that allow the
delegation of management scripts to distributed managers.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-disman-script-mib-v2-04.txt

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-disman-script-mib-v2-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-disman-script-mib-v2-04.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<20010608115433.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-disman-script-mib-v2-04.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-disman-script-mib-v2-04.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<20010608115433.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-disman@dorothy.bmc.com  Mon Jun 11 08:51:41 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA08853
	for <disman-archive@odin.ietf.org>; Mon, 11 Jun 2001 08:51:40 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5BCnxU26633;
	Mon, 11 Jun 2001 07:49:59 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id FAA01415
	for disman-list; Mon, 11 Jun 2001 05:46:55 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id FAA01410
	for <disman@DOROTHY.BMC.COM>; Mon, 11 Jun 2001 05:46:49 -0700 (PDT)
From: Internet-Drafts@ietf.org
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f5BClT519685
	for <disman@DOROTHY.BMC.COM>; Mon, 11 Jun 2001 07:47:29 -0500 (CDT)
Received: from del2.vsnl.net.in ([202.54.15.30]) by fw-us-hou-9.bmc.com; Sun, 11 Jun 2000 07:47:40 +0000 (CST)
Received: from vishnu.vishnu (unknown [202.54.108.180])
	by del2.vsnl.net.in (Postfix) with ESMTP id C734A3F18A
	for <disman@DOROTHY.BMC.COM>; Mon, 11 Jun 2001 18:18:09 +0530 (IST)
Received: from vishnu.vishnu (VISHNU [192.168.1.15]) by vishnu.vishnu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id MWDBR66P; Mon, 11 Jun 2001 18:16:32 +0530
Received: by vishnu.vishnu (Microsoft Exchange Connector for POP3 Mailboxes 4.50.2113) with SMTP (Global POP3 Download)
	 id MSG06112001-181536-79.MMD@vishnu; Mon, 11 Jun 2001 18:15:36 +0530
Delivered-To: sandy@amdale.com
Received: (qmail 9384 invoked by uid 104); 11 Jun 2001 12:36:19 -0000
Delivered-To: amdale.com-sandeepj@AMDALE.COM
Received: (qmail 9351 invoked by alias); 11 Jun 2001 12:36:17 -0000
Received: from unknown (HELO loki.ietf.org) (132.151.1.177)
  by 0 with SMTP; 11 Jun 2001 12:36:17 -0000
Received: (from adm@localhost)
	by loki.ietf.org (8.9.1b+Sun/8.9.1) id HAA06748
	for ietf-123-outbound.01@ietf.org; Mon, 11 Jun 2001 07:55:01 -0400 (EDT)
Received: from ietf.org (odin.ietf.org [10.27.2.28])
	by loki.ietf.org (8.9.1b+Sun/8.9.1) with ESMTP id HAA06451
	for <all-ietf@loki.ietf.org>; Mon, 11 Jun 2001 07:07:48 -0400 (EDT)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA06117;
	Mon, 11 Jun 2001 07:07:47 -0400 (EDT)
Message-Id: <200106111107.HAA06117@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: disman@dorothy.bmc.com
Reply-To: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-disman-script-mib-v2-04.txt
Date: Mon, 11 Jun 2001 07:07:47 -0400
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Distributed Management Working Group of the IETF.

	Title		: Definitions of Managed Objects for the Delegation of 
                          Management Scripts
	Author(s)	: D. Levi, J. Schoenwaelder
	Filename	: draft-ietf-disman-script-mib-v2-04.txt
	Pages		: 61
	Date		: 08-Jun-01
	
This memo defines a portion of the Management Information Base (MIB)
for use with network management protocols in the Internet community.
In particular, it describes a set of managed objects that allow the
delegation of management scripts to distributed managers.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-disman-script-mib-v2-04.txt

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-disman-script-mib-v2-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-disman-script-mib-v2-04.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<20010608115433.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-disman-script-mib-v2-04.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-disman-script-mib-v2-04.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<20010608115433.I-D@ietf.org>

--OtherAccess--

--NextPart--





From owner-disman@dorothy.bmc.com  Mon Jun 11 13:36:40 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15581
	for <disman-archive@odin.ietf.org>; Mon, 11 Jun 2001 13:36:38 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5BHYUu24873;
	Mon, 11 Jun 2001 12:34:30 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA05706
	for disman-list; Mon, 11 Jun 2001 10:29:39 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA05700
	for disman@dorothy.bmc.com; Mon, 11 Jun 2001 10:29:35 -0700 (PDT)
Date: Mon, 11 Jun 2001 10:29:35 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106111729.KAA05700@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Fwd: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit

Hi -

I'm forwarding this announcement, which may be of interest to
Script MIB implementors.

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------

> From ietf-123-owner@loki.ietf.org Mon Jun 11 06:00:59 PDT 2001
> Message-Id: <200106111107.HAA06135@ietf.org>
> To: IETF-Announce: ;
> From: Internet-Drafts@ietf.org
> Reply-to: Internet-Drafts@ietf.org
> Subject: I-D ACTION:draft-schoenw-rfc-2593-update-03.txt
> Date: Mon, 11 Jun 2001 07:07:53 -0400
> 
> --NextPart
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 
> 	Title		: Script MIB Extensibility Protocol Version 1.1
> 	Author(s)	: J. Schoenwaelder, J. Quittek
> 	Filename	: draft-schoenw-rfc-2593-update-03.txt
> 	Pages		: 25
> 	Date		: 08-Jun-01
> 	
> The IETF Script MIB defines an interface for the delegation of
> management functions based on the Internet management framework. A
> management script is a set of instructions that are executed by a
> language specific runtime system. The Script MIB extensibility
> protocol (SMX) defined in this memo separates language specific
> runtime systems from language independent Script MIB implementations
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-schoenw-rfc-2593-update-03.txt
> 
> Internet-Drafts are also available by anonymous FTP. Login with the username
> "anonymous" and a password of your e-mail address. After logging in,
> type "cd internet-drafts" and then
> 	"get draft-schoenw-rfc-2593-update-03.txt".
> 
> A list of Internet-Drafts directories can be found in
> http://www.ietf.org/shadow.html 
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> 
> 
> Internet-Drafts can also be obtained by e-mail.
> 
> Send a message to:
> 	mailserv@ietf.org.
> In the body type:
> 	"FILE /internet-drafts/draft-schoenw-rfc-2593-update-03.txt".
> 	
> NOTE:	The mail server at ietf.org can return the document in
> 	MIME-encoded form by using the "mpack" utility.  To use this
> 	feature, insert the command "ENCODING mime" before the "FILE"
> 	command.  To decode the response(s), you will need "munpack" or
> 	a MIME-compliant mail reader.  Different MIME-compliant mail readers
> 	exhibit different behavior, especially when dealing with
> 	"multipart" MIME messages (i.e. documents which have been split
> 	up into multiple messages), so check your local documentation on
> 	how to manipulate these messages.
> 		
> 		
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
> 
> --NextPart
> Content-Type: Multipart/Alternative; Boundary="OtherAccess"
> 
> --OtherAccess
> Content-Type: Message/External-body;
> 	access-type="mail-server";
> 	server="mailserv@ietf.org"
> 
> Content-Type: text/plain
> Content-ID:	<20010608120304.I-D@ietf.org>
> 
> ENCODING mime
> FILE /internet-drafts/draft-schoenw-rfc-2593-update-03.txt
> 
> --OtherAccess
> Content-Type: Message/External-body;
> 	name="draft-schoenw-rfc-2593-update-03.txt";
> 	site="ftp.ietf.org";
> 	access-type="anon-ftp";
> 	directory="internet-drafts"
> 
> Content-Type: text/plain
> Content-ID:	<20010608120304.I-D@ietf.org>
> 
> --OtherAccess--
> 
> --NextPart--
> 
> 
> 


From owner-disman@dorothy.bmc.com  Tue Jun 12 15:21:27 2001
Received: from creeper.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA22896
	for <disman-archive@odin.ietf.org>; Tue, 12 Jun 2001 15:21:27 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5CJHx402503;
	Tue, 12 Jun 2001 14:17:59 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id MAA23496
	for disman-list; Tue, 12 Jun 2001 12:14:28 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id MAA23491
	for <disman@dorothy.bmc.com>; Tue, 12 Jun 2001 12:14:21 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5CJFUm02306
	for <disman@dorothy.bmc.com>; Tue, 12 Jun 2001 14:15:30 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <2KPSK7D3>; Tue, 12 Jun 2001 14:11:35 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5013C447A@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Tue, 12 Jun 2001 14:14:46 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dorothy.bmc.com id MAA23492
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 8bit

The protocol described in the referenced document is insecure in the
following details:

1) Scripts passed as ordinary files may be insecure.

On pages 3 and 4 it states:
   The SMX protocol uses a local storage device (usually implemented on
   top of the local file system) to transfer scripts from the SNMP agent
   to the runtime systems. The SNMP agent has read and write access to
   the script storage device while the runtime systems only need read
   access. The SMX protocol passes the location of a script in the local
   storage device to the runtime engines. It is then the responsibility
   of the runtime engines to load the script from the specified
   location.
A well-known Unix security hole required recoding the kernel in order to
securely support setuid scripts because the name of the script was passed to
the runtime engine, not a location. In certain cases it was found possible
to exploit the situation by causing a filesystem directory to point to a
different file than the one rightfully given setuid privilege by the kernel
in the small window of time between when the setuid privilege was granted by
the kernel and the runtime engine opened the file to execute the script. For
those Unix kernels which still support setuid scripts; the kernel now opens
the script, makes the runtime engine process setuid, and passes the open
filehandle of the script to the runtime engine.

I believe the SMX procedure described above may introduce similar problems
without careful consideration to avoid them. While the text noted above may
be interpreted to avoid the problem by passing an open filehandle to the
runtime engine, in the absense of clarification a naive interpretation would
be to consider a filename to be a "location of a script in the local storage
device" and so would permit insecure implementation.

2) Environment variables are not access protected.

On the bottom of page 5 it states:
   The security assumption here is that access to the process
   environment is protected by the operating system.
This assumption is invalid on many (most?) operating systems. The statement
on page 23 that "well maintained UNIX operating systems have this property."
is erroneous, unless "well maintained" means removal/replacement of the BSD
ps command (try "/usr/ucb/ps eaww" on Solaris).

David Wallis

-----Original Message-----
From: Randy Presuhn [mailto:rpresuhn@dorothy.bmc.com]
Sent: Monday, June 11, 2001 10:30 AM
To: disman@dorothy.bmc.com
Subject: Fwd: script extensibility I-D


Hi -

I'm forwarding this announcement, which may be of interest to
Script MIB implementors.

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------

> From ietf-123-owner@loki.ietf.org Mon Jun 11 06:00:59 PDT 2001
> Message-Id: <200106111107.HAA06135@ietf.org>
> To: IETF-Announce: ;
> From: Internet-Drafts@ietf.org
> Reply-to: Internet-Drafts@ietf.org
> Subject: I-D ACTION:draft-schoenw-rfc-2593-update-03.txt
> Date: Mon, 11 Jun 2001 07:07:53 -0400
> 
> --NextPart
> 
> A New Internet-Draft is available from the on-line Internet-Drafts
directories.
> 
> 
> 	Title		: Script MIB Extensibility Protocol Version 1.1
> 	Author(s)	: J. Schoenwaelder, J. Quittek
> 	Filename	: draft-schoenw-rfc-2593-update-03.txt
> 	Pages		: 25
> 	Date		: 08-Jun-01
> 	
> The IETF Script MIB defines an interface for the delegation of
> management functions based on the Internet management framework. A
> management script is a set of instructions that are executed by a
> language specific runtime system. The Script MIB extensibility
> protocol (SMX) defined in this memo separates language specific
> runtime systems from language independent Script MIB implementations
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-schoenw-rfc-2593-update-03.txt
> 
> Internet-Drafts are also available by anonymous FTP. Login with the
username
> "anonymous" and a password of your e-mail address. After logging in,
> type "cd internet-drafts" and then
> 	"get draft-schoenw-rfc-2593-update-03.txt".
> 
> A list of Internet-Drafts directories can be found in
> http://www.ietf.org/shadow.html 
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> 
> 
> Internet-Drafts can also be obtained by e-mail.
> 
> Send a message to:
> 	mailserv@ietf.org.
> In the body type:
> 	"FILE /internet-drafts/draft-schoenw-rfc-2593-update-03.txt".
> 	
> NOTE:	The mail server at ietf.org can return the document in
> 	MIME-encoded form by using the "mpack" utility.  To use this
> 	feature, insert the command "ENCODING mime" before the "FILE"
> 	command.  To decode the response(s), you will need "munpack" or
> 	a MIME-compliant mail reader.  Different MIME-compliant mail readers
> 	exhibit different behavior, especially when dealing with
> 	"multipart" MIME messages (i.e. documents which have been split
> 	up into multiple messages), so check your local documentation on
> 	how to manipulate these messages.
> 		
> 		
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
> 
> --NextPart
> Content-Type: Multipart/Alternative; Boundary="OtherAccess"
> 
> --OtherAccess
> Content-Type: Message/External-body;
> 	access-type="mail-server";
> 	server="mailserv@ietf.org"
> 
> Content-Type: text/plain
> Content-ID:	<20010608120304.I-D@ietf.org>
> 
> ENCODING mime
> FILE /internet-drafts/draft-schoenw-rfc-2593-update-03.txt
> 
> --OtherAccess
> Content-Type: Message/External-body;
> 	name="draft-schoenw-rfc-2593-update-03.txt";
> 	site="ftp.ietf.org";
> 	access-type="anon-ftp";
> 	directory="internet-drafts"
> 
> Content-Type: text/plain
> Content-ID:	<20010608120304.I-D@ietf.org>
> 
> --OtherAccess--
> 
> --NextPart--
> 
> 
> 


From owner-disman@dorothy.bmc.com  Thu Jun 14 11:52:00 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02823
	for <disman-archive@odin.ietf.org>; Thu, 14 Jun 2001 11:51:59 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5EFmlQ03922;
	Thu, 14 Jun 2001 10:48:47 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA02557
	for disman-list; Thu, 14 Jun 2001 08:44:12 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA02551
	for <disman@dorothy.bmc.com>; Thu, 14 Jun 2001 08:44:07 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f5EFieS00981;
	Thu, 14 Jun 2001 10:44:44 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de ([134.169.34.190]) by fw-us-hou-9.bmc.com; Wed, 14 Jun 2000 10:42:43 +0000 (CST)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA13310;
	Thu, 14 Jun 2001 17:34:06 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA06353; Thu, 14 Jun 2001 17:34:05 +0200
Date: Thu, 14 Jun 2001 17:34:05 +0200
Message-Id: <200106141534.RAA06353@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
CC: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5013C447A@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5013C447A@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

David> The protocol described in the referenced document is insecure
David> in the following details:

David> 1) Scripts passed as ordinary files may be insecure.

David> On pages 3 and 4 it states: The SMX protocol uses a local
David> storage device (usually implemented on top of the local file
David> system) to transfer scripts from the SNMP agent to the runtime
David> systems. The SNMP agent has read and write access to the script
David> storage device while the runtime systems only need read
David> access. The SMX protocol passes the location of a script in the
David> local storage device to the runtime engines. It is then the
David> responsibility of the runtime engines to load the script from
David> the specified location.  A well-known Unix security hole
David> required recoding the kernel in order to securely support
David> setuid scripts because the name of the script was passed to the
David> runtime engine, not a location. In certain cases it was found
David> possible to exploit the situation by causing a filesystem
David> directory to point to a different file than the one rightfully
David> given setuid privilege by the kernel in the small window of
David> time between when the setuid privilege was granted by the
David> kernel and the runtime engine opened the file to execute the
David> script. For those Unix kernels which still support setuid
David> scripts; the kernel now opens the script, makes the runtime
David> engine process setuid, and passes the open filehandle of the
David> script to the runtime engine.

David> I believe the SMX procedure described above may introduce
David> similar problems without careful consideration to avoid
David> them. While the text noted above may be interpreted to avoid
David> the problem by passing an open filehandle to the runtime
David> engine, in the absense of clarification a naive interpretation
David> would be to consider a filename to be a "location of a script
David> in the local storage device" and so would permit insecure
David> implementation.

I am not yet convinced that this is an issue for the SMX protocol.
The directory where the agent stores files only requires read/write
permissions by the agent. The runtime engines and everybody else on
the system does not need write permissions to this directory. How
should someone be able to build an attack in this case? (Note that the
scripts are just ordinary files and there is no setuid stuff involved
here.)

Can you please explain how you think someone can exploit this
mechanism?

David> 2) Environment variables are not access protected.

David> On the bottom of page 5 it states: The security assumption here
David> is that access to the process environment is protected by the
David> operating system.  This assumption is invalid on many (most?)
David> operating systems. The statement on page 23 that "well
David> maintained UNIX operating systems have this property."  is
David> erroneous, unless "well maintained" means removal/replacement
David> of the BSD ps command (try "/usr/ucb/ps eaww" on Solaris).

I have not been aware of this behaviour (which really looks more like
a bug rather than a feature to me). Thanks for raising this issue. We
are looking at this right now and most likely add an alternate
transport for SMX messages which addresses this problem.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Fri Jun 15 19:41:07 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA01714
	for <disman-archive@odin.ietf.org>; Fri, 15 Jun 2001 19:41:06 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5FNdO328961;
	Fri, 15 Jun 2001 18:39:24 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA12515
	for disman-list; Fri, 15 Jun 2001 16:36:38 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA12509;
	Fri, 15 Jun 2001 16:36:34 -0700 (PDT)
Date: Fri, 15 Jun 2001 16:36:34 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106152336.QAA12509@dorothy.bmc.com>
To: bwijnen@lucent.com
Subject: Re:  script mib updates
Cc: disman@dorothy.bmc.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit

Hi -

> Date: Fri, 8 Jun 2001 17:43:05 +0200
> Message-Id: <200106081543.RAA09875@henkell.ibr.cs.tu-bs.de>
> From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
> To: disman <disman@dorothy.bmc.com>
> Subject: script mib updates
> List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
> 
> 
> Some issues were raised during IANA/IESG review that required us to
> post another revision of the script mib. Despite some minor editorial
> changes, I had to make some more changes to get the compliance and
> conformance definitions right.
> 
> There are now a bunch of new compliance and conformance definitions
> that take care of the new objects/notifications. The old definitions
> have been deprecated. Below is a unified context diff of my nroff
> sources so that you can easily check what has been touched.
> 
> Lets hope this is the final one...
...

It's been a week since the diffs were posted, and I have
seen no adverse reactions.  So, as disman WG chair I'd like
to request that our area director take the updated draft
draft-ietf-disman-script-mib-v2-04.txt to the IESG as soon
as it appears.

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------


From owner-disman@dorothy.bmc.com  Sat Jun 16 09:10:14 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA23982
	for <disman-archive@odin.ietf.org>; Sat, 16 Jun 2001 09:10:13 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5GD8e011295;
	Sat, 16 Jun 2001 08:08:40 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id GAA15633
	for disman-list; Sat, 16 Jun 2001 06:06:26 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id GAA15627;
	Sat, 16 Jun 2001 06:06:21 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f5GD6wH23232;
	Sat, 16 Jun 2001 08:06:58 -0500 (CDT)
Received: from hoemail1.lucent.com ([192.11.226.161]) by fw-us-hou-9.bmc.com; Fri, 16 Jun 2000 07:54:11 +0000 (CST)
Received: from hoemail1.firewall.lucent.com (localhost [127.0.0.1])
	by hoemail1.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5GD7WV24305;
	Sat, 16 Jun 2001 09:07:32 -0400 (EDT)
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62])
	by hoemail1.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5GD7SH24244;
	Sat, 16 Jun 2001 09:07:32 -0400 (EDT)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2650.21)
	id <J6N3LY13>; Sat, 16 Jun 2001 15:07:27 +0200
Message-ID: <2413FED0DFE6D111B3F90008C7FA61FB0CA891FD@nl0006exch002u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: bwijnen@lucent.com, Randy Presuhn <rpresuhn@dorothy.bmc.com>
Cc: disman@dorothy.bmc.com
Subject: RE: script mib updates
Date: Sat, 16 Jun 2001 15:07:27 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dorothy.bmc.com id GAA15628
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 8bit

On my plate (again).

Bert

> ----------
> From: 	Randy Presuhn[SMTP:rpresuhn@dorothy.bmc.com]
> Sent: 	Saturday, June 16, 2001 1:36 AM
> To: 	bwijnen@lucent.com
> Cc: 	disman@dorothy.bmc.com
> Subject: 	Re:  script mib updates
> 
> Hi -
> 
> > Date: Fri, 8 Jun 2001 17:43:05 +0200
> > Message-Id: <200106081543.RAA09875@henkell.ibr.cs.tu-bs.de>
> > From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
> > To: disman <disman@dorothy.bmc.com>
> > Subject: script mib updates
> > List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
> > 
> > 
> > Some issues were raised during IANA/IESG review that required us to
> > post another revision of the script mib. Despite some minor editorial
> > changes, I had to make some more changes to get the compliance and
> > conformance definitions right.
> > 
> > There are now a bunch of new compliance and conformance definitions
> > that take care of the new objects/notifications. The old definitions
> > have been deprecated. Below is a unified context diff of my nroff
> > sources so that you can easily check what has been touched.
> > 
> > Lets hope this is the final one...
> ...
> 
> It's been a week since the diffs were posted, and I have
> seen no adverse reactions.  So, as disman WG chair I'd like
> to request that our area director take the updated draft
> draft-ietf-disman-script-mib-v2-04.txt to the IESG as soon
> as it appears.
> 
>  -------------------------------------------------------
>  Randy Presuhn           randy_presuhn@bmc.com
>  Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
>  Fax:   +1 408 965-0359  2141 North First Street
>  http://www.bmc.com/     San José, California 95131  USA
>  -------------------------------------------------------
>  My opinions and BMC's are independent variables.
>  -------------------------------------------------------
> 


From owner-disman@dorothy.bmc.com  Mon Jun 18 11:52:52 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10846
	for <disman-archive@odin.ietf.org>; Mon, 18 Jun 2001 11:52:51 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5IFo6r02889;
	Mon, 18 Jun 2001 10:50:06 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA20392
	for disman-list; Mon, 18 Jun 2001 08:48:46 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA20387
	for <disman@dorothy.bmc.com>; Mon, 18 Jun 2001 08:48:40 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5IFnG306950
	for <disman@dorothy.bmc.com>; Mon, 18 Jun 2001 10:49:16 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 678681FF008
	for <disman@dorothy.bmc.com>; Mon, 18 Jun 2001 15:46:54 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA03247;
	Mon, 18 Jun 2001 17:49:32 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA23690; Mon, 18 Jun 2001 17:49:32 +0200
Date: Mon, 18 Jun 2001 17:49:32 +0200
Message-Id: <200106181549.RAA23690@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: disman <disman@dorothy.bmc.com>
Subject: schedule mib updates
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


I have updated the schedule MIB revision. Despite some minor editorial
changes, I have added new compliance and conformance definitions that
were needed because of the introduction of schedTriggers. 

I also rewrote the section on time transitions as was discussed in
Minneapolis and on the disman list in March. Below is the unified
context diff (which is actually showing lots of editorial changes).

Randy, please do whatever needs to be done next to get this revision
out to the IESG.

/js

Index: sched.me
===================================================================
RCS file: /usr/home/schoenw/CVS/ietf/disman/src/sched.me,v
retrieving revision 1.13
diff -u -r1.13 sched.me
--- sched.me	2001/03/02 12:32:34	1.13
+++ sched.me	2001/06/18 15:27:17
@@ -12,7 +12,7 @@
 .nr sf R
 .nr bm 0.5i
 .nr fm 0 \}
-.he 'Internet-Draft'Schedule MIB'March 2001'
+.he 'Internet-Draft'Schedule MIB'June 2001'
 .fo 'Levi & Schoenwaelder'Standards Track'[Page %ENDPAGE'
 .hy 0
 .de $0
@@ -28,14 +28,14 @@
 Internet-Draft                                           Nortel Networks
 Expires September 2001                                  J. Schoenwaelder
                                                          TU Braunschweig
-						           1. March 2001
+						               June 2001
 .sp1
 .ce 2
 Definitions of Managed Objects for
 Scheduling Management Operations
 .sp 1
 .ce 1
-<draft-ietf-disman-schedule-mib-v2-03.txt>
+<draft-ietf-disman-schedule-mib-v2-04.txt>
 
 .ti 0
 Status of this Memo
@@ -73,6 +73,8 @@
 community. In particular, it describes a set of managed objects that
 are used to schedule management operations periodically or at
 specified dates and times.
+.PP
+This document obsoletes RFC 2591.
 
 .bp
 .PP
@@ -173,37 +175,28 @@
 
 .sh 2 "Time Transitions"
 .PP
-When a system's notion of time is changed for some reason, implementations
-of the Schedule MIB must schedule actions differently.  One example of
-a change to a system's notion of time is when a daylight savings time
-transition occurs.
-.PP
-There are two possible situations when a time transition occurs.  First,
-time may be set backwards, in which case particular times will appear to
-occur twice within the same day.  These are called 'ambiguous times'.
-Second, time may be set forwards, in which case particular times will
-appear to not occur within a day.  This are called 'nonexistent times'.
+A time transition occurs when the Schedule MIB's notion of time (as
+reported by schedLocalTime) is changed so that time continuity is
+lost. Time transitions may be caused by daylight savings times or
+administrative changes of the system's notion of time.
+.PP
+There are two possible situations when a time transition occurs.
+First, time may be set backwards, in which case particular times will
+appear to occur twice.  These are called 'ambiguous times'.  Second,
+time may be set forwards, in which case particular times will not
+occur.  These are called 'nonexistent times'.
 .PP
 When an action is configured in the Schedule MIB to occur at an
-ambiguous time during a time transition, the action SHALL only
-be invoked at the first occurence of the ambiguous time.
-For example, if an action is scheduled to occur at 2:00 am,
-and a time transition occurs at 3:00 am which sets the clock
-back to 2:00 am, the action SHALL only be invoked at the
-first occurence of 2:00 am.
+ambiguous time, the action will be invoked at all occurences of the
+ambiguous time.  For example, if an action is scheduled to occur at
+2:10 am, and a time transition occurs at 3:00 am which sets the clock
+back to 2:00 am, the action will be invoked twice.
 .PP
 When an action is configured in the Schedule MIB to occur at a
-nonexistent time, the action SHOULD be invoked immediately upon a time
-transition. If multiple actions are invoked in this way, they SHALL
-be invoked in the order in which they normally would be invoked
-had the time transition not occured. For example, if an action (a) is
-scheduled at 2:05 am and another action (b) at 2:10 am, then both
-actions SHOULD be invoked at 3:00 am in the order (a),(b) if the time
-jumps forward from 2:00 am to 3:00 am.
-.PP
-This rule applies to all events scheduled for nonexistent time,
-regardless whether the scheduled events originate from one or multiple
-rows in the schedTable.
+nonexistent time, the action will not be invoked at all. For example,
+if an action is scheduled to occur at 2:10 am, and a time transition
+occurs at 2:00 am which sets the clock to 3:00 am, the action will not
+be invoked.
 
 .sh 2 Actions
 .PP
@@ -242,36 +235,50 @@
 	FROM SNMP-FRAMEWORK-MIB;
 
 schedMIB MODULE-IDENTITY
-    LAST-UPDATED "200103010000Z"
+    LAST-UPDATED "200106180000Z"
     ORGANIZATION "IETF Distributed Management Working Group"
     CONTACT-INFO
-	"David B. Levi
-	 Nortel Networks
-	 4401 Great America Parkway
-	 Santa Clara, CA 95052-8185
-	 U.S.A.
-	 Tel: +1 423 686 0432
-	 E-mail: dlevi@nortelnetworks.com	 
-
-	 Juergen Schoenwaelder
-	 TU Braunschweig
-	 Bueltenweg 74/75
-	 38106 Braunschweig
-	 Germany
-	 Tel: +49 531 391-3283
-	 E-mail: schoenw@ibr.cs.tu-bs.de"
+        "WG EMail:  disman@dorothy.bmc.com
+	 Subscribe: disman-request@dorothy.bmc.com 
+
+	 Chair:	    Randy Presuhn
+	            BMC Software, Inc.
+	 Postal:    Office 1-3141
+                    2141 North First Street
+                    San Jose,  California 95131
+                    USA
+	 EMail:	    rpresuhn@bmc.com
+	 Phone:     +1 408 546-1006
+
+	 Editor:    David B. Levi
+	            Nortel Networks
+	 Postal:    4401 Great America Parkway
+                    Santa Clara, CA 95052-8185
+                    USA
+	 EMail:     dlevi@nortelnetworks.com
+         Phone:     +1 423 686 0432
+
+         Editor:    Juergen Schoenwaelder
+                    TU Braunschweig
+         Postal:    Bueltenweg 74/75
+                    38106 Braunschweig
+                    Germany
+         EMail:     schoenw@ibr.cs.tu-bs.de
+         Phone:     +49 531 391-3283"
     DESCRIPTION
 	"This MIB module defines a MIB which provides mechanisms to
 	 schedule SNMP set operations periodically or at specific
 	 points in time."
-    REVISION	"200103010000Z"
+    REVISION	"200106180000Z"
     DESCRIPTION	
 	"Revised version, published as RFC XXXX.
 
 	 This revision introduces a new object type called 
-	 schedTriggers. Several clarifications have been added
-	 to remove ambiguities that were discovered and reported
-	 by implementors."
+	 schedTriggers. Created new conformance and compliance
+	 statements that take care of the new schedTriggers object.
+
+	 Several clarifications have been added to remove ambiguities
+	 that were discovered and reported by implementors."
     REVISION	"199811171800Z"
     DESCRIPTION	
 	"Initial version, published as RFC 2591."
@@ -416,7 +423,7 @@
     DESCRIPTION
 	"The human readable description of the purpose of this
 	 scheduling entry."
-    DEFVAL { ''H }
+    DEFVAL      { "" }
     ::= { schedEntry 3 }
 
 schedInterval OBJECT-TYPE
@@ -443,7 +450,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { 0 }
+    DEFVAL      { 0 }
     ::= { schedEntry 4 }
 
 schedWeekDay OBJECT-TYPE
@@ -468,7 +475,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { {} }
+    DEFVAL      { {} }
     ::= { schedEntry 5 }
 
 schedMonth OBJECT-TYPE
@@ -498,7 +505,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { {} }
+    DEFVAL      { {} }
     ::= { schedEntry 6 }
 
 schedDay OBJECT-TYPE
@@ -547,7 +554,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { {} }
+    DEFVAL      { {} }
     ::= { schedEntry 7 }
 
 schedHour OBJECT-TYPE
@@ -567,7 +574,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { {} }
+    DEFVAL      { {} }
     ::= { schedEntry 8 }
 
 schedMinute OBJECT-TYPE
@@ -594,7 +601,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { {} }
+    DEFVAL      { {} }
     ::= { schedEntry 9 }
 
 schedContextName OBJECT-TYPE
@@ -667,7 +674,7 @@
 	 Note that implementations which maintain a list of pending
          activations must re-calculate them when this object is 
 	 changed."
-    DEFVAL { periodic }
+    DEFVAL      { periodic }
     ::= { schedEntry 13 }
 
 schedAdminStatus OBJECT-TYPE
@@ -679,7 +686,7 @@
     STATUS	current
     DESCRIPTION
 	"The desired state of the schedule."
-    DEFVAL { disabled }
+    DEFVAL      { disabled }
     ::= { schedEntry 14 }
 
 schedOperStatus OBJECT-TYPE
@@ -723,7 +730,7 @@
 	"The most recent error that occured during the invocation of
 	 a scheduled action. The value noError(0) is returned
 	 if no errors have occurred yet."
-    DEFVAL { noError }
+    DEFVAL      { noError }
     ::= { schedEntry 17 }
 
 schedLastFailed OBJECT-TYPE
@@ -734,7 +741,7 @@
 	"The date and time when the most recent failure occured. The
 	 value '0000000000000000'H is returned if no failure occured
 	 since the last re-initialization of the scheduler."
-    DEFVAL { '0000000000000000'H }
+    DEFVAL      { '0000000000000000'H }
     ::= { schedEntry 18 }
 
 schedStorageType OBJECT-TYPE
@@ -753,7 +760,7 @@
 	 schedCalendarGroup, write access must be also allowed to 
 	 the columnar objects schedWeekDay, schedMonth, schedDay,
 	 schedHour, schedMinute."
-    DEFVAL { volatile }
+    DEFVAL      { volatile }
     ::= { schedEntry 19 }
 
 schedRowStatus OBJECT-TYPE
@@ -808,14 +815,14 @@
 
 -- compliance statements
 
-schedCompliance MODULE-COMPLIANCE
+schedCompliance2 MODULE-COMPLIANCE
     STATUS	current
     DESCRIPTION
 	"The compliance statement for SNMP entities which implement
 	 the scheduling MIB."
     MODULE	-- this module
     MANDATORY-GROUPS {
-           schedGroup, schedNotificationsGroup
+           schedGroup2, schedNotificationsGroup
     }
     GROUP  schedCalendarGroup
     DESCRIPTION
@@ -828,38 +835,25 @@
 	 schedCalendarGroup. Such an implementation must return
 	 inconsistentValue error responses for attempts to set
 	 schedAdminStatus to calendar(2) or oneshot(3)."
-    ::= { schedCompliances 1 }
+    ::= { schedCompliances 2 }
 
-schedGroup OBJECT-GROUP
+schedGroup2 OBJECT-GROUP
     OBJECTS {
-	schedDescr,
-	schedInterval,
-	schedContextName,
-	schedVariable,
-	schedValue,
-	schedType,
-	schedAdminStatus,
-	schedOperStatus,
-	schedFailures,
-	schedLastFailure,
-	schedLastFailed,
-	schedStorageType,
-	schedRowStatus,
-	schedTriggers
+	schedDescr, schedInterval, schedContextName, 
+	schedVariable, schedValue, schedType, 
+	schedAdminStatus, schedOperStatus, schedFailures,
+	schedLastFailure, schedLastFailed, schedStorageType,
+	schedRowStatus, schedTriggers
     }
     STATUS	current
     DESCRIPTION
 	"A collection of objects providing scheduling capabilities."
-    ::= { schedGroups 1 }
+    ::= { schedGroups 4 }
 
 schedCalendarGroup OBJECT-GROUP
     OBJECTS {
-	schedLocalTime,
-	schedWeekDay,
-	schedMonth,
-	schedDay,
-	schedHour,
-	schedMinute
+	schedLocalTime, schedWeekDay, schedMonth, 
+	schedDay, schedHour, schedMinute
     }
     STATUS	current
     DESCRIPTION
@@ -875,6 +869,46 @@
 	"The notifications emitted by the scheduler."
     ::= { schedGroups 3 }
 
+--
+-- Deprecated compliance and conformance group definitions 
+-- from RFC 2591.
+--
+
+schedCompliance MODULE-COMPLIANCE
+    STATUS	deprecated
+    DESCRIPTION
+	"The compliance statement for SNMP entities which implement
+	 the scheduling MIB."
+    MODULE	-- this module
+    MANDATORY-GROUPS {
+           schedGroup, schedNotificationsGroup
+    }
+    GROUP  schedCalendarGroup
+    DESCRIPTION
+	"The schedCalendarGroup is mandatory only for those 
+	 implementations that support calendar based schedules."
+    OBJECT schedType
+    DESCRIPTION
+	"The values calendar(2) or oneshot(3) are not valid for
+	 implementations that do not implement the
+	 schedCalendarGroup. Such an implementation must return
+	 inconsistentValue error responses for attempts to set
+	 schedAdminStatus to calendar(2) or oneshot(3)."
+    ::= { schedCompliances 1 }
+
+schedGroup OBJECT-GROUP
+    OBJECTS {
+	schedDescr, schedInterval, schedContextName,
+	schedVariable, schedValue, schedType,
+	schedAdminStatus, schedOperStatus, schedFailures,
+	schedLastFailure, schedLastFailed, schedStorageType,
+	schedRowStatus
+    }
+    STATUS	deprecated
+    DESCRIPTION
+	"A collection of objects providing scheduling capabilities."
+    ::= { schedGroups 1 }
+
 END
 .fi
 
@@ -1113,9 +1147,7 @@
 .ip "   -" 6
 Added revision clauses to the module identity macro.
 .ip "   -" 6
-Clarified that the rule for handling nonexistent times during time
-transitions applies to all scheduled events regardless whether the
-events originate from one or multiple rows in the schedTable.
+Clarified the behavior during time transitions.
 .ip "   -" 6
 Clarified that schedInterval and schedCalendarGroup objects can be
 modified regardless of the current value of schedRowStatus,
@@ -1140,7 +1172,9 @@
 .ip "   -" 6
 Added DEFVALs for schedContextName, schedVariable, and schedValue and
 updated the schedRowStatus description.
-
+.ip "   -" 6
+Deprecated schedCompliance, schedGroup and created schedCompliance2
+and schedGroup2 that take care of the new schedTriggers object.
 
 .sh 1 "Acknowledgments"
 .PP
@@ -1171,7 +1205,7 @@
 Nortel Networks
 4401 Great America Parkway
 Santa Clara, CA 95052-8185
-U.S.A.
+USA
 
 Phone: +1 423 686 0432
 EMail: dlevi@nortelnetworks.com




From owner-disman@dorothy.bmc.com  Mon Jun 18 18:46:49 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA22940
	for <disman-archive@odin.ietf.org>; Mon, 18 Jun 2001 18:46:48 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5IFiSj02166;
	Mon, 18 Jun 2001 10:44:28 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA20235
	for disman-list; Mon, 18 Jun 2001 08:38:39 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA20230
	for <disman@dorothy.bmc.com>; Mon, 18 Jun 2001 08:38:35 -0700 (PDT)
Received: from fw-us-hou-9.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with SMTP id f5IFdAm03180
	for <disman@dorothy.bmc.com>; Mon, 18 Jun 2001 10:39:11 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de ([134.169.34.190]) by fw-us-hou-9.bmc.com; Sun, 18 Jun 2000 10:40:13 +0000 (CST)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA02450;
	Mon, 18 Jun 2001 17:39:42 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA23569; Mon, 18 Jun 2001 17:39:41 +0200
Date: Mon, 18 Jun 2001 17:39:41 +0200
Message-Id: <200106181539.RAA23569@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: internet-drafts@ietf.org
CC: disman <disman@dorothy.bmc.com>
Subject: please post draft-ietf-disman-schedule-mib-v2-04.txt
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


Please post the following document as an Internet Draft. The document
has been produced by the DISMAN working group.

http://www.ibr.cs.tu-bs.de/~schoenw/draft-ietf-disman-schedule-mib-v2-04.txt

Thank you.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Tue Jun 19 06:49:48 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA17318
	for <disman-archive@odin.ietf.org>; Tue, 19 Jun 2001 06:49:48 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5JAmGf00551;
	Tue, 19 Jun 2001 05:48:16 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA26594
	for disman-list; Tue, 19 Jun 2001 03:45:49 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA26589
	for <disman@dorothy.bmc.com>; Tue, 19 Jun 2001 03:45:33 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5JAk8x13905
	for <disman@dorothy.bmc.com>; Tue, 19 Jun 2001 05:46:08 -0500 (CDT)
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 7E5CE1FF00C
	for <disman@dorothy.bmc.com>; Tue, 19 Jun 2001 10:43:43 -0500 (CDT)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA17132;
	Tue, 19 Jun 2001 06:45:52 -0400 (EDT)
Message-Id: <200106191045.GAA17132@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: disman@dorothy.bmc.com
From: Internet-Drafts@ietf.org
Reply-To: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-disman-schedule-mib-v2-04.txt
Date: Tue, 19 Jun 2001 06:45:52 -0400
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Distributed Management Working Group of the IETF.

	Title		: Definitions of Managed Objects for Scheduling 
                          Management Operations
	Author(s)	: D. Levi, J. Schoenwaelder
	Filename	: draft-ietf-disman-schedule-mib-v2-04.txt
	Pages		: 29
	Date		: 18-Jun-01
	
This memo defines a portion of the Management Information Base (MIB)
for use with network management protocols in the Internet community.
In particular, it describes a set of managed objects that are used to
schedule management operations periodically or at specified dates and
times.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-disman-schedule-mib-v2-04.txt

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-disman-schedule-mib-v2-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-disman-schedule-mib-v2-04.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<20010618121621.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-disman-schedule-mib-v2-04.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-disman-schedule-mib-v2-04.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<20010618121621.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-disman@dorothy.bmc.com  Tue Jun 19 14:43:48 2001
Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA00112
	for <disman-archive@odin.ietf.org>; Tue, 19 Jun 2001 14:43:47 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5JIgDx15215;
	Tue, 19 Jun 2001 13:42:13 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA07185
	for disman-list; Tue, 19 Jun 2001 11:40:00 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA07177
	for disman@dorothy.bmc.com; Tue, 19 Jun 2001 11:39:56 -0700 (PDT)
Date: Tue, 19 Jun 2001 11:39:56 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106191839.LAA07177@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Disman in London
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by creeper.bmc.com id f5JIgDx15215
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA00112

Hi -

I believe the disman working group will need to meet in London.
Please let me know which time slot conflicts you wish to avoid.
We're scheduled to be win working group last call on our
alarm-related documents at that time.

Editors: will one full-length time slot be sufficient?

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------


From owner-disman@dorothy.bmc.com  Wed Jun 20 16:30:19 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA21559
	for <disman-archive@odin.ietf.org>; Wed, 20 Jun 2001 16:30:18 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5KHMxO14159;
	Wed, 20 Jun 2001 12:22:59 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA16572
	for disman-list; Wed, 20 Jun 2001 10:20:10 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA16492;
	Wed, 20 Jun 2001 10:17:09 -0700 (PDT)
Date: Wed, 20 Jun 2001 10:17:09 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106201717.KAA16492@dorothy.bmc.com>
To: agentx@dorothy.bmc.com, disman@dorothy.bmc.com
Subject: disman & agentx list outage
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5KHMxO14159
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA21559

Hi -

On Friday, June 22 2001, between 19:00 and 22:00, there will be
a brief outage of the disman and agentx WG mailing lists due
to a hardware move.

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------


From owner-disman@dorothy.bmc.com  Wed Jun 20 23:01:33 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id XAA02370
	for <disman-archive@odin.ietf.org>; Wed, 20 Jun 2001 23:01:33 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5L30oX00993;
	Wed, 20 Jun 2001 22:00:50 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id TAA04537
	for disman-list; Wed, 20 Jun 2001 19:57:41 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id TAA04532
	for <disman@dorothy.bmc.com>; Wed, 20 Jun 2001 19:57:37 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5L2wEo21969;
	Wed, 20 Jun 2001 21:58:14 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH923GLV>; Wed, 20 Jun 2001 21:58:18 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1031@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Wed, 20 Jun 2001 21:57:26 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

> Juergen Schoenwaelder writes regarding issue 1:

I am not yet convinced that this is an issue for the SMX protocol.
The directory where the agent stores files only requires read/write
permissions by the agent. The runtime engines and everybody else on
the system does not need write permissions to this directory. How
should someone be able to build an attack in this case? (Note that the
scripts are just ordinary files and there is no setuid stuff involved
here.)

Can you please explain how you think someone can exploit this
mechanism?

> David Wallis replies:

I don't think that the original setuid script problem was exploitable if the
file itself and all directories in the hierarchy were properly configured,
but nevertheless, since misconfiguration is so easy, an alert was issued and
the code was changed. (Note that proper configuration depends upon all
levels of the directory hierarchy from the root downward in the given path,
including any detours taken by symbolic links, mount points, etc.)

The principle that must be adhered to is that no decision as to the
privilege level a script should run at should be made until the file is
physically open (i.e. the physical location within the filesystem has been
identified) and there is no chance of a substitution being made by an
outside process.

As I read the proposal, two security profiles will specify what the script
is allowed to do, one of which is at the operating system level. Since the
proposal does not specify limitations on the privileges the operating system
profile may confer, setuid root is possible. The proposal also explicitly
leaves unspecified the way that security profiles are selected; merely
suggesting that smLaunchOwner might be used as a key. Given this
undefinition, anything is possible.

> Juergen Schoenwaelder writes regarding issue 2:

I have not been aware of this behaviour (which really looks more like
a bug rather than a feature to me). Thanks for raising this issue. We
are looking at this right now and most likely add an alternate
transport for SMX messages which addresses this problem.

> David Wallis replies:

It was an unwelcome feature to me when I came across it as well.
Nevertheless, it apparently is long-standing code from "Bezerkley". But when
you think about it, there never has been any promise of confidentiality in
environment variable data. They are automatically copied from parent to
child, and child creation in Unix is extremely common. A process would have
to explicitly provide an impoverished environment to all its children in
order to keep its environment data even semi-private.


-----Original Message-----
From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]
Sent: Thursday, June 14, 2001 8:34 AM
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D



>>>>> Wallis, David writes:

David> The protocol described in the referenced document is insecure
David> in the following details:

David> 1) Scripts passed as ordinary files may be insecure.

David> On pages 3 and 4 it states: The SMX protocol uses a local
David> storage device (usually implemented on top of the local file
David> system) to transfer scripts from the SNMP agent to the runtime
David> systems. The SNMP agent has read and write access to the script
David> storage device while the runtime systems only need read
David> access. The SMX protocol passes the location of a script in the
David> local storage device to the runtime engines. It is then the
David> responsibility of the runtime engines to load the script from
David> the specified location.  A well-known Unix security hole
David> required recoding the kernel in order to securely support
David> setuid scripts because the name of the script was passed to the
David> runtime engine, not a location. In certain cases it was found
David> possible to exploit the situation by causing a filesystem
David> directory to point to a different file than the one rightfully
David> given setuid privilege by the kernel in the small window of
David> time between when the setuid privilege was granted by the
David> kernel and the runtime engine opened the file to execute the
David> script. For those Unix kernels which still support setuid
David> scripts; the kernel now opens the script, makes the runtime
David> engine process setuid, and passes the open filehandle of the
David> script to the runtime engine.

David> I believe the SMX procedure described above may introduce
David> similar problems without careful consideration to avoid
David> them. While the text noted above may be interpreted to avoid
David> the problem by passing an open filehandle to the runtime
David> engine, in the absense of clarification a naive interpretation
David> would be to consider a filename to be a "location of a script
David> in the local storage device" and so would permit insecure
David> implementation.

I am not yet convinced that this is an issue for the SMX protocol.
The directory where the agent stores files only requires read/write
permissions by the agent. The runtime engines and everybody else on
the system does not need write permissions to this directory. How
should someone be able to build an attack in this case? (Note that the
scripts are just ordinary files and there is no setuid stuff involved
here.)

Can you please explain how you think someone can exploit this
mechanism?

David> 2) Environment variables are not access protected.

David> On the bottom of page 5 it states: The security assumption here
David> is that access to the process environment is protected by the
David> operating system.  This assumption is invalid on many (most?)
David> operating systems. The statement on page 23 that "well
David> maintained UNIX operating systems have this property."  is
David> erroneous, unless "well maintained" means removal/replacement
David> of the BSD ps command (try "/usr/ucb/ps eaww" on Solaris).

I have not been aware of this behaviour (which really looks more like
a bug rather than a feature to me). Thanks for raising this issue. We
are looking at this right now and most likely add an alternate
transport for SMX messages which addresses this problem.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>



From owner-disman@dorothy.bmc.com  Thu Jun 21 09:26:56 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id JAA27791
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 09:26:55 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LDPOB07365;
	Thu, 21 Jun 2001 08:25:24 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id GAA05722
	for disman-list; Thu, 21 Jun 2001 06:22:16 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id GAA05717
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 06:22:12 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LDMjr27326
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 08:22:45 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 493561FF04D; Thu, 21 Jun 2001 13:20:11 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id PAA28231;
	Thu, 21 Jun 2001 15:22:59 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id PAA11046; Thu, 21 Jun 2001 15:22:58 +0200
Date: Thu, 21 Jun 2001 15:22:58 +0200
Message-Id: <200106211322.PAA11046@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5016A1031@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5016A1031@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

>> David Wallis replies:

Davis> The principle that must be adhered to is that no decision as to
Davis> the privilege level a script should run at should be made until
Davis> the file is physically open (i.e. the physical location within
Davis> the filesystem has been identified) and there is no chance of a
Davis> substitution being made by an outside process.

Davis> As I read the proposal, two security profiles will specify what
Davis> the script is allowed to do, one of which is at the operating
Davis> system level. Since the proposal does not specify limitations
Davis> on the privileges the operating system profile may confer,
Davis> setuid root is possible. The proposal also explicitly leaves
Davis> unspecified the way that security profiles are selected; merely
Davis> suggesting that smLaunchOwner might be used as a key. Given
Davis> this undefinition, anything is possible.

The script files have no special rights associated with them. They do
not have any setuid bits. The script files are just plain input data
which is loaded into runtime engines (Java, Tcl, ...) for execution.
These files exists in a part of the file system which only allows the
script MIB agent to write these files.

The operating system profile defines the rights under which the
runtime engine is executing which will later read and execute the
script. So you can define an operating system profile which executes a
runtime in a chroot() environment under a special unprivileged account
if you will. The runtime security profiles define the runtime security
checks made by the runtime engine, which allows for fine-grained
control of what a script is allowed to do at runtime (e.g. you can
send SNMP messages only to a restricted set of IP addresses). The
runtime security profiles parameterize the security portion of the
runtime engines and they are not associated with the file which
contains the script to be executed.

I still fail to understand the problem. It would be useful for me to
have a clear description how someone can exploit the fact that file
names are passed in the SMX protocol.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Thu Jun 21 12:51:16 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA06367
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 12:51:15 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LGnYg22391;
	Thu, 21 Jun 2001 11:49:34 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id JAA06183
	for disman-list; Thu, 21 Jun 2001 09:46:51 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id JAA06178
	for <disman@dorothy.peer.com>; Thu, 21 Jun 2001 09:46:48 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LGlLv14977
	for <disman@dorothy.peer.com>; Thu, 21 Jun 2001 11:47:21 -0500 (CDT)
Received: from seymour39.SNMP.COM (unknown [192.147.142.39])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 6FA6520EFC8
	for <disman@dorothy.peer.com>; Thu, 21 Jun 2001 16:44:33 -0500 (CDT)
Received: (from luchuk@localhost)
	by seymour39.SNMP.COM (8.9.3/m.000221) id MAA00203;
	Thu, 21 Jun 2001 12:47:35 -0400 (EDT)
Date: Thu, 21 Jun 2001 12:47:35 -0400 (EDT)
From: Alan Luchuk <luchuk@snmp.com>
Message-Id: <200106211647.MAA00203@seymour39.SNMP.COM>
To: disman@dorothy.bmc.com
Subject: Re:  <draft-ietf-disman-schedule-mib-v2-04.txt>
Cc: luchuk@snmp.com, schoenw@ibr.cs.tu-bs.de
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hello all,

>I have updated the schedule MIB revision. Despite some minor editorial
>changes, I have added new compliance and conformance definitions that
>were needed because of the introduction of schedTriggers.
>
>I also rewrote the section on time transitions as was discussed in
>Minneapolis and on the disman list in March. Below is the unified
>context diff (which is actually showing lots of editorial changes).


I've recently been back on the DISMAN-SCHEDULE-MIB, so I have been care-
fully reviewing the differences between the latest round of drafts and
RFC 2591.  Overall, I believe the changes to the latest round of drafts
are positive clarifications, I support them, and am almost complete in
implementing and testing <draft-ietf-disman-schedule-mib-v2-03.txt>.


My first comment about the latest round of drafts is a very simple edit-
orial change:  Dave Levi's telephone area code has changed from 423 to 865.


Second, I have several observations about the clarifications about what
happens during time transitions (Section 3.4).

Having looked over the DISMAN WG mailing list archives from March 2001,
the argument in favor of the behavior described in  <draft-ietf-disman-
schedule-mib-v2-04.txt> appears to be:

1.  One could argue that either the time transition behavior described
    in RFC 2591 is more useful or the time transition behavior described
    in <draft-ietf-disman-schedule-mib-v2-04.txt> is more useful; there
    are situations in which either behavior might be more useful or more
    problematic.

2.  The time transition behavior described in
    <draft-ietf-disman-schedule-mib-v2-04.txt>:

    A.  Is simpler to implement; and
    B.  Provides analogous behavior for events scheduled for non-existent
        times, similar to what happens for events scheduled on non-existent
        days.

Several people (Tammy Ferris, Randy Presuhn, Mike Ayers) expressed support
for the time transition behavior described in <draft-ietf-disman-schedule-
mib-v2-04.txt>, and nobody expressed support for the time transition behavior
described in RFC 2591.  Hence, this is seen as the preferable behavior.


Observations:

1.  First, if the DISMAN-SCHEDULE-MIB agent is running on a heavily-loaded
    system, and doesn't get serviced for several minutes, how can the agent
    differentiate this from a situation where the system time is administ-
    ratively changed by several minutes?  What is the agent supposed to do
    with events calendar-scheduled for the minutes during which the agent
    was suspended by the system?  Skipping these events because the system 
    was heavily loaded seems like a undesirable behavior.

2.  Although (as far as I can see), all of the other changes/clarifications
    in <draft-ietf-disman-schedule-mib-v2-04.txt> are upwardly-compatible
    with RFC 2591, changing the time-transition behavior breaks this.  That
    is, users that expect RFC 2591 time-transition behavior may be surprised
    by the time transition behavior described in <draft-ietf-disman-schedule-
    mib-v2-04.txt>.  Hence, this behavioral change must be documented in
    release notes for the user.


I cannot argue for or against either time transition behavior as being the
"correct" behavior, so I have no preference based upon "correctness".  How-
ever, I prefer the time transition behavior described in RFC 2591 because
we have a released product with an installed customer base that expects the
time transition behavior documented in RFC 2591.


Regards,
--Alan

 -----------------------------------------------------------------------------
 Alan Luchuk        SNMP Research, Inc.                Voice:  +1 865 573 1434
 Software Engineer  3001 Kimberlin Heights Road        FAX:    +1 865 573 9197
 luchuk@snmp.com    Knoxville, TN  37920-9716  U.S.A.  http://www.snmp.com/
 -----------------------------------------------------------------------------



From owner-disman@dorothy.bmc.com  Thu Jun 21 12:56:30 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA06691
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 12:56:29 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LGrq023005;
	Thu, 21 Jun 2001 11:53:52 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id JAA06206
	for disman-list; Thu, 21 Jun 2001 09:51:47 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id JAA06201
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 09:51:43 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5LGqqM02772;
	Thu, 21 Jun 2001 11:52:52 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH923P0N>; Thu, 21 Jun 2001 11:52:56 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1069@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Thu, 21 Jun 2001 11:52:00 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

The principle is really quite simple. You have a byte stream which you wish
to be interpreted as a script. You create a file containing that byte
stream, and then pass the name of the resulting file to the interpreter,
along with some indication of a security profile you expect to be used.
Uncontrolled by you (possibly because of filesystem misconfiguration)
another process changes the filesystem so that the name you give now points
to another file, one of an intruder's choice. The result is that the
intruder's script, not yours, will be executed with the profile you
indicate. If the profile you indicate happens to confer privileges of any
kind, the intruder has gained access to privileges he/she should not have. 

Admittedly the intruder must be adroit in the timing of his/her filesystem
change to hit the window of time between when you create the file and when
the interpreter opens it, and admittedly the intruder must first find a
filesystem in a state of misconfiguration so that he/she can make a crucial
change at will, but these conditions are exactly those that were exploited
in the prior alert relating to setuid scripts.

Presumably, even if these scripts are not envisioned to run in a root
environment, they are still envisioned to do something significant from a
system management perspective (else why write this RFC?), and therefore are
envisioned to have some level of privilege beyond "nobody". But whether
envisioned or not, the RFC allows this use by what it leaves unspecified. 

The level of privilege need not necessarily be "root" in order to be
dangerous. It is sufficient merely to gain access to a user account that an
intruder would not normally have access to. Particularly in modern systems
which support auditing of administrative actions, individual user accounts
now have privileges that might have been restricted to "root" in the past,
or even the ability to switch to the "root" security profile is restricted
to individual user accounts.

David Wallis

-----Original Message-----
From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]
Sent: Thursday, June 21, 2001 6:23 AM
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D



>>>>> Wallis, David writes:

>> David Wallis replies:

Davis> The principle that must be adhered to is that no decision as to
Davis> the privilege level a script should run at should be made until
Davis> the file is physically open (i.e. the physical location within
Davis> the filesystem has been identified) and there is no chance of a
Davis> substitution being made by an outside process.

Davis> As I read the proposal, two security profiles will specify what
Davis> the script is allowed to do, one of which is at the operating
Davis> system level. Since the proposal does not specify limitations
Davis> on the privileges the operating system profile may confer,
Davis> setuid root is possible. The proposal also explicitly leaves
Davis> unspecified the way that security profiles are selected; merely
Davis> suggesting that smLaunchOwner might be used as a key. Given
Davis> this undefinition, anything is possible.

The script files have no special rights associated with them. They do
not have any setuid bits. The script files are just plain input data
which is loaded into runtime engines (Java, Tcl, ...) for execution.
These files exists in a part of the file system which only allows the
script MIB agent to write these files.

The operating system profile defines the rights under which the
runtime engine is executing which will later read and execute the
script. So you can define an operating system profile which executes a
runtime in a chroot() environment under a special unprivileged account
if you will. The runtime security profiles define the runtime security
checks made by the runtime engine, which allows for fine-grained
control of what a script is allowed to do at runtime (e.g. you can
send SNMP messages only to a restricted set of IP addresses). The
runtime security profiles parameterize the security portion of the
runtime engines and they are not associated with the file which
contains the script to be executed.

I still fail to understand the problem. It would be useful for me to
have a clear description how someone can exploit the fact that file
names are passed in the SMX protocol.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>



From owner-disman@dorothy.bmc.com  Thu Jun 21 14:48:17 2001
Received: from babbler.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA13876
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 14:48:16 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LIlef10598;
	Thu, 21 Jun 2001 13:47:40 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA18145
	for disman-list; Thu, 21 Jun 2001 11:45:11 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id LAA18140
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 11:45:07 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5LIjiV13373;
	Thu, 21 Jun 2001 13:45:44 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH8YDD2R>; Thu, 21 Jun 2001 13:45:48 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB57103B0@es01-sjc.bmc.com>
From: "Ayers, Mike" <Mike_Ayers@bmc.com>
To: "'Alan Luchuk'" <luchuk@snmp.com>, disman@dorothy.bmc.com
Cc: schoenw@ibr.cs.tu-bs.de
Subject: RE: <draft-ietf-disman-schedule-mib-v2-04.txt>
Date: Thu, 21 Jun 2001 13:44:56 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


> From: Alan Luchuk [mailto:luchuk@snmp.com] 

> 1.  One could argue that either the time transition behavior described
>     in RFC 2591 is more useful or the time transition 
> behavior described
>     in <draft-ietf-disman-schedule-mib-v2-04.txt> is more 
> useful; there
>     are situations in which either behavior might be more 
> useful or more
>     problematic.

	I have maintained all along that this is not so.  Specifically,
there is a foreseeable set of circumstances for which the original time
transition behavior can cause impairment to a host's functionality - when a
scheduled activity uses more host time than its schedule interval.  With the
old model, this could lock up, even crash, the system; in the new model,
this will simply cause the script to miss some of its slots.  I welcome an
example of the new model leading to such dire consequences.

<SNIP/>

> 1.  First, if the DISMAN-SCHEDULE-MIB agent is running on a 
> heavily-loaded
>     system, and doesn't get serviced for several minutes, how 
> can the agent
>     differentiate this from a situation where the system time 
> is administ-
>     ratively changed by several minutes?  What is the agent 
> supposed to do
>     with events calendar-scheduled for the minutes during 
> which the agent
>     was suspended by the system?  Skipping these events 
> because the system 
>     was heavily loaded seems like a undesirable behavior.

	Again, the scripts themselves could be the cause of the load.  Also
note that if system load causes the script agent to miss some time, then the
script agent is not the highest priority process on the system.  This seems
to boil down to an issue of guaranteed execution.  I think we should add an
explicit clause stating that execution at any time slot cannot be
guaranteed.

> 2.  Although (as far as I can see), all of the other 
> changes/clarifications
>     in <draft-ietf-disman-schedule-mib-v2-04.txt> are 
> upwardly-compatible
>     with RFC 2591, changing the time-transition behavior 
> breaks this.  That
>     is, users that expect RFC 2591 time-transition behavior 
> may be surprised
>     by the time transition behavior described in 
> <draft-ietf-disman-schedule-
>     mib-v2-04.txt>.  Hence, this behavioral change must be 
> documented in
>     release notes for the user.

	Yes, and those release notes can include an explanation of why the
change was made, and perhaps discuss how scripts can handle missed
opportunities.  This is one of those areas that folk tend to miss, leading
to great consternation when they discover the issue the hard way.
Explaining the issue up front and encouraging and suggesting good handling
techniques is good customer service, IMHO.

> I cannot argue for or against either time transition behavior 
> as being the
> "correct" behavior, so I have no preference based upon 
> "correctness".  How-
> ever, I prefer the time transition behavior described in RFC 
> 2591 because
> we have a released product with an installed customer base 
> that expects the
> time transition behavior documented in RFC 2591.

	Early adopters should not be surprised when behaviors change a
little - it's part of the risk involved.  However, I suspect that few of
your users actually rely on the behavior during these situations, since they
should be quite rare.


/|/|ike


From owner-disman@dorothy.bmc.com  Thu Jun 21 16:56:04 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA17635
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 16:56:03 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LKtRV02729;
	Thu, 21 Jun 2001 15:55:27 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA19155
	for disman-list; Thu, 21 Jun 2001 13:52:56 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id NAA19150
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 13:52:52 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LKrQf13119
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 15:53:26 -0500 (CDT)
Received: from seymour39.SNMP.COM (unknown [192.147.142.39])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 090B920EFDB; Thu, 21 Jun 2001 20:50:42 -0500 (CDT)
Received: (from luchuk@localhost)
	by seymour39.SNMP.COM (8.9.3/m.000221) id QAA07185;
	Thu, 21 Jun 2001 16:53:50 -0400 (EDT)
Date: Thu, 21 Jun 2001 16:53:50 -0400 (EDT)
From: Alan Luchuk <luchuk@snmp.com>
Message-Id: <200106212053.QAA07185@seymour39.SNMP.COM>
To: Mike_Ayers@bmc.com
Subject: RE: <draft-ietf-disman-schedule-mib-v2-04.txt>
Cc: disman@dorothy.bmc.com, luchuk@snmp.com, schoenw@ibr.cs.tu-bs.de
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hello,

>> 1.  One could argue that either the time transition behavior described
>>     in RFC 2591 is more useful or the time transition 
>> behavior described
>>     in <draft-ietf-disman-schedule-mib-v2-04.txt> is more 
>> useful; there
>>     are situations in which either behavior might be more 
>> useful or more
>>     problematic.
>
>	I have maintained all along that this is not so.  Specifically,
>there is a foreseeable set of circumstances for which the original time
>transition behavior can cause impairment to a host's functionality - when a
>scheduled activity uses more host time than its schedule interval.  With the
>old model, this could lock up, even crash, the system; in the new model,
>this will simply cause the script to miss some of its slots.  I welcome an
>example of the new model leading to such dire consequences.


I consider this a pathologic case.  User/installer error always can cause
system crashes, and no amount of developer effort can prevent this. 

As counter examples of where dropping scheduled events might cause prob-
lems, suppose a scheduled event monitors a process for runaway consumption 
of processor, disk, or memory usage.  If the scheduled events are dropped,
the runaway process might consume all available system resources and crash
the system.  Or what about if the DISMAN-SCHEDULE-MIB is used to enable/
disable network interfaces.  Your customer will be pretty unhappy if his 
interface isn't turned on because a scheduled event was missed because of 
a clock warp or excessive system load.  (I had to toss these out 'cause you 
welcomed examples :-)

I believe these may be equally (un)likely counter-examples.  Thus, it 
becomes a matter of personal opinion or preference as to which equally 
(un)likely error you would rather have.


>Explaining the issue up front and encouraging and suggesting good handling
>techniques is good customer service, IMHO.


Agreed.  But not breaking backward compatibility, without providing sign-
ificant new functionality, is even better customer service.  Instead of 
changing the specification and breaking backward compatibility, why don't 
we just document the possibility of crashing the system if the event exec-
ution time is greater than the time between event activations?


>	Early adopters should not be surprised when behaviors change a
>little - it's part of the risk involved.  However, I suspect that few of
>your users actually rely on the behavior during these situations, since they
>should be quite rare.

I agree, situations regarding how the DISMAN-SCHEDULE-MIB agent handles 
the non-existant time/ambiguous time situations should be quite rare.


I've said my $0.02 worth.  I believe I've already said more about the 
time transition issue than the strength of my opinions warrant.  I can 
align with the consensus of the DISMAN WG on the time transition issue;
either that described in RFC 2591, or that described in <draft-ietf-
disman-schedule-mib-v2-04.txt>.  However, I would prefer to preserve 
compatibility for the installed user base.


Regards,
--Alan

 -----------------------------------------------------------------------------
 Alan Luchuk        SNMP Research, Inc.                Voice:  +1 865 573 1434
 Software Engineer  3001 Kimberlin Heights Road        FAX:    +1 865 573 9197
 luchuk@snmp.com    Knoxville, TN  37920-9716  U.S.A.  http://www.snmp.com/
 -----------------------------------------------------------------------------



From owner-disman@dorothy.bmc.com  Thu Jun 21 17:40:05 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA18498
	for <disman-archive@odin.ietf.org>; Thu, 21 Jun 2001 17:40:05 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5LLcU509018;
	Thu, 21 Jun 2001 16:38:30 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id OAA19774
	for disman-list; Thu, 21 Jun 2001 14:36:21 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id OAA19769
	for <disman@dorothy.bmc.com>; Thu, 21 Jun 2001 14:36:17 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5LLY0o29284;
	Thu, 21 Jun 2001 16:34:00 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH9234A4>; Thu, 21 Jun 2001 16:34:05 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB57103B2@es01-sjc.bmc.com>
From: "Ayers, Mike" <Mike_Ayers@bmc.com>
To: "'Alan Luchuk'" <luchuk@snmp.com>
Cc: disman@dorothy.bmc.com
Subject: RE: <draft-ietf-disman-schedule-mib-v2-04.txt>
Date: Thu, 21 Jun 2001 16:33:12 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


> From: Alan Luchuk [mailto:luchuk@snmp.com] 

	(rolling up sleeves)

> 
> I consider this a pathologic case.  User/installer error 
> always can cause
> system crashes, and no amount of developer effort can prevent this. 

	Whoa, Nelly!  Scripts running longer than anticipated is a
pathological case?  Ever heard of the halting problem?  No, this is a
routine problem, although the case of a script which consistently takes
longer than expected to run should not be so common.  I'm thinking of
scripts that parse logfiles or other accumulating output.  When first
scheduled, they may finish quickly enough, but as the log grows, they may
take more and more time.

	None of this changes the fact that system designers have an
obligation to minimize the impact of any such errors.  The proposed change
fulfills that responsibility.

> As counter examples of where dropping scheduled events might 
> cause prob-
> lems, suppose a scheduled event monitors a process for 
> runaway consumption 
> of processor, disk, or memory usage.  If the scheduled events 
> are dropped,
> the runaway process might consume all available system 
> resources and crash
> the system.

	I think not.  Specifically, the instances of the monitor that will
not be run under the new rules are the instances which would occur
*immediately after a prior instance*.  The real window of opportunity for
trouble in this example is the time when the checks aren't happening, and
changing the time transition model doesn't alter this.  The point: checking
ten times in a row does not make up for going nine minutes without checking
at all.

>  Or what about if the DISMAN-SCHEDULE-MIB is used 
> to enable/
> disable network interfaces.  Your customer will be pretty 
> unhappy if his 
> interface isn't turned on because a scheduled event was 
> missed because of 
> a clock warp or excessive system load.

	Two thoughts:

	1.)  Schedule the interface on script for 8:00, 8:02, and 8:05.

	2.)  Schedule a script to run every ten minutes that checks all your
interfaces and verifies that they are in the proper state.

	The two combined would make a good example of properly robust
scheduled scripting.

>  (I had to toss these 
> out 'cause you 
> welcomed examples :-)

	Good.  I welcome more.  I'd really prefer if you could see why I
think the new model is technically superior, or if you could show me why
it's not.

> I believe these may be equally (un)likely counter-examples.  Thus, it 
> becomes a matter of personal opinion or preference as to 
> which equally 
> (un)likely error you would rather have.

	Again, I think the consequences are highly unequal.

	I'm not trying to type you to death, but I do feel that there is
real reason for a change.


/|/|ike


From owner-disman@dorothy.bmc.com  Fri Jun 22 06:00:19 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA15176
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 06:00:18 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5M9xTi02749;
	Fri, 22 Jun 2001 04:59:29 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id CAA14558
	for disman-list; Fri, 22 Jun 2001 02:55:17 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id CAA14553
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 02:55:12 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5M9tjE22764
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 04:55:45 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 238DE1FF060; Fri, 22 Jun 2001 09:53:07 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id LAA14242;
	Fri, 22 Jun 2001 11:56:04 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id LAA16838; Fri, 22 Jun 2001 11:56:04 +0200
Date: Fri, 22 Jun 2001 11:56:04 +0200
Message-Id: <200106220956.LAA16838@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5016A1069@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5016A1069@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

David> The principle is really quite simple. You have a byte stream
David> which you wish to be interpreted as a script. You create a file
David> containing that byte stream, and then pass the name of the
David> resulting file to the interpreter, along with some indication
David> of a security profile you expect to be used.  Uncontrolled by
David> you (possibly because of filesystem misconfiguration) another
David> process changes the filesystem so that the name you give now
David> points to another file, one of an intruder's choice. The result
David> is that the intruder's script, not yours, will be executed with
David> the profile you indicate. If the profile you indicate happens
David> to confer privileges of any kind, the intruder has gained
David> access to privileges he/she should not have.

So it all boils down to protecting the script files from 
unauthorized access, right? Would the following addition 
to the security considerations section make you happy?

+The SMX protocol assumes a local script storage area which is used to
+pass script code from the SNMP agent to the runtime systems. The SMX
+protocol passes file names from the agent to the runtime engines. It
+is necessary that the script files in the local script storage area
+are properly protected so that only the SNMP agent has write access.
+Failure to properly protect write access to the local script storage
+area can allow attackers to execute arbitrary code in runtime systems
+that might have special privileges.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Fri Jun 22 06:40:21 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA15426
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 06:40:21 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MAe4v05751;
	Fri, 22 Jun 2001 05:40:04 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA14630
	for disman-list; Fri, 22 Jun 2001 03:37:50 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA14625
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 03:37:47 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MAcJT02993
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 05:38:20 -0500 (CDT)
Received: from mail.ipb.pt (unknown [193.136.195.220])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 7388220EFD7
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 10:35:36 -0500 (CDT)
Received: (qmail 28443 invoked by uid 1151); 22 Jun 2001 10:57:08 -0000
Message-ID: <20010622105708.28442.qmail@mail.ipb.pt>
From: "Rui Lopes" <rlopes@ipb.pt>
To: disman@dorothy.bmc.com
Subject: Expression MIB
Date: Fri, 22 Jun 2001 10:57:08 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit

After developing the Event and Expression MIB I realized that it is not 
possible to define expressions with objects retrieved from SNMP agents on 
different hosts. If this is true, I do not see a clear usefulness of the 
Expression MIB, since it will be integrated, tipically, in a DM (or am I 
missing something?).

This is rather odd, because the Event MIB allows retrieving values from 
different hosts and the Expression MIB, although designed to be integrated 
with it, does not... 

Cheers, 

Rui Pedro Lopes 


From owner-disman@dorothy.bmc.com  Fri Jun 22 13:05:43 2001
Received: from babbler.bmc.com (camaro.bmc.com [198.207.223.231])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA00462
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 13:05:38 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MH38s22640;
	Fri, 22 Jun 2001 12:03:08 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA15408
	for disman-list; Fri, 22 Jun 2001 10:00:58 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id KAA15403
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 10:00:54 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5MH1Vt17791;
	Fri, 22 Jun 2001 12:01:31 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH92374R>; Fri, 22 Jun 2001 12:01:35 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1144@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Fri, 22 Jun 2001 12:00:42 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

This solves the insecurity of storing the script in the filesystem as well.
If the runtime engine receives the script over stdin, there is no filename
that must be mapped to a physical location.

-----Original Message-----
From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]
Sent: Friday, June 22, 2001 8:02 AM
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D



>>>>> Wallis, David writes:

David> 2) Environment variables are not access protected.

David> On the bottom of page 5 it states: The security assumption here
David> is that access to the process environment is protected by the
David> operating system.  This assumption is invalid on many (most?)
David> operating systems. The statement on page 23 that "well
David> maintained UNIX operating systems have this property."  is
David> erroneous, unless "well maintained" means removal/replacement
David> of the BSD ps command (try "/usr/ucb/ps eaww" on Solaris).

Our current thinking on this problem is to drop the TCP transport
altogether. Instead, we will specify that SMX 1.1 is being run over
POSIX pipes. Runtime engines talk SMX over stdin/stdout and the agent
is responsible to setup appropriate pipes before creating runtime
engines. Runtime engines are not required anymore to connect back to
the agent and hence there is no need anymore to pass cookies around.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>



From owner-disman@dorothy.bmc.com  Fri Jun 22 13:09:18 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA00585
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 13:09:17 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MH8i823142;
	Fri, 22 Jun 2001 12:08:44 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA15502
	for disman-list; Fri, 22 Jun 2001 10:06:42 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA15496
	for disman@dorothy.bmc.com; Fri, 22 Jun 2001 10:06:38 -0700 (PDT)
Date: Fri, 22 Jun 2001 10:06:38 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106221706.KAA15496@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Fwd: Re: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5MH8i823142
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id NAA00585

Hi -

I'm forwarding a posting from Eamonn McManus.  I've added
the new address to the disman "posters" list.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------

Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id FAA14912
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 05:57:53 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MCwQ406847
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 07:58:26 -0500 (CDT)
Received: from patan.sun.com (unknown [192.18.98.43])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 3F1C220EFE5; Fri, 22 Jun 2001 12:55:43 -0500 (CDT)
Received: from sutur.France.Sun.COM ([129.157.203.2])
	by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id GAA24394;
	Fri, 22 Jun 2001 06:58:54 -0600 (MDT)
Received: from sun.com (oneman [129.157.203.93])
	by sutur.France.Sun.COM (8.10.2+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id f5MCwSx27888;
	Fri, 22 Jun 2001 14:58:36 +0200 (MET DST)
Sender: Eamonn.McManus@sun.com
Message-ID: <3B3340F4.F9E5B006@sun.com>
Date: Fri, 22 Jun 2001 14:58:28 +0200
>From: Eamonn McManus <eamonn.mcmanus@sun.com>
Organization: Sun Microsystems, Grenoble, France
X-Mailer: Mozilla 4.76C-CCK-MCD Netscape [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: ga, fr, en
MIME-Version: 1.0
To: "Wallis, David" <David_Wallis@bmc.com>
Cc: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>, disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A1069@es01-sjc.bmc.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by dorothy.bmc.com id FAA14913

"Wallis, David" wrote:
> The principle is really quite simple. You have a byte stream which you wish
> to be interpreted as a script. You create a file containing that byte
> stream, and then pass the name of the resulting file to the interpreter,
> along with some indication of a security profile you expect to be used.
> Uncontrolled by you (possibly because of filesystem misconfiguration)
> another process changes the filesystem so that the name you give now points
> to another file, one of an intruder's choice. The result is that the
> intruder's script, not yours, will be executed with the profile you
> indicate. If the profile you indicate happens to confer privileges of any
> kind, the intruder has gained access to privileges he/she should not have.
> 
> Admittedly the intruder must be adroit in the timing of his/her filesystem
> change to hit the window of time between when you create the file and when
> the interpreter opens it, and admittedly the intruder must first find a
> filesystem in a state of misconfiguration so that he/she can make a crucial
> change at will, but these conditions are exactly those that were exploited
> in the prior alert relating to setuid scripts.

It seems to me that the Unix exploits on which you base your argument used
symbolic links.  I have not been following SMX closely, but I don't think
there is any equivalent there.  In the absence of links, the security
requirement on Unix is just to say that the scripts must be stored in a
directory that ordinary users cannot write to.  This is so obvious that it
hardly seems necessary to state it.

Éamonn



From owner-disman@dorothy.bmc.com  Fri Jun 22 13:53:16 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id NAA02158
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 13:53:14 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MHqT026903;
	Fri, 22 Jun 2001 12:52:29 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA15821
	for disman-list; Fri, 22 Jun 2001 10:49:56 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id KAA15815
	for disman@dorothy.bmc.com; Fri, 22 Jun 2001 10:49:47 -0700 (PDT)
Date: Fri, 22 Jun 2001 10:49:47 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106221749.KAA15815@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Re:  Expression MIB
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5MHqT026903
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id NAA02158

Hi -

> Message-ID: <20010622105708.28442.qmail@mail.ipb.pt>
> From: "Rui Lopes" <rlopes@ipb.pt>
> To: disman@dorothy.bmc.com
> Subject: Expression MIB
> Date: Fri, 22 Jun 2001 10:57:08 GMT
> List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
> 
> After developing the Event and Expression MIB I realized that it is not 

Implementation experience!  Congratulations!  Let me buy you a
beer in London!

> possible to define expressions with objects retrieved from SNMP agents on 
> different hosts. If this is true, I do not see a clear usefulness of the 
> Expression MIB, since it will be integrated, tipically, in a DM (or am I 
> missing something?).

The expectation (and this was hotly debated) was that the
expression mib would be implemented on managed elements.
If implementation experience (like yours) indicates that
makes sense for this MIB to be able to access information
in a way more like the Event MIB, this will need to be taken
into account when it comes time to consider whether we want
to advance to Draft Standard or cycle at Proposed.

> This is rather odd, because the Event MIB allows retrieving values from 
> different hosts and the Expression MIB, although designed to be integrated 
> with it, does not... 
...

I agree that they are not consistent.  I think it's
quite reasonable to ask that they be made consistent.
If a consensus emerges that we should do so, I think we'd
also need to once again take up the question of explicitly
(rather than implicitly) managing delegated credentials.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Fri Jun 22 16:38:24 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA09295
	for <disman-archive@odin.ietf.org>; Fri, 22 Jun 2001 16:38:24 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MF3cf07986;
	Fri, 22 Jun 2001 10:03:38 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA15158
	for disman-list; Fri, 22 Jun 2001 08:01:15 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA15153
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 08:01:11 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5MF1i418444
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 10:01:44 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 5E14B1FF068
	for <disman@dorothy.bmc.com>; Fri, 22 Jun 2001 14:59:05 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA06373;
	Fri, 22 Jun 2001 17:02:04 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA18293; Fri, 22 Jun 2001 17:02:03 +0200
Date: Fri, 22 Jun 2001 17:02:03 +0200
Message-Id: <200106221502.RAA18293@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5013C447A@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5013C447A@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

David> 2) Environment variables are not access protected.

David> On the bottom of page 5 it states: The security assumption here
David> is that access to the process environment is protected by the
David> operating system.  This assumption is invalid on many (most?)
David> operating systems. The statement on page 23 that "well
David> maintained UNIX operating systems have this property."  is
David> erroneous, unless "well maintained" means removal/replacement
David> of the BSD ps command (try "/usr/ucb/ps eaww" on Solaris).

Our current thinking on this problem is to drop the TCP transport
altogether. Instead, we will specify that SMX 1.1 is being run over
POSIX pipes. Runtime engines talk SMX over stdin/stdout and the agent
is responsible to setup appropriate pipes before creating runtime
engines. Runtime engines are not required anymore to connect back to
the agent and hence there is no need anymore to pass cookies around.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Sat Jun 23 11:07:42 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA11945
	for <disman-archive@odin.ietf.org>; Sat, 23 Jun 2001 11:07:42 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5NF47b23101;
	Sat, 23 Jun 2001 10:04:07 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id IAA01747
	for disman-list; Sat, 23 Jun 2001 08:00:10 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id IAA01742
	for <disman@dorothy.bmc.com>; Sat, 23 Jun 2001 08:00:06 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5NF0aV02855
	for <disman@dorothy.bmc.com>; Sat, 23 Jun 2001 10:00:40 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 6B0FB1FF03A; Sat, 23 Jun 2001 14:57:52 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id RAA21863;
	Sat, 23 Jun 2001 17:00:55 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id RAA21040; Sat, 23 Jun 2001 17:00:55 +0200
Date: Sat, 23 Jun 2001 17:00:55 +0200
Message-Id: <200106231500.RAA21040@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5016A1144@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5016A1144@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

David> This solves the insecurity of storing the script in the
David> filesystem as well.  If the runtime engine receives the script
David> over stdin, there is no filename that must be mapped to a
David> physical location.

(a) I still do not believe there is an insecurity of storing scripts
    in the filesystem.

(b) We did not propose to send the script code over standard input.
    I just said the SMX is carried over a POSIX pipe.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Mon Jun 25 12:06:43 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id MAA19536
	for <disman-archive@odin.ietf.org>; Mon, 25 Jun 2001 12:06:43 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PG4i826457;
	Mon, 25 Jun 2001 11:04:44 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id JAA28281
	for disman-list; Mon, 25 Jun 2001 09:00:46 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id JAA28272;
	Mon, 25 Jun 2001 09:00:42 -0700 (PDT)
Date: Mon, 25 Jun 2001 09:00:42 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106251600.JAA28272@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Fwd: Ask and Need
Cc: omarsaid_essa@hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5PG4i826457
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id MAA19536

Hi -

I'm forwarding a non-subscriber posting to the disman WG
mailing list.  Subscription instructions are available at
http://www.ietf.org/html.charters/disman-charter.html

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------

> Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
> 	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id PAA15507
> 	for <disman@dorothy.bmc.com>; Sun, 24 Jun 2001 15:42:08 -0700 (PDT)
> Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
> 	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5OMgfA16234
> 	for <disman@dorothy.bmc.com>; Sun, 24 Jun 2001 17:42:41 -0500 (CDT)
> Received: from hotmail.com (unknown [216.33.149.81])
> 	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id E364D20F014
> 	for <disman@dorothy.bmc.com>; Sun, 24 Jun 2001 22:39:42 -0500 (CDT)
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
> 	 Sun, 24 Jun 2001 15:43:13 -0700
> Received: from 195.219.87.234 by lw4fd.law4.hotmail.msn.com with HTTP;	Sun, 24 Jun 2001 22:43:13 GMT
> X-Originating-IP: [195.219.87.234]
> From: "Omar Said Essa" <omarsaid_essa@hotmail.com>
> To: disman@dorothy.bmc.com
> Subject: Ask and Need
> Date: Mon, 25 Jun 2001 01:43:13 +0300
> Mime-Version: 1.0
> Content-Type: text/plain; format=flowed
> Message-ID: <F811E9GQvnbEG10Gai4000011fa@hotmail.com>
> X-OriginalArrivalTime: 24 Jun 2001 22:43:13.0951 (UTC) FILETIME=[0D7CB2F0:01C0FCFF]
> 
> hello
> i am a deminstrator in computer science department faculty of science 
> menoufyia university. i make a master degree in (SNMP. i read about the 
> distributed management. i want to ask a qutesion about the task whcih maked 
> by distributed manager. can the DM act as a ceteral manager in the local 
> part of the natwork. and i want some aid if you have any software realated 
> to SNMP (simulator).
> 
> thank you
> omar said essa
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 


From owner-disman@dorothy.bmc.com  Mon Jun 25 15:52:14 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA25570
	for <disman-archive@odin.ietf.org>; Mon, 25 Jun 2001 15:52:13 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PJpt026616;
	Mon, 25 Jun 2001 14:51:55 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id MAA05774
	for disman-list; Mon, 25 Jun 2001 12:49:13 -0700 (PDT)
Received: from babbler.bmc.com (babbler.bmc.com [172.17.0.116])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id MAA05769
	for <disman@dorothy.bmc.com>; Mon, 25 Jun 2001 12:49:09 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PJnTm26322;
	Mon, 25 Jun 2001 14:49:29 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH92PP4F>; Mon, 25 Jun 2001 14:48:50 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1238@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Mon, 25 Jun 2001 14:48:43 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

>From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]:
>(a) I still do not believe there is an insecurity of storing scripts
>    in the filesystem.

In that case, I suggest you contact the Unix security expert of your choice,
and ask him/her to study the possible security problems in what your
propose. I only know that it has similarities to the "setuid script"
problem. See Question 11 at
http://www.geocities.com/SiliconValley/Bay/9952/alt_sec.txt where the known
insecurities of setuid scripts are discussed. Note that it is you as a
proposer of a new standard who has the obligation to convince me, a possible
user of that standard, that you have examined the security implications of
what you propose and can vouch that the standard is safe. It is not my
obligation to convince you that it is unsafe.

>(b) We did not propose to send the script code over standard input.
>    I just said the SMX is carried over a POSIX pipe.

Then may I humbly suggest that you consider the possibility of sending the
script over standard input to the runtime engine.

David Wallis


From owner-disman@dorothy.bmc.com  Mon Jun 25 17:02:05 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA26997
	for <disman-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:02:05 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PL1iE13407;
	Mon, 25 Jun 2001 16:01:44 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA07519
	for disman-list; Mon, 25 Jun 2001 13:59:30 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA07513
	for disman@dorothy.bmc.com; Mon, 25 Jun 2001 13:59:23 -0700 (PDT)
Date: Mon, 25 Jun 2001 13:59:23 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106252059.NAA07513@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5PL1iE13407
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id RAA26997

Hi -

> Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1238@es01-sjc.bmc.com>
> From: "Wallis, David" <David_Wallis@bmc.com>
> To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
> Cc: disman@dorothy.bmc.com
> Subject: RE: script extensibility I-D
> Date: Mon, 25 Jun 2001 14:48:43 -0500
> List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
...
> insecurities of setuid scripts are discussed. Note that it is you as a
> proposer of a new standard who has the obligation to convince me, a possible
> user of that standard, that you have examined the security implications of
> what you propose and can vouch that the standard is safe. It is not my
> obligation to convince you that it is unsafe.
...

A process note from the WG chair:

    The script MIB extensibility work is NOT standards track.
    Its status is "Experimental".  See RFC 2026 for details.

    Nonetheless, I do believe that this mailing list is
    an appropriate venue for discussion of this work, and
    that discussions like this can be useful.  However,
    there has not been consensus to request that the script
    MIB extensibility work be added it to our charter, even
    though I have taken pains to ensure that the working
    group at large is aware of this work.

    So, remember RFC 1796, and please don't call the script
    MIB extensibility I-Ds or RFC a standard!


Now I have a question as a technical contributor:

    To what extent do these same concerns apply to
    draft-ietf-snmpconf-pm-06.txt?  That document is
    going on the standards track.  Follow-up on the
    snmpconf WG mailing list.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Mon Jun 25 17:08:09 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA27101
	for <disman-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:08:08 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PL7ri14431;
	Mon, 25 Jun 2001 16:07:53 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id OAA07647
	for disman-list; Mon, 25 Jun 2001 14:05:48 -0700 (PDT)
Received: from babbler.bmc.com (babbler.bmc.com [172.17.0.116])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id OAA07642
	for <disman@dorothy.bmc.com>; Mon, 25 Jun 2001 14:05:44 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PL76114190;
	Mon, 25 Jun 2001 16:07:06 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH8Y1D7D>; Mon, 25 Jun 2001 16:06:26 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB57103C1@es01-sjc.bmc.com>
From: "Ayers, Mike" <Mike_Ayers@bmc.com>
To: "Wallis, David" <David_Wallis@bmc.com>,
        Juergen Schoenwaelder
	 <schoenw@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Mon, 25 Jun 2001 16:06:26 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


> From: Wallis, David [mailto:David_Wallis@bmc.com] 
> 
> >From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]:
> >(a) I still do not believe there is an insecurity of storing scripts
> >    in the filesystem.
> 
> In that case, I suggest you contact the Unix security expert 
> of your choice,
> and ask him/her to study the possible security problems in what your
> propose. I only know that it has similarities to the "setuid script"
> problem. See Question 11 at
> http://www.geocities.com/SiliconValley/Bay/9952/alt_sec.txt 
> where the known
> insecurities of setuid scripts are discussed.

	You're pretty vociferous for someone who isn't sure...

> Note that it is you as a
> proposer of a new standard who has the obligation to convince 
> me, a possible
> user of that standard, that you have examined the security 
> implications of
> what you propose and can vouch that the standard is safe. It is not my
> obligation to convince you that it is unsafe.

	Wrong.  It is the responsibility of the designer to make a system as
safe, reliable, secure, etc. as possible.  It is the responsibility of the
implementor to verify the safety, reliability, security, etc., in the
implementatation, and the responsibility of the end user to verify these
traits in its end use.  This is not written down somewhere so much as it is
the way things work out.  People often try to use a model where all the
responsibility is in one pair of hands, but such attempts tend to end badly.

	Also, I should point out that by participating here you become part
of the proposing body.  Welcome to the IETF.

	Therefore, if you think that there is a real security hole, please
let us know exactly what it is.  Trepidations carry little technical merit.

> >(b) We did not propose to send the script code over standard input.
> >    I just said the SMX is carried over a POSIX pipe.
> 
> Then may I humbly suggest that you consider the possibility 
> of sending the
> script over standard input to the runtime engine.

	Okay - why?


/|/|ike


From owner-disman@dorothy.bmc.com  Mon Jun 25 17:42:35 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA27856
	for <disman-archive@odin.ietf.org>; Mon, 25 Jun 2001 17:42:34 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5PLgLI22374;
	Mon, 25 Jun 2001 16:42:21 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id OAA08603
	for disman-list; Mon, 25 Jun 2001 14:40:13 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id OAA08597
	for disman@dorothy.bmc.com; Mon, 25 Jun 2001 14:40:09 -0700 (PDT)
Date: Mon, 25 Jun 2001 14:40:09 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106252140.OAA08597@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5PLgLI22374
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id RAA27856

Hi -

> Message-ID: <D77353F1D8FCD411AC3400105A640BB57103C1@es01-sjc.bmc.com>
> From: "Ayers, Mike" <Mike_Ayers@bmc.com>
> To: "Wallis, David" <David_Wallis@bmc.com>,
>         Juergen Schoenwaelder
> 	 <schoenw@ibr.cs.tu-bs.de>
> Cc: disman@dorothy.bmc.com
> Subject: RE: script extensibility I-D
> Date: Mon, 25 Jun 2001 16:06:26 -0500
> List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
...
> 	You're pretty vociferous for someone who isn't sure...

WG chair says: This is not a useful technical comment.  Behave!

...
> 	Wrong.  It is the responsibility of the designer to make a system as
> safe, reliable, secure, etc. as possible.  It is the responsibility of the
> implementor to verify the safety, reliability, security, etc., in the
> implementatation, and the responsibility of the end user to verify these
> traits in its end use.  This is not written down somewhere so much as it is
> the way things work out.  People often try to use a model where all the
> responsibility is in one pair of hands, but such attempts tend to end badly.

As WG chair, I must point out that the IESG requires that
standards-track specifications (which this isn't) include
an analysis of the security of specification being proposed.
If the proposed protocol is intrinsically insecure or unsafe,
there's not much an implementor can do about it.

...
> 	Therefore, if you think that there is a real security hole, please
> let us know exactly what it is.  Trepidations carry little technical merit.

I think the potential holes regarding script storage and
environment variables have been adequately described.

> > >(b) We did not propose to send the script code over standard input.
> > >    I just said the SMX is carried over a POSIX pipe.
> > 
> > Then may I humbly suggest that you consider the possibility 
> > of sending the
> > script over standard input to the runtime engine.
> 
> 	Okay - why?
...

This should be obvious: it avoids the need to expose
environment variables to establish a trusted communication
channel, and the runtime system would not need ANY rights
with respect to the script storage medium.

This might be overkill.

Personally, I'd prefer there to be a no-environment variables,
TCP-capable specification, but since this isn't standards
track and we use a different architecture to deal with this
in our products, I'm staying on the sidelines.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Tue Jun 26 06:23:52 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA26445
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 06:23:52 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QAMJb23263;
	Tue, 26 Jun 2001 05:22:19 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA06430
	for disman-list; Tue, 26 Jun 2001 03:19:40 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA06425
	for <disman@dorothy.bmc.com>; Tue, 26 Jun 2001 03:19:37 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QAK9k03650
	for <disman@dorothy.bmc.com>; Tue, 26 Jun 2001 05:20:09 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 4C8CD1FF039
	for <disman@dorothy.bmc.com>; Tue, 26 Jun 2001 10:17:13 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id MAA20489;
	Tue, 26 Jun 2001 12:20:27 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id MAA19037; Tue, 26 Jun 2001 12:20:27 +0200
Date: Tue, 26 Jun 2001 12:20:27 +0200
Message-Id: <200106261020.MAA19037@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: David_Wallis@bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <D77353F1D8FCD411AC3400105A640BB5016A1238@es01-sjc.bmc.com>
	(David_Wallis@bmc.com)
Subject: Re: script extensibility I-D
References:  <D77353F1D8FCD411AC3400105A640BB5016A1238@es01-sjc.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Wallis, David writes:

>> From: Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]: (a) I
>> still do not believe there is an insecurity of storing scripts in
>> the filesystem.

David> In that case, I suggest you contact the Unix security expert of
David> your choice, and ask him/her to study the possible security
David> problems in what your propose. 

You brought this issue up. I think it is just fair to ask you to make
your point. I am really willing to learn and to fix the bug if there
is one.

David> I only know that it has similarities to the "setuid script"
David> problem. See Question 11 at
David> http://www.geocities.com/SiliconValley/Bay/9952/alt_sec.txt
David> where the known insecurities of setuid scripts are
David> discussed.

There scripts are not setuid root and the text cited above does not
apply. Please tell me where the problem.

[If there is a problem, then I would argue that the whole /etc/init.d
 Unix concept (or rc.local if you prefer BSD) suffers from the same
 problem. These are also scripts that are execute by a privileged
 shell.]

David> Note that it is you as a proposer of a new standard who has the
David> obligation to convince me, a possible user of that standard,
David> that you have examined the security implications of what you
David> propose and can vouch that the standard is safe. It is not my
David> obligation to convince you that it is unsafe.

As Randy noted, SMX is not standards-track at this point in time. And
even if it were, I would still expect that people who want us to make
protocol changes come up with a convincing argument for the change.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Tue Jun 26 06:28:29 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA26518
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 06:28:28 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QAR1M23586;
	Tue, 26 Jun 2001 05:27:01 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA06452
	for disman-list; Tue, 26 Jun 2001 03:24:56 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA06446;
	Tue, 26 Jun 2001 03:24:53 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QAPPU04501;
	Tue, 26 Jun 2001 05:25:25 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (unknown [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id C431620F00F; Tue, 26 Jun 2001 10:22:15 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id MAA20705;
	Tue, 26 Jun 2001 12:25:56 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id MAA19075; Tue, 26 Jun 2001 12:25:56 +0200
Date: Tue, 26 Jun 2001 12:25:56 +0200
Message-Id: <200106261025.MAA19075@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: rpresuhn@dorothy.bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <200106252140.OAA08597@dorothy.bmc.com> (message from Randy
	Presuhn on Mon, 25 Jun 2001 14:40:09 -0700 (PDT))
Subject: Re: script extensibility I-D
References:  <200106252140.OAA08597@dorothy.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Randy Presuhn writes:

Randy> I think the potential holes regarding script storage and
Randy> environment variables have been adequately described.

Sorry, I still do not understand the problem David Wallis has with the
fact that SMX passes file names around. If you understand it, can you
please try to paraphrase it so that I can understand it as well?

Or are you saying that the proposed addition to the security
considerations section which I have posted recently covers David's
concerns?

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Tue Jun 26 14:30:02 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA02130
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 14:30:02 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QIRs726839;
	Tue, 26 Jun 2001 13:27:54 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA19073
	for disman-list; Tue, 26 Jun 2001 11:23:23 -0700 (PDT)
Received: from babbler.bmc.com (babbler.bmc.com [172.17.0.116])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id LAA19058;
	Tue, 26 Jun 2001 11:23:16 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QIOa826500;
	Tue, 26 Jun 2001 13:24:37 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH8Y1PQ7>; Tue, 26 Jun 2001 13:23:56 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1306@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>, rpresuhn@dorothy.bmc.com
Cc: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Tue, 26 Jun 2001 13:23:56 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

>From Juergen Schoenwaelder [mailto:schoenw@ibr.cs.tu-bs.de]:
>Sorry, I still do not understand the problem David Wallis has with the
>fact that SMX passes file names around. If you understand it, can you
>please try to paraphrase it so that I can understand it as well?

The problem I have is this: 

1) A filename does not point directly to a file. It is, in fact, a path that
must be followed from the root directory through any number of intermediate
directories, mount points, and symbolic links to an inode that represents
the file.

2) Contrary to appearances, these directories, mount points, and symbolic
links are not static, or at least cannot be depended upon to remain static.
Other processes may or may not have permission to make changes at any level
of the directory hierarchy. Your process has no control over this fact.

3) If you make decisions based upon the assumption that a given file will be
executed (as for example choosing a security profile, or in this case two
security profiles) and then the filesystem structure is changed so that the
filename is now pointing at a different file, you have in fact created a
security hole because the new file will get executed with a security profile
that it should not have. It doesn't matter whether or not the security
profile confers root privilege or not, all that matters is that it grants
some authority that the intruder would not ordinarily have.

I don't know how to say it any more simply than this. Is it that you truly
don't understand, or is it that you can't believe that someone would try to
exploit such an insignificant window of opportunity? The history of Unix is
that just such windows of opportunity were exploited.

David Wallis


From owner-disman@dorothy.bmc.com  Tue Jun 26 14:54:56 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAB02897
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 14:54:56 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QIrNp29654;
	Tue, 26 Jun 2001 13:53:23 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA19303
	for disman-list; Tue, 26 Jun 2001 11:51:00 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA19297
	for disman@dorothy.bmc.com; Tue, 26 Jun 2001 11:50:56 -0700 (PDT)
Date: Tue, 26 Jun 2001 11:50:56 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106261850.LAA19297@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5QIrNp29654
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAB02897

Hi -

> Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A1306@es01-sjc.bmc.com>
> From: "Wallis, David" <David_Wallis@bmc.com>
> To: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>, rpresuhn@dorothy.bmc.com
> Cc: disman@dorothy.bmc.com
> Subject: RE: script extensibility I-D
> Date: Tue, 26 Jun 2001 13:23:56 -0500
...
> I don't know how to say it any more simply than this. Is it that you truly
> don't understand, or is it that you can't believe that someone would try to
> exploit such an insignificant window of opportunity? The history of Unix is
> that just such windows of opportunity were exploited.
...

WG chair: I think we need to tone down the rhetoric just a bit.

Technical contributor:
This argument says that stuff retrieved from file systems
can't be trusted unless one can trust every single node in
the path.  The proposal to ship the script via stdin just
shifts the worry about the integrity of all the nodes in the
path from the execution engines to the "agent".  Those scripts
eventually reside on some file system somewhere.  Whether it's
the "agent" reading them or the execution engines doesn't
really change the problem.

If the agent sends a path, it should only send paths it trusts.
If the agent ships a file image, it should only send images of
files it has retrieved using paths it trusts.

Seems like six of one, half-dozen of the other.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Tue Jun 26 16:02:45 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA09797
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 16:02:45 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QK0vJ07797;
	Tue, 26 Jun 2001 15:00:57 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id MAA21051
	for disman-list; Tue, 26 Jun 2001 12:58:21 -0700 (PDT)
Received: from creeper.bmc.com (creeper.bmc.com [172.17.1.166])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id MAA21045;
	Tue, 26 Jun 2001 12:58:17 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id f5QJxRu07650;
	Tue, 26 Jun 2001 14:59:27 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH8Y1Q5W>; Tue, 26 Jun 2001 14:59:31 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Randy Presuhn <rpresuhn@dorothy.bmc.com>, disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Tue, 26 Jun 2001 14:59:31 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by dorothy.bmc.com id MAA21046
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5QK0vJ07797
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA09797

The important point is that the file must be identified by location or
content, not just by name *before* making decisions as to the security
profile it should enjoy. The agent can store the script somewhere in the
filesystem if necessary, but it needs to record not just the name of the
temporary file, but the inode as well. Then when it goes to pass the file to
the runtime engine, it should pass the open filehandle or the actual bytes
of the file (via stdin) to the runtime engine. (Presumably, if the inode
doesn't match, the agent will refuse to pass it to the runtime engine,
because it's not the same file the agent stored.)

David Wallis

-----Original Message-----
From: Randy Presuhn [mailto:rpresuhn@dorothy.bmc.com]
Technical contributor:
This argument says that stuff retrieved from file systems
can't be trusted unless one can trust every single node in
the path.  The proposal to ship the script via stdin just
shifts the worry about the integrity of all the nodes in the
path from the execution engines to the "agent".  Those scripts
eventually reside on some file system somewhere.  Whether it's
the "agent" reading them or the execution engines doesn't
really change the problem.

If the agent sends a path, it should only send paths it trusts.
If the agent ships a file image, it should only send images of
files it has retrieved using paths it trusts.

Seems like six of one, half-dozen of the other.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Tue Jun 26 16:05:53 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA10265
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 16:05:52 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QK4Mj08757;
	Tue, 26 Jun 2001 15:04:23 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA21083
	for disman-list; Tue, 26 Jun 2001 13:02:17 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA21077
	for disman@dorothy.bmc.com; Tue, 26 Jun 2001 13:02:14 -0700 (PDT)
Date: Tue, 26 Jun 2001 13:02:14 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106262002.NAA21077@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5QK4Mj08757
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA10265

Hi -

> Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
> From: "Wallis, David" <David_Wallis@bmc.com>
> To: Randy Presuhn <rpresuhn@dorothy.bmc.com>, disman@dorothy.bmc.com
> Subject: RE: script extensibility I-D
> Date: Tue, 26 Jun 2001 14:59:31 -0500
> 
> The important point is that the file must be identified by location or
> content, not just by name *before* making decisions as to the security
> profile it should enjoy. The agent can store the script somewhere in the
> filesystem if necessary, but it needs to record not just the name of the
> temporary file, but the inode as well. Then when it goes to pass the file to
> the runtime engine, it should pass the open filehandle or the actual bytes
> of the file (via stdin) to the runtime engine. (Presumably, if the inode
> doesn't match, the agent will refuse to pass it to the runtime engine,
> because it's not the same file the agent stored.)
...

"temporary file"???

I sense a serious disconnect...

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Tue Jun 26 19:37:39 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA13267
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 19:37:39 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QNZYY04783;
	Tue, 26 Jun 2001 18:35:34 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA10811
	for disman-list; Tue, 26 Jun 2001 16:32:50 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA10805;
	Tue, 26 Jun 2001 16:32:47 -0700 (PDT)
Date: Tue, 26 Jun 2001 16:32:47 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106262332.QAA10805@dorothy.bmc.com>
To: bwijnen@lucent.com
Subject: Request RFC 2591 update to IESG
Cc: disman@dorothy.bmc.com, randy@psg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5QNZYY04783
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id TAA13267

Hi Bert -

As disman WG chair, I'd like to request that you please take
draft-ietf-disman-schedule-mib-v2-04.txt to the IESG for
consideration as a Proposed Standard, obsoleting RFC 2591.

The changes from RFC 2591 are based on implementation and
deployment experience, as well as clarifications of the
original text.

The document had already completed WG last call before the
issue of ambiguous and non-existant times brought it back
to the WG.  The WG has achieved rough consensus on these
issues, and this text reflects this consensus.  Those stating
preferences for other approaches agreed that they could live
with the approach adopted in the document.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Tue Jun 26 19:54:29 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA16746
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 19:54:28 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QNrVY05679;
	Tue, 26 Jun 2001 18:53:31 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA10978
	for disman-list; Tue, 26 Jun 2001 16:51:18 -0700 (PDT)
Received: from babbler.bmc.com (babbler.bmc.com [172.17.0.116])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id QAA10972;
	Tue, 26 Jun 2001 16:51:15 -0700 (PDT)
Received: from ec03-hou.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5QNrAv05667;
	Tue, 26 Jun 2001 18:53:10 -0500 (CDT)
Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH8Y1TMV>; Tue, 26 Jun 2001 18:52:30 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A13A2@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Randy Presuhn <rpresuhn@dorothy.bmc.com>, disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Tue, 26 Jun 2001 18:52:27 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

I'm sorry--I hate to come into the middle of a conversation like this. But
the draft doesn't make clear that one of the capabilities to be provided is
to store scripts on a distributed manager for future execution. (I suggest
adding it to the list in 3. Overview.)

-----Original Message-----
"temporary file"???

>From: Randy Presuhn [mailto:rpresuhn@dorothy.bmc.com]
>I sense a serious disconnect...


From owner-disman@dorothy.bmc.com  Tue Jun 26 21:07:54 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA03617
	for <disman-archive@odin.ietf.org>; Tue, 26 Jun 2001 21:07:54 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5R15nt10191;
	Tue, 26 Jun 2001 20:05:50 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id SAA21648
	for disman-list; Tue, 26 Jun 2001 18:03:37 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id SAA21639
	for disman@dorothy.bmc.com; Tue, 26 Jun 2001 18:03:33 -0700 (PDT)
Date: Tue, 26 Jun 2001 18:03:33 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106270103.SAA21639@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5R15nt10191
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id VAA03617

Hi -

> Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A13A2@es01-sjc.bmc.com>
> From: "Wallis, David" <David_Wallis@bmc.com>
> To: Randy Presuhn <rpresuhn@dorothy.bmc.com>, disman@dorothy.bmc.com
> Subject: RE: script extensibility I-D
> Date: Tue, 26 Jun 2001 18:52:27 -0500
> 
> I'm sorry--I hate to come into the middle of a conversation like this. But
> the draft doesn't make clear that one of the capabilities to be provided is
> to store scripts on a distributed manager for future execution. (I suggest
> adding it to the list in 3. Overview.)
> 
> -----Original Message-----
> "temporary file"???
> 
> >From: Randy Presuhn [mailto:rpresuhn@dorothy.bmc.com]
> >I sense a serious disconnect...

That part of the puzzle is in RFC 2592, whose update is in
the queue as <draft-ietf-disman-script-mib-v2-03.txt>

The SMX work is part of one possible implementation strategy
for RFC 2592.  (That's one of the reasons why its experimental
- there's been no drive to agree on a single standardized
implementation approach for 2592.)

Note that any questions of relying on file names also apply
there, where things may be passed around by URL references.
The working assumption has been that if someone tells a
script MIB implementation to execute a script that is to be
retrieved using a particular URL, then they have some level
of confidence that what that URL references is what they
intend it to reference.  If someone tells their script MIB
implementation to retrieve scripts from an untrusted source or
using an untrusted protocol, they'll get what they deserve.
The last paragraph in RFC 2592's Security Considerations
section raises this point.

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Wed Jun 27 04:52:36 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id EAA09070
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 04:52:35 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5R8p0l11608;
	Wed, 27 Jun 2001 03:51:01 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id BAA22351
	for disman-list; Wed, 27 Jun 2001 01:48:20 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id BAA22346
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 01:48:15 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5R8mmQ04154
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 03:48:48 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (unknown [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 0E76420EFC9
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 08:45:32 -0500 (CDT)
Received: from hansa.ibr.cs.tu-bs.de (IDENT:root@hansa [134.169.34.137])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id KAA10800;
	Wed, 27 Jun 2001 10:49:19 +0200 (MET DST)
Received: (from strauss@localhost)
	by hansa.ibr.cs.tu-bs.de (8.9.3/8.9.3) id KAA30934;
	Wed, 27 Jun 2001 10:49:19 +0200
X-Authentication-Warning: hansa.ibr.cs.tu-bs.de: strauss set sender to strauss@ibr.cs.tu-bs.de using -f
From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
To: "Wallis, David" <David_Wallis@bmc.com>
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
Date: 27 Jun 2001 10:49:18 +0200
In-Reply-To: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
Message-ID: <ypw3d8mwbn5.fsf@hansa.ibr.cs.tu-bs.de>
Lines: 46
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hi!

David> The important point is that the file must be identified by
David> location or content, not just by name *before* making decisions
David> as to the security profile it should enjoy. The agent can store
David> the script somewhere in the filesystem if necessary, but it
David> needs to record not just the name of the temporary file, but
David> the inode as well. Then when it goes to pass the file to the
David> runtime engine, it should pass the open filehandle or the
David> actual bytes of the file (via stdin) to the runtime
David> engine. (Presumably, if the inode doesn't match, the agent will
David> refuse to pass it to the runtime engine, because it's not the
David> same file the agent stored.)

You are saying that there is a possibilty that some third foreign
process could intervene by modifying the script file or its file
system meta data after it was put in the file system by the agent and
before the runtime engine opens it. Is this correct?

If yes, let me argue why I think this is not true: As almost any
program on a UNIX system the agent and the runtime system rely on the
file access permission attributes that are supported by the file
system. Of course, the directory where the scripts are stored for
passing them to the runtime system and all parent directories have to
have to appropriate permissions. Appropriate means that only the
superuser and the agent (and optionally other priviledged users) can
write to that directory. So, the assumption is true, that there cannot
be any intervening third party that corrupts the script file.

Let me rephrase Juergen's plea for a concrete description of a
possible expoit: Please describe what an attacker could do to make the
runtime engine execute another script than the one that the agent has
written to the local directory, assuming the attacker would have
unlimited CPU time after the script is stored by the agent and before
it is opened by the runtime engine.


If you will convince me (what I don't expect ;-)), I would not use
inodes, since user space processes should not care about them and they
are not more secure than file names. In fact, then I wouldn't even
trust the runtime engine process because I could not know whether the
program I expect to have started by the execve("/path/to/runtime",
...) call is the right one. ;-)


 -frank


From owner-disman@dorothy.bmc.com  Wed Jun 27 06:33:23 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA06794
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 06:33:23 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RAVXT20596;
	Wed, 27 Jun 2001 05:31:34 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA07190
	for disman-list; Wed, 27 Jun 2001 03:29:02 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA07185
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 03:28:58 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RATVw24689
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 05:29:31 -0500 (CDT)
Received: from mail.wiredminds.de (unknown [212.9.183.33])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 4965420EFCB
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 10:26:14 -0500 (CDT)
Received: from pc-heiko.wiredminds.de (IDENT:root@pc-heiko.wiredminds.de [192.168.111.123])
	by mail.wiredminds.de (8.9.3/8.9.3) with ESMTP id MAA19865;
	Wed, 27 Jun 2001 12:29:57 +0200
Received: from wiredminds.de (IDENT:heikor@localhost [127.0.0.1])
	by pc-heiko.wiredminds.de (8.11.0/8.11.0) with ESMTP id f5RATHv15123;
	Wed, 27 Jun 2001 12:29:17 +0200
Message-ID: <3B39B57C.8000208@wiredminds.de>
Date: Wed, 27 Jun 2001 12:29:16 +0200
From: Heiko Rupp <heiko.rupp@wiredminds.de>
Organization: WiredMinds Informationssysteme GmbH
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-wm01 i686; en-US; rv:0.9.1) Gecko/20010607
X-Accept-Language: en-us
MIME-Version: 1.0
To: Frank Strauss <strauss@ibr.cs.tu-bs.de>
Cc: "Wallis, David" <David_Wallis@bmc.com>, disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com> <ypw3d8mwbn5.fsf@hansa.ibr.cs.tu-bs.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit

Frank Strauss wrote:

> 
> You are saying that there is a possibilty that some third foreign
> process could intervene by modifying the script file or its file
> system meta data after it was put in the file system by the agent and
> before the runtime engine opens it. Is this correct?
> 
> If yes, let me argue why I think this is not true: As almost any
> program on a UNIX system the agent and the runtime system rely on the
> file access permission attributes that are supported by the file
> system. Of course, the directory where the scripts are stored for
> passing them to the runtime system and all parent directories have to


What about the following scenario:

1) agent writes the file
2) root unmounts the disk where the file is on
3) the runtime opens a file that was hidden by the mountpoint, with a 
totally different content

Here, all permissions are ok and still the result is not as desired.

-- 
Heiko W. Rupp
Project Management
WiredMinds Informationssysteme GmbH
Wilhelmsplatz 11
D-70182 Stuttgart

Email: Heiko.Rupp@WiredMinds.de
Phone: +49 711 49048-232
Fax:   +49 711 49048-111



From owner-disman@dorothy.bmc.com  Wed Jun 27 06:50:47 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id GAA17647
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 06:50:45 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RAjwE22316;
	Wed, 27 Jun 2001 05:45:58 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id DAA07223
	for disman-list; Wed, 27 Jun 2001 03:43:39 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id DAA07218
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 03:43:33 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RAi6T27692
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 05:44:06 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 1CBDD1FF01B
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 10:41:04 -0500 (CDT)
Received: from hansa.ibr.cs.tu-bs.de (IDENT:root@hansa [134.169.34.137])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id MAA18256;
	Wed, 27 Jun 2001 12:44:19 +0200 (MET DST)
Received: (from strauss@localhost)
	by hansa.ibr.cs.tu-bs.de (8.9.3/8.9.3) id MAA07199;
	Wed, 27 Jun 2001 12:44:19 +0200
X-Authentication-Warning: hansa.ibr.cs.tu-bs.de: strauss set sender to strauss@ibr.cs.tu-bs.de using -f
From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
To: Heiko Rupp <heiko.rupp@wiredminds.de>
Cc: "Wallis, David" <David_Wallis@bmc.com>, disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
	<ypw3d8mwbn5.fsf@hansa.ibr.cs.tu-bs.de>
	<3B39B57C.8000208@wiredminds.de>
Date: 27 Jun 2001 12:44:19 +0200
In-Reply-To: <3B39B57C.8000208@wiredminds.de>
Message-ID: <ypw8zierym4.fsf@hansa.ibr.cs.tu-bs.de>
Lines: 28
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hi!

>> You are saying that there is a possibilty that some third foreign
>> process could intervene by modifying the script file or its file
>> system meta data after it was put in the file system by the agent and
>> before the runtime engine opens it. Is this correct?
>> If yes, let me argue why I think this is not true: As almost any
>> program on a UNIX system the agent and the runtime system rely on the
>> file access permission attributes that are supported by the file
>> system. Of course, the directory where the scripts are stored for
>> passing them to the runtime system and all parent directories have to


Heiko> What about the following scenario:

Heiko> 1) agent writes the file
Heiko> 2) root unmounts the disk where the file is on
Heiko> 3) the runtime opens a file that was hidden by the mountpoint, with a
Heiko> totally different content

Heiko> Here, all permissions are ok and still the result is not as desired.

The superuser has always permissions to do things that cause a
behaviour that is not expected by others. That's life. I don't regard
things that the superuser does as an attack or their consequences as a
security problem.

 -frank


From owner-disman@dorothy.bmc.com  Wed Jun 27 08:05:53 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA05946
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 08:05:52 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RC0MU02349;
	Wed, 27 Jun 2001 07:00:22 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id EAA07352
	for disman-list; Wed, 27 Jun 2001 04:57:40 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id EAA07347
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 04:57:34 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RBw8410472
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 06:58:08 -0500 (CDT)
Received: from mail.wiredminds.de (unknown [212.9.183.33])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 7889A20EFEB
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 11:54:50 -0500 (CDT)
Received: from pc-heiko.wiredminds.de (IDENT:root@pc-heiko.wiredminds.de [192.168.111.123])
	by mail.wiredminds.de (8.9.3/8.9.3) with ESMTP id NAA20996;
	Wed, 27 Jun 2001 13:58:33 +0200
Received: from wiredminds.de (IDENT:heikor@localhost [127.0.0.1])
	by pc-heiko.wiredminds.de (8.11.0/8.11.0) with ESMTP id f5RBvsv15171;
	Wed, 27 Jun 2001 13:57:54 +0200
Message-ID: <3B39CA41.4030403@wiredminds.de>
Date: Wed, 27 Jun 2001 13:57:53 +0200
From: Heiko Rupp <heiko.rupp@wiredminds.de>
Organization: WiredMinds Informationssysteme GmbH
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-wm01 i686; en-US; rv:0.9.1) Gecko/20010607
X-Accept-Language: en-us
MIME-Version: 1.0
To: Frank Strauss <strauss@ibr.cs.tu-bs.de>
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>	<ypw3d8mwbn5.fsf@hansa.ibr.cs.tu-bs.de>	<3B39B57C.8000208@wiredminds.de> <ypw8zierym4.fsf@hansa.ibr.cs.tu-bs.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
Content-Transfer-Encoding: 7bit

Frank Strauss wrote:

> The superuser has always permissions to do things that cause a
> behaviour that is not expected by others. That's life. I don't regard
> things that the superuser does as an attack or their consequences as a
> security problem.

I did not want to imply, that this is a security problem, but point out
a scenario, where a process might not find the file it thinks it is.

-- 
Heiko W. Rupp
Project Management
WiredMinds Informationssysteme GmbH
Wilhelmsplatz 11
D-70182 Stuttgart

Email: Heiko.Rupp@WiredMinds.de
Phone: +49 711 49048-232
Fax:   +49 711 49048-111



From owner-disman@dorothy.bmc.com  Wed Jun 27 08:14:31 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id IAA11339
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 08:14:30 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RC9lX03268;
	Wed, 27 Jun 2001 07:09:47 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id FAA07395
	for disman-list; Wed, 27 Jun 2001 05:07:30 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id FAA07390
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 05:07:23 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RC7ur12481
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 07:07:56 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id E72F81FF01B
	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 12:04:53 -0500 (CDT)
Received: from hansa.ibr.cs.tu-bs.de (IDENT:root@hansa [134.169.34.137])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id OAA23156;
	Wed, 27 Jun 2001 14:08:17 +0200 (MET DST)
Received: (from strauss@localhost)
	by hansa.ibr.cs.tu-bs.de (8.9.3/8.9.3) id OAA12037;
	Wed, 27 Jun 2001 14:08:17 +0200
X-Authentication-Warning: hansa.ibr.cs.tu-bs.de: strauss set sender to strauss@ibr.cs.tu-bs.de using -f
From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
To: Heiko Rupp <heiko.rupp@wiredminds.de>
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <D77353F1D8FCD411AC3400105A640BB5016A134A@es01-sjc.bmc.com>
	<ypw3d8mwbn5.fsf@hansa.ibr.cs.tu-bs.de>
	<3B39B57C.8000208@wiredminds.de>
	<ypw8zierym4.fsf@hansa.ibr.cs.tu-bs.de>
	<3B39CA41.4030403@wiredminds.de>
Date: 27 Jun 2001 14:08:17 +0200
In-Reply-To: <3B39CA41.4030403@wiredminds.de>
Message-ID: <ypwwv5yqg5q.fsf@hansa.ibr.cs.tu-bs.de>
Lines: 16
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hi!

>> The superuser has always permissions to do things that cause a
>> behaviour that is not expected by others. That's life. I don't regard
>> things that the superuser does as an attack or their consequences as a
>> security problem.

Heiko> I did not want to imply, that this is a security problem, but
Heiko> point out a scenario, where a process might not find the file
Heiko> it thinks it is.

Point taken. Thank you.

So, let's see whether there are other ways that are a security problem.

 -frank


From owner-disman@dorothy.bmc.com  Wed Jun 27 11:04:30 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA16252
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 11:04:30 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RF1qM26438;
	Wed, 27 Jun 2001 10:01:52 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id HAA07726
	for disman-list; Wed, 27 Jun 2001 07:57:32 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id HAA07720;
	Wed, 27 Jun 2001 07:57:28 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5REw1M29998;
	Wed, 27 Jun 2001 09:58:01 -0500 (CDT)
Received: from auemail1.firewall.lucent.com (auemail1.lucent.com [192.11.223.161])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id 768A71FF054; Wed, 27 Jun 2001 14:55:03 -0500 (CDT)
Received: from auemail1.firewall.lucent.com (localhost [127.0.0.1])
	by auemail1.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5REwRa26931;
	Wed, 27 Jun 2001 10:58:28 -0400 (EDT)
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62])
	by auemail1.firewall.lucent.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id f5REwQB26841;
	Wed, 27 Jun 2001 10:58:26 -0400 (EDT)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2650.21)
	id <NNZL07DB>; Wed, 27 Jun 2001 16:58:25 +0200
Message-ID: <2413FED0DFE6D111B3F90008C7FA61FB0CC468FC@nl0006exch002u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: bwijnen@lucent.com, Randy Presuhn <rpresuhn@dorothy.bmc.com>
Cc: disman@dorothy.bmc.com, Randy Bush <randy@psg.com>
Subject: RE: Request RFC 2591 update to IESG
Date: Wed, 27 Jun 2001 16:58:23 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
X-MIME-Autoconverted: from quoted-printable to 8bit by dorothy.bmc.com id HAA07721
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5RF1qM26438
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id LAA16252

Got it on IESG agenda

Bert

> ----------
> From: 	Randy Presuhn[SMTP:rpresuhn@dorothy.bmc.com]
> Sent: 	Wednesday, June 27, 2001 1:32 AM
> To: 	bwijnen@lucent.com
> Cc: 	disman@dorothy.bmc.com; randy@psg.com
> Subject: 	Request RFC 2591 update to IESG
> 
> Hi Bert -
> 
> As disman WG chair, I'd like to request that you please take
> draft-ietf-disman-schedule-mib-v2-04.txt to the IESG for
> consideration as a Proposed Standard, obsoleting RFC 2591.
> 
> The changes from RFC 2591 are based on implementation and
> deployment experience, as well as clarifications of the
> original text.
> 
> The document had already completed WG last call before the
> issue of ambiguous and non-existant times brought it back
> to the WG.  The WG has achieved rough consensus on these
> issues, and this text reflects this consensus.  Those stating
> preferences for other approaches agreed that they could live
> with the approach adopted in the document.
> 
>  ------------------------------------------------------
>  Randy Presuhn          BMC Software, Inc.  1-3141
>  randy_presuhn@bmc.com  2141 North First Street
>  Tel: +1 408 546-1006   San Jos> é, California 95131  USA
>  ------------------------------------------------------
>  My opinions and BMC's are independent variables.
>  ------------------------------------------------------
> 


From owner-disman@dorothy.bmc.com  Wed Jun 27 14:50:11 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA18408
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 14:50:10 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RIlcH04170;
	Wed, 27 Jun 2001 13:47:38 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA16390
	for disman-list; Wed, 27 Jun 2001 11:42:24 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id LAA16384;
	Wed, 27 Jun 2001 11:42:20 -0700 (PDT)
Date: Wed, 27 Jun 2001 11:42:20 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106271842.LAA16384@dorothy.bmc.com>
To: agenda@ietf.org
Subject: London scheduling request for disman WG
Cc: bwijnen@lucent.com, disman@dorothy.bmc.com, randy@psg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5RIlcH04170
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id OAA18408

Hi -

As chair of the disman WG, I'd like to request a meeting slot for
the 51st IETF in London in August 2001.

 a. Working Group or BOF full name with acronym in brackets: 

        Distributed Management [disman]

 b. AREA under which Working Group or BOF appears:

        Operations and Management

 c. CONFLICTS you wish to avoid, please be as specific as possible:

        adslmib
        agentx
        atommib
        bmwg
        entmib
        eos
        frnetmib
        hubmib
        idn
        idwg
        ifmib
        ippm
        ips
        policy
        rmonmib
        rtfm
        sigtran
        sming
        snmpconf
        snmpv3
        syslog

 d. Expected Attendance 

        80

 e. Special requests (i.e. multicast):

        none

 f. Number of slots:

        one

 g. Length of slot: 
    2 hours (a 2.5 hour slot would also be ok)

 -------------------------------------------------------
 Randy Presuhn           randy_presuhn@bmc.com
 Voice: +1 408 546-1006  BMC Software, Inc.  1-3141
 Fax:   +1 408 965-0359  2141 North First Street
 http://www.bmc.com/     San José, California 95131  USA
 -------------------------------------------------------
 My opinions and BMC's are independent variables.
 -------------------------------------------------------


From owner-disman@dorothy.bmc.com  Wed Jun 27 16:23:36 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA04619
	for <disman-archive@odin.ietf.org>; Wed, 27 Jun 2001 16:23:35 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RKMbn23682;
	Wed, 27 Jun 2001 15:22:37 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA21159
	for disman-list; Wed, 27 Jun 2001 13:20:17 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id NAA21153;
	Wed, 27 Jun 2001 13:20:13 -0700 (PDT)
Date: Wed, 27 Jun 2001 13:20:13 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106272020.NAA21153@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Fwd: Re: script extensibility I-D
Cc: S.R.Venkatramanan@sun.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5RKMbn23682
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id QAA04619

Hi -

I'm forwarding a non-subscriber posting to the disman WG
mailing list.  Subscription instructions are available at
http://www.ietf.org/html.charters/disman-charter.html

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------

> Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
> 	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id MAA21051
> 	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 12:25:32 -0700 (PDT)
> Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
> 	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5RJQ6n26801
> 	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 14:26:06 -0500 (CDT)
> Received: from patan.sun.com (unknown [192.18.98.43])
> 	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 035D220EFC4
> 	for <disman@dorothy.bmc.com>; Wed, 27 Jun 2001 19:22:46 -0500 (CDT)
> Received: from phys-ha2mtva.Eng.Sun.COM ([129.144.1.3])
> 	by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA28261;
> 	Wed, 27 Jun 2001 13:26:36 -0600 (MDT)
> Received: from pluto (pluto [129.144.143.180])
> 	by phys-ha2mtva.Eng.Sun.COM (8.8.8+Sun/8.8.8/ENSMAIL,v2.1) with SMTP id MAA10005;
> 	Wed, 27 Jun 2001 12:26:37 -0700 (PDT)
> Message-Id: <200106271926.MAA10005@phys-ha2mtva.Eng.Sun.COM>
> Date: Wed, 27 Jun 2001 12:22:11 -0700 (PDT)
> From: "S.R. Venkatramanan" <S.R.Venkatramanan@Sun.COM>
> Reply-To: "S.R. Venkatramanan" <S.R.Venkatramanan@Sun.COM>
> Subject: Re: script extensibility I-D
> To: heiko.rupp@wiredminds.de, strauss@ibr.cs.tu-bs.de
> Cc: David_Wallis@bmc.com, disman@dorothy.bmc.com
> MIME-Version: 1.0
> Content-Type: TEXT/plain; charset=us-ascii
> Content-MD5: 12cf2CM9/uSUKSzEaYZmJQ==
> X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
> 
> 
> Hi,
> 
> I have been a passive oberver of this discussion for some time now.
> Having written security guidelines for SunTone, a certification
> program by Sun for ASP hosted applications here is my observation
> for whatever it is worth.
> 
> Considering the two scenerios i.e, 1) to send t he script over the
> wire in clear as stdin and 2) depositing it on the remote and let
> the engine pick it up at run time, I would agree with Frank and
> argue in favor of latter, with reliability and availabilty also
> taken into consideration.
> 
> The remote host being a trusted one, you also trust on its
> administration environment.  Whereas, when it is sent over
> stdin, who gurantees against the corruption by the network?
> What if it is intercepted by some other untrusted administrator
> (read, hacker) before it reached the engine.  Of course, you
> can argue how did the script land on the remote machine in the
> first place in the other scenerio. I would imagine that
> checksumming or something similar is done to confirm data
> integrity, to counter that.  So, not being able to trust
> the operating environment (file system and the administrator)
> cannot be the reason for not deopositing script on the remote
> host prior to runtime.
> 
> The best thing would then be a mechanism where you encript
> the script, whether sent to engine at run time or at the time
> of depositing it on the remote host, and have the key exchanged.
> This scheme is not overly complex either.
> 
> Of course, we all know that you ahve to consider the cost of
> security over what is the value of content that is being secured.
> 
> rgds,
> S.R.
> 
> S.R. Venkatramanan
> raven@eng.sun.com
> Senior Staff Engineer
> Systems Software Group
> Sun Microsystems, Inc.
> 
> 
> > From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
> > Date: 27 Jun 2001 12:44:19 +0200
> >
> > Hi!
> > 
> > >> You are saying that there is a possibilty that some third foreign
> > >> process could intervene by modifying the script file or its file
> > >> system meta data after it was put in the file system by the agent and
> > >> before the runtime engine opens it. Is this correct?
> > >> If yes, let me argue why I think this is not true: As almost any
> > >> program on a UNIX system the agent and the runtime system rely on the
> > >> file access permission attributes that are supported by the file
> > >> system. Of course, the directory where the scripts are stored for
> > >> passing them to the runtime system and all parent directories have to
> > 
> > 
> > Heiko> What about the following scenario:
> > 
> > Heiko> 1) agent writes the file
> > Heiko> 2) root unmounts the disk where the file is on
> > Heiko> 3) the runtime opens a file that was hidden by the mountpoint, with a
> > Heiko> totally different content
> > 
> > Heiko> Here, all permissions are ok and still the result is not as desired.
> > 
> > The superuser has always permissions to do things that cause a
> > behaviour that is not expected by others. That's life. I don't regard
> > things that the superuser does as an attack or their consequences as a
> > security problem.
> > 
> >  -frank
> 
> _______________________________________________________
> 
> "We learn from experience that men never learn anything
> from experience." - George Bernard Shaw
> 
> 
> 


From owner-disman@dorothy.bmc.com  Thu Jun 28 03:58:17 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA09072
	for <disman-archive@odin.ietf.org>; Thu, 28 Jun 2001 03:57:52 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5S7unl16865;
	Thu, 28 Jun 2001 02:56:49 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id AAA03829
	for disman-list; Thu, 28 Jun 2001 00:54:25 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id AAA03824
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 00:54:21 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5S7srb07798
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 02:54:53 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (unknown [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 30B7520F00C
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 07:51:31 -0500 (CDT)
Received: from hansa.ibr.cs.tu-bs.de (IDENT:root@hansa [134.169.34.137])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id JAA00877;
	Thu, 28 Jun 2001 09:55:25 +0200 (MET DST)
Received: (from strauss@localhost)
	by hansa.ibr.cs.tu-bs.de (8.9.3/8.9.3) id JAA10966;
	Thu, 28 Jun 2001 09:55:24 +0200
X-Authentication-Warning: hansa.ibr.cs.tu-bs.de: strauss set sender to strauss@ibr.cs.tu-bs.de using -f
From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
To: "S.R. Venkatramanan" <S.R.Venkatramanan@sun.com>
Cc: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
References: <200106271926.MAA10005@phys-ha2mtva.Eng.Sun.COM>
Date: 28 Jun 2001 09:55:24 +0200
In-Reply-To: <200106271926.MAA10005@phys-ha2mtva.Eng.Sun.COM>
Message-ID: <ypwg0clqbrn.fsf@hansa.ibr.cs.tu-bs.de>
Lines: 9
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

Hi!

Note that there is no wire, no remote, no network. The problem is
as simple as starting a child process on the _local_ host and making
it read and execute a given script.

So, your argumentation is out of scope. ;-)

 -frank


From owner-disman@dorothy.bmc.com  Thu Jun 28 11:04:51 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id LAA06459
	for <disman-archive@odin.ietf.org>; Thu, 28 Jun 2001 11:04:50 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5SF1ei04467;
	Thu, 28 Jun 2001 10:01:40 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id HAA15715
	for disman-list; Thu, 28 Jun 2001 07:57:55 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id HAA15710
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 07:57:49 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5SEwML12122
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 09:58:22 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (unknown [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP id 29A4120F00C
	for <disman@dorothy.bmc.com>; Thu, 28 Jun 2001 14:54:57 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id QAA00240;
	Thu, 28 Jun 2001 16:58:53 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id QAA04474; Thu, 28 Jun 2001 16:58:53 +0200
Date: Thu, 28 Jun 2001 16:58:53 +0200
Message-Id: <200106281458.QAA04474@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: disman <disman@dorothy.bmc.com>
Subject: new SMX revision submitted
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


I have submitted a new revision of our SMX specification as an
ID. Until it shows up, you can grab a copy from:

<http://www.ibr.cs.tu-bs.de/~schoenw/draft-schoenw-rfc-2593-update-04.txt>

Below is the unified context diff or the nroff sources relative to the
previous ID.

/js

Index: smx.me
===================================================================
RCS file: /usr/home/schoenw/CVS/ietf/smx/smx.me,v
retrieving revision 1.5
diff -U10 -r1.5 smx.me
--- smx.me	2001/06/11 14:09:16	1.5
+++ smx.me	2001/06/28 14:27:38
@@ -28,21 +28,21 @@
 Request for Comments: xxxx                               TU Braunschweig
 Category: Experimental                                        J. Quittek
 					                 NEC Europe Ltd.
 							       June 2001
 
 .sp1
 .ce 2
 Script MIB Extensibility Protocol Version 1.1
 .sp 1
 .ce 1
-<draft-schoenw-rfc-2593-update-03.txt>
+<draft-schoenw-rfc-2593-update-04.txt>
 
 .ti 0
 Status of this Memo
 .PP
 This document is an Internet-Draft and is in full conformance with all
 provisions of Section 10 of RFC 2026.  Internet-Drafts are working
 documents of the Internet Engineering Task Force (IETF), its areas,
 and its working groups.  Note that other groups may also distribute
 working documents as Internet-Drafts.
 .PP
@@ -188,52 +188,28 @@
 runtime system security profile when a script is started.
 
 .sh 1 "Start of Runtime Systems and Connection Establishment"
 .PP
 The SNMP agent starts runtime systems based on the static properties
 of the runtime system (multi-threaded or single-threaded) and the
 operating system security profiles. Starting a new runtime system
 requires to create a process environment which matches the operating
 system security profile.
 .PP
-The SNMP agent initially passes information to the runtime system by
-means of environment variables. The information is needed to establish
-a trusted communication channel between the SNMP agent and a runtime
-system.
-.PP
-The SNMP agent first creates a listening TCP socket which accepts
-connections from runtime systems. It is the responsibility of the
-runtime system to establish a connection to this TCP socket once it
-has been started. The port number of the listening TCP socket is
-passed from the SNMP agent to the runtime system in the environment
-variable SMX_PORT.
-.PP
-The SNMP agent must ensure that only authorized runtime systems
-establish a connection to the listening TCP socket. The following
-rules are used for this purpose:
-.ip "   -" 8
-The TCP connection must originate from the local host.
-.ip "   -" 8
-The SNMP agent queries the runtime system for a security cookie
-and closes the TCP connection if no valid response is received
-within a given time interval. The security cookie is a random
-number generated by the SNMP agent and passed to the runtime
-system as part of its environment. The cookie is found in the
-environment variable SMX_COOKIE.
-.PP
-The security assumption here is that access to the process environment
-is protected by the operating system.
-.PP
-Alternate transports (e.g. UNIX domain sockets) are possible but not
-defined at this point in time. The reason to choose TCP as the
-transport protocol for SMX was that TCP is supported by all potential
-runtime systems, while other transports are not universally available.
+In order to prevent SMX communication from untrusted peers the SNMP
+agent has to choose a secure SMX transport. This memo defines two
+transports in Section 8: (a) a bi-directional pipe using standard
+input/output streams on the runtime engine side, and (b) a TCP
+connection where the SNMP agent acts as a listening server that
+accepts only connections from local runtime engines that authenticate
+themselves with a secret shared between the agent and the runtime
+engine.
 
 .sh 1 "SMX Messages"
 .PP
 The message formats described below are defined using the Augmented
 BNF (ABNF) defined in RFC 2234 [6]. The definitions for `ALPHA',
 `DIGIT', `HEXDIG', `WSP', `CRLF', `CR', `LF', `HTAB', `VCHAR' and
 `DQUOTE' are imported from appendix A of RFC 2234 and not repeated
 here.
 
 .sh 2 "Common Definitions"
@@ -273,21 +249,21 @@
   ExitCode	=  "1"		; smRunExitCode `noError'
   ExitCode	=/ "2"		; smRunExitCode `halted'
   ExitCode	=/ "3"		; smRunExitCode `lifeTimeExceeded'
   ExitCode	=/ "4"		; smRunExitCode `noResourcesLeft'
   ExitCode	=/ "5"		; smRunExitCode `languageError'
   ExitCode	=/ "6"		; smRunExitCode `runtimeError'
   ExitCode	=/ "7"		; smRunExitCode `invalidArgument'
   ExitCode	=/ "8"		; smRunExitCode `securityViolation'
   ExitCode	=/ "9"		; smRunExitCode `genericError'
 
-  Cookie	= HexString	; authentication cookie
+  Authenticator	= HexString	; authentication cookie
 
   Version	= "SMX/1.1"	; current version of the SMX protocol
 
   Argument	= HexString / QuotedString	; see smRunArgument
 
   Result	= HexString / QuotedString	; see smRunResult
 
   ErrorMsg	= HexString / QuotedString	; see smRunError
 
 .PP
@@ -306,23 +282,23 @@
 following character is treated as an ordinary character.
 
 `Argument' and `Result' is either a QuotedString or a HexString.  The
 Script MIB defines script arguments and results as arbitrary octet
 strings. The SMX protocol supports a binary and a human readable
 representation since it is likely that printable argument and result
 strings will be used frequently. However, an implementation must be
 able to handle both formats in order to be compliant with the Script
 MIB.
 
-The `Cookie' is a HexString which does not carry any semantics other
-than being a random sequence of bytes. It is therefore not necessary
-to have a human readable representation.
+The `Authenticator' is a HexString which does not carry any semantics
+other than being a random sequence of bytes. It is therefore not
+necessary to have a human readable representation.
 
 .sh 2 "Commands"
 .PP
 The following ABNF definitions define the set of SMX commands which
 can be sent from the SNMP agent to a runtime system.
 
   Command =  "hello"   WSP Id CRLF
 
   Command =/ "start"   WSP Id WSP RunId WSP Script WSP Profile 
 		       WSP Argument CRLF
@@ -370,21 +346,21 @@
 
   x0z	syntax errors that don't fit any other category
   x1z	replies for commands targeted at the whole runtime system
   x2z	replies for commands targeted at scripts
   x3z	replies for commands targeted at running instances of scripts
 
 The third digit gives a finer gradation of meaning in each category
 specified by the second digit. Below is the ABNF definition of all
 reply messages and codes:
 
-  Reply =  "211" WSP Id WSP Version WSP Cookie CRLF
+  Reply =  "211" WSP Id WSP Version *1(WSP Authenticator) CRLF
 				; identification of the 
 				; runtime system
 
   Reply =/ "231" WSP Id WSP RunState CRLF
 				; status of a running script
 
   Reply =/ "232" WSP Id CRLF	; abort of a running script
 
   Reply =/ "401" WSP Id CRLF	; syntax error in command
 
@@ -463,24 +439,23 @@
 engine detects any syntax error which is not explicitly mentioned or
 which cannot be identified uniquely, a generic `401' reply is sent
 indicating that the command cannot be executed.
 
 .sh 3 "Processing the `hello' Command"
 .PP
 When the runtime system receives a `hello' command, it processes it as
 follows:
 
 .ip "   1." 8
-The runtime system obtains the security cookie from its process
-environment.
-.ip "   2." 8
-The runtime system sends a `211' reply containing the security cookie.
+The runtime system sends a `211' reply. If the runtime system has
+access to a shared secret, then the reply must contain the optional
+`Authenticator', which is a function of the shared secret.
 
 .sh 3 "Processing the `start' Command"
 .PP
 When the runtime system receives a `start' command, it processes it as
 follows:
 
 .ip "   1." 8
 The syntax of the arguments of the `start' command is checked. The
 following four checks must be made:
 .ip "        (a)" 14
@@ -649,54 +624,63 @@
 implementing the Script MIB generates SMX commands. It also describes
 how the SNMP agent processes replies to SMX commands.
 
 .sh 3 "Creating a Runtime System"
 .PP
 New runtime systems are started by the SNMP agent while processing
 set requests for a `smLaunchStart' variable. The SNMP agent first
 searches for an already running runtime systems which matches the
 security profiles associated with the `smLaunchStart' variable. If no
 suitable runtime system is available, a new runtime system is started
-by preparing the environment for the new runtime system and starting
+by either
+.ip "   (a)" 8
+starting the executable for the runtime system in a new process which
+conforms to the operating system security profile, and establishing a
+bi-directional pipe to the runtime systems standard input/output
+streams to be used for SMX transport, or
+.ip "   (b)" 8
+preparing the environment for the new runtime system and starting
 the executable for the runtime system in a new process which conforms
 to the operating system security profile. The SNMP agent prepares to
-accept a connection from the new runtime system. The `smRunState' of
-all scripts that should be executed in this new runtime system is set
-to `initializing'.
+accept a connection from the new runtime system.
+.PP
+The `smRunState' of all scripts that should be executed in the new
+runtime system is set to `initializing'.
 
 .sh 3 "Generating the `hello' Command"
 .PP
-The `hello' command is generated once a connection request from a
-runtime system has been accepted. The SNMP agent sends the `hello'
-command as defined in section 5.2. The SNMP agent then expects a reply
-from the runtime system within a reasonable timeout interval.
+The `hello' command is generated once an SMX connection is
+established.  The SNMP agent sends the `hello' command as defined in
+section 5.2. The SNMP agent then expects a reply from the runtime
+system within a reasonable timeout interval.
 
 .ip "   1." 8
 If the timeout expires before the SNMP agent received a reply, then
 the connection is closed and all data associated with it is deleted.
 Any scripts that should be running in this runtime system are aborted,
 the `smRunExitCode' is set to `genericError' and `smRunError' is
 modified to describe the error situation.
 .ip "   2." 8
 If the received message can not be analyzed because it does not have
 the required format, then the connection is closed and all data
 associated with it is deleted. Any scripts that should be running in
 this runtime system are aborted, the `smRunExitCode' is set to
 `genericError' and `smRunError' is modified to describe the error
 situation.
 .ip "   3." 8
 If the received message is a `211' reply, then the `Id' is checked
 whether it matches the `Id' used in the `hello' command. If the `Id'
 matches, then the `Version' is checked. If the `Version' matches a
-supported SMX protocol version, then the `Cookie' is checked whether
-it matches the cookie passed to the runtime system. If any of these
-tests fails, then the connection is closed and all data associated
+supported SMX protocol version, then, if present, the `Authenticator'
+is checked. If any of the tests fails or if the SNMP agent requires an
+authenticator and it did not receive a matching `Authenticator' with
+the `211' reply, then the connection is closed and all data associated
 with this runtime system is deleted. Any scripts that should be
 running in this runtime system are aborted, the `smRunExitCode' is set
 to `genericError' and `smRunError' is modified to describe the error
 situation.
 .ip "   4." 8
 Received messages are discarded if none of the previous rules applies.
 
 .sh 3 "Generating the `start' Command"
 .PP
 The `start' command is generated while processing set-requests for a
@@ -911,24 +895,24 @@
 script with the `RunId'. Otherwise, `smRunState' and `smRunError' are
 updated and the `smScriptException' notification is generated.
 .ip "   9." 8
 If the received message is a `538' reply, then the SNMP agent checks
 whether a running script with the given `RunId' exists in the runtime
 system. Processing of the notification stops if there is no running
 script with the `RunId'. Otherwise, `smRunState' is set to
 `terminated' and the `smExitCode' is updated.
 
 .bp
-.sh 1 "An Example SMX Message Flow"
+.sh 1 "Example SMX Message Flow"
 .PP
-Below is an example SMX message exchange. Messages send from the SNMP
-agent are marked with `>' while replies send from the runtime system
+Below is an example SMX message exchange. Messages sent from the SNMP
+agent are marked with `>' while replies sent from the runtime system
 are marked with `<'. Line terminators (`CRLF') are not shown in order
 to make the example more readable.
 
   > hello 1
   < 211 1 SMX/1.1 0AF0BAED6F877FBC
   > start 2 42 "/var/snmp/scripts/foo.jar" untrusted ""
   > start 5 44 "/var/snmp/scripts/bar.jar" trusted "www.ietf.org"
   < 231 2 2
   > start 12 48 "/var/snmp/scripts/foo.jar" funny ""
   < 231 5 2
@@ -941,36 +925,107 @@
   > hello 578
   < 211 578 SMX/1.1 0AF0BAED6F877FBC
   > suspend 581 42
   < 231 581 4
   < 532 0 44 7 "test completed"
   < 538 0 44 1
   > abort 611 42
   < 232 611
 
 .bp
+.sh 1 "Transport Mappings"
+.PP
+In order to prevent SMX communication from untrusted peers the SNMP
+agent has to choose a secure SMX transport. This memo defines two
+transports in Section 8: (a) a bi-directional pipe using standard
+input/output streams on the runtime engine side, and (b) a TCP
+connection where the SNMP agent acts as a listening server that
+accepts only connections from local runtime engines that authenticate
+themselves with a secret shared between the agent and the runtime
+engine.
+.PP
+For simplicity and security reasons the transport over bi-directional
+pipes is the prefered transport.
+.PP
+Further transports (e.g. UNIX domain sockets) are possible but not
+defined at this point in time. The reason for choosing pipes and TCP
+connections as the transport for SMX was that these IPC mechanisms are
+supported by most potential runtime systems, while other transports
+are not universally available.
+
+.sh 2 "SMX over Bi-directional Pipes"
+.PP
+The SNMP agent first creates a bi-directional pipe. Then the agent
+creates the runtime system process with its standard input and
+standard output streams connected to the pipe. Further authentication
+mechanisms are not required.
+." On POSIX compliant systems, this can be achieved by
+." a sequence of pipe(), fork(), dup2() and execve() system calls.
+
+.sh 2 "SMX over TCP"
+.PP
+The SNMP agent first creates a listening TCP socket which accepts
+connections from runtime systems. Then the agent creates the runtime
+system process.  It is then the responsibility of the runtime system
+to establish a connection to the agent's TCP socket once it has been
+started.   The SNMP agent must ensure that only authorized runtime
+systems establish a connection to the listening TCP socket. The
+following rules are used for this purpose:
+.ip "        -" 11
+The TCP connection must originate from the local host.
+.ip "        -" 11
+The SNMP agent must check the `Authenticator' in the `211' reply if
+authentication is required and it must close the TCP connection if no
+valid response is received within a given time interval.
+
+.bp
 .sh 1 "Security Considerations"
 .PP
-The SMX protocol runs on top of a local TCP connection. Protocol
-messages never leave the local system. It is therefore not possible to
-attack the message exchanges if the underlying operating system
-protects local TCP connections from other users on the same machine.
-
-The only critical situation is the connection establishment phase. The
-rules defined in section 4 ensure that only local connections are
-accepted and that a runtime system has to identify itself with a
-security cookie generated by the SNMP agent and passed to the runtime
-system process as part of its environment. This rule ensures that
-scripts will only be executed on authorized runtime systems. This
-scheme relies on the protection of process environments by the
-operating system. Well maintained UNIX operating systems have this
-property.
+The SMX protocol as specified in this memo runs over a bi-directional
+pipe or over a local TCP connection between the agent and the runtime
+system. Protocol messages never leave the local system. It is
+therefore not possible to attack the message exchanges if the
+underlying operating system protects bi-directional pipes and local
+TCP connections from other users on the same machine.
+
+The transport over a bi-directional pipe specifies that the pipe is
+created and connected to the standard input/output stream of the
+runtime engine by the agent before the runtime engine is started.  It
+is therefore not possible that an unauthorized process can exchange
+SMX messages over the bi-directional pipe.
+
+In case of the TCP transport, the only critical situation is the
+connection establishment phase. The rules defined in section 8 ensure
+that only local connections are accepted and that a runtime system has
+to authenticate itself with an authenticator if the agent requires
+authentication. It is strongly suggested that agents require
+authentication, especially on multiuser systems.
+
+The SMX 1.0 specification in RFC 2593 suggested a scheme where the
+authenticator was passed to the runtime engines as part of the process
+environment. This scheme relies on the protection of process
+environments by the operating system against unauthorized access.
+Some operating systems allow users to read the process environment of
+arbitrary processes. Hence the scheme proposed in RFC 2593 is
+considered unsecure on these operating systems. This memo does not
+dictate the mechanism by which the runtime obtains the shares secret.
+It is the responsiblity of implementors or administrators to select a
+mechanism which is secure on the target platforms.
+
+The SMX protocol assumes a local script storage area which is used to
+pass script code from the SNMP agent to the runtime systems. The SMX
+protocol passes file names from the agent to the runtime engines. It
+is necessary that the script files in the local script storage area
+are properly protected so that only the SNMP agent has write access.
+Failure to properly protect write access to the local script storage
+area can allow attackers to execute arbitrary code in runtime systems
+that might have special privileges.
 
 The SMX protocol allows to execute script under different operating
 system and runtime system security profiles. The memo suggests to map
 the smLaunchOwner value to an operating system and a runtime system
 security profile. The operating system security profile is enforced by
 the operating system by setting up a proper process environment. The
 runtime security profile is enforced by a secure runtime system
 (e.g. the Java virtual machine or a safe Tcl interpreter) [7].
 
 .sh 1 "Changes from RFC 2593"
@@ -981,29 +1036,38 @@
 asynchronously by runtime engines to report error conditions.
 .ip "   2." 8
 Added the `538' reply which can be used to signal the (normal or
 abnormal) termination of a running script. This new reply replaces the
 `534' and `535' replies, which are now deprecated.
 .ip "   3." 8
 Relaxed the rules for ProfileChars to also include the characters ':'
 and '_', which are frequently used in namespaces and identifiers.
 .ip "   4." 8
 Changed the SMX protocol version number from 1.0 to 1.1.
+.ip "   5." 8
+Added a second (and prefered) transport over a bi-directional pipe due
+to security risks when a shared secret is passed through an operating
+system's environment variable.
+.ip "   6." 8
+Made the `Authenticator' in the `211' reply optional.
 
 .sh 1 "Acknowledgments"
 .PP
 The protocol described in this memo is the result of a joint project
 between the Technical University of Braunschweig and C&C Research
 Laboratories of NEC Europe Ltd. in Heidelberg. The authors like to
 thank Matthias Bolz, Cornelia Kappler, Andreas Kind, Sven Mertens, Jan
 Nicklisch, and Frank Strauss for their contributions to the design and
-the implementation of the protocol described in this memo.
+the implementation of the protocol described in this memo.  The
+authors also like to thank David Wallis for pointing out a security
+risk in SMX 1.0 with passing a cookie via an operating system
+environment variable.
 
 .sh 1 "References"
 .ip [1]
 Levi, D., and J. Schoenwaelder, \*(lqDefinitions of Managed Objects for the
 Delegation of Management Scripts\*(rq, RFC xxxx, xxx 2001.
 .ip [2]
 Lindholm, T., and F. Yellin, \*(lqThe Java Virtual Machine 
 Specification\*(rq, Addison Wesley, 1997.
 .ip [3]
 J.K. Ousterhout, \*(lqTcl and the Tk Toolkit\*(rq, Addison Wesley, 1994.


From owner-disman@dorothy.bmc.com  Thu Jun 28 19:43:42 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA25772
	for <disman-archive@odin.ietf.org>; Thu, 28 Jun 2001 19:43:41 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5SNgdJ19139;
	Thu, 28 Jun 2001 18:42:40 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA11738
	for disman-list; Thu, 28 Jun 2001 16:39:19 -0700 (PDT)
Received: (from rpresuhn@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id QAA11731
	for disman@dorothy.bmc.com; Thu, 28 Jun 2001 16:39:15 -0700 (PDT)
Date: Thu, 28 Jun 2001 16:39:15 -0700 (PDT)
From: Randy Presuhn <rpresuhn@dorothy.bmc.com>
Message-Id: <200106282339.QAA11731@dorothy.bmc.com>
To: disman@dorothy.bmc.com
Subject: Re: script extensibility I-D
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>
X-MIME-Autoconverted: from 8bit to quoted-printable by babbler.bmc.com id f5SNgdJ19139
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id TAA25772

Hi -

> From: Frank Strauss <strauss@ibr.cs.tu-bs.de>
> To: "S.R. Venkatramanan" <S.R.Venkatramanan@sun.com>
> Cc: disman@dorothy.bmc.com
> Subject: Re: script extensibility I-D
> References: <200106271926.MAA10005@phys-ha2mtva.Eng.Sun.COM>
> Date: 28 Jun 2001 09:55:24 +0200
> In-Reply-To: <200106271926.MAA10005@phys-ha2mtva.Eng.Sun.COM>
> Message-ID: <ypwg0clqbrn.fsf@hansa.ibr.cs.tu-bs.de>
...
> Note that there is no wire, no remote, no network. The problem is
> as simple as starting a child process on the _local_ host and making
> it read and execute a given script.
> 
> So, your argumentation is out of scope. ;-)
...

With respect to the SMX updates Juergen is proposing, yes.

With respect to RFC 2592, which can pass around scripts as
URL references, the argumentation probably DOES apply, though
RFC 2592's security considerations section's last paragraph
leaves it as an exercise for the reader.

Regarding the decision to drop TCP from SMX in favor of
limiting it to stdin, it feels to me like a baby was tossed
out with the bathwater, at least for multi-processor systems
where local inter-processor communication is done over TCP/IP,
as in some popular embedded environments.  However, the
reliance on environment variables would still be a problem,
so getting it to work on those platforms would require taking
another look at how to establish trustworthy communication
channels between execution engines and the "agent".

An interesting problem.  I'm glad the WG doesn't have to
solve it.  :-)

 ------------------------------------------------------
 Randy Presuhn          BMC Software, Inc.  1-3141
 randy_presuhn@bmc.com  2141 North First Street
 Tel: +1 408 546-1006   San José, California 95131  USA
 ------------------------------------------------------
 My opinions and BMC's are independent variables.
 ------------------------------------------------------


From owner-disman@dorothy.bmc.com  Fri Jun 29 03:22:35 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id DAA23610
	for <disman-archive@odin.ietf.org>; Fri, 29 Jun 2001 03:22:34 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5T7M4l18734;
	Fri, 29 Jun 2001 02:22:04 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id AAA27483
	for disman-list; Fri, 29 Jun 2001 00:19:32 -0700 (PDT)
Received: from tattler.bmc.com (tattler.bmc.com [172.17.0.117])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id AAA27477;
	Fri, 29 Jun 2001 00:19:27 -0700 (PDT)
Received: from mx-us-hou-1-int.bmc.com (localhost [127.0.0.1])
	by tattler.bmc.com (8.10.2/8.10.2) with ESMTP id f5T7Jw416534;
	Fri, 29 Jun 2001 02:19:58 -0500 (CDT)
Received: from mumm.ibr.cs.tu-bs.de (mumm.ibr.cs.tu-bs.de [134.169.34.190])
	by mx-us-hou-1-int.bmc.com (Postfix) with SMTP
	id E22061FF009; Fri, 29 Jun 2001 07:16:47 -0500 (CDT)
Received: from henkell.ibr.cs.tu-bs.de (schoenw@henkell [134.169.34.191])
	by mumm.ibr.cs.tu-bs.de (8.9.3/8.9.0) with ESMTP id JAA24704;
	Fri, 29 Jun 2001 09:20:20 +0200 (MET DST)
Received: from schoenw@localhost by henkell.ibr.cs.tu-bs.de (8.7.6/tubsibr) id JAA07207; Fri, 29 Jun 2001 09:20:20 +0200
Date: Fri, 29 Jun 2001 09:20:20 +0200
Message-Id: <200106290720.JAA07207@henkell.ibr.cs.tu-bs.de>
From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
To: rpresuhn@dorothy.bmc.com
Cc: disman@dorothy.bmc.com
In-reply-to: <200106282339.QAA11731@dorothy.bmc.com> (message from Randy
	Presuhn on Thu, 28 Jun 2001 16:39:15 -0700 (PDT))
Subject: Re: script extensibility I-D
References:  <200106282339.QAA11731@dorothy.bmc.com>
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>


>>>>> Randy Presuhn writes:

Randy> Regarding the decision to drop TCP from SMX in favor of
Randy> limiting it to stdin, it feels to me like a baby was tossed out
Randy> with the bathwater, at least for multi-processor systems where
Randy> local inter-processor communication is done over TCP/IP, as in
Randy> some popular embedded environments.  However, the reliance on
Randy> environment variables would still be a problem, so getting it
Randy> to work on those platforms would require taking another look at
Randy> how to establish trustworthy communication channels between
Randy> execution engines and the "agent".

The updated ID which should show up soon defines two transports - one
over a bi-directional pipe and one over TCP. The TCP definition does
however not dictate anymore how the runtime system gets access to its
security cookie (which we now call an authenticator). So it is kind of
implementation specific how this problem is solved.

I think this is the best we can do. Our implementation supports both
transports, although the bi-directional pipe is now the default.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>




From owner-disman@dorothy.bmc.com  Fri Jun 29 21:38:14 2001
Received: from babbler.bmc.com (firebird.bmc.com [198.207.223.228])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA00578
	for <disman-archive@odin.ietf.org>; Fri, 29 Jun 2001 21:38:14 -0400 (EDT)
Received: from dorothy.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5U1TRp06024;
	Fri, 29 Jun 2001 20:29:28 -0500 (CDT)
Received: (from root@localhost)
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) id SAA26924
	for disman-list; Fri, 29 Jun 2001 18:25:07 -0700 (PDT)
Received: from babbler.bmc.com (babbler.bmc.com [172.17.0.116])
	by dorothy.bmc.com (8.8.6 (PHNE_12836)/8.8.6) with ESMTP id SAA26775;
	Fri, 29 Jun 2001 18:24:56 -0700 (PDT)
Received: from ec02-hou.bmc.com (localhost [127.0.0.1])
	by babbler.bmc.com (8.10.2/8.10.2) with ESMTP id f5U1Qrj05889;
	Fri, 29 Jun 2001 20:26:53 -0500 (CDT)
Received: by EC02-HOU.bmc.com with Internet Mail Service (5.5.2653.19)
	id <NH92R2LQ>; Fri, 29 Jun 2001 20:26:12 -0500
Message-ID: <D77353F1D8FCD411AC3400105A640BB5016A16D4@es01-sjc.bmc.com>
From: "Wallis, David" <David_Wallis@bmc.com>
To: Randy Presuhn <rpresuhn@dorothy.bmc.com>, disman@dorothy.bmc.com
Subject: RE: script extensibility I-D
Date: Fri, 29 Jun 2001 20:26:10 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-disman@dorothy.bmc.com
Precedence: bulk
List-Id: IETF disman Working Group mailing list <disman.dorothy.bmc.com>

>From: Randy Presuhn [mailto:rpresuhn@dorothy.bmc.com]
>That part of the puzzle is in RFC 2592, whose update is in
>the queue as <draft-ietf-disman-script-mib-v2-03.txt>

I didn't find such a draft. But I did find
http://www.ietf.org/rfc/rfc2592.txt
which answers some questions, but generates some as well.

1) I notice that the principal updating smLaunchStart is not required to be
the same as smLaunchOwner. Assuming this is deliberate, in effect all
scripts are run setuid as smLaunchOwner. I.e. they run with the security
profile associated not with the person that pushed the launch button, but
the person who defined the launch button. This seems undesirable in that it
is unexpected behavior.

2) The principal performing the set operation (on smLaunchStart) must have
read access to the script. This too seems undesirable. In a production
environment there are many vendors who would desire if at all possible that
their scripts be stored such that they may be executed but not read. This
coupling of execute access with read privilege means that snmp does not
support such a concept as execute-only scripts. 

3) The implementation is made further awkward in that all columnar objects
in the smScriptTable (except `not-accessible') must be checked for read
access rather than having a single column serve as a surrogate for the
entire row, or having a row-oriented operation.

4) "A compliant implementation does not have to support script suspension
and the smRunState `suspended'. Such an implementation will change into the
`suspending' state when the smRunControl is set to `suspend' and remain in
this state until smRunControl is set to `resume' or the script terminates."
This is bad design because you get the same response whether suspend is
supported or not, therefore you don't know whether the `suspending' state
actually means that a suspension is imminent or it is not imminent. It would
seem better design to require that an implementation not supporting suspend
should say so with an appropriate error code in response to the suspend
command.

5) In section 5.3 there is an apparent typo in "The Script MIB
implementation reloads the modified script code once the smScriptOperStatus
changes to `enabled' again." I believe it should reload in response to
smScriptAdminStatus being set, not smScriptOperStatus which should be set
once the reload is complete.

6) The design decouples the ownership of a script from the principal under
whos security profile it will execute, as well as the one actually
requesting this particular run. Is this really desirable? How can effective
control over the use of your security profile be maintained when you are not
in control of either the script to be executed or the timing of the
execution? There are no controls that say, for example, if the script
changes then the launch button is invalidated, or the launch button is valid
for a limited time period only, and then expires.

7) There is also the interesting problem of what to do when the principal
who updates a script is not the one who originally created it. Because of
the requirement that managers be able to name their scripts without clashes,
the owner is made a qualifier of the name. Thus, when ownership changes
hands, all script names change, and all launch buttons must be updated. If a
team of sysadmins all need to make changes to a large body of scripts as a
joint effort, this becomes a nightmare.

David Wallis


