Blame mibs/ietf/MIDCOM-MIB

Packit 022b05
MIDCOM-MIB DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
IMPORTS
Packit 022b05
    MODULE-IDENTITY, OBJECT-TYPE,
Packit 022b05
    NOTIFICATION-TYPE, Unsigned32,
Packit 022b05
    Counter32, Gauge32, mib-2
Packit 022b05
        FROM SNMPv2-SMI                  -- RFC 2578
Packit 022b05
Packit 022b05
    TEXTUAL-CONVENTION, TruthValue,
Packit 022b05
    StorageType, RowStatus
Packit 022b05
        FROM SNMPv2-TC                   -- RFC 2579
Packit 022b05
Packit 022b05
    MODULE-COMPLIANCE, OBJECT-GROUP,
Packit 022b05
    NOTIFICATION-GROUP
Packit 022b05
        FROM SNMPv2-CONF                 -- RFC 2580
Packit 022b05
Packit 022b05
    SnmpAdminString
Packit 022b05
        FROM SNMP-FRAMEWORK-MIB          -- RFC 3411
Packit 022b05
Packit 022b05
    InetAddressType, InetAddress,
Packit 022b05
    InetPortNumber,
Packit 022b05
    InetAddressPrefixLength
Packit 022b05
        FROM INET-ADDRESS-MIB            -- RFC 4001
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    InterfaceIndexOrZero
Packit 022b05
        FROM IF-MIB                      -- RFC 2863
Packit 022b05
Packit 022b05
    NatBindIdOrZero
Packit 022b05
        FROM NAT-MIB;                    -- RFC 4008
Packit 022b05
Packit 022b05
midcomMIB MODULE-IDENTITY
Packit 022b05
    LAST-UPDATED "200708091011Z"  -- August 09, 2007
Packit 022b05
    ORGANIZATION "IETF Middlebox Communication Working Group"
Packit 022b05
    CONTACT-INFO
Packit 022b05
       "WG charter:
Packit 022b05
          http://www.ietf.org/html.charters/midcom-charter.html
Packit 022b05
Packit 022b05
        Mailing Lists:
Packit 022b05
          General Discussion: midcom@ietf.org
Packit 022b05
          To Subscribe: midcom-request@ietf.org
Packit 022b05
          In Body: subscribe your_email_address
Packit 022b05
Packit 022b05
        Co-editor:
Packit 022b05
          Juergen Quittek
Packit 022b05
          NEC Europe Ltd.
Packit 022b05
          Kurfuersten-Anlage 36
Packit 022b05
          69115 Heidelberg
Packit 022b05
          Germany
Packit 022b05
          Tel: +49 6221 4342-115
Packit 022b05
          Email: quittek@nw.neclab.eu
Packit 022b05
Packit 022b05
        Co-editor:
Packit 022b05
          Martin Stiemerling
Packit 022b05
          NEC Europe Ltd.
Packit 022b05
          Kurfuersten-Anlage 36
Packit 022b05
          69115 Heidelberg
Packit 022b05
          Germany
Packit 022b05
          Tel: +49 6221 4342-113
Packit 022b05
          Email: stiemerling@nw.neclab.eu
Packit 022b05
Packit 022b05
        Co-editor:
Packit 022b05
          Pyda Srisuresh
Packit 022b05
          Kazeon Systems, Inc.
Packit 022b05
          1161 San Antonio Rd.
Packit 022b05
          Mountain View, CA 94043
Packit 022b05
          U.S.A.
Packit 022b05
          Tel: +1 408 836-4773
Packit 022b05
          Email: srisuresh@yahoo.com"
Packit 022b05
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This MIB module defines a set of basic objects for
Packit 022b05
         configuring middleboxes, such as firewalls and network
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         address translators, in order to enable communication
Packit 022b05
         across these devices.
Packit 022b05
Packit 022b05
         Managed objects defined in this MIB module are structured
Packit 022b05
         in three kinds of objects:
Packit 022b05
           - transaction objects required according to the MIDCOM
Packit 022b05
             protocol requirements defined in RFC 3304 and according
Packit 022b05
             to the MIDCOM protocol semantics defined in RFC 3989,
Packit 022b05
           - configuration objects that can be used for retrieving or
Packit 022b05
             setting parameters of the implementation of transaction
Packit 022b05
             objects,
Packit 022b05
           - optional monitoring objects that provide information
Packit 022b05
             about used resource and statistics
Packit 022b05
Packit 022b05
         The transaction objects are organized in two subtrees:
Packit 022b05
           - objects modeling MIDCOM policy rules in the
Packit 022b05
             midcomRuleTable
Packit 022b05
           - objects modeling MIDCOM policy rule groups in the
Packit 022b05
             midcomGroupTable
Packit 022b05
Packit 022b05
         Note that typically, configuration objects are not intended
Packit 022b05
         to be written by MIDCOM clients.  In general, write access
Packit 022b05
         to these objects needs to be restricted more strictly than
Packit 022b05
         write access to objects in the transaction subtrees.
Packit 022b05
Packit 022b05
         Copyright (C) The Internet Society (2008).  This version
Packit 022b05
         of this MIB module is part of RFC 5190;  see the RFC
Packit 022b05
         itself for full legal notices."
Packit 022b05
Packit 022b05
    REVISION    "200708091011Z"  -- August 09, 2007
Packit 022b05
    DESCRIPTION "Initial version, published as RFC 5190."
