summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-WEB-AUTH-MIB
blob: 42ab53923b90a906828a03d09131562366e6d892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
--  *****************************************************************
--  DLINKSW-WEB-AUTH-MIB.mib : Web-Authentication MIB
-- 
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--   
--  *****************************************************************

    DLINKSW-WEB-AUTH-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE              FROM SNMPv2-SMI
        MODULE-COMPLIANCE,
        OBJECT-GROUP,
        NOTIFICATION-GROUP       FROM SNMPv2-CONF
        TruthValue               FROM SNMPv2-TC
        ifIndex                  FROM IF-MIB        
        InetAddressIPv4,
        InetAddressIPv6          FROM INET-ADDRESS-MIB
        SnmpAdminString          FROM SNMP-FRAMEWORK-MIB
        dnaSessionAuthVlan,
        dnaSessionClientMacAddress,
        dnaSessionClientAddrType,
        dnaSessionClientAddress,
        dnaSessionAuthUserName   FROM DLINKSW-NETWORK-ACCESS-MIB
        dlinkIndustrialCommon    FROM DLINK-ID-REC-MIB;


    dlinkSwWebAuthMIB MODULE-IDENTITY
        LAST-UPDATED "201302210000Z"
        ORGANIZATION "D-Link Corp."
        CONTACT-INFO
             "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
            "
        DESCRIPTION
            "This MIB module defines objects for Web-Authentication."            
            
        REVISION "201302210000Z"
        DESCRIPTION 
            "This is the first version of the MIB file."    
        ::= { dlinkIndustrialCommon 154 }

-- -----------------------------------------------------------------------------
    dWebAuthNotifications    OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 0 }
    dWebAuthObjects          OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 1 }
    dWebAuthConformance      OBJECT IDENTIFIER ::= { dlinkSwWebAuthMIB 2 }

    dWebAuthSysEnabled    OBJECT-TYPE
        SYNTAX          TruthValue         
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the global state of Web-Authentication on
            the device."
        ::= { dWebAuthObjects 1 }

    dWebAuthRedirectPath    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the URL that the client will be redirected to
            after successful authentication.
            Initially, the redirected path is an empty string.
            If no default redirect URL is specified, the Web-Authentication 
            logout page will be displayed. 
            "
        ::= { dWebAuthObjects 2 }

    dWebAuthVirtualIp    OBJECT-TYPE
        SYNTAX           InetAddressIPv4
        MAX-ACCESS       read-write
        STATUS           current
        DESCRIPTION
            "This object indicates the virtual IP address which is used to accept 
            authentication requests from an unauthenticated host.
    
            This virtual IP address is used to accept authentication
            requests from an unauthenticated host. Only requests sent to this IP will 
            get a correct response.
 
            NOTE: This IP does not respond to ARP requests or ICMP packets."
        ::= { dWebAuthObjects 3 }

    dWebAuthVirtualIpv6    OBJECT-TYPE
        SYNTAX          InetAddressIPv6
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the virtual IPv6 address which is used to accept 
            authentication requests from an unauthenticated host.
    
            This virtual IPv6 address is used to accept authentication requests 
            from an unauthenticated host. Only requests sent to this IP will 
            get a correct response.

            NOTE: This IPv6 does not respond to ICMPv6 packets."
        ::= { dWebAuthObjects 4 }

    dWebAuthVirtualUrl    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the FQDN URL for the virtual IP address.
    
            The defined URL only takes effect when the virtual IP address is 
            configured. The user gets the FQDN URL stored on the DNS server 
            to get the virtual IP address. The obtained IP address must match 
            the virtual IP address."
        ::= { dWebAuthObjects 5 }

    dWebAuthNotifyEnabled    OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION   
            "Set to 'true' to enable global SNMP notification for MAC 
            authentication feature.  
            Setting the object to 'false' will disable SNMP notifications."            
        ::= { dWebAuthObjects 6}

-- -----------------------------------------------------------------------------
    dWebAuthPageElement OBJECT-IDENTITY
        STATUS          current
        DESCRIPTION
            "This object identifier represents the objects customizing the 
            Web-Authentication page elements."
        ::= { dWebAuthObjects 7 }

    dWebAuthPageTitle    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the title of the WEB authentication page."
        ::= { dWebAuthPageElement 1 }

    dWebAuthPageLoginWindowTitle    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the title of the WEB authentication login
            window."
        ::= { dWebAuthPageElement 2 }

    dWebAuthPageUserName    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the user name title of WEB authentication
            login window."
        ::= { dWebAuthPageElement 3 }

    dWebAuthPagePassWord    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the password title of WEB authentication
            login window."
        ::= { dWebAuthPageElement 4 }

    dWebAuthPageLogoutWindowTitle    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the title of the WEB authentication logout
            window."
        ::= { dWebAuthPageElement 5 }

    dWebAuthPageCopyrightLine1    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the first line of the copyright information  
            in WEB authentication pages."
        ::= { dWebAuthPageElement 6 }

    dWebAuthPageCopyrightLine2    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the second line of the copyright information  
            in WEB authentication pages."
        ::= { dWebAuthPageElement 7 }

    dWebAuthPageCopyrightLine3    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the third line of the copyright information  
            in WEB authentication pages."
        ::= { dWebAuthPageElement 8 }

    dWebAuthPageCopyrightLine4    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the fourth line of copyright information  
            in WEB authentication pages."
        ::= { dWebAuthPageElement 9 }

    dWebAuthPageCopyrightLine5    OBJECT-TYPE
        SYNTAX          SnmpAdminString
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the fifth line of copyright information  
            in WEB authentication pages."
        ::= { dWebAuthPageElement 10 }

