Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

328 lines
13 KiB

  1. PPP-SEC-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter
  4. FROM RFC1155-SMI
  5. OBJECT-TYPE
  6. FROM RFC-1212
  7. ppp
  8. FROM PPP-LCP-MIB;
  9. pppSecurity OBJECT IDENTIFIER ::= { ppp 2 }
  10. pppSecurityProtocols OBJECT IDENTIFIER ::= { pppSecurity 1 }
  11. -- The following uniquely identify the various protocols
  12. -- used by PPP security. These OBJECT IDENTIFIERS are
  13. -- used in the pppSecurityConfigProtocol and
  14. -- pppSecuritySecretsProtocol objects to identify to which
  15. -- protocols the table entries apply.
  16. pppSecurityPapProtocol OBJECT IDENTIFIER ::=
  17. { pppSecurityProtocols 1 }
  18. pppSecurityChapMD5Protocol OBJECT IDENTIFIER ::=
  19. { pppSecurityProtocols 2 }
  20. -- PPP Security Group
  21. -- Implementation of this group is optional.
  22. -- This table allows the network manager to configure
  23. -- which security protocols are to be used on which
  24. -- link and in what order of preference each is to be tried
  25. pppSecurityConfigTable OBJECT-TYPE
  26. SYNTAX SEQUENCE OF PppSecurityConfigEntry
  27. ACCESS not-accessible
  28. STATUS mandatory
  29. DESCRIPTION
  30. "Table containing the configuration and
  31. preference parameters for PPP Security."
  32. ::= { pppSecurity 2 }
  33. pppSecurityConfigEntry OBJECT-TYPE
  34. SYNTAX PppSecurityConfigEntry
  35. ACCESS not-accessible
  36. STATUS mandatory
  37. DESCRIPTION
  38. "Security configuration information for a
  39. particular PPP link."
  40. INDEX { pppSecurityConfigLink,
  41. pppSecurityConfigPreference }
  42. ::= { pppSecurityConfigTable 1 }
  43. PppSecurityConfigEntry ::= SEQUENCE {
  44. pppSecurityConfigLink
  45. INTEGER,
  46. pppSecurityConfigPreference
  47. INTEGER,
  48. pppSecurityConfigProtocol
  49. OBJECT IDENTIFIER,
  50. pppSecurityConfigStatus
  51. INTEGER
  52. }
  53. pppSecurityConfigLink OBJECT-TYPE
  54. SYNTAX INTEGER(0..2147483647)
  55. ACCESS read-write
  56. STATUS mandatory
  57. DESCRIPTION
  58. "The value of ifIndex that identifies the entry
  59. in the interface table that is associated with
  60. the local PPP entity's link for which this
  61. particular security algorithm shall be
  62. attempted. A value of 0 indicates the default
  63. algorithm - i.e., this entry applies to all
  64. links for which explicit entries in the table
  65. do not exist."
  66. ::= { pppSecurityConfigEntry 1 }
  67. pppSecurityConfigPreference OBJECT-TYPE
  68. SYNTAX INTEGER(0..2147483647)
  69. ACCESS read-write
  70. STATUS mandatory
  71. DESCRIPTION
  72. "The relative preference of the security
  73. protocol identified by
  74. pppSecurityConfigProtocol. Security protocols
  75. with lower values of
  76. pppSecurityConfigPreference are tried before
  77. protocols with higher values of
  78. pppSecurityConfigPreference."
  79. ::= { pppSecurityConfigEntry 2 }
  80. pppSecurityConfigProtocol OBJECT-TYPE
  81. SYNTAX OBJECT IDENTIFIER
  82. ACCESS read-write
  83. STATUS mandatory
  84. DESCRIPTION
  85. "Identifies the security protocol to be
  86. attempted on the link identified by
  87. pppSecurityConfigLink at the preference level
  88. identified by pppSecurityConfigPreference. "
  89. ::= { pppSecurityConfigEntry 3 }
  90. pppSecurityConfigStatus OBJECT-TYPE
  91. SYNTAX INTEGER {
  92. invalid(1),
  93. valid(2)
  94. }
  95. ACCESS read-write
  96. STATUS mandatory
  97. DESCRIPTION
  98. "Setting this object to the value invalid(1)
  99. has the effect of invalidating the
  100. corresponding entry in the
  101. pppSecurityConfigTable. It is an
  102. implementation-specific matter as to whether
  103. the agent removes an invalidated entry from the
  104. table. Accordingly, management stations must
  105. be prepared to receive tabular information from
  106. agents that corresponds to entries not
  107. currently in use. Proper interpretation of
  108. such entries requires examination of the
  109. relevant pppSecurityConfigStatus object."
  110. DEFVAL { valid }
  111. ::= { pppSecurityConfigEntry 4 }
  112. -- This table contains all of the ID/Secret pair information.
  113. pppSecuritySecretsTable OBJECT-TYPE
  114. SYNTAX SEQUENCE OF PppSecuritySecretsEntry
  115. ACCESS not-accessible
  116. STATUS mandatory
  117. DESCRIPTION
  118. "Table containing the identities and secrets
  119. used by the PPP authentication protocols. As
  120. this table contains secret information, it is
  121. expected that access to this table be limited
  122. to those SNMP Party-Pairs for which a privacy
  123. protocol is in use for all SNMP messages that
  124. the parties exchange. This table contains both
  125. the ID and secret pair(s) that the local PPP
  126. entity will advertise to the remote entity and
  127. the pair(s) that the local entity will expect
  128. from the remote entity. This table allows for
  129. multiple id/secret password pairs to be
  130. specified for a particular link by using the
  131. pppSecuritySecretsIdIndex object."
  132. ::= { pppSecurity 3 }
  133. pppSecuritySecretsEntry OBJECT-TYPE
  134. SYNTAX PppSecuritySecretsEntry
  135. ACCESS not-accessible
  136. STATUS mandatory
  137. DESCRIPTION
  138. "Secret information."
  139. INDEX { pppSecuritySecretsLink,
  140. pppSecuritySecretsIdIndex }
  141. ::= { pppSecuritySecretsTable 1 }
  142. PppSecuritySecretsEntry ::= SEQUENCE {
  143. pppSecuritySecretsLink
  144. INTEGER,
  145. pppSecuritySecretsIdIndex
  146. INTEGER,
  147. pppSecuritySecretsDirection
  148. INTEGER,
  149. pppSecuritySecretsProtocol
  150. OBJECT IDENTIFIER,
  151. pppSecuritySecretsIdentity
  152. OCTET STRING,
  153. pppSecuritySecretsSecret
  154. OCTET STRING,
  155. pppSecuritySecretsStatus
  156. INTEGER
  157. }
  158. pppSecuritySecretsLink OBJECT-TYPE
  159. SYNTAX INTEGER(0..2147483647)
  160. ACCESS read-only
  161. STATUS mandatory
  162. DESCRIPTION
  163. "The link to which this ID/Secret pair applies.
  164. By convention, if the value of this object is 0
  165. then the ID/Secret pair applies to all links."
  166. ::= { pppSecuritySecretsEntry 1 }
  167. pppSecuritySecretsIdIndex OBJECT-TYPE
  168. SYNTAX INTEGER(0..2147483647)
  169. ACCESS read-only
  170. STATUS mandatory
  171. DESCRIPTION
  172. "A unique value for each ID/Secret pair that
  173. has been defined for use on this link. This
  174. allows multiple ID/Secret pairs to be defined
  175. for each link. How the local entity selects
  176. which pair to use is a local implementation
  177. decision."
  178. ::= { pppSecuritySecretsEntry 2 }
  179. pppSecuritySecretsDirection OBJECT-TYPE
  180. SYNTAX INTEGER {
  181. local-to-remote(1),
  182. remote-to-local(2)
  183. }
  184. ACCESS read-write
  185. STATUS mandatory
  186. DESCRIPTION
  187. "This object defines the direction in which a
  188. particular ID/Secret pair is valid. If this
  189. object is local-to-remote then the local PPP
  190. entity will use the ID/Secret pair when
  191. attempting to authenticate the local PPP entity
  192. to the remote PPP entity. If this object is
  193. remote-to-local then the local PPP entity will
  194. expect the ID/Secret pair to be used by the
  195. remote PPP entity when the remote PPP entity
  196. attempts to authenticate itself to the local
  197. PPP entity."
  198. ::= { pppSecuritySecretsEntry 3 }
  199. pppSecuritySecretsProtocol OBJECT-TYPE
  200. SYNTAX OBJECT IDENTIFIER
  201. ACCESS read-write
  202. STATUS mandatory
  203. DESCRIPTION
  204. "The security protocol (e.g. CHAP or PAP) to
  205. which this ID/Secret pair applies."
  206. ::= { pppSecuritySecretsEntry 4 }
  207. pppSecuritySecretsIdentity OBJECT-TYPE
  208. SYNTAX OCTET STRING (SIZE(0..255))
  209. ACCESS read-write
  210. STATUS mandatory
  211. DESCRIPTION
  212. "The Identity of the ID/Secret pair. The
  213. actual format, semantics, and use of
  214. pppSecuritySecretsIdentity depends on the
  215. actual security protocol used. For example, if
  216. pppSecuritySecretsProtocol is
  217. pppSecurityPapProtocol then this object will
  218. contain a PAP Peer-ID. If
  219. pppSecuritySecretsProtocol is
  220. pppSecurityChapMD5Protocol then this object
  221. would contain the CHAP NAME parameter."
  222. ::= { pppSecuritySecretsEntry 5 }
  223. pppSecuritySecretsSecret OBJECT-TYPE
  224. SYNTAX OCTET STRING (SIZE(0..255))
  225. ACCESS read-write
  226. STATUS mandatory
  227. DESCRIPTION
  228. "The secret of the ID/Secret pair. The actual
  229. format, semantics, and use of
  230. pppSecuritySecretsSecret depends on the actual
  231. security protocol used. For example, if
  232. pppSecuritySecretsProtocol is
  233. pppSecurityPapProtocol then this object will
  234. contain a PAP Password. If
  235. pppSecuritySecretsProtocol is
  236. pppSecurityChapMD5Protocol then this object
  237. would contain the CHAP MD5 Secret."
  238. ::= { pppSecuritySecretsEntry 6 }
  239. pppSecuritySecretsStatus OBJECT-TYPE
  240. SYNTAX INTEGER {
  241. invalid(1),
  242. valid(2)
  243. }
  244. ACCESS read-write
  245. STATUS mandatory
  246. DESCRIPTION
  247. "Setting this object to the value invalid(1)
  248. has the effect of invalidating the
  249. corresponding entry in the
  250. pppSecuritySecretsTable. It is an
  251. implementation-specific matter as to whether
  252. the agent removes an invalidated entry from the
  253. table. Accordingly, management stations must
  254. be prepared to receive tabular information from
  255. agents that corresponds to entries not
  256. currently in use. Proper interpretation of
  257. such entries requires examination of the
  258. relevant pppSecuritySecretsStatus object."
  259. DEFVAL { valid }
  260. ::= { pppSecuritySecretsEntry 7 }
  261. END