Packit 022b05
    ::= { mib-2 171 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- main components of this MIB module
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomNotifications   OBJECT IDENTIFIER ::= { midcomMIB 0 }
Packit 022b05
midcomObjects         OBJECT IDENTIFIER ::= { midcomMIB 1 }
Packit 022b05
midcomConformance     OBJECT IDENTIFIER ::= { midcomMIB 2 }
Packit 022b05
Packit 022b05
--  Transaction objects required according to the MIDCOM
Packit 022b05
--  protocol requirements defined in RFC 3304 and according to
Packit 022b05
--  the MIDCOM protocol semantics defined in RFC 3989
Packit 022b05
midcomTransaction     OBJECT IDENTIFIER ::= { midcomObjects 1 }
Packit 022b05
Packit 022b05
--  Configuration objects that can be used for retrieving
Packit 022b05
--  middlebox capability information (mandatory) and for
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
--  setting parameters of the implementation of transaction
Packit 022b05
--  objects (optional)
Packit 022b05
midcomConfig   OBJECT IDENTIFIER ::= { midcomObjects 2 }
Packit 022b05
Packit 022b05
--  Optional monitoring objects that provide information about
Packit 022b05
--  used resource and statistics
Packit 022b05
midcomMonitoring      OBJECT IDENTIFIER ::= { midcomObjects 3 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Transaction Objects
Packit 022b05
--
Packit 022b05
-- Transaction objects are structured according to the MIDCOM
Packit 022b05
-- protocol semantics into two groups:
Packit 022b05
--   - objects modeling MIDCOM policy rules in the midcomRuleTable
Packit 022b05
--   - objects modeling MIDCOM policy rule groups in the
Packit 022b05
--     midcomGroupTable
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Policy rule subtree
Packit 022b05
--
Packit 022b05
-- The midcomRuleTable lists policy rules
Packit 022b05
-- including policy reserve rules and policy enable rules.
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomRuleTable OBJECT-TYPE
Packit 022b05
    SYNTAX      SEQUENCE OF MidcomRuleEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This table lists policy rules.
Packit 022b05
Packit 022b05
         It is indexed by the midcomRuleOwner, the
Packit 022b05
         midcomGroupIndex, and the midcomRuleIndex.
Packit 022b05
         This implies that a rule is a member of exactly
Packit 022b05
         one group and that group membership cannot
Packit 022b05
         be changed.
Packit 022b05
Packit 022b05
         Entries can be deleted by writing to
Packit 022b05
         midcomGroupLifetime or midcomRuleLifetime
Packit 022b05
         and potentially also to midcomRuleStorageTime."
Packit 022b05
    ::= { midcomTransaction 3 }
Packit 022b05
Packit 022b05
midcomRuleEntry OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomRuleEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An entry describing a particular MIDCOM policy rule."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    INDEX { midcomRuleOwner, midcomGroupIndex, midcomRuleIndex }
Packit 022b05
    ::= { midcomRuleTable 1 }
Packit 022b05
Packit 022b05
MidcomRuleEntry ::= SEQUENCE {
Packit 022b05
    midcomRuleOwner                   SnmpAdminString,
Packit 022b05
    midcomRuleIndex                   Unsigned32,
Packit 022b05
    midcomRuleAdminStatus             INTEGER,
Packit 022b05
    midcomRuleOperStatus              INTEGER,
Packit 022b05
    midcomRuleStorageType             StorageType,
Packit 022b05
    midcomRuleStorageTime             Unsigned32,
Packit 022b05
    midcomRuleError                   SnmpAdminString,
Packit 022b05
    midcomRuleInterface               InterfaceIndexOrZero,
Packit 022b05
    midcomRuleFlowDirection           INTEGER,
Packit 022b05
    midcomRuleMaxIdleTime             Unsigned32,
Packit 022b05
    midcomRuleTransportProtocol       Unsigned32,
Packit 022b05
    midcomRulePortRange               INTEGER,
Packit 022b05
    midcomRuleInternalIpVersion       InetAddressType,
Packit 022b05
    midcomRuleExternalIpVersion       InetAddressType,
Packit 022b05
    midcomRuleInternalIpAddr          InetAddress,
Packit 022b05
    midcomRuleInternalIpPrefixLength  InetAddressPrefixLength,
Packit 022b05
    midcomRuleInternalPort            InetPortNumber,
Packit 022b05
    midcomRuleExternalIpAddr          InetAddress,
Packit 022b05
    midcomRuleExternalIpPrefixLength  InetAddressPrefixLength,
Packit 022b05
    midcomRuleExternalPort            InetPortNumber,
Packit 022b05
    midcomRuleInsideIpAddr            InetAddress,
Packit 022b05
    midcomRuleInsidePort              InetPortNumber,
Packit 022b05
    midcomRuleOutsideIpAddr           InetAddress,
Packit 022b05
    midcomRuleOutsidePort             InetPortNumber,
Packit 022b05
    midcomRuleLifetime                Unsigned32,
Packit 022b05
    midcomRuleRowStatus               RowStatus
Packit 022b05
}
Packit 022b05
Packit 022b05
midcomRuleOwner OBJECT-TYPE
Packit 022b05
    SYNTAX      SnmpAdminString (SIZE (0..32))
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The manager who owns this row in the midcomRuleTable.
Packit 022b05
Packit 022b05
         This object SHOULD uniquely identify an authenticated
Packit 022b05
         MIDCOM client.  This object is part of the table index to
Packit 022b05
         allow for the use of the SNMPv3 View-based Access Control
Packit 022b05
         Model (VACM, RFC 3415)."
Packit 022b05
    ::= { midcomRuleEntry 1 }
Packit 022b05
Packit 022b05
midcomRuleIndex OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32 (1..4294967295)
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of this object must be unique in
Packit 022b05
         combination with the values of the objects
Packit 022b05
         midcomRuleOwner and midcomGroupIndex in this row."
Packit 022b05
    ::= { midcomRuleEntry 3 }
Packit 022b05
Packit 022b05
midcomRuleAdminStatus OBJECT-TYPE
Packit 022b05
    SYNTAX      INTEGER {
Packit 022b05
                    reserve(1),
Packit 022b05
                    enable(2),
Packit 022b05
                    notSet(3)
Packit 022b05
                }
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of this object indicates the desired status of
Packit 022b05
         the policy rule.  See the definition of midcomRuleOperStatus
Packit 022b05
         for a description of the values.
Packit 022b05
Packit 022b05
         When a midcomRuleEntry is created without explicitly setting
Packit 022b05
         this object, its value will be notSet(3).
Packit 022b05
Packit 022b05
         However, a SET request can only set this object to either
Packit 022b05
         reserve(1) or enable(2).  Attempts to set this object to
Packit 022b05
         notSet(3) will always fail with an 'inconsistentValue'
Packit 022b05
         error.  Note that this error code is SNMP specific.  If the
Packit 022b05
         MIB module is used with other protocols than SNMP, errors
Packit 022b05
         with similar semantics specific to those protocols should
Packit 022b05
         be returned.
Packit 022b05
Packit 022b05
         When the midcomRuleAdminStatus object is set, then the
Packit 022b05
         MIDCOM-MIB implementation will try to read the respective
Packit 022b05
         relevant objects of the entry and try to achieve the
Packit 022b05
         corresponding midcomRuleOperStatus.
Packit 022b05
Packit 022b05
         Setting midcomRuleAdminStatus to value reserve(1) when
Packit 022b05
         object midcomRuleOperStatus has a value of reserved(7)
Packit 022b05
         does not have any effect on the policy rule.
Packit 022b05
         Setting midcomRuleAdminStatus to value enable(2) when
Packit 022b05
         object midcomRuleOperStatus has a value of enabled(8)
Packit 022b05
         does not have any effect on the policy rule.
Packit 022b05
Packit 022b05
         Depending on whether the midcomRuleAdminStatus is set to
Packit 022b05
         reserve(1) or enable(2), several objects must be set in
Packit 022b05
         advance.  They serve as parameters of the policy rule to be
Packit 022b05
         established.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         When object midcomRuleAdminStatus is set to reserve(1),
Packit 022b05
         then the following objects in the same entry are of
Packit 022b05
         relevance:
Packit 022b05
             - midcomRuleInterface
Packit 022b05
             - midcomRuleTransportProtocol
Packit 022b05
             - midcomRulePortRange
Packit 022b05
             - midcomRuleInternalIpVersion
Packit 022b05
             - midcomRuleExternalIpVersion
Packit 022b05
             - midcomRuleInternalIpAddr
Packit 022b05
             - midcomRuleInternalIpPrefixLength
Packit 022b05
             - midcomRuleInternalPort
Packit 022b05
             - midcomRuleLifetime
Packit 022b05
Packit 022b05
         MIDCOM-MIB implementation may also consider the value
Packit 022b05
         of object midcomRuleMaxIdleTime when establishing
Packit 022b05
         a reserve rule.
Packit 022b05
Packit 022b05
         When object midcomRuleAdminStatus is set to enable(2),
Packit 022b05
         then the following objects in the same entry are of
Packit 022b05
         relevance:
Packit 022b05
             - midcomRuleInterface
Packit 022b05
             - midcomRuleFlowDirection
Packit 022b05
             - midcomRuleMaxIdleTime
Packit 022b05
             - midcomRuleTransportProtocol
Packit 022b05
             - midcomRulePortRange
Packit 022b05
             - midcomRuleInternalIpVersion
Packit 022b05
             - midcomRuleExternalIpVersion
Packit 022b05
             - midcomRuleInternalIpAddr
Packit 022b05
             - midcomRuleInternalIpPrefixLength
Packit 022b05
             - midcomRuleInternalPort
Packit 022b05
             - midcomRuleExternalIpAddr
Packit 022b05
             - midcomRuleExternalIpPrefixLength
Packit 022b05
             - midcomRuleExternalPort
Packit 022b05
             - midcomRuleLifetime
Packit 022b05
Packit 022b05
         When retrieved, the object returns the last set value.
Packit 022b05
         If no value has been set, it returns the default value
Packit 022b05
         notSet(3)."
Packit 022b05
    DEFVAL { notSet }
Packit 022b05
    ::= { midcomRuleEntry 4 }
Packit 022b05
Packit 022b05
midcomRuleOperStatus OBJECT-TYPE
Packit 022b05
    SYNTAX      INTEGER {
Packit 022b05
                    newEntry(1),
Packit 022b05
                    setting(2),
Packit 022b05
                    checkingRequest(3),
Packit 022b05
                    incorrectRequest(4),
Packit 022b05
                    processingRequest(5),
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
                    requestRejected(6),
Packit 022b05
                    reserved(7),
Packit 022b05
                    enabled(8),
Packit 022b05
                    timedOut(9),
Packit 022b05
                    terminatedOnRequest(10),
Packit 022b05
                    terminated(11),
Packit 022b05
                    genericError(12)
Packit 022b05
                }
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The actual status of the policy rule.  The
Packit 022b05
         midcomRuleOperStatus object may have the following values:
Packit 022b05
Packit 022b05
         - newEntry(1) indicates that the entry in the
Packit 022b05
           midcomRuleTable was created, but not modified yet.
Packit 022b05
           Such an entry needs to be filled with values specifying
Packit 022b05
           a request first.
Packit 022b05
Packit 022b05
         - setting(2) indicates that the entry has been already
Packit 022b05
           modified after generating it, but no request was made
Packit 022b05
           yet.
Packit 022b05
Packit 022b05
         - checkingRequest(3) indicates that midcomRuleAdminStatus
Packit 022b05
           has recently been set and that the MIDCOM-MIB
Packit 022b05
           implementation is currently checking the parameters of
Packit 022b05
           the request.  This is a transient state.  The value of
Packit 022b05
           this object will change to either incorrectRequest(4)
Packit 022b05
           or processingRequest(5) without any external
Packit 022b05
           interaction.  A MIDCOM-MIB implementation MAY return
Packit 022b05
           this value while checking request parameters.
Packit 022b05
Packit 022b05
         - incorrectRequest(4) indicates that checking a request
Packit 022b05
           resulted in detecting an incorrect value in one of the
Packit 022b05
           objects containing request parameters.  The failure
Packit 022b05
           reason is indicated by the value of midcomRuleError.
Packit 022b05
Packit 022b05
         - processingRequest(5) indicates that
Packit 022b05
           midcomRuleAdminStatus has recently been set and that
Packit 022b05
           the MIDCOM-MIB implementation is currently processing
Packit 022b05
           the request and trying to configure the middlebox
Packit 022b05
           accordingly.  This is a transient state.  The value of
Packit 022b05
           this object will change to either requestRejected(6),
Packit 022b05
           reserved(7), or enabled(8) without any external
Packit 022b05
           interaction.  A MIDCOM-MIB implementation MAY return
Packit 022b05
           this value while processing a request.
Packit 022b05
Packit 022b05
         - requestRejected(6) indicates that a request to establish
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
           a policy rule specified by the entry was rejected.  The
Packit 022b05
           reason for rejection is indicated by the value of
Packit 022b05
           midcomRuleError.
Packit 022b05
Packit 022b05
         - reserved(7) indicates that the entry describes an
Packit 022b05
           established policy reserve rule.
Packit 022b05
           These values of MidcomRuleEntry are meaningful
Packit 022b05
           for a reserved policy rule:
Packit 022b05
               - midcomRuleMaxIdleTime
Packit 022b05
               - midcomRuleInterface
Packit 022b05
               - midcomRuleTransportProtocol
Packit 022b05
               - midcomRulePortRange
Packit 022b05
               - midcomRuleInternalIpVersion
Packit 022b05
               - midcomRuleExternalIpVersion
Packit 022b05
               - midcomRuleInternalIpAddr
Packit 022b05
               - midcomRuleInternalIpPrefixLength
Packit 022b05
               - midcomRuleInternalPort
Packit 022b05
               - midcomRuleOutsideIpAddr
Packit 022b05
               - midcomRuleOutsidePort
Packit 022b05
               - midcomRuleLifetime
Packit 022b05
Packit 022b05
         - enabled(8) indicates that the entry describes an
Packit 022b05
           established policy enable rule.
Packit 022b05
           These values of MidcomRuleEntry are meaningful
Packit 022b05
           for an enabled policy rule:
Packit 022b05
Packit 022b05
               - midcomRuleFlowDirection
Packit 022b05
               - midcomRuleInterface
Packit 022b05
               - midcomRuleMaxIdleTime
Packit 022b05
               - midcomRuleTransportProtocol
Packit 022b05
               - midcomRulePortRange
Packit 022b05
               - midcomRuleInternalIpVersion
Packit 022b05
               - midcomRuleExternalIpVersion
Packit 022b05
               - midcomRuleInternalIpAddr
Packit 022b05
               - midcomRuleInternalIpPrefixLength
Packit 022b05
               - midcomRuleInternalPort
Packit 022b05
               - midcomRuleExternalIpAddr
Packit 022b05
               - midcomRuleExternalIpPrefixLength
Packit 022b05
               - midcomRuleExternalPort
Packit 022b05
               - midcomRuleInsideIpAddr
Packit 022b05
               - midcomRuleInsidePort
Packit 022b05
               - midcomRuleOutsideIpAddr
Packit 022b05
               - midcomRuleOutsidePort
Packit 022b05
               - midcomRuleLifetime
Packit 022b05
Packit 022b05
         - timedOut(9) indicates that the lifetime of a previously
Packit 022b05
           established policy rule has expired and that the policy
Packit 022b05
           rule is terminated for this reason.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         - terminatedOnRequest(10) indicates that a previously
Packit 022b05
           established policy rule was terminated by an SNMP
Packit 022b05
           manager setting the midcomRuleLifetime to 0 or
Packit 022b05
           setting midcomGroupLifetime to 0.
Packit 022b05
Packit 022b05
         - terminated(11) indicates that a previously established
Packit 022b05
           policy rule was terminated by the MIDCOM-MIB
Packit 022b05
           implementation for a reason other than lifetime
Packit 022b05
           expiration or an explicit request from a MIDCOM client.
Packit 022b05
Packit 022b05
         - genericError(12) indicates that the policy rule
Packit 022b05
           specified by the entry is not established due to
Packit 022b05
           an error condition not listed above.
Packit 022b05
Packit 022b05
         The states timedOut(9), terminatedOnRequest(10), and
Packit 022b05
         terminated(11) are referred to as termination states.
Packit 022b05
Packit 022b05
         The states incorrectRequest(4), requestRejected(6),
Packit 022b05
         and genericError(12) are referred to as error states.
Packit 022b05
Packit 022b05
         The checkingRequest(3) and processingRequest(5)
Packit 022b05
         states are transient states, which will lead to either
Packit 022b05
         one of the error states or the reserved(7) state or the
Packit 022b05
         enabled(8) state.  MIDCOM-MIB implementations MAY return
Packit 022b05
         these values when checking or processing requests."
Packit 022b05
    DEFVAL { newEntry }
Packit 022b05
    ::= { midcomRuleEntry 5 }
Packit 022b05
Packit 022b05
midcomRuleStorageType OBJECT-TYPE
Packit 022b05
    SYNTAX      StorageType
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "When retrieved, this object returns the storage
Packit 022b05
         type of the policy rule.  Writing to this object can
Packit 022b05
         change the storage type of the particular row from
Packit 022b05
         volatile(2) to nonVolatile(3) or vice versa.
Packit 022b05
Packit 022b05
         Attempts to set this object to permanent will always
Packit 022b05
         fail with an 'inconsistentValue' error.  Note that this
Packit 022b05
         error code is SNMP specific.  If the MIB module is used
Packit 022b05
         with other protocols than SNMP, errors with similar
Packit 022b05
         semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If midcomRuleStorageType has the value permanent(4),
Packit 022b05
         then all objects in this row whose MAX-ACCESS value
Packit 022b05
         is read-create must be read-only."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    DEFVAL { volatile }
Packit 022b05
    ::= { midcomRuleEntry 6 }
Packit 022b05
Packit 022b05
midcomRuleStorageTime OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    UNITS       "seconds"
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of this object specifies how long this row
Packit 022b05
         can exist in the midcomRuleTable after the
Packit 022b05
         midcomRuleOperStatus switched to a termination state or
Packit 022b05
         to an error state.  This object returns the remaining
Packit 022b05
         time that the row may exist before it is aged out.
Packit 022b05
Packit 022b05
         After expiration or termination of the context, the value
Packit 022b05
         of this object ticks backwards.  The entry in the
Packit 022b05
         midcomRuleTable is destroyed when the value reaches 0.
Packit 022b05
Packit 022b05
         The value of this object may be set in order to increase
Packit 022b05
         or reduce the remaining time that the row may exist.
Packit 022b05
         Setting the value to 0 will destroy this entry as soon as
Packit 022b05
         the midcomRuleOperStatus switched to a termination state
Packit 022b05
         or to an error state.
Packit 022b05
Packit 022b05
         Note that there is no guarantee that the row is stored as
Packit 022b05
         long as this object indicates.  At any time, the MIDCOM-
Packit 022b05
         MIB implementation may decide to remove a row describing
Packit 022b05
         a terminated policy rule before the storage time of the
Packit 022b05
         corresponding row in the midcomRuleTable reaches the
Packit 022b05
         value of 0.  In this case, the information stored in this
Packit 022b05
         row is not available anymore.
Packit 022b05
Packit 022b05
         If object midcomRuleStorageType indicates that the policy
Packit 022b05
         rule has the storage type permanent(4), then this object has
Packit 022b05
         a constant value of 4294967295."
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 7 }
Packit 022b05
Packit 022b05
midcomRuleError OBJECT-TYPE
Packit 022b05
    SYNTAX      SnmpAdminString
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This object contains a descriptive error message if
Packit 022b05
         the transition into the operational status reserved(7)
Packit 022b05
         or enabled(8) failed.  Implementations must reset the
Packit 022b05
         error message to a zero-length string when a new
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         attempt to change the policy rule status to reserved(7)
Packit 022b05
         or enabled(8) is started.
Packit 022b05
Packit 022b05
         RECOMMENDED values to be returned in particular cases
Packit 022b05
         include
Packit 022b05
           - 'lack of IP addresses'
Packit 022b05
           - 'lack of port numbers'
Packit 022b05
           - 'lack of resources'
Packit 022b05
           - 'specified NAT interface does not exist'
Packit 022b05
           - 'specified NAT interface does not support NAT'
Packit 022b05
           - 'conflict with already existing policy rule'
Packit 022b05
           - 'no internal IP wildcarding allowed'
Packit 022b05
           - 'no external IP wildcarding allowed'
Packit 022b05
Packit 022b05
         The semantics of these error messages and the corresponding
Packit 022b05
         behavior of the MIDCOM-MIB implementation are specified
Packit 022b05
         in sections 2.3.9 and 2.3.10 of RFC 3989."
Packit 022b05
    REFERENCE
Packit 022b05
        "RFC 3989, sections 2.3.9 and 2.3.10"
Packit 022b05
    DEFVAL { ''H }
Packit 022b05
    ::= { midcomRuleEntry 8 }
Packit 022b05
Packit 022b05
midcomRuleInterface OBJECT-TYPE
Packit 022b05
    SYNTAX      InterfaceIndexOrZero
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This object indicates the IP interface for which
Packit 022b05
         enforcement of a policy rule is requested or performed,
Packit 022b05
         respectively.
Packit 022b05
Packit 022b05
         The interface is identified by its index in the ifTable
Packit 022b05
         (see IF-MIB in RFC 2863).  If the object has a value of 0,
Packit 022b05
         then no particular interface is indicated.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to request its preference
Packit 022b05
         concerning the interface at which it requests NAT service.
Packit 022b05
         The default value of 0 indicates that the manager does not
Packit 022b05
         have a preferred interface or does not have sufficient
Packit 022b05
         topology information for specifying one.  Writing to this
Packit 022b05
         object in any state other than newEntry(1) or setting(2)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object indicates
Packit 022b05
         the interface at which NAT service for this rule is
Packit 022b05
         performed.  If NAT service is not required for enforcing
Packit 022b05
         the policy rule, then the value of this object is 0.  Also,
Packit 022b05
         if the MIDCOM-MIB implementation cannot indicate an
Packit 022b05
         interface, because it does not have this information or
Packit 022b05
         because NAT service is not offered at a particular single
Packit 022b05
         interface, then the value of the object is 0.
Packit 022b05
Packit 022b05
         Note that the index of a particular interface in the
Packit 022b05
         ifTable may change after a re-initialization of the
Packit 022b05
         middlebox, for example, after adding another interface to
Packit 022b05
         it.  In such a case, the value of this object may change,
Packit 022b05
         but the interface referred to by the MIDCOM-MIB MUST still
Packit 022b05
         be the same.  If, after a re-initialization of the
Packit 022b05
         middlebox, the interface referred to before
Packit 022b05
         re-initialization cannot be uniquely mapped anymore to a
Packit 022b05
         particular entry in the ifTable, then the value of object
Packit 022b05
         midcomRuleOperStatus of the same entry MUST be changed to
Packit 022b05
         terminated(11).
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 9 }
Packit 022b05
Packit 022b05
midcomRuleFlowDirection OBJECT-TYPE
Packit 022b05
    SYNTAX      INTEGER {
Packit 022b05
                    inbound(1),
Packit 022b05
                    outbound(2),
Packit 022b05
                    biDirectional(3)
Packit 022b05
                }
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This parameter specifies the direction of enabled
Packit 022b05
         communication, either inbound(1), outbound(2), or