-- -----------------------------------------------------------------------------
    dWebAuthIfCfgTable    OBJECT-TYPE
        SYNTAX          SEQUENCE OF DWebAuthIfCfgEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION            
            "This table consists of a list of interface-specific 
            Web-Authentication information entries."
        ::= { dWebAuthObjects 8 }

    dWebAuthIfCfgEntry    OBJECT-TYPE
        SYNTAX          DWebAuthIfCfgEntry
        MAX-ACCESS      not-accessible       
        STATUS          current
        DESCRIPTION            
            "An entry indicates the setting of Web-Authentication on an
            interface."
        INDEX  { ifIndex }
        ::= { dWebAuthIfCfgTable 1 }

    DWebAuthIfCfgEntry ::= SEQUENCE     {
        dWebAuthIfEnabled    TruthValue
    }

    dWebAuthIfEnabled    OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object indicates the Web-Authentication state on the interface.               
            'truth'  - The Web-Authentication is enabled.                   
            'false'  - The Web-Authentication is disabled."             
        ::= { dWebAuthIfCfgEntry 1 }

-- -----------------------------------------------------------------------------
-- MIB Notifications statements
-- -----------------------------------------------------------------------------
    dWebAuthLoggedSuccess    NOTIFICATION-TYPE
        OBJECTS   {
            ifIndex,
            dnaSessionAuthVlan,
            dnaSessionClientMacAddress,
            dnaSessionClientAddrType,
            dnaSessionClientAddress,
            dnaSessionAuthUserName
        }
        STATUS    current
        DESCRIPTION
            "The trap is sent when a host has successfully logged in(passed
            Web-Authentication)."
        ::= { dWebAuthNotifications 1 }

    dWebAuthLoggedFail    NOTIFICATION-TYPE
        OBJECTS   {
            ifIndex,
            dnaSessionAuthVlan,
            dnaSessionClientMacAddress,
            dnaSessionClientAddrType,
            dnaSessionClientAddress,
            dnaSessionAuthUserName
        }
        STATUS    current
        DESCRIPTION
            "The trap is sent when a host has  failed to pass Web-Authentication
            (login failed)."
        ::= { dWebAuthNotifications 2 }

-- -----------------------------------------------------------------------------
-- MIB Conformance statements
-- -----------------------------------------------------------------------------
    dWebAuthMIBCompliances  OBJECT IDENTIFIER
        ::= { dWebAuthConformance 1 }

    dWebAuthMIBGroups  OBJECT IDENTIFIER
        ::= { dWebAuthConformance 2 } 
    
    dWebAuthMIBCompliance MODULE-COMPLIANCE
        STATUS          current
        DESCRIPTION
            "The compliance statement for entities which implement the 
            DLINKSW-WEB-AUTH-MIB."
        MODULE          -- this module
        MANDATORY-GROUPS    {   
            dWebAuthCfgGroup,
            dWebAuthIfCfgGroup
        }                              
        ::= { dWebAuthMIBCompliances 1 }
-- -----------------------------------------------------------------------------        
    dWebAuthCfgGroup OBJECT-GROUP
        OBJECTS         { 
            dWebAuthSysEnabled,
            dWebAuthRedirectPath,
            dWebAuthVirtualIp,
            dWebAuthVirtualIpv6,
            dWebAuthVirtualUrl,
            dWebAuthNotifyEnabled,
            dWebAuthPageTitle,
            dWebAuthPageLoginWindowTitle,
            dWebAuthPageUserName,
            dWebAuthPagePassWord,
            dWebAuthPageLogoutWindowTitle,
            dWebAuthPageCopyrightLine1,
            dWebAuthPageCopyrightLine2,
            dWebAuthPageCopyrightLine3,
            dWebAuthPageCopyrightLine4,
            dWebAuthPageCopyrightLine5
        }
        STATUS current
        DESCRIPTION 
            "A collection of objects providing management of the
            Web-Authentication feature."
        ::= { dWebAuthMIBGroups 1 }

    dWebAuthIfCfgGroup OBJECT-GROUP
        OBJECTS 
        { 
            dWebAuthIfEnabled
        }
        STATUS current
        DESCRIPTION 
            "A collection of objects providing the management of Web-Authentication
            on a per-interface basis."
        ::= { dWebAuthMIBGroups 2 }

    dWebAuthNotificationGroup    NOTIFICATION-GROUP
        NOTIFICATIONS   { 
            dWebAuthLoggedSuccess,
            dWebAuthLoggedFail
        }
        STATUS    current
        DESCRIPTION
           "The collection of notifications used for monitoring the hosts under the 
           control of Web-Authentication."
        ::= { dWebAuthMIBGroups 3}
END