-- ***************************************************************** -- GARRETTCOM-IPSEC-MIB MIB to implement IKE/IPsec -- -- Copyright (c) 2018 by GarrettCom, Inc. -- All rights reserved. -- ***************************************************************** -- GARRETTCOM-IPSEC-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, IpAddress FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF RowStatus, DisplayString, TEXTUAL-CONVENTION FROM SNMPv2-TC GcAclName FROM GARRETTCOM-ACL-MIB gcAtlantisIpsecMib FROM GARRETTCOM-SMI; gcAtlantisIpsecMib MODULE-IDENTITY LAST-UPDATED "201806110000Z" ORGANIZATION "GarrettCom Inc." CONTACT-INFO "Postal: GarrettCom Incorporated 255 Fourier Avenue, Fremont, CA-94539 USA Phone: +1 510 438 9071 E-mail: support@garrettcom.com WWW: http://www.garrettcom.com" DESCRIPTION "The MIB module implements the Atlantis IPsec configuration MIB." REVISION "201806110000Z" DESCRIPTION "Initial version of this MIB module." ::= { gcAtlantisIpsecMib } gcIpsecMIBNotifs OBJECT IDENTIFIER ::= { gcAtlantisIpsecMib 0 } gcIpsecMIBObjects OBJECT IDENTIFIER ::= { gcAtlantisIpsecMib 1 } gcIpsecMIBConform OBJECT IDENTIFIER ::= { gcAtlantisIpsecMib 2 } gcIpsecConfig OBJECT IDENTIFIER ::= { gcIpsecMIBObjects 1 } gcIpsecStatus OBJECT IDENTIFIER ::= { gcIpsecMIBObjects 2 } gcIpsecTraps OBJECT IDENTIFIER ::= { gcIpsecMIBNotifs 0 } GcIpsecName ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines names used in the Ipsec MIB to identify profiles, proposals, and crypto maps. The object value shall be an alphanumeric string." SYNTAX DisplayString (SIZE (0..32)) GcIpsecAuthInfo ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines the string used to hold the IKE pre-shared key or other authentication information, depending on the authentication method." SYNTAX DisplayString (SIZE (0..256)) GcIpsecIkeCookie ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines the octer string used to hold an IKE cookie." SYNTAX DisplayString (SIZE (0..256)) GcIpsecEncrAlgo ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines the supported encryption algorithms." SYNTAX INTEGER { des(1), 3des(2), aes(3), aes256(4) } GcIpsecHashAlgo ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines the supported hash algorithms." SYNTAX INTEGER { md5(1), sha1(2), sha256(3), sha384(4) } -- **************************************************************** -- Scalars -- **************************************************************** gcIpsecIkeVersion OBJECT-TYPE SYNTAX Integer32 (1..2) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the IKE version used in IPSec.The default version shall be version 2" DEFVAL { 2 } ::= { gcIpsecConfig 4 } gcIpsecIkeEAP OBJECT-TYPE SYNTAX INTEGER { none(0), supplicant(1), authenticator(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the type of eap entity running IKE if EAP enabled (i.e. Not None), default shall be disabled(None)" DEFVAL { none } ::= { gcIpsecConfig 5 } gcIpsecIkeWindowSize OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "Specifies the window size, i.e. the number of outstanding requests before responder responds, default shall be 1" DEFVAL { 1 } ::= { gcIpsecConfig 6 } gcIpsecIkeReauthTime OBJECT-TYPE SYNTAX Integer32 (300..86400) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the time before which initiator should start the reauth process. default shall be 0" DEFVAL { 0 } ::= { gcIpsecConfig 7 } gcIpsecIkeNatKeepAliveTime OBJECT-TYPE SYNTAX Integer32 (5..3600) MAX-ACCESS read-write STATUS current DESCRIPTION "Specifies the time in seconds between keep alive packets. ,default shall be 300" DEFVAL { 300 } ::= { gcIpsecConfig 8 } -- **************************************************************** -- Tables -- **************************************************************** gcIpsecIkeProfileTable OBJECT-TYPE SYNTAX SEQUENCE OF GcIpsecIkeProfileEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "IKE Profile Configuration Table" ::= { gcIpsecConfig 1 } gcIpsecIkeProfileEntry OBJECT-TYPE SYNTAX GcIpsecIkeProfileEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the IKE Profile Configuration Table." INDEX { gcIpsecIkeProfileName } ::= { gcIpsecIkeProfileTable 1 } GcIpsecIkeProfileEntry ::= SEQUENCE { gcIpsecIkeProfileName GcIpsecName, gcIpsecIkeProfileEncrAlgo GcIpsecEncrAlgo, gcIpsecIkeProfileHashAlgo GcIpsecHashAlgo, gcIpsecIkeProfileGroup INTEGER, gcIpsecIkeProfilePfs INTEGER, gcIpsecIkeProfileLifetime INTEGER, gcIpsecIkeProfileDpd INTEGER, gcIpsecIkeProfileRowStatus RowStatus } gcIpsecIkeProfileName OBJECT-TYPE SYNTAX GcIpsecName MAX-ACCESS not-accessible STATUS current DESCRIPTION "The profile name." ::= { gcIpsecIkeProfileEntry 1 } gcIpsecIkeProfileEncrAlgo OBJECT-TYPE SYNTAX GcIpsecEncrAlgo MAX-ACCESS read-write STATUS current DESCRIPTION "The encryption algorithm to use for phase 1 IKE negotiation. Defaults to 3des(2)." ::= { gcIpsecIkeProfileEntry 2 } gcIpsecIkeProfileHashAlgo OBJECT-TYPE SYNTAX GcIpsecHashAlgo MAX-ACCESS read-write STATUS current DESCRIPTION "The hash algorithm to use for phase 1 IKE negotiation. Defaults to sha1(2)." ::= { gcIpsecIkeProfileEntry 3 } gcIpsecIkeProfileGroup OBJECT-TYPE SYNTAX INTEGER { dhgrp1(1), dhgrp2(2), dhgrp5(5), dhgrp14(14), dhgrp24(24) } MAX-ACCESS read-write STATUS current DESCRIPTION "The Diffie-Hellman (DH) group to use for phase 1 IKE negotiation. Defaults to dhgrp2(2)." ::= { gcIpsecIkeProfileEntry 4 } gcIpsecIkeProfilePfs OBJECT-TYPE SYNTAX INTEGER { nopfs(0), pfsgrp1(1), pfsgrp2(2), pfsgrp5(5), pfsgrp14(14), pfsgrp24(24) } MAX-ACCESS read-write STATUS current DESCRIPTION "The Diffie-Hellman (DH) group to use for Perfect Forward Secrecy (PFS). Defaults to dhgrp2(2). If set to nopfs(0), PFS is disabled." ::= { gcIpsecIkeProfileEntry 5 } gcIpsecIkeProfileLifetime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The desired lifetime of the negotiated IKE SA in seconds. Valid range is 300 to 86400 seconds. Default is 28800 seconds." ::= { gcIpsecIkeProfileEntry 6 } gcIpsecIkeProfileDpd OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "The periodicity of R-U-THERE keepalive messages in seconds. If set to 0, DPD is disabled. Default is 30 seconds." ::= { gcIpsecIkeProfileEntry 7 } gcIpsecIkeProfileRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status variable, used in accordance to installation and removal conventions for conceptual rows." ::= { gcIpsecIkeProfileEntry 8 } gcIpsecProposalTable OBJECT-TYPE SYNTAX SEQUENCE OF GcIpsecProposalEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "IPsec Proposal Configuration Table" ::= { gcIpsecConfig 2 } gcIpsecProposalEntry OBJECT-TYPE SYNTAX GcIpsecProposalEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the IPsec Proposal Configuration Table." INDEX { gcIpsecProposalName } ::= { gcIpsecProposalTable 1 } GcIpsecProposalEntry ::= SEQUENCE { gcIpsecProposalName GcIpsecName, gcIpsecProposalEncrAlgo GcIpsecEncrAlgo, gcIpsecProposalHashAlgo GcIpsecHashAlgo, gcIpsecProposalLifetime INTEGER, gcIpsecProposalRowStatus RowStatus } gcIpsecProposalName OBJECT-TYPE SYNTAX GcIpsecName MAX-ACCESS not-accessible STATUS current DESCRIPTION "The proposal name." ::= { gcIpsecProposalEntry 1 } gcIpsecProposalEncrAlgo OBJECT-TYPE SYNTAX GcIpsecEncrAlgo MAX-ACCESS read-write STATUS current DESCRIPTION "The encryption algorithm to use for phase 2 IKE negotiation. Defaults to 3des(2)." ::= { gcIpsecProposalEntry 2 } gcIpsecProposalHashAlgo OBJECT-TYPE SYNTAX GcIpsecHashAlgo MAX-ACCESS read-write STATUS current DESCRIPTION "The hash algorithm to use for phase 2 IKE negotiation. Defaults to sha1(2)." ::= { gcIpsecProposalEntry 3 } gcIpsecProposalLifetime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-write STATUS current DESCRIPTION "The desired lifetime of the negotiated IPSEC SA in seconds. Valid range is 300 to 86400 seconds. Default is 28800 seconds." ::= { gcIpsecProposalEntry 4 } gcIpsecProposalRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status variable, used in accordance to installation and removal conventions for conceptual rows." ::= { gcIpsecProposalEntry 5 } gcCryptoMapTable OBJECT-TYPE SYNTAX SEQUENCE OF GcCryptoMapEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Crypto Map Configuration Table" ::= { gcIpsecConfig 3 } gcCryptoMapEntry OBJECT-TYPE SYNTAX GcCryptoMapEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the Crypto Map Configuration Table." INDEX { gcCryptoMapName } ::= { gcCryptoMapTable 1 } GcCryptoMapEntry ::= SEQUENCE { gcCryptoMapName GcIpsecName, gcCryptoMapProfileName GcIpsecName, gcCryptoMapProposalName GcIpsecName, gcCryptoMapAclName GcAclName, gcCryptoMapPeerAddress IpAddress, gcCryptoMapLocalAddress IpAddress, gcCryptoMapAuthType INTEGER, gcCryptoMapAuthInfo GcIpsecAuthInfo, gcCryptoMapRowStatus RowStatus } gcCryptoMapName OBJECT-TYPE SYNTAX GcIpsecName MAX-ACCESS not-accessible STATUS current DESCRIPTION "The crypto map name." ::= { gcCryptoMapEntry 1 } gcCryptoMapProfileName OBJECT-TYPE SYNTAX GcIpsecName MAX-ACCESS read-write STATUS current DESCRIPTION "The name of an IKE profile." ::= { gcCryptoMapEntry 2 } gcCryptoMapProposalName OBJECT-TYPE SYNTAX GcIpsecName MAX-ACCESS read-write STATUS current DESCRIPTION "The name of an IPsec proposal." ::= { gcCryptoMapEntry 3 } gcCryptoMapAclName OBJECT-TYPE SYNTAX GcAclName MAX-ACCESS read-write STATUS current DESCRIPTION "The name of an access control list that describes the traffic to be protected." ::= { gcCryptoMapEntry 4 } gcCryptoMapPeerAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The IP address of the IKE peer." ::= { gcCryptoMapEntry 5 } gcCryptoMapLocalAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "The IP address of the local IKE process." ::= { gcCryptoMapEntry 6 } gcCryptoMapAuthType OBJECT-TYPE SYNTAX INTEGER { psk(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The authentication type. Currently this can only be set to psk(1). In the future, other methods, like rsa, may be implemented." ::= { gcCryptoMapEntry 7 } gcCryptoMapAuthInfo OBJECT-TYPE SYNTAX GcIpsecAuthInfo MAX-ACCESS read-write STATUS current DESCRIPTION "If gcCryptoMapAuthType is set to psk(1), this variable is used to configure the pre-shared key." ::= { gcCryptoMapEntry 8 } gcCryptoMapRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status variable, used in accordance to installation and removal conventions for conceptual rows." ::= { gcCryptoMapEntry 9 } gcIpsecIkeSaTable OBJECT-TYPE SYNTAX SEQUENCE OF GcIpsecIkeSaEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "IKE SA Status Table" ::= { gcIpsecStatus 1 } gcIpsecIkeSaEntry OBJECT-TYPE SYNTAX GcIpsecIkeSaEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the IKE SA Status Table." INDEX { gcIpsecIkeSaId } ::= { gcIpsecIkeSaTable 1 } GcIpsecIkeSaEntry ::= SEQUENCE { gcIpsecIkeSaId INTEGER, gcIpsecIkeSaInitiatorAddress IpAddress, gcIpsecIkeSaInitiatorCookie GcIpsecIkeCookie, gcIpsecIkeSaResponderAddress IpAddress, gcIpsecIkeSaResponderCookie GcIpsecIkeCookie, gcIpsecIkeSaMaxLifetime INTEGER, gcIpsecIkeSaRemainingTime INTEGER, gcIpsecIkeSaEncrAlgo GcIpsecEncrAlgo, gcIpsecIkeSaHashAlgo GcIpsecHashAlgo, gcIpsecIkeSaNatDetected INTEGER, gcIpsecIkeSaRowStatus RowStatus } gcIpsecIkeSaId OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the IKE SA." ::= { gcIpsecIkeSaEntry 1 } gcIpsecIkeSaInitiatorAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The IP address of the IKE initiator." ::= { gcIpsecIkeSaEntry 2 } gcIpsecIkeSaResponderAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The IP address of the IKE responder." ::= { gcIpsecIkeSaEntry 3 } gcIpsecIkeSaInitiatorCookie OBJECT-TYPE SYNTAX GcIpsecIkeCookie MAX-ACCESS read-only STATUS current DESCRIPTION "The cookie of the IKE initiator." ::= { gcIpsecIkeSaEntry 4 } gcIpsecIkeSaResponderCookie OBJECT-TYPE SYNTAX GcIpsecIkeCookie MAX-ACCESS read-only STATUS current DESCRIPTION "The cookie of the IKE responder." ::= { gcIpsecIkeSaEntry 5 } gcIpsecIkeSaMaxLifetime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-only STATUS current DESCRIPTION "The total number of seconds the IKE SA will live." ::= { gcIpsecIkeSaEntry 6 } gcIpsecIkeSaRemainingTime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-only STATUS current DESCRIPTION "The actual number of seconds the IKE SA has left." ::= { gcIpsecIkeSaEntry 7 } gcIpsecIkeSaEncrAlgo OBJECT-TYPE SYNTAX GcIpsecEncrAlgo MAX-ACCESS read-only STATUS current DESCRIPTION "The encryption algorithm used to protect this SA." ::= { gcIpsecIkeSaEntry 8 } gcIpsecIkeSaHashAlgo OBJECT-TYPE SYNTAX GcIpsecHashAlgo MAX-ACCESS read-only STATUS current DESCRIPTION "The hash algorithm used to protect this SA." ::= { gcIpsecIkeSaEntry 9 } gcIpsecIkeSaNatDetected OBJECT-TYPE SYNTAX INTEGER { no(1), yes(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The information to user if NAT is detected or not." DEFVAL { no } ::= { gcIpsecIkeSaEntry 10 } gcIpsecIkeSaRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-write STATUS current DESCRIPTION "The row status variable, used only to remove a row in this table. It cannot be used to create rows. Removing a row in this table has the effect of manually deleting that IKE SA." ::= { gcIpsecIkeSaEntry 11 } gcIpsecSaTable OBJECT-TYPE SYNTAX SEQUENCE OF GcIpsecSaEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "IPsec SA Status Table" ::= { gcIpsecStatus 2 } gcIpsecSaEntry OBJECT-TYPE SYNTAX GcIpsecSaEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the IPsec SA Status Table." INDEX { gcIpsecSaOutboundId, gcIpsecSaInboundId } ::= { gcIpsecSaTable 1 } GcIpsecSaEntry ::= SEQUENCE { gcIpsecSaOutboundId INTEGER, gcIpsecSaInboundId INTEGER, gcIpsecSaOutboundSPI INTEGER, gcIpsecSaInboundSPI INTEGER, gcIpsecSaSourceAddressStart IpAddress, gcIpsecSaSourceAddressEnd IpAddress, gcIpsecSaDestAddressStart IpAddress, gcIpsecSaDestAddressEnd IpAddress, gcIpsecSaMaxLifetime INTEGER, gcIpsecSaRemainingTime INTEGER, gcIpsecSaEncrAlgo GcIpsecEncrAlgo, gcIpsecSaHashAlgo GcIpsecHashAlgo, gcIpsecSaRowStatus RowStatus } gcIpsecSaOutboundId OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the outbound IPsec SA." ::= { gcIpsecSaEntry 1 } gcIpsecSaInboundId OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS not-accessible STATUS current DESCRIPTION "The unique identifier of the inbound IPsec SA." ::= { gcIpsecSaEntry 2 } gcIpsecSaOutboundSPI OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The security parameter index for the outbound IPsec SA." ::= { gcIpsecSaEntry 3 } gcIpsecSaInboundSPI OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The security parameter index for the inbound IPsec SA." ::= { gcIpsecSaEntry 4 } gcIpsecSaSourceAddressStart OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The first source IP address in the range of traffic protected by this IPsec SA." ::= { gcIpsecSaEntry 5 } gcIpsecSaSourceAddressEnd OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The last source IP address in the range of traffic protected by this IPsec SA." ::= { gcIpsecSaEntry 6 } gcIpsecSaDestAddressStart OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The first dest. IP address in the range of traffic protected by this IPsec SA." ::= { gcIpsecSaEntry 7 } gcIpsecSaDestAddressEnd OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The last dest. IP address in the range of traffic protected by this IPsec SA." ::= { gcIpsecSaEntry 8 } gcIpsecSaMaxLifetime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-only STATUS current DESCRIPTION "The total number of seconds the IPsec SA will live." ::= { gcIpsecSaEntry 9 } gcIpsecSaRemainingTime OBJECT-TYPE SYNTAX INTEGER UNITS "seconds" MAX-ACCESS read-only STATUS current DESCRIPTION "The actual number of seconds the IPsec SA has left." ::= { gcIpsecSaEntry 10 } gcIpsecSaEncrAlgo OBJECT-TYPE SYNTAX GcIpsecEncrAlgo MAX-ACCESS read-only STATUS current DESCRIPTION "The encryption algorithm used to protect this SA." ::= { gcIpsecSaEntry 11 } gcIpsecSaHashAlgo OBJECT-TYPE SYNTAX GcIpsecHashAlgo MAX-ACCESS read-only STATUS current DESCRIPTION "The hash algorithm used to protect this SA." ::= { gcIpsecSaEntry 12 } gcIpsecSaRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-write STATUS current DESCRIPTION "The row status variable, used only to remove a row in this table. It cannot be used to create rows. Removing a row in this table has the effect of manually deleting that IPsec SA." ::= { gcIpsecSaEntry 13 } END