Packit 022b05
         biDirectional(3).
Packit 022b05
Packit 022b05
         The semantics of this object depends on the protocol
Packit 022b05
         the rule relates to.  If the rule is independent of
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         the transport protocol (midcomRuleTransportProtocol
Packit 022b05
         has a value of 0) or if the transport protocol is UDP,
Packit 022b05
         then the value of midcomRuleFlowDirection indicates
Packit 022b05
         the direction of packets traversing the middlebox.
Packit 022b05
Packit 022b05
         In this case, value inbound(1) indicates that packets
Packit 022b05
         are traversing from outside to inside, value outbound(2)
Packit 022b05
         indicates that packets are traversing from inside to
Packit 022b05
         outside.  For both values, inbound(1) and outbound(2)
Packit 022b05
         packets can traverse the middlebox only unidirectional.
Packit 022b05
         A bidirectional flow is indicated by value
Packit 022b05
         biDirectional(3).
Packit 022b05
Packit 022b05
         If the transport protocol is TCP, the packet flow is
Packit 022b05
         always bidirectional, but the value of
Packit 022b05
         midcomRuleFlowDirection indicates that:
Packit 022b05
Packit 022b05
           - inbound(1): bidirectional TCP packet flow.
Packit 022b05
             First packet, with TCP SYN flag set, must arrive
Packit 022b05
             at an outside interface of the middlebox.
Packit 022b05
Packit 022b05
           - outbound(2): bidirectional TCP packet flow.
Packit 022b05
             First packet, with TCP SYN flag set, must arrive
Packit 022b05
             at an inside interface of the middlebox.
Packit 022b05
Packit 022b05
           - biDirectional(3): bidirectional TCP packet flow.
Packit 022b05
             First packet, with TCP SYN flag set, may arrive
Packit 022b05
             at an inside or an outside interface of the middlebox.
Packit 022b05
Packit 022b05
         This object is used as input to a request for
Packit 022b05
         establishing a policy enable rule as well as for
Packit 022b05
         indicating the properties of an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either newEntry(1), setting(2), or reserved(7),
Packit 022b05
         then this object can be written by a manager in order to
Packit 022b05
         specify a requested direction to be enabled by a policy
Packit 022b05
         rule.  Writing to this object in any state other than
Packit 022b05
         newEntry(1), setting(2), or reserved(7) will always fail
Packit 022b05
         with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value enabled(8), then this object indicates the enabled
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         flow direction.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { outbound }
Packit 022b05
    ::= { midcomRuleEntry 10 }
Packit 022b05
Packit 022b05
midcomRuleMaxIdleTime OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    UNITS       "seconds"
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "Maximum idle time of the policy rule in seconds.
Packit 022b05
Packit 022b05
         If no packet to which the policy rule applies passes the
Packit 022b05
         middlebox for the specified midcomRuleMaxIdleTime, then
Packit 022b05
         the policy rule enters the termination state timedOut(9).
Packit 022b05
Packit 022b05
         A value of 0 indicates that the policy does not require
Packit 022b05
         an individual idle time and that instead, a default idle
Packit 022b05
         time chosen by the middlebox is used.
Packit 022b05
Packit 022b05
         A value of 4294967295 ( = 2^32 - 1 ) indicates that the
Packit 022b05
         policy does not time out if it is idle.
Packit 022b05
Packit 022b05
         This object is used as input to a request for
Packit 022b05
         establishing a policy enable rule as well as for
Packit 022b05
         indicating the properties of an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either newEntry(1), setting(2), or reserved(7),
Packit 022b05
         then this object can be written by a manager in order to
Packit 022b05
         specify a maximum idle time for the policy rule to be
Packit 022b05
         requested.  Writing to this object in any state others
Packit 022b05
         than newEntry(1), setting(2), or reserved(7) will always
Packit 022b05
         fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value enabled(8), then this object indicates the maximum
Packit 022b05
         idle time of the policy rule.  Note that even if a maximum
Packit 022b05
         idle time greater than zero was requested, the middlebox
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         may not be able to support maximum idle times and set the
Packit 022b05
         value of this object to zero when entering state
Packit 022b05
         enabled(8).
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 11 }
Packit 022b05
Packit 022b05
midcomRuleTransportProtocol OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32 (0..255)
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The transport protocol.
Packit 022b05
Packit 022b05
         Valid values for midcomRuleTransportProtocol
Packit 022b05
         other than zero are defined at:
Packit 022b05
         http://www.iana.org/assignments/protocol-numbers
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either newEntry(1) or setting(2), then this
Packit 022b05
         object can be written by a manager in order to specify a
Packit 022b05
         requested transport protocol.  If translation of an IP
Packit 022b05
         address only is requested, then this object must have the
Packit 022b05
         default value 0.  Writing to this object in any state
Packit 022b05
         other than newEntry(1) or setting(2) will always fail
