-- D-Link Security Common MIB Ver 1.1 2002/02/18 -- -- Radius, Accounting, Authenticate -- Remove swRadiusAuthClient(swRadiusAuthInfo) mib because RFC2618 provid already -- Remove swRadiusAcctServer(swRadiusAccountingInfo) mib because RFC2620 provid already -- added swMacAuthBaseStatsInfo -- Remove swMacAuthStatsTable because just show in RD mode -- Remove swMacAuthStatsTable because just show in RD mode -- Remove swMacAuthStatsTable because just show in RD mode DLINK-AUTH-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, Unsigned32,Counter32, Counter64, TimeTicks FROM SNMPv2-SMI TruthValue,RowStatus,MacAddress FROM SNMPv2-TC SnmpAdminString FROM SNMP-FRAMEWORK-MIB IpAddress FROM RFC1155-SMI InterfaceIndex FROM IF-MIB PaeControlledPortStatus FROM IEEE8021-PAE-MIB DisplayString FROM SNMPv2-TC dlink-common-mgmt FROM DLINK-ID-REC-MIB; swDlinkAuthCtrl MODULE-IDENTITY LAST-UPDATED "0007150000Z" ORGANIZATION "D-Link, Inc." CONTACT-INFO " D-Link Customer Service Postal: No. 20,Park Ave, II, Science-based Industrial Park, Hsinchu, taiwan, R.O.C. Tel: 886-3-577-9966 E-mail: " DESCRIPTION "The Structure of Common Management Information for security functions for D-Link devices." ::= { dlink-common-mgmt 3 } swAuthCtrl OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 1 } swRadiusCtrl OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 2 } swRadiusAuthInfo OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 3 } swRadiusAccountingCtrl OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 4 } swRadiusAccountingInfo OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 5 } swMacAuthBaseStatsInfo OBJECT IDENTIFIER ::= { swDlinkAuthCtrl 6 } -- -- -- authProtocol OBJECT-TYPE SYNTAX INTEGER { authProtocolNone(1), authProtocolLocal(2), authProtocolRadius(3), authProtocolRadiusEap(4), authProtocolRadiusChap(5), authProtocolTacacs(6), authProtocolRadiusPap(7) } MAX-ACCESS read-write STATUS current DESCRIPTION "The authentication method used to authenticate user." DEFVAL { authProtocolRadiusEap } ::= { swAuthCtrl 1} swAuthMode OBJECT-TYPE SYNTAX INTEGER { portBase(1), macBase(2), none(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the authentication mode of the device." ::= { swAuthCtrl 2} -- -- swRadiusConfig -- --swRadiusDeadTime OBJECT-TYPE -- SYNTAX Unsigned32 -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "Specifies the number of minutes a RADIUS server, -- which is not responding to authentication requests, -- is considered unavailable and is passed over by -- further requests for RADIUS authentication." -- DEFVAL { 1 } -- ::= { swRadiusCtrl 1} --swRadiusTimeout OBJECT-TYPE -- SYNTAX Unsigned32 -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "Specifies the number of seconds NAS -- waits for a reply to a RADIUS request -- before retransmitting the request." -- DEFVAL { 10 } -- ::= { swRadiusCtrl 2 } --swRadiusRetransmitAttempts OBJECT-TYPE -- SYNTAX Unsigned32 -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "Specifies the number of times NAS -- transmits each RADIUS request to the -- server before giving up." -- DEFVAL { 2 } -- ::= { swRadiusCtrl 3 } swRadiusServerTable OBJECT-TYPE SYNTAX SEQUENCE OF RadiusServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " The swRadius server table " ::= { swRadiusCtrl 4 } swRadiusServerEntry OBJECT-TYPE SYNTAX RadiusServerEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION " The entiries of raidus Server table" INDEX { swRadiusServerIndex } ::= { swRadiusServerTable 1 } RadiusServerEntry ::= SEQUENCE { swRadiusServerIndex INTEGER, swRadiusServerIpAddr IpAddress, swRadiusServerKey DisplayString, swRadiusAuthPortNumber Unsigned32, swRadiusAcctPortNumber Unsigned32, swRadiusServerStatus RowStatus } swRadiusServerIndex OBJECT-TYPE SYNTAX INTEGER { swRadiusServerIndex-first(1), swRadiusServerIndex-second(2), swRadiusServerIndex-third(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The index of radius server" ::= { swRadiusServerEntry 1 } swRadiusServerIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The ip address of radius server" ::= { swRadiusServerEntry 2 } swRadiusServerKey OBJECT-TYPE SYNTAX DisplayString( SIZE(1..32)) MAX-ACCESS read-write STATUS current DESCRIPTION "The key of radius server" ::= { swRadiusServerEntry 3 } swRadiusAuthPortNumber OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-write STATUS current DESCRIPTION "UDP destination port number to use for authentication requests to this server." DEFVAL { 1812 } ::= { swRadiusServerEntry 4 } swRadiusAcctPortNumber OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-write STATUS current DESCRIPTION "UDP destination port number to use for accounting requests to this server" DEFVAL { 1813 } ::= { swRadiusServerEntry 5 } swRadiusServerStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-write STATUS current DESCRIPTION "The satuts of radius server" ::= { swRadiusServerEntry 6 } -- -- swRadiusAuth -- swRadiusAuthClientIdentifier OBJECT-TYPE SYNTAX OCTET STRING(SIZE (0..40)) MAX-ACCESS read-only STATUS obsolete DESCRIPTION "NAS Identifier" ::= { swRadiusAuthInfo 1 } swRadiusAuthClientInvalidServerAddresses OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "Statistics infomation - the number of RADIUS Access-Response packets received from unknown addresses." ::= { swRadiusAuthInfo 2 } swRadiusAuthServerTable OBJECT-TYPE SYNTAX SEQUENCE OF RadiusAuthServerEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION "The authenticate table for swRadius server " ::= { swRadiusAuthInfo 3 } swRadiusAuthServerEntry OBJECT-TYPE SYNTAX RadiusAuthServerEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION "A list of Radius authentic servers." INDEX { swRadiusAuthServerIndex } ::= { swRadiusAuthServerTable 1 } RadiusAuthServerEntry ::= SEQUENCE { swRadiusAuthServerIndex Integer32, swRadiusAuthServerAddress IpAddress, swRadiusAuthClientServerPortNumber Unsigned32, swRadiusAuthClientRoundTripTime Counter32, swRadiusAuthClientAccessRequests Counter32, swRadiusAuthClientAccessRetransmissions Counter32, swRadiusAuthClientAccessAccepts Counter32, swRadiusAuthClientAccessRejects Counter32, swRadiusAuthClientAccessChallenges Counter32, swRadiusAuthClientMalformedAccessResponses Counter32, swRadiusAuthClientBadAuthenticators Counter32, swRadiusAuthClientPendingRequests Counter32, swRadiusAuthClientTimeouts Counter32, swRadiusAuthClientUnknownTypes Counter32, swRadiusAuthClientPacketsDropped Counter32 } swRadiusAuthServerIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "Argument with RadiusServerIndex" ::= { swRadiusAuthServerEntry 1 } swRadiusAuthServerAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS obsolete DESCRIPTION "RadiusAuth server address" ::= { swRadiusAuthServerEntry 2 } swRadiusAuthClientServerPortNumber OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The UDP socket port numbers" DEFVAL { 1812 } ::= { swRadiusAuthServerEntry 3 } swRadiusAuthClientRoundTripTime OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of trip time from radius authentication" ::= { swRadiusAuthServerEntry 4 } swRadiusAuthClientAccessRequests OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of access requests from radius authentication" ::= { swRadiusAuthServerEntry 5 } swRadiusAuthClientAccessRetransmissions OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of retransimissions from radius authentication" ::= { swRadiusAuthServerEntry 6 } swRadiusAuthClientAccessAccepts OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter for accept times from radius authentication" ::= { swRadiusAuthServerEntry 7 } swRadiusAuthClientAccessRejects OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of reject from radius authentication" ::= { swRadiusAuthServerEntry 8 } swRadiusAuthClientAccessChallenges OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of Access changellenges times from radius authentication" ::= { swRadiusAuthServerEntry 9 } swRadiusAuthClientMalformedAccessResponses OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of Malformed access response from radius authentication" ::= { swRadiusAuthServerEntry 10 } swRadiusAuthClientBadAuthenticators OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of bad authenticate from radius authentication" ::= { swRadiusAuthServerEntry 11 } swRadiusAuthClientPendingRequests OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of pending requests from radius authentication" ::= { swRadiusAuthServerEntry 12 } swRadiusAuthClientTimeouts OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of timeouts from radius authentication" ::= { swRadiusAuthServerEntry 13 } swRadiusAuthClientUnknownTypes OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of unknown types from radius authentication" ::= { swRadiusAuthServerEntry 14 } swRadiusAuthClientPacketsDropped OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of dropped packets " ::= { swRadiusAuthServerEntry 15 } -- accountingConfig swRadiusAcctUpdateInterval OBJECT-TYPE SYNTAX Unsigned32 (1..65535) MAX-ACCESS read-write STATUS current DESCRIPTION "Time interval after which this Radius record should be updated and sent to an accounting server." ::= { swRadiusAccountingCtrl 1 } swRadiusAcctSuppressNullUserName OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "Whether or not generate accounting records for users with null name" ::= { swRadiusAccountingCtrl 2 } swRadiusAcctServiceTable OBJECT-TYPE SYNTAX SEQUENCE OF AcctServiceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Radius accounting Table" ::= { swRadiusAccountingCtrl 3 } swRadiusAcctServiceEntry OBJECT-TYPE SYNTAX AcctServiceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The list of accounting services." INDEX { swRadiusAcctServiceIndex } ::= { swRadiusAcctServiceTable 1 } AcctServiceEntry ::= SEQUENCE { swRadiusAcctServiceIndex INTEGER, swRadiusAcctServiceMethod INTEGER, swRadiusAcctServiceMode INTEGER } swRadiusAcctServiceIndex OBJECT-TYPE SYNTAX INTEGER { acctServiceIndex-network(1), acctServiceIndex-exec(2), acctServiceIndex-system(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The index of Accounting table." ::= { swRadiusAcctServiceEntry 1} swRadiusAcctServiceMethod OBJECT-TYPE SYNTAX INTEGER { swRadiusAcctServiceMethodNone(1), swRadiusAcctServiceMethodRadius(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The method of accouting service" DEFVAL { 2 } ::= { swRadiusAcctServiceEntry 2 } swRadiusAcctServiceMode OBJECT-TYPE SYNTAX INTEGER { radiusAcctServiceModeNone(1), radiusAcctServiceModeStartStop(2), radiusAcctServiceModeStopOnly(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "The service mode of accounting service" DEFVAL { 2 } ::= { swRadiusAcctServiceEntry 3 } --swRadiusAccounting swRadiusAcctClientIdentifier OBJECT-TYPE SYNTAX OCTET STRING(SIZE (0..40)) MAX-ACCESS read-only STATUS obsolete DESCRIPTION "NAS Identifier" ::= { swRadiusAccountingInfo 1} swRadiusAcctClientInvalidServerAddresses OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS obsolete DESCRIPTION "Statistics infomation - the number of RADIUS Accounting-Response packets received from unknown addresses." ::= { swRadiusAccountingInfo 2 } swRadiusAcctServerTable OBJECT-TYPE SYNTAX SEQUENCE OF RadiusAcctServerEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION "The radius server accounting table" ::= { swRadiusAccountingInfo 3 } swRadiusAcctServerEntry OBJECT-TYPE SYNTAX RadiusAcctServerEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION "The list for radius accounting table" INDEX { swRadiusAcctServerIndex } ::= { swRadiusAcctServerTable 1 } RadiusAcctServerEntry ::= SEQUENCE { swRadiusAcctServerIndex Integer32, swRadiusAcctServerAddress IpAddress, swRadiusAcctClientServerPortNumber Unsigned32, swRadiusAcctClientRoundTripTime Counter32, swRadiusAcctClientRequests Counter32, swRadiusAcctClientRetransmissions Counter32, swRadiusAcctClientResponses Counter32, swRadiusAcctClientMalformedResponses Counter32, swRadiusAcctClientBadAuthenticators Counter32, swRadiusAcctClientPendingRequests Counter32, swRadiusAcctClientTimeouts Counter32, swRadiusAcctClientUnknownTypes Counter32, swRadiusAcctClientPacketsDropped Counter32 } swRadiusAcctServerIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The index of Radius accounting server, argument with RadiusServerIndex." ::= { swRadiusAcctServerEntry 1 } swRadiusAcctServerAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The server address of radius accounting" ::= { swRadiusAcctServerEntry 2 } swRadiusAcctClientServerPortNumber OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The UDP socket port of radius accounting " DEFVAL { 1813 } ::= { swRadiusAcctServerEntry 3} swRadiusAcctClientRoundTripTime OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of trip time from radius accounting" ::= { swRadiusAcctServerEntry 4 } swRadiusAcctClientRequests OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of request from radius accounting" ::= { swRadiusAcctServerEntry 5 } swRadiusAcctClientRetransmissions OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of retransmissions from radius accounting" ::= { swRadiusAcctServerEntry 6 } swRadiusAcctClientResponses OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of responses from radius accounting" ::= { swRadiusAcctServerEntry 7 } swRadiusAcctClientMalformedResponses OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of Malformed response from radius accounting" ::= { swRadiusAcctServerEntry 8 } swRadiusAcctClientBadAuthenticators OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of bad authenticate for radius accounting" ::= { swRadiusAcctServerEntry 9 } swRadiusAcctClientPendingRequests OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The pending counter of radius client requests" ::= { swRadiusAcctServerEntry 10 } swRadiusAcctClientTimeouts OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of the timeout connect to radius accounting" ::= { swRadiusAcctServerEntry 11 } swRadiusAcctClientUnknownTypes OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of unknown types from radius accounting" ::= { swRadiusAcctServerEntry 12 } swRadiusAcctClientPacketsDropped OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS obsolete DESCRIPTION "The counter of dropped packets from radius accounting" ::= { swRadiusAcctServerEntry 13 } -- ---------------------------------------------------------- -- -- The Mac-base Authenticator State Table -- ---------------------------------------------------------- -- swMacAuthStateTable OBJECT-TYPE SYNTAX SEQUENCE OF SwMacAuthStateEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains the status objects for the Authenticator PAE associated with each virtual port(Mac). An entry appears in this table for each virtual port that may authenticate access to itself." ::= { swMacAuthBaseStatsInfo 1 } swMacAuthStateEntry OBJECT-TYPE SYNTAX SwMacAuthStateEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The information for an Authenticator PAE." INDEX {swPaeMacAddr ,swPaePortNumber} ::= { swMacAuthStateTable 1 } SwMacAuthStateEntry ::= SEQUENCE { swPaeMacAddr MacAddress, swPaePortNumber InterfaceIndex, swAuthPaeState INTEGER, swAuthBackendAuthState INTEGER, swAuthAuthControlledPortStatus PaeControlledPortStatus } swPaeMacAddr OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The address associated with this Mac." ::= { swMacAuthStateEntry 1 } swPaePortNumber OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS read-only STATUS current DESCRIPTION "The Port number associated with this Port." ::= { swMacAuthStateEntry 2 } swAuthPaeState OBJECT-TYPE SYNTAX INTEGER { initialize(1), disconnected(2), connecting(3), authenticating(4), authenticated(5), aborting(6), held(7), forceAuth(8), forceUnauth(9) } MAX-ACCESS read-only STATUS current DESCRIPTION "The current value of the Authenticator PAE state machine." ::= { swMacAuthStateEntry 3 } swAuthBackendAuthState OBJECT-TYPE SYNTAX INTEGER { request(1), response(2), success(3), fail(4), timeout(5), idle(6), initialize(7) } MAX-ACCESS read-only STATUS current DESCRIPTION "The current state of the Backend Authentication state machine." ::= { swMacAuthStateEntry 4 } swAuthAuthControlledPortStatus OBJECT-TYPE SYNTAX PaeControlledPortStatus MAX-ACCESS read-only STATUS current DESCRIPTION "The current value of the controlled Port status parameter for the Port." ::= { swMacAuthStateEntry 5 } END