diff options
Diffstat (limited to 'usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt')
-rw-r--r-- | usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt | 51 |
1 files changed, 34 insertions, 17 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt b/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt index 5f395f8..0b90bb2 100644 --- a/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt +++ b/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt @@ -17,11 +17,13 @@ IMPORTS FROM SNMPv2-SMI TruthValue FROM SNMPv2-TC + InetAddress, InetAddressType, InetAddressPrefixLength + FROM INET-ADDRESS-MIB begemot FROM BEGEMOT-MIB; begemotPf MODULE-IDENTITY - LAST-UPDATED "201003170000Z" + LAST-UPDATED "201003180000Z" ORGANIZATION "NixSys BVBA" CONTACT-INFO " Philip Paeps @@ -34,6 +36,12 @@ begemotPf MODULE-IDENTITY E-Mail: philip@FreeBSD.org" DESCRIPTION "The Begemot MIB for the pf packet filter." + REVISION "201003180000Z" + DESCRIPTION + "Modified pfTablesAddrEntry to support IPv6 + addresses - added pfTablesAddrNetType column + and modified type of pfTablesAddrNet to + InetAddress." REVISION "200912050000Z" DESCRIPTION "Added support for retrieving counters of labeled @@ -1025,8 +1033,9 @@ pfTablesAddrEntry OBJECT-TYPE PfTablesAddrEntry ::= SEQUENCE { pfTablesAddrIndex Integer32, - pfTablesAddrNet IpAddress, - pfTablesAddrMask Integer32, + pfTablesAddrNetType InetAddressType, + pfTablesAddrNet InetAddress, + pfTablesAddrPrefix InetAddressPrefixLength, pfTablesAddrTZero TimeTicks, pfTablesAddrBytesInPass Counter64, pfTablesAddrBytesInBlock Counter64, @@ -1046,21 +1055,29 @@ pfTablesAddrIndex OBJECT-TYPE "A unique value, greater than zero, for each address." ::= { pfTablesAddrEntry 1 } +pfTablesAddrNetType OBJECT-TYPE + SYNTAX InetAddressType + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The type of address in the corresponding pfTablesAddrNet object." + ::= { pfTablesAddrEntry 2 } + pfTablesAddrNet OBJECT-TYPE - SYNTAX IpAddress + SYNTAX InetAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The IP address of this particular table entry." - ::= { pfTablesAddrEntry 2 } + ::= { pfTablesAddrEntry 3 } -pfTablesAddrMask OBJECT-TYPE - SYNTAX Integer32 (0..32) +pfTablesAddrPrefix OBJECT-TYPE + SYNTAX InetAddressPrefixLength MAX-ACCESS read-only STATUS current DESCRIPTION "The CIDR netmask of this particular table entry." - ::= { pfTablesAddrEntry 3 } + ::= { pfTablesAddrEntry 4 } pfTablesAddrTZero OBJECT-TYPE SYNTAX TimeTicks @@ -1071,7 +1088,7 @@ pfTablesAddrTZero OBJECT-TYPE "The time passed since this entry's statistics were last cleared, or the time passed since this entry was loaded into the table, whichever is sooner." - ::= { pfTablesAddrEntry 4 } + ::= { pfTablesAddrEntry 5 } pfTablesAddrBytesInPass OBJECT-TYPE SYNTAX Counter64 @@ -1079,7 +1096,7 @@ pfTablesAddrBytesInPass OBJECT-TYPE STATUS current DESCRIPTION "The number of inbound bytes passed as a result of this entry." - ::= { pfTablesAddrEntry 5 } + ::= { pfTablesAddrEntry 6 } pfTablesAddrBytesInBlock OBJECT-TYPE SYNTAX Counter64 @@ -1087,7 +1104,7 @@ pfTablesAddrBytesInBlock OBJECT-TYPE STATUS current DESCRIPTION "The number of inbound bytes blocked as a result of this entry." - ::= { pfTablesAddrEntry 6 } + ::= { pfTablesAddrEntry 7 } pfTablesAddrBytesOutPass OBJECT-TYPE SYNTAX Counter64 @@ -1095,7 +1112,7 @@ pfTablesAddrBytesOutPass OBJECT-TYPE STATUS current DESCRIPTION "The number of outbound bytes passed as a result of this entry." - ::= { pfTablesAddrEntry 7 } + ::= { pfTablesAddrEntry 8 } pfTablesAddrBytesOutBlock OBJECT-TYPE SYNTAX Counter64 @@ -1103,7 +1120,7 @@ pfTablesAddrBytesOutBlock OBJECT-TYPE STATUS current DESCRIPTION "The number of outbound bytes blocked as a result of this entry." - ::= { pfTablesAddrEntry 8 } + ::= { pfTablesAddrEntry 9 } pfTablesAddrPktsInPass OBJECT-TYPE SYNTAX Counter64 @@ -1111,7 +1128,7 @@ pfTablesAddrPktsInPass OBJECT-TYPE STATUS current DESCRIPTION "The number of inbound packets passed as a result of this entry." - ::= { pfTablesAddrEntry 9 } + ::= { pfTablesAddrEntry 10 } pfTablesAddrPktsInBlock OBJECT-TYPE SYNTAX Counter64 @@ -1119,7 +1136,7 @@ pfTablesAddrPktsInBlock OBJECT-TYPE STATUS current DESCRIPTION "The number of inbound packets blocked as a result of this entry." - ::= { pfTablesAddrEntry 10 } + ::= { pfTablesAddrEntry 11 } pfTablesAddrPktsOutPass OBJECT-TYPE SYNTAX Counter64 @@ -1127,7 +1144,7 @@ pfTablesAddrPktsOutPass OBJECT-TYPE STATUS current DESCRIPTION "The number of outbound packets passed as a result of this entry." - ::= { pfTablesAddrEntry 11 } + ::= { pfTablesAddrEntry 12 } pfTablesAddrPktsOutBlock OBJECT-TYPE SYNTAX Counter64 @@ -1136,7 +1153,7 @@ pfTablesAddrPktsOutBlock OBJECT-TYPE DESCRIPTION "The number of outbound packets blocked as a result of this entry." - ::= { pfTablesAddrEntry 12 } + ::= { pfTablesAddrEntry 13 } -- -------------------------------------------------------------------------- |