Packit 022b05
         with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object
Packit 022b05
         indicates which transport protocol is enforced by this
Packit 022b05
         policy rule.  A value of 0 indicates a rule acting on IP
Packit 022b05
         addresses only.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 12 }
Packit 022b05
Packit 022b05
midcomRulePortRange OBJECT-TYPE
Packit 022b05
    SYNTAX      INTEGER {
Packit 022b05
                    single(1),
Packit 022b05
                    pair(2)
Packit 022b05
                }
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The range of port numbers.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.  It is relevant to the
Packit 022b05
         operation of the MIDCOM-MIB implementation only if the
Packit 022b05
         value of object midcomTransportProtocol in the same entry
Packit 022b05
         has a value other than 0.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the requested
Packit 022b05
         size of the port range.  With single(1) just a single
Packit 022b05
         port number is requested, with pair(2) a consecutive pair
Packit 022b05
         of port numbers is requested with the lower number being
Packit 022b05
         even.  Requesting a consecutive pair of port numbers may
Packit 022b05
         be used by RTP [RFC3550] and may even be required to
Packit 022b05
         support older RTP applications.
Packit 022b05
Packit 022b05
         Writing to this object in any state other than
Packit 022b05
         newEntry(1), setting(2) or reserved(7) will always fail
Packit 022b05
         with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either reserved(7) or enabled(8), then this
Packit 022b05
         object will have the value that it had before the
Packit 022b05
         transition to this state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { single }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    ::= { midcomRuleEntry 13}
Packit 022b05
Packit 022b05
midcomRuleInternalIpVersion OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddressType
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "IP version of the internal address (A0) and the inside
Packit 022b05
         address (A1).  Allowed values are ipv4(1), ipv6(2),
Packit 022b05
         ipv4z(3), and ipv6z(4).
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the IP version
Packit 022b05
         required at the inside of the middlebox.  Writing to this
Packit 022b05
         object in any state other than newEntry(1) or setting(2)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object
Packit 022b05
         indicates the internal/inside IP version.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { ipv4 }
Packit 022b05
    ::= { midcomRuleEntry 14 }
Packit 022b05
Packit 022b05
midcomRuleExternalIpVersion OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddressType
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "IP version of the external address (A3) and the outside
Packit 022b05
         address (A2).  Allowed values are ipv4(1) and ipv6(2).
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the IP version
Packit 022b05
         required at the outside of the middlebox.  Writing to
Packit 022b05
         this object in any state other than newEntry(1) or
Packit 022b05
         setting(2) will always fail with an 'inconsistentValue'
Packit 022b05
         error.
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object
Packit 022b05
         indicates the external/outside IP version.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7) or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { ipv4 }
Packit 022b05
    ::= { midcomRuleEntry 15 }
Packit 022b05
Packit 022b05
midcomRuleInternalIpAddr OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddress
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The internal IP address (A0).
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the internal IP
Packit 022b05
         address for which a reserve policy rule or a enable policy
Packit 022b05
         rule is requested to be established.  Writing to this
Packit 022b05
         object in any state other than newEntry(1) or setting(2)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object will
Packit 022b05
         have the value which it had before the transition to this
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7) or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    ::= { midcomRuleEntry 16 }
Packit 022b05
Packit 022b05
midcomRuleInternalIpPrefixLength OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddressPrefixLength
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The prefix length of the internal IP address used for
Packit 022b05
         wildcarding.  A value of 0 indicates a full wildcard;
Packit 022b05
         in this case, the value of midcomRuleInternalIpAddr is
Packit 022b05
         irrelevant.  If midcomRuleInternalIpVersion has a value
Packit 022b05
         of ipv4(1), then a value > 31 indicates no wildcarding
Packit 022b05
         at all.  If midcomRuleInternalIpVersion has a value
Packit 022b05
         of ipv4(2), then a value > 127 indicates no wildcarding
Packit 022b05
         at all.  A MIDCOM-MIB implementation that does not
Packit 022b05
         support IP address wildcarding MUST implement this object
Packit 022b05
         as read-only with a value of 128.  A MIDCOM that does
Packit 022b05
         not support wildcarding based on prefix length MAY
Packit 022b05
         restrict allowed values for this object to 0 and 128.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the prefix length
Packit 022b05
         of the internal IP address for which a reserve policy rule
Packit 022b05
         or an enable policy rule is requested to be established.
Packit 022b05
         Writing to this object in any state other than newEntry(1)
Packit 022b05
         or setting(2) will always fail with an 'inconsistentValue'
Packit 022b05
         error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object will
Packit 022b05
         have the value which it had before the transition to this
Packit 022b05
         state.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 128 }
Packit 022b05
    ::= { midcomRuleEntry 17 }
Packit 022b05
Packit 022b05
midcomRuleInternalPort OBJECT-TYPE
Packit 022b05
    SYNTAX      InetPortNumber
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The internal port number.  A value of 0 is a wildcard.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.  It is relevant to the
Packit 022b05
         operation of the MIDCOM-MIB implementation only if the
Packit 022b05
         value of object midcomTransportProtocol in the same entry
Packit 022b05
         has a value other than 0.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1) or setting(2), then this object can be
Packit 022b05
         written by a manager in order to specify the internal port
Packit 022b05
         number for which a reserve policy rule or an enable policy
Packit 022b05
         rule is requested to be established.  Writing to this
Packit 022b05
         object in any state other than newEntry(1) or setting(2)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value reserved(7) or enabled(8), then this object will
Packit 022b05
         have the value that it had before the transition to this
Packit 022b05
         state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 18 }
Packit 022b05
Packit 022b05
midcomRuleExternalIpAddr OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddress
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The external IP address (A3).
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1), setting(2), or reserved(7), then this
Packit 022b05
         object can be written by a manager in order to specify the
Packit 022b05
         external IP address for which an enable policy rule is
Packit 022b05
         requested to be established.  Writing to this object in
Packit 022b05
         any state other than newEntry(1), setting(2), or reserved(7)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value enabled(8), then this object will have the value
Packit 022b05
         that it had before the transition to this state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    ::= { midcomRuleEntry 19 }
Packit 022b05
Packit 022b05
midcomRuleExternalIpPrefixLength OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddressPrefixLength
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The prefix length of the external IP address used for
Packit 022b05
         wildcarding.  A value of 0 indicates a full wildcard;
Packit 022b05
         in this case, the value of midcomRuleExternalIpAddr is
Packit 022b05
         irrelevant.  If midcomRuleExternalIpVersion has a value
Packit 022b05
         of ipv4(1), then a value > 31 indicates no wildcarding
Packit 022b05
         at all.  If midcomRuleExternalIpVersion has a value
Packit 022b05
         of ipv4(2), then a value > 127 indicates no wildcarding
Packit 022b05
         at all.  A MIDCOM-MIB implementation that does not
Packit 022b05
         support IP address wildcarding MUST implement this object
Packit 022b05
         as read-only with a value of 128.  A MIDCOM that does
Packit 022b05
         not support wildcarding based on prefix length MAY
Packit 022b05
         restrict allowed values for this object to 0 and 128.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1), setting(2), or reserved(7), then this
Packit 022b05
         object can be written by a manager in order to specify the
Packit 022b05
         prefix length of the external IP address for which an
Packit 022b05
         enable policy rule is requested to be established.
Packit 022b05
         Writing to this object in any state other than
Packit 022b05
         newEntry(1), setting(2), or reserved(7) will always fail
Packit 022b05
         with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value enabled(8), then this object will have the value
Packit 022b05
         that it had before the transition to this state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 128 }
Packit 022b05
    ::= { midcomRuleEntry 20 }
Packit 022b05
Packit 022b05
midcomRuleExternalPort OBJECT-TYPE
Packit 022b05
    SYNTAX      InetPortNumber
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The external port number.  A value of 0 is a wildcard.
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.  It is relevant to the
Packit 022b05
         operation of the MIDCOM-MIB implementation only if the
Packit 022b05
         value of object midcomTransportProtocol in the same entry
Packit 022b05
         has a value other than 0.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value newEntry(1), setting(2) or reserved(7), then this
Packit 022b05
         object can be written by a manager in order to specify the
Packit 022b05
         external port number for which an enable policy rule is
Packit 022b05
         requested to be established.  Writing to this object in
Packit 022b05
         any state other than newEntry(1), setting(2) or reserved(7)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has the
Packit 022b05
         value enabled(8), then this object will have the value
Packit 022b05
         which it had before the transition to this state.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7) or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 0 }
Packit 022b05
    ::= { midcomRuleEntry 21 }
Packit 022b05
Packit 022b05
midcomRuleInsideIpAddr OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddress
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The inside IP address at the middlebox (A1).
Packit 022b05
Packit 022b05
         The value of this object is relevant only if
Packit 022b05
         object midcomRuleOperStatus of the same entry has
Packit 022b05
         a value of either reserved(7) or enabled(8)."
Packit 022b05
    ::= { midcomRuleEntry 22 }
Packit 022b05
Packit 022b05
midcomRuleInsidePort OBJECT-TYPE
Packit 022b05
    SYNTAX      InetPortNumber
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The inside port number at the middlebox.
Packit 022b05
         A value of 0 is a wildcard.
Packit 022b05
Packit 022b05
         The value of this object is relevant only if
Packit 022b05
         object midcomRuleOperStatus of the same entry has
Packit 022b05
         a value of either reserved(7) or enabled(8)."
Packit 022b05
    ::= { midcomRuleEntry 23 }
Packit 022b05
Packit 022b05
midcomRuleOutsideIpAddr OBJECT-TYPE
Packit 022b05
    SYNTAX      InetAddress
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The outside IP address at the middlebox (A2).
Packit 022b05
Packit 022b05
         The value of this object is relevant only if
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         object midcomRuleOperStatus of the same entry has
Packit 022b05
         a value of either reserved(7) or enabled(8)."
Packit 022b05
    ::= { midcomRuleEntry 24 }
Packit 022b05
Packit 022b05
midcomRuleOutsidePort OBJECT-TYPE
Packit 022b05
    SYNTAX      InetPortNumber
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The outside port number at the middlebox.
Packit 022b05
         A value of 0 is a wildcard.
Packit 022b05
Packit 022b05
         The value of this object is relevant only if
Packit 022b05
         object midcomRuleOperStatus of the same entry has
Packit 022b05
         a value of either reserved(7) or enabled(8)."
Packit 022b05
    ::= { midcomRuleEntry 25 }
Packit 022b05
Packit 022b05
midcomRuleLifetime OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    UNITS       "seconds"
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The remaining lifetime in seconds of this policy rule.
Packit 022b05
Packit 022b05
         Lifetime of a policy rule starts when object
Packit 022b05
         midcomRuleOperStatus in the same entry enters either
Packit 022b05
         state reserved(7) or state enabled(8).
Packit 022b05
Packit 022b05
         This object is used as input to a request for establishing
Packit 022b05
         a policy rule as well as for indicating the properties of
Packit 022b05
         an established policy rule.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either newEntry(1) or setting(2), then this
Packit 022b05
         object can be written by a manager in order to specify
Packit 022b05
         the requested lifetime of a policy rule to be established.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value of either reserved(7) or enabled(8), then this
Packit 022b05
         object indicates the (continuously decreasing) remaining
Packit 022b05
         lifetime of the established policy rule.  Note that when
Packit 022b05
         entering state reserved(7) or enabled(8), the MIDCOM-MIB
Packit 022b05
         implementation can choose a lifetime shorter than the one
Packit 022b05
         requested.
Packit 022b05
Packit 022b05
         Unlike other parameters of the policy rule, this parameter
Packit 022b05
         can still be written in state reserved(7) and enabled(8).
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         Writing to this object is processed by the MIDCOM-MIB
Packit 022b05
         implementation by choosing a lifetime value that is
Packit 022b05
         greater than 0 and less than or equal to the minimum of
Packit 022b05
         the requested value and the value specified by object
Packit 022b05
         midcomConfigMaxLifetime:
Packit 022b05
Packit 022b05
          0 <= lt_granted <= MINIMUM(lt_requested, lt_maximum)
Packit 022b05
Packit 022b05
         where:
Packit 022b05
            - lt_granted is the actually granted lifetime by the
Packit 022b05
              MIDCOM-MIB implementation
Packit 022b05
            - lt_requested is the requested lifetime of the MIDCOM
Packit 022b05
              client
Packit 022b05
            - lt_maximum is the value of object
Packit 022b05
              midcomConfigMaxLifetime
Packit 022b05
Packit 022b05
         SNMP SET requests to this object may be rejected or the
Packit 022b05
         value of the object after an accepted SET operation may be
Packit 022b05
         less than the value that was contained in the SNMP SET
Packit 022b05
         request.
Packit 022b05
Packit 022b05
         Successfully writing a value of 0 terminates the policy
Packit 022b05
         rule.  Note that after a policy rule is terminated, still
Packit 022b05
         the entry will exist as long as indicated by the value of
Packit 022b05
         midcomRuleStorageTime.
Packit 022b05
Packit 022b05
         Writing to this object in any state other than
Packit 022b05
         newEntry(1), setting(2), reserved(7), or enabled(7)
Packit 022b05
         will always fail with an 'inconsistentValue' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         If object midcomRuleOperStatus of the same entry has a
Packit 022b05
         value other than newEntry(1), setting(2), reserved(7), or
Packit 022b05
         enabled(8), then the value of this object is irrelevant."
Packit 022b05
    DEFVAL { 180 }
Packit 022b05
    ::= { midcomRuleEntry 26 }
Packit 022b05
Packit 022b05
midcomRuleRowStatus OBJECT-TYPE
Packit 022b05
    SYNTAX      RowStatus
Packit 022b05
    MAX-ACCESS  read-create
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A control that allows entries to be added and removed from
Packit 022b05
         this table.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         Entries can also be removed from this table by setting
Packit 022b05
         objects midcomRuleLifetime and midcomRuleStorageTime of
Packit 022b05
         an entry to 0.
Packit 022b05
Packit 022b05
         Attempts to set a row notInService(2) where the value
Packit 022b05
         of the midcomRuleStorageType object is permanent(4) or
Packit 022b05
         readOnly(5) will result in an 'notWritable' error.
Packit 022b05
Packit 022b05
         Note that this error code is SNMP specific.  If the MIB
Packit 022b05
         module is used with other protocols than SNMP, errors with
Packit 022b05
         similar semantics specific to those protocols should be
Packit 022b05
         returned.
Packit 022b05
Packit 022b05
         The value of this object has no effect on whether other
Packit 022b05
         objects in this conceptual row can be modified."
Packit 022b05
    ::= { midcomRuleEntry 27 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Policy rule group subtree
Packit 022b05
--
Packit 022b05
-- The midcomGroupTable lists all current policy rule groups.
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomGroupTable OBJECT-TYPE
Packit 022b05
    SYNTAX      SEQUENCE OF MidcomGroupEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This table lists all current policy rule groups.
Packit 022b05
Packit 022b05
         Entries in this table are created or removed
Packit 022b05
         implicitly when entries in the midcomRuleTable are
Packit 022b05
         created or removed, respectively.  A group entry
Packit 022b05
         in this table only exists as long as there are
Packit 022b05
         member rules of this group in the midcomRuleTable.
Packit 022b05
Packit 022b05
         The table serves for listing the existing groups and
Packit 022b05
         their remaining lifetimes and for changing lifetimes
Packit 022b05
         of groups and implicitly of all group members.
Packit 022b05
         Groups and all their member policy rules can only be
Packit 022b05
         deleted by deleting all member policies in the
Packit 022b05
         midcomRuleTable.
Packit 022b05
Packit 022b05
         Setting midcomGroupLifetime will result in setting
Packit 022b05
         the lifetime of all policy members to the same value."
Packit 022b05
    ::= { midcomTransaction 4 }
Packit 022b05
Packit 022b05
midcomGroupEntry OBJECT-TYPE
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    SYNTAX      MidcomGroupEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An entry describing properties of a particular
Packit 022b05
         MIDCOM policy rule group."
Packit 022b05
    INDEX { midcomRuleOwner, midcomGroupIndex }
Packit 022b05
    ::= { midcomGroupTable 1 }
Packit 022b05
Packit 022b05
MidcomGroupEntry ::= SEQUENCE {
Packit 022b05
    midcomGroupIndex      Unsigned32,
Packit 022b05
    midcomGroupLifetime   Unsigned32
Packit 022b05
}
Packit 022b05
Packit 022b05
midcomGroupIndex OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32 (1..4294967295)
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The index of this group for the midcomRuleOwner.
Packit 022b05
         A group is identified by the combination of
Packit 022b05
         midcomRuleOwner and midcomGroupIndex.
Packit 022b05
Packit 022b05
         The value of this index must be unique per
Packit 022b05
         midcomRuleOwner."
Packit 022b05
    ::= { midcomGroupEntry 2 }
Packit 022b05
Packit 022b05
midcomGroupLifetime OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    UNITS       "seconds"
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "When retrieved, this object delivers the maximum
Packit 022b05
         lifetime in seconds of all member rules of this group,
Packit 022b05
         i.e., of all rows in the midcomRuleTable that have the
Packit 022b05
         same values for midcomRuleOwner and midcomGroupIndex.
Packit 022b05
Packit 022b05
         Successfully writing to this object modifies the
Packit 022b05
         lifetime of all member policies.  Successfully
Packit 022b05
         writing a value of 0 terminates all member policies
Packit 022b05
         and implicitly deletes the group as soon as all member
Packit 022b05
         entries are removed from the midcomRuleTable.
Packit 022b05
Packit 022b05
         Note that after a group's lifetime is expired or is
Packit 022b05
         set to 0, still the corresponding entry in the
Packit 022b05
         midcomGroupTable will exist as long as terminated
Packit 022b05
         member policy rules are stored as entries in the
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         midcomRuleTable.
Packit 022b05
Packit 022b05
         Writing to this object is processed by the MIDCOM-MIB
Packit 022b05
         implementation by choosing a lifetime value that is
Packit 022b05
         greater than 0 and less than or equal to the minimum of
Packit 022b05
         the requested value and the value specified by object
Packit 022b05
         midcomConfigMaxLifetime:
Packit 022b05
Packit 022b05
          0 <= lt_granted <= MINIMUM(lt_requested, lt_maximum)
Packit 022b05
Packit 022b05
         where:
Packit 022b05
            - lt_granted is the actually granted lifetime by the
Packit 022b05
              MIDCOM-MIB implementation
Packit 022b05
            - lt_requested is the requested lifetime of the MIDCOM
Packit 022b05
              client
Packit 022b05
            - lt_maximum is the value of object
Packit 022b05
              midcomConfigMaxLifetime
Packit 022b05
Packit 022b05
         SNMP SET requests to this object may be rejected or the
Packit 022b05
         value of the object after an accepted SET operation may be
Packit 022b05
         less than the value that was contained in the SNMP SET
Packit 022b05
         request."
Packit 022b05
    ::= { midcomGroupEntry 3 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Configuration Objects
Packit 022b05
--
Packit 022b05
--  Configuration objects that can be used for retrieving
Packit 022b05
--  middlebox capability information (mandatory) and for
Packit 022b05
--  setting parameters of the implementation of transaction
Packit 022b05
--  objects (optional).
Packit 022b05
--
Packit 022b05
--  Note that typically configuration objects are not intended
Packit 022b05
--  to be written by MIDCOM clients.  In general, write access
Packit 022b05
--  to these objects needs to be restricted more strictly than
Packit 022b05
--  write access to transaction objects.
Packit 022b05
--
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Capabilities subtree
Packit 022b05
--
Packit 022b05
-- This subtree contains objects to which MIDCOM clients should
Packit 022b05
-- have read access.
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomConfigMaxLifetime OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    UNITS       "seconds"
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "When retrieved, this object returns the maximum lifetime,
Packit 022b05
         in seconds, that this middlebox allows policy rules to
Packit 022b05
         have."
Packit 022b05
    ::= { midcomConfig 1 }
Packit 022b05
Packit 022b05
midcomConfigPersistentRules OBJECT-TYPE
Packit 022b05
    SYNTAX      TruthValue
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "When retrieved, this object returns true(1) if the
Packit 022b05
         MIDCOM-MIB implementation can store policy rules
Packit 022b05
         persistently.  Otherwise, it returns false(2).
Packit 022b05
Packit 022b05
         A value of true(1) indicates that there may be
Packit 022b05
         entries in the midcomRuleTable with object
Packit 022b05
         midcomRuleStorageType set to value nonVolatile(3)."
Packit 022b05
    ::= { midcomConfig 2 }
Packit 022b05
Packit 022b05
midcomConfigIfTable OBJECT-TYPE
Packit 022b05
    SYNTAX      SEQUENCE OF MidcomConfigIfEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This table indicates capabilities of the MIDCOM-MIB
Packit 022b05
         implementation per IP interface.
Packit 022b05
Packit 022b05
         The table is indexed by the object midcomConfigIfIndex.
Packit 022b05
Packit 022b05
         For indexing a single interface, this object contains
Packit 022b05
         the value of the ifIndex object that is associated
Packit 022b05
         with the interface.  If an entry with
Packit 022b05
         midcomConfigIfIndex = 0 occurs, then bits set in
Packit 022b05
         objects of this entry apply to all interfaces for which
Packit 022b05
         there is no entry in this table with the interface's
Packit 022b05
         index."
Packit 022b05
    ::= { midcomConfig 3 }
Packit 022b05
Packit 022b05
midcomConfigIfEntry OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomConfigIfEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An entry describing the capabilities of a middlebox
Packit 022b05
         with respect to the indexed IP interface."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    INDEX { midcomConfigIfIndex }
Packit 022b05
    ::= { midcomConfigIfTable 1 }
Packit 022b05
Packit 022b05
MidcomConfigIfEntry ::= SEQUENCE {
Packit 022b05
    midcomConfigIfIndex          InterfaceIndexOrZero,
Packit 022b05
    midcomConfigIfBits           BITS,
Packit 022b05
    midcomConfigIfEnabled        TruthValue
Packit 022b05
}
Packit 022b05
Packit 022b05
midcomConfigIfIndex OBJECT-TYPE
Packit 022b05
    SYNTAX      InterfaceIndexOrZero
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The index of an entry in the midcomConfigIfTable.
Packit 022b05
Packit 022b05
         For values different from zero, this object
Packit 022b05
         identifies an IP interface by containing the same
Packit 022b05
         value as the ifIndex object associated with the
Packit 022b05
         interface.
Packit 022b05
Packit 022b05
         Note that the index of a particular interface in the
Packit 022b05
         ifTable may change after a re-initialization of the
Packit 022b05
         middlebox, for example, after adding another interface to
Packit 022b05
         it.  In such a case, the value of this object may change,
Packit 022b05
         but the interface referred to by the MIDCOM-MIB MUST still
Packit 022b05
         be the same.  If, after a re-initialization of the
Packit 022b05
         middlebox, the interface referred to before
Packit 022b05
         re-initialization cannot be uniquely mapped anymore to a
Packit 022b05
         particular entry in the ifTable, then the value of object
Packit 022b05
         midcomConfigIfEnabled of the same entry MUST be changed to
Packit 022b05
         false(2).
Packit 022b05
Packit 022b05
         If the object has a value of 0, then values
Packit 022b05
         specified by further objects of the same entry
Packit 022b05
         apply to all interfaces for which there is no
Packit 022b05
         explicit entry in the midcomConfigIfTable."
Packit 022b05
    ::= { midcomConfigIfEntry 1 }
Packit 022b05
Packit 022b05
midcomConfigIfBits OBJECT-TYPE
Packit 022b05
    SYNTAX      BITS {
Packit 022b05
                    ipv4(0),
Packit 022b05
                    ipv6(1),
Packit 022b05
                    addressWildcards(2),
Packit 022b05
                    portWildcards(3),
Packit 022b05
                    firewall(4),
Packit 022b05
                    nat(5),
Packit 022b05
                    portTranslation(6),
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
                    protocolTranslation(7),
Packit 022b05
                    twiceNat(8),
Packit 022b05
                    inside(9)
Packit 022b05
                }
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "When retrieved, this object returns a set of bits
Packit 022b05
         indicating the capabilities (or configuration) of
Packit 022b05
         the middlebox with respect to the referenced IP interface.
Packit 022b05
         If the index equals 0, then all set bits apply to all
Packit 022b05
         interfaces.
Packit 022b05
Packit 022b05
         If the ipv4(0) bit is set, then the middlebox supports
Packit 022b05
         IPv4 at the indexed IP interface.
Packit 022b05
Packit 022b05
         If the ipv6(1) bit is set, then the middlebox supports
Packit 022b05
         IPv6 at the indexed IP interface.
Packit 022b05
Packit 022b05
         If the addressWildcards(2) bit is set, then the
Packit 022b05
         middlebox supports IP address wildcarding at the indexed
Packit 022b05
         IP interface.
Packit 022b05
Packit 022b05
         If the portWildcards(3) bit is set, then the
Packit 022b05
         middlebox supports port wildcarding at the indexed
Packit 022b05
         IP interface.
Packit 022b05
Packit 022b05
         If the firewall(4) bit is set, then the middlebox offers
Packit 022b05
         firewall functionality at the indexed interface.
Packit 022b05
Packit 022b05
         If the nat(5) bit is set, then the middlebox offers
Packit 022b05
         network address translation service at the indexed
Packit 022b05
         interface.
Packit 022b05
Packit 022b05
         If the portTranslation(6) bit is set, then the middlebox
Packit 022b05
         offers port translation service at the indexed interface.
Packit 022b05
         This bit is only relevant if nat(5) is set.
Packit 022b05
Packit 022b05
         If the protocolTranslation(7) bit is set, then the
Packit 022b05
         middlebox offers protocol translation service between
Packit 022b05
         IPv4 and IPv6 at the indexed interface.  This bit is only
Packit 022b05
         relevant if nat(5) is set.
Packit 022b05
Packit 022b05
         If the twiceNat(8) bit is set, then the middlebox offers
Packit 022b05
         twice network address translation service at the indexed
Packit 022b05
         interface.  This bit is only relevant if nat(5) is set.
Packit 022b05
Packit 022b05
         If the inside(9) bit is set, then the indexed interface is
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         an inside interface with respect to NAT functionality.
Packit 022b05
         Otherwise, it is an outside interface.  This bit is only
Packit 022b05
         relevant if nat(5) is set.  An SNMP agent supporting both
Packit 022b05
         the MIDCOM-MIB module and the NAT-MIB module SHOULD ensure
Packit 022b05
         that the value of this object is consistent with the values
Packit 022b05
         of corresponding objects in the NAT-MIB module."
Packit 022b05
    ::= { midcomConfigIfEntry 2 }
Packit 022b05
Packit 022b05
midcomConfigIfEnabled OBJECT-TYPE
Packit 022b05
    SYNTAX      TruthValue
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The value of this object indicates the availability of
Packit 022b05
         the middlebox service described by midcomConfigIfBits
Packit 022b05
         at the indexed IP interface.
Packit 022b05
Packit 022b05
         By writing to this object, the MIDCOM support for the
Packit 022b05
         entire IP interface can be switched on or off.  Setting
Packit 022b05
         this object to false(2) immediately stops middlebox
Packit 022b05
         support at the indexed IP interface.  This implies that
Packit 022b05
         all policy rules that use NAT or firewall resources at
Packit 022b05
         the indexed IP interface are terminated immediately.
Packit 022b05
         In this case, the MIDCOM agent MUST send
Packit 022b05
         midcomUnsolicitedRuleEvent to all MIDCOM clients that
Packit 022b05
         have access to one of the terminated rules."
Packit 022b05
    DEFVAL { true }
Packit 022b05
    ::= { midcomConfigIfEntry 3 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Firewall subtree
Packit 022b05
--
Packit 022b05
-- This subtree contains the firewall configuration table
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomConfigFirewallTable OBJECT-TYPE
Packit 022b05
    SYNTAX      SEQUENCE OF MidcomConfigFirewallEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This table lists the firewall configuration per IP interface.
Packit 022b05
Packit 022b05
        It can be used for configuring how policy rules created by
Packit 022b05
        MIDCOM clients are realized as firewall rules of a firewall
Packit 022b05
        implementation.  Particularly, the priority used for MIDCOM
Packit 022b05
        policy rules can be configured.  For a single firewall
Packit 022b05
        implementation at a particular IP interface, all MIDCOM
Packit 022b05
        policy rules are realized as firewall rules with the same
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        priority.  Also, a firewall rule group name can be
Packit 022b05
        configured.
Packit 022b05
Packit 022b05
        The table is indexed by the object midcomConfigFirewallIndex.
Packit 022b05
        For indexing a single interface, this object contains the
Packit 022b05
        value of the ifIndex object that is associated with the
Packit 022b05
        interface.  If an entry with midcomConfigFirewallIndex = 0
Packit 022b05
        occurs, then bits set in objects of this entry apply to all
Packit 022b05
        interfaces for which there is no entry in this table for the
Packit 022b05
        interface's index."
Packit 022b05
    ::= { midcomConfig 4 }
Packit 022b05
Packit 022b05
midcomConfigFirewallEntry OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomConfigFirewallEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "An entry describing a particular set of
Packit 022b05
        firewall resources."
Packit 022b05
    INDEX { midcomConfigFirewallIndex }
Packit 022b05
    ::= { midcomConfigFirewallTable 1 }
Packit 022b05
Packit 022b05
MidcomConfigFirewallEntry ::= SEQUENCE {
Packit 022b05
    midcomConfigFirewallIndex      InterfaceIndexOrZero,
Packit 022b05
    midcomConfigFirewallGroupId    SnmpAdminString,
Packit 022b05
    midcomConfigFirewallPriority   Unsigned32
Packit 022b05
}
Packit 022b05
Packit 022b05
midcomConfigFirewallIndex OBJECT-TYPE
Packit 022b05
    SYNTAX      InterfaceIndexOrZero
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The index of an entry in the midcomConfigFirewallTable.
Packit 022b05
Packit 022b05
         For values different from 0, this object identifies an
Packit 022b05
         IP interface by containing the same value as the ifIndex
Packit 022b05
         object associated with the interface.
Packit 022b05
Packit 022b05
         Note that the index of a particular interface in the
Packit 022b05
         ifTable may change after a re-initialization of the
Packit 022b05
         middlebox, for example, after adding another interface to
Packit 022b05
         it.  In such a case, the value of this object may change,
Packit 022b05
         but the interface referred to by the MIDCOM-MIB MUST still
Packit 022b05
         be the same.  If, after a re-initialization of the
Packit 022b05
         middlebox, the interface referred to before
Packit 022b05
         re-initialization cannot be uniquely mapped anymore to a
Packit 022b05
         particular entry in the ifTable, then the entry in the
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
         midcomConfigFirewallTable MUST be deleted.
Packit 022b05
Packit 022b05
         If the object has a value of 0, then values specified by
Packit 022b05
         further objects of the same entry apply to all interfaces
Packit 022b05
         for which there is no explicit entry in the
Packit 022b05
         midcomConfigFirewallTable."
Packit 022b05
    ::= { midcomConfigFirewallEntry 1 }
Packit 022b05
Packit 022b05
midcomConfigFirewallGroupId OBJECT-TYPE
Packit 022b05
    SYNTAX      SnmpAdminString
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The firewall rule group to which all firewall rules are
Packit 022b05
        assigned that the MIDCOM server creates for the interface
Packit 022b05
        indicated by object midcomConfigFirewallIndex.  If the
Packit 022b05
        value of object midcomConfigFirewallIndex is 0, then all
Packit 022b05
        firewall rules of the MIDCOM server that are created for
Packit 022b05
        interfaces with no specific entry in the
Packit 022b05
        midcomConfigFirewallTable are assigned to the firewall
Packit 022b05
        rule group indicated by the value of this object."
Packit 022b05
    ::= { midcomConfigFirewallEntry 2 }
Packit 022b05
Packit 022b05
midcomConfigFirewallPriority OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    MAX-ACCESS  read-write
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The priority assigned to all firewall rules that the
Packit 022b05
        MIDCOM server creates for the interface indicated by
Packit 022b05
        object midcomConfigFirewallIndex.  If the value of object
Packit 022b05
        midcomConfigFirewallIndex is 0, then this priority is
Packit 022b05
        assigned to all firewall rules of the MIDCOM server that
Packit 022b05
        are created for interfaces for which there is no specific
Packit 022b05
        entry in the midcomConfigFirewallTable."
Packit 022b05
    ::= { midcomConfigFirewallEntry 3 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Monitoring Objects
Packit 022b05
--
Packit 022b05
-- Monitoring objects are structured into two groups,
Packit 022b05
-- the midcomResourceGroup providing information about used
Packit 022b05
-- resources and the midcomStatisticsGroup providing information
Packit 022b05
-- about MIDCOM transaction statistics.
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Resources subtree
Packit 022b05
--
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
-- The MIDCOM resources subtree contains a set of managed
Packit 022b05
-- objects describing the currently used resources of NAT
Packit 022b05
-- and firewall implementations.
Packit 022b05
--
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Textual conventions for objects of the resource subtree
Packit 022b05
--
Packit 022b05
Packit 022b05
MidcomNatBindMode ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "An indicator of the kind of NAT resources used by a policy
Packit 022b05
        rule.  This definition corresponds to the definition of
Packit 022b05
        NatBindMode in the NAT-MIB (RFC 4008).  Value none(3) can
Packit 022b05
        be used to indicate that the policy rule does not use
Packit 022b05
        any NAT binding.
Packit 022b05
        "
Packit 022b05
    SYNTAX      INTEGER {
Packit 022b05
                    addressBind(1),
Packit 022b05
                    addressPortBind(2),
Packit 022b05
                    none(3)
Packit 022b05
                }
Packit 022b05
Packit 022b05
MidcomNatSessionIdOrZero ::= TEXTUAL-CONVENTION
Packit 022b05
    DISPLAY-HINT "d"
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "A unique ID that is assigned to each NAT session by
Packit 022b05
        a NAT implementation.  This definition corresponds to
Packit 022b05
        the definition of NatSessionId in the NAT-MIB (RFC 4008).
Packit 022b05
        Value 0 can be used to indicate that the policy rule does
Packit 022b05
        not use any NAT binding."
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
Packit 022b05
--
Packit 022b05
-- The MIDCOM resource table
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomResourceTable OBJECT-TYPE
Packit 022b05
    SYNTAX      SEQUENCE OF MidcomResourceEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This table lists all used middlebox resources per
Packit 022b05
        MIDCOM policy rule.
Packit 022b05
Packit 022b05
        The midcomResourceTable augments the
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        midcomRuleTable."
Packit 022b05
    ::= { midcomMonitoring 1 }
Packit 022b05
Packit 022b05
midcomResourceEntry OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomResourceEntry
Packit 022b05
    MAX-ACCESS  not-accessible
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "An entry describing a particular set of middlebox
Packit 022b05
        resources."
Packit 022b05
    AUGMENTS { midcomRuleEntry }
Packit 022b05
    ::= { midcomResourceTable 1 }
Packit 022b05
Packit 022b05
MidcomResourceEntry ::= SEQUENCE {
Packit 022b05
    midcomRscNatInternalAddrBindMode   MidcomNatBindMode,
Packit 022b05
    midcomRscNatInternalAddrBindId     NatBindIdOrZero,
Packit 022b05
    midcomRscNatInsideAddrBindMode     MidcomNatBindMode,
Packit 022b05
    midcomRscNatInsideAddrBindId       NatBindIdOrZero,
Packit 022b05
    midcomRscNatSessionId1             MidcomNatSessionIdOrZero,
Packit 022b05
    midcomRscNatSessionId2             MidcomNatSessionIdOrZero,
Packit 022b05
    midcomRscFirewallRuleId            Unsigned32
Packit 022b05
}
Packit 022b05
Packit 022b05
midcomRscNatInternalAddrBindMode OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomNatBindMode
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "An indication of whether this policy rule uses an address
Packit 022b05
        NAT bind or an address-port NAT bind for binding the
Packit 022b05
        internal address.
Packit 022b05
Packit 022b05
        If the MIDCOM-MIB module is operated together with
Packit 022b05
        the NAT-MIB module (RFC 4008) then object
Packit 022b05
        midcomRscNatInternalAddrBindMode contains the same
Packit 022b05
        value as the corresponding object
Packit 022b05
        natSessionPrivateSrcEPBindMode of the NAT-MIB module."
Packit 022b05
    ::= { midcomResourceEntry 4 }
Packit 022b05
Packit 022b05
midcomRscNatInternalAddrBindId OBJECT-TYPE
Packit 022b05
    SYNTAX      NatBindIdOrZero
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This object references to the allocated internal NAT
Packit 022b05
        bind that is used by this policy rule.  A NAT bind
Packit 022b05
        describes the mapping of internal addresses to
Packit 022b05
        outside addresses.  MIDCOM-MIB implementations can
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        read this object to learn the corresponding NAT bind
Packit 022b05
        resource for this particular policy rule.
Packit 022b05
Packit 022b05
        If the MIDCOM-MIB module is operated together with
Packit 022b05
        the NAT-MIB module (RFC 4008) then object
Packit 022b05
        midcomRscNatInternalAddrBindId contains the same
Packit 022b05
        value as the corresponding object
Packit 022b05
        natSessionPrivateSrcEPBindId of the NAT-MIB module."
Packit 022b05
    ::= { midcomResourceEntry 5 }
Packit 022b05
Packit 022b05
midcomRscNatInsideAddrBindMode OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomNatBindMode
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "An indication of whether this policy rule uses an address
Packit 022b05
        NAT bind or an address-port NAT bind for binding the
Packit 022b05
        external address.
Packit 022b05
Packit 022b05
        If the MIDCOM-MIB module is operated together with
Packit 022b05
        the NAT-MIB module (RFC 4008), then object
Packit 022b05
        midcomRscNatInsideAddrBindMode contains the same
Packit 022b05
        value as the corresponding object
Packit 022b05
        natSessionPrivateDstEPBindMode of the NAT-MIB module."
Packit 022b05
    ::= { midcomResourceEntry 6 }
Packit 022b05
Packit 022b05
midcomRscNatInsideAddrBindId OBJECT-TYPE
Packit 022b05
    SYNTAX      NatBindIdOrZero
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This object refers to the allocated external NAT
Packit 022b05
        bind that is used by this policy rule.  A NAT bind
Packit 022b05
        describes the mapping of external addresses to
Packit 022b05
        inside addresses.  MIDCOM-MIB implementations can
Packit 022b05
        read this object to learn the corresponding NAT bind
Packit 022b05
        resource for this particular policy rule.
Packit 022b05
Packit 022b05
        If the MIDCOM-MIB module is operated together with the
Packit 022b05
        NAT-MIB module (RFC 4008), then object
Packit 022b05
        midcomRscNatInsideAddrBindId contains the same
Packit 022b05
        value as the corresponding object
Packit 022b05
        natSessionPrivateDstEPBindId of the NAT-MIB module."
Packit 022b05
    ::= { midcomResourceEntry 7 }
Packit 022b05
Packit 022b05
midcomRscNatSessionId1 OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomNatSessionIdOrZero
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This object refers to the first allocated NAT session for
Packit 022b05
        this policy rule.  MIDCOM-MIB implementations can read this
Packit 022b05
        object to learn whether or not a NAT session for a
Packit 022b05
        particular policy rule is used.  A value of 0 means that no
Packit 022b05
        NAT session is allocated for this policy rule.  A value
Packit 022b05
        other than 0 refers to the NAT session."
Packit 022b05
   ::= { midcomResourceEntry 8 }
Packit 022b05
Packit 022b05
midcomRscNatSessionId2 OBJECT-TYPE
Packit 022b05
    SYNTAX      MidcomNatSessionIdOrZero
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This object refers to the second allocated NAT session for
Packit 022b05
        this policy rule.  MIDCOM-MIB implementations can read this
Packit 022b05
        object to learn whether or not a NAT session for a
Packit 022b05
        particular policy rule is used.  A value of 0 means that no
Packit 022b05
        NAT session is allocated for this policy rule.  A value
Packit 022b05
        other than 0 refers to the NAT session."
Packit 022b05
    ::= { midcomResourceEntry 9 }
Packit 022b05
Packit 022b05
midcomRscFirewallRuleId OBJECT-TYPE
Packit 022b05
    SYNTAX      Unsigned32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "This object refers to the allocated firewall
Packit 022b05
        rule in the firewall engine for this policy rule.
Packit 022b05
        MIDCOM-MIB implementations can read this value to
Packit 022b05
        learn whether a firewall rule for this particular
Packit 022b05
        policy rule is used or not.  A value of 0 means that
Packit 022b05
        no firewall rule is allocated for this policy rule.
Packit 022b05
        A value other than 0 refers to the firewall rule
Packit 022b05
        number within the firewall engine."
Packit 022b05
    ::= { midcomResourceEntry 10 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Statistics subtree
Packit 022b05
--
Packit 022b05
-- The MIDCOM statistics subtree contains a set of managed
Packit 022b05
-- objects providing statistics about the usage of transaction
Packit 022b05
-- objects.
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomStatistics      OBJECT IDENTIFIER ::= { midcomMonitoring 2 }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
midcomCurrentOwners OBJECT-TYPE
Packit 022b05
    SYNTAX      Gauge32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The number of different values for midcomRuleOwner
Packit 022b05
        for all current entries in the midcomRuleTable."
Packit 022b05
    ::= { midcomStatistics 1 }
Packit 022b05
Packit 022b05
midcomTotalRejectedRuleEntries OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of failed attempts to create an entry
Packit 022b05
        in the midcomRuleTable."
Packit 022b05
    ::= { midcomStatistics 2 }
Packit 022b05
Packit 022b05
midcomCurrentRulesIncomplete OBJECT-TYPE
Packit 022b05
    SYNTAX      Gauge32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The current number of policy rules that are incomplete.
Packit 022b05
Packit 022b05
        Policy rules are loaded via row entries in the
Packit 022b05
        midcomRuleTable.  This object counts policy rules that are
Packit 022b05
        loaded but not fully specified, i.e., they are in state
Packit 022b05
        newEntry(1) or setting(2)."
Packit 022b05
    ::= { midcomStatistics 3 }
Packit 022b05
Packit 022b05
midcomTotalIncorrectReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy reserve rules that failed
Packit 022b05
        parameter check and entered state incorrectRequest(4)."
Packit 022b05
    ::= { midcomStatistics 4 }
Packit 022b05
Packit 022b05
midcomTotalRejectedReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy reserve rules that failed
Packit 022b05
        while being processed and entered state requestRejected(6)."
Packit 022b05
    ::= { midcomStatistics 5 }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
midcomCurrentActiveReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Gauge32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The number of currently active policy reserve rules."
Packit 022b05
    ::= { midcomStatistics 6 }
Packit 022b05
Packit 022b05
midcomTotalExpiredReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of expired policy reserve rules
Packit 022b05
        (entered termination state timedOut(9))."
Packit 022b05
    ::= { midcomStatistics 7 }
Packit 022b05
Packit 022b05
midcomTotalTerminatedOnRqReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy reserve rules that were
Packit 022b05
        terminated on request (entered termination state
Packit 022b05
        terminatedOnRequest(10))."
Packit 022b05
    ::= { midcomStatistics 8 }
Packit 022b05
Packit 022b05
midcomTotalTerminatedReserveRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy reserve rules that were
Packit 022b05
        terminated, but not on request (entered termination state
Packit 022b05
        terminated(11))."
Packit 022b05
    ::= { midcomStatistics 9 }
Packit 022b05
Packit 022b05
midcomTotalIncorrectEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy enable rules that failed
Packit 022b05
        parameter check and entered state incorrectRequest(4)."
Packit 022b05
    ::= { midcomStatistics 10 }
Packit 022b05
Packit 022b05
midcomTotalRejectedEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy enable rules that failed
Packit 022b05
        while being processed and entered state requestRejected(6)."
Packit 022b05
    ::= { midcomStatistics 11 }
Packit 022b05
midcomCurrentActiveEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Gauge32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The number of currently active policy enable rules."
Packit 022b05
    ::= { midcomStatistics 12 }
Packit 022b05
Packit 022b05
midcomTotalExpiredEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of expired policy enable rules
Packit 022b05
        (entered termination state timedOut(9))."
Packit 022b05
    ::= { midcomStatistics 13 }
Packit 022b05
Packit 022b05
midcomTotalTerminatedOnRqEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy enable rules that were
Packit 022b05
        terminated on request (entered termination state
Packit 022b05
        terminatedOnRequest(10))."
Packit 022b05
    ::= { midcomStatistics 14 }
Packit 022b05
Packit 022b05
midcomTotalTerminatedEnableRules OBJECT-TYPE
Packit 022b05
    SYNTAX      Counter32
Packit 022b05
    MAX-ACCESS  read-only
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
       "The total number of policy enable rules that were
Packit 022b05
        terminated, but not on request (entered termination state
Packit 022b05
        terminated(11))."
Packit 022b05
    ::= { midcomStatistics 15 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Notifications.
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomUnsolicitedRuleEvent NOTIFICATION-TYPE
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    OBJECTS     { midcomRuleOperStatus, midcomRuleLifetime }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This notification is generated whenever the value of
Packit 022b05
         midcomRuleOperStatus enters any error state or any
Packit 022b05
         termination state without an explicit trigger by a
Packit 022b05
         MIDCOM client."
Packit 022b05
    ::= { midcomNotifications 1 }
Packit 022b05
Packit 022b05
midcomSolicitedRuleEvent NOTIFICATION-TYPE
Packit 022b05
    OBJECTS     { midcomRuleOperStatus, midcomRuleLifetime }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This notification is generated whenever the value
Packit 022b05
         of midcomRuleOperStatus enters one of the states
Packit 022b05
         {reserved, enabled, any error state, any termination state}
Packit 022b05
         as a result of a MIDCOM agent writing successfully to
Packit 022b05
         object midcomRuleAdminStatus.
Packit 022b05
Packit 022b05
         In addition, it is generated when the lifetime of
Packit 022b05
         a rule was changed by successfully writing to object
Packit 022b05
         midcomRuleLifetime."
Packit 022b05
    ::= { midcomNotifications 2 }
Packit 022b05
Packit 022b05
midcomSolicitedGroupEvent NOTIFICATION-TYPE
Packit 022b05
    OBJECTS     { midcomGroupLifetime }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "This notification is generated for indicating that the
Packit 022b05
         lifetime of all member rules of the group was changed by
Packit 022b05
         successfully writing to object midcomGroupLifetime.
Packit 022b05
Packit 022b05
         Note that this notification is only sent if the lifetime
Packit 022b05
         of a group was changed by successfully writing to object
Packit 022b05
         midcomGroupLifetime.  No notification is sent
Packit 022b05
           - if a group's lifetime is changed by writing to object
Packit 022b05
             midcomRuleLifetime of any of its member policies,
Packit 022b05
           - if a group's lifetime expires (in this case,
Packit 022b05
             notifications are sent for all member policies), or
Packit 022b05
           - if the group is terminated by terminating the last
Packit 022b05
             of its member policies without writing to object
Packit 022b05
             midcomGroupLifetime."
Packit 022b05
    ::= { midcomNotifications 3 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- Conformance information
Packit 022b05
--
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
midcomCompliances OBJECT IDENTIFIER ::= { midcomConformance 1 }
Packit 022b05
midcomGroups      OBJECT IDENTIFIER ::= { midcomConformance 2 }
Packit 022b05
Packit 022b05
--
Packit 022b05
-- compliance statements
Packit 022b05
--
Packit 022b05
Packit 022b05
-- This is the MIDCOM compliance definition ...
Packit 022b05
Packit 022b05
--
Packit 022b05
Packit 022b05
midcomCompliance MODULE-COMPLIANCE
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "The compliance statement for implementations of the
Packit 022b05
         MIDCOM-MIB module.
Packit 022b05
Packit 022b05
         Note that compliance with this compliance
Packit 022b05
         statement requires compliance with the
Packit 022b05
         ifCompliance3 MODULE-COMPLIANCE statement of the
Packit 022b05
         IF-MIB [RFC2863]."
Packit 022b05
    MODULE      -- this module
Packit 022b05
    MANDATORY-GROUPS {
Packit 022b05
            midcomRuleGroup,
Packit 022b05
            midcomNotificationsGroup,
Packit 022b05
            midcomCapabilitiesGroup,
Packit 022b05
            midcomStatisticsGroup
Packit 022b05
    }
Packit 022b05
    GROUP   midcomConfigFirewallGroup
Packit 022b05
    DESCRIPTION
Packit 022b05
       "A compliant implementation does not have to implement
Packit 022b05
        the midcomConfigFirewallGroup."
Packit 022b05
    GROUP   midcomResourceGroup
Packit 022b05
    DESCRIPTION
Packit 022b05
       "A compliant implementation does not have to implement
Packit 022b05
        the midcomResourceGroup."
Packit 022b05
    OBJECT midcomRuleInternalIpPrefixLength
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required.  When write access is
Packit 022b05
        not supported, return 128 as the value of this object.
Packit 022b05
        A value of 128 means that the function represented by
Packit 022b05
        this option is not supported."
Packit 022b05
    OBJECT midcomRuleExternalIpPrefixLength
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required.  When write access is
Packit 022b05
        not supported, return 128 as the value of this object.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        A value of 128 means that the function represented by
Packit 022b05
        this option is not supported."
Packit 022b05
    OBJECT midcomRuleMaxIdleTime
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required.  When write access is
Packit 022b05
        not supported, return 0 as the value of this object.
Packit 022b05
        A value of 0 means that the function represented by
Packit 022b05
        this option is not supported."
Packit 022b05
    OBJECT midcomRuleInterface
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    OBJECT midcomConfigMaxLifetime
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    OBJECT midcomConfigPersistentRules
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    OBJECT midcomConfigIfEnabled
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    OBJECT midcomConfigFirewallGroupId
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    OBJECT midcomConfigFirewallPriority
Packit 022b05
    MIN-ACCESS  read-only
Packit 022b05
    DESCRIPTION
Packit 022b05
       "Write access is not required."
Packit 022b05
    ::= { midcomCompliances 1 }
Packit 022b05
Packit 022b05
midcomRuleGroup OBJECT-GROUP
Packit 022b05
    OBJECTS {
Packit 022b05
        midcomRuleAdminStatus,
Packit 022b05
        midcomRuleOperStatus,
Packit 022b05
        midcomRuleStorageType,
Packit 022b05
        midcomRuleStorageTime,
Packit 022b05
        midcomRuleError,
Packit 022b05
        midcomRuleInterface,
Packit 022b05
        midcomRuleFlowDirection,
Packit 022b05
        midcomRuleMaxIdleTime,
Packit 022b05
        midcomRuleTransportProtocol,
Packit 022b05
        midcomRulePortRange,
Packit 022b05
        midcomRuleInternalIpVersion,
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        midcomRuleExternalIpVersion,
Packit 022b05
        midcomRuleInternalIpAddr,
Packit 022b05
        midcomRuleInternalIpPrefixLength,
Packit 022b05
        midcomRuleInternalPort,
Packit 022b05
        midcomRuleExternalIpAddr,
Packit 022b05
        midcomRuleExternalIpPrefixLength,
Packit 022b05
        midcomRuleExternalPort,
Packit 022b05
        midcomRuleInsideIpAddr,
Packit 022b05
        midcomRuleInsidePort,
Packit 022b05
        midcomRuleOutsideIpAddr,
Packit 022b05
        midcomRuleOutsidePort,
Packit 022b05
        midcomRuleLifetime,
Packit 022b05
        midcomRuleRowStatus,
Packit 022b05
        midcomGroupLifetime
Packit 022b05
    }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A collection of objects providing information about
Packit 022b05
         policy rules and policy rule groups."
Packit 022b05
    ::= { midcomGroups 1 }
Packit 022b05
Packit 022b05
midcomCapabilitiesGroup OBJECT-GROUP
Packit 022b05
    OBJECTS {
Packit 022b05
        midcomConfigMaxLifetime,
Packit 022b05
        midcomConfigPersistentRules,
Packit 022b05
        midcomConfigIfBits,
Packit 022b05
        midcomConfigIfEnabled
Packit 022b05
    }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A collection of objects providing information about
Packit 022b05
         the capabilities of a middlebox."
Packit 022b05
    ::= { midcomGroups 2 }
Packit 022b05
Packit 022b05
midcomConfigFirewallGroup OBJECT-GROUP
Packit 022b05
    OBJECTS {
Packit 022b05
        midcomConfigFirewallGroupId,
Packit 022b05
        midcomConfigFirewallPriority
Packit 022b05
    }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A collection of objects providing information about
Packit 022b05
         the firewall rule group and firewall rule priority to
Packit 022b05
         be used by firewalls loaded through MIDCOM."
Packit 022b05
    ::= { midcomGroups 3 }
Packit 022b05
Packit 022b05
midcomResourceGroup OBJECT-GROUP
Packit 022b05
    OBJECTS {
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        midcomRscNatInternalAddrBindMode,
Packit 022b05
        midcomRscNatInternalAddrBindId,
Packit 022b05
        midcomRscNatInsideAddrBindMode,
Packit 022b05
        midcomRscNatInsideAddrBindId,
Packit 022b05
        midcomRscNatSessionId1,
Packit 022b05
        midcomRscNatSessionId2,
Packit 022b05
        midcomRscFirewallRuleId
Packit 022b05
    }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A collection of objects providing information about
Packit 022b05
         the used NAT and firewall resources."
Packit 022b05
    ::= { midcomGroups 4 }
Packit 022b05
Packit 022b05
midcomStatisticsGroup OBJECT-GROUP
Packit 022b05
    OBJECTS {
Packit 022b05
        midcomCurrentOwners,
Packit 022b05
        midcomTotalRejectedRuleEntries,
Packit 022b05
        midcomCurrentRulesIncomplete,
Packit 022b05
        midcomTotalIncorrectReserveRules,
Packit 022b05
        midcomTotalRejectedReserveRules,
Packit 022b05
        midcomCurrentActiveReserveRules,
Packit 022b05
        midcomTotalExpiredReserveRules,
Packit 022b05
        midcomTotalTerminatedOnRqReserveRules,
Packit 022b05
        midcomTotalTerminatedReserveRules,
Packit 022b05
        midcomTotalIncorrectEnableRules,
Packit 022b05
        midcomTotalRejectedEnableRules,
Packit 022b05
        midcomCurrentActiveEnableRules,
Packit 022b05
        midcomTotalExpiredEnableRules,
Packit 022b05
        midcomTotalTerminatedOnRqEnableRules,
Packit 022b05
        midcomTotalTerminatedEnableRules
Packit 022b05
    }
Packit 022b05
    STATUS      current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A collection of objects providing statistical
Packit 022b05
         information about the MIDCOM server."
Packit 022b05
    ::= { midcomGroups 5 }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
midcomNotificationsGroup NOTIFICATION-GROUP
Packit 022b05
     NOTIFICATIONS {
Packit 022b05
         midcomUnsolicitedRuleEvent,
Packit 022b05
         midcomSolicitedRuleEvent,
Packit 022b05
         midcomSolicitedGroupEvent
Packit 022b05
     }
Packit 022b05
     STATUS    current
Packit 022b05
     DESCRIPTION
Packit 022b05
         "The notifications emitted by the midcomMIB."
Packit 022b05
     ::= { midcomGroups 6 }
Packit 022b05
Packit 022b05
END