UCD-IPFWACC-MIB

File: UCD-IPFWACC-MIB.mib (8445 bytes)

Imported modules

SNMPv2-SMI SNMPv2-TC UCD-SNMP-MIB

Imported symbols

OBJECT-TYPE MODULE-IDENTITY IpAddress
Integer32 Counter32 DisplayString
ucdExperimental

Defined Types

IpFwAccEntry  
SEQUENCE    
  ipFwAccIndex Integer32
  ipFwAccSrcAddr IpAddress
  ipFwAccSrcNetMask IpAddress
  ipFwAccDstAddr IpAddress
  ipFwAccDstNetMask IpAddress
  ipFwAccViaName DisplayString
  ipFwAccViaAddr IpAddress
  ipFwAccProto INTEGER
  ipFwAccBidir INTEGER
  ipFwAccDir INTEGER
  ipFwAccBytes Counter32
  ipFwAccPackets Counter32
  ipFwAccNrSrcPorts Integer32
  ipFwAccNrDstPorts Integer32
  ipFwAccSrcIsRange INTEGER
  ipFwAccDstIsRange INTEGER
  ipFwAccPort1 Integer32
  ipFwAccPort2 Integer32
  ipFwAccPort3 Integer32
  ipFwAccPort4 Integer32
  ipFwAccPort5 Integer32
  ipFwAccPort6 Integer32
  ipFwAccPort7 Integer32
  ipFwAccPort8 Integer32
  ipFwAccPort9 Integer32
  ipFwAccPort10 Integer32

Defined Values

ucdIpFwAccMIB 1.3.6.1.4.1.2021.13.1
This module defines MIB components for reading information from the accounting rules IP Firewall. This would typically let you read the rules and the counters. I did not include some flags and fields that I considered irrelevant for the accounting rules. Resetting the counters of the rules by SNMP would be simple, but I don't consider it so useful. I gave no consideration to implementing write access for allowing modification of the accounting rules. Cristian.Estan@net.utcluj.ro
MODULE-IDENTITY    

ipFwAccTable 1.3.6.1.4.1.2021.13.1.1
A table with the accounting rules of the IP firewall
Status: current Access: not-accessible
OBJECT-TYPE    
  SEQUENCE OF  
    IpFwAccEntry

ipFwAccEntry 1.3.6.1.4.1.2021.13.1.1.1
An accounting rule of the IP firewall
Status: current Access: not-accessible
OBJECT-TYPE    
  IpFwAccEntry  

ipFwAccIndex 1.3.6.1.4.1.2021.13.1.1.1.1
Reference index for each firewall rule.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32 0..2147483647  

ipFwAccSrcAddr 1.3.6.1.4.1.2021.13.1.1.1.2
The source address in the firewall rule.
Status: current Access: read-only
OBJECT-TYPE    
  IpAddress  

ipFwAccSrcNetMask 1.3.6.1.4.1.2021.13.1.1.1.3
The netmask of the source address in the firewall rule.
Status: current Access: read-only
OBJECT-TYPE    
  IpAddress  

ipFwAccDstAddr 1.3.6.1.4.1.2021.13.1.1.1.4
The destination address in the firewall rule.
Status: current Access: read-only
OBJECT-TYPE    
  IpAddress  

ipFwAccDstNetMask 1.3.6.1.4.1.2021.13.1.1.1.5
The netmask of the destination address in the firewall rule.
Status: current Access: read-only
OBJECT-TYPE    
  IpAddress  

ipFwAccViaName 1.3.6.1.4.1.2021.13.1.1.1.6
The name of the interface to which the rule applies. If no interface is associated with the present rule, this should contain a dash (-).
Status: current Access: read-only
OBJECT-TYPE    
  DisplayString Size(1..64)  

ipFwAccViaAddr 1.3.6.1.4.1.2021.13.1.1.1.7
The address of the interface to which the rule applies. Using this parameter makes sense when multiple addresses are associated to the same physical interface. If not defined for the current rule this should be set to 0.
Status: current Access: read-only
OBJECT-TYPE    
  IpAddress  

ipFwAccProto 1.3.6.1.4.1.2021.13.1.1.1.8
The protocol(s) to which the rule applies.
Status: current Access: read-only
OBJECT-TYPE    
  INTEGER other(1), all(2), tcp(3), udp(4), icmp(5)  

ipFwAccBidir 1.3.6.1.4.1.2021.13.1.1.1.9
Whether the rule works in both directions (i.e. with the source and destination parts swapped) or not.
Status: current Access: read-only
OBJECT-TYPE    
  INTEGER unidirectional(1), bidirectional(2)  

ipFwAccDir 1.3.6.1.4.1.2021.13.1.1.1.10
Whether the rule applies to packets entering or exiting the kernel.
Status: current Access: read-only
OBJECT-TYPE    
  INTEGER both(1), in(2), out(3)  

ipFwAccBytes 1.3.6.1.4.1.2021.13.1.1.1.11
The number of bytes that matched this rule since the last reset of the counters.
Status: current Access: read-only
OBJECT-TYPE    
  Counter32  

ipFwAccPackets 1.3.6.1.4.1.2021.13.1.1.1.12
The number of packets that matched this rule since the last reset of the counters.
Status: current Access: read-only
OBJECT-TYPE    
  Counter32  

ipFwAccNrSrcPorts 1.3.6.1.4.1.2021.13.1.1.1.13
The number of ports that refer to the source address.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccNrDstPorts 1.3.6.1.4.1.2021.13.1.1.1.14
The number of ports that refer to the destination address.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccSrcIsRange 1.3.6.1.4.1.2021.13.1.1.1.15
Interpret the first two ports of the source part as the upper and lower limit of an interval or not.
Status: current Access: read-only
OBJECT-TYPE    
  INTEGER srchasrange(1), srchasnorange(2)  

ipFwAccDstIsRange 1.3.6.1.4.1.2021.13.1.1.1.16
Interpret the first two ports of the destination part as the upper and lower limit of an interval or not.
Status: current Access: read-only
OBJECT-TYPE    
  INTEGER dsthasrange(1), dsthasnorange(2)  

ipFwAccPort1 1.3.6.1.4.1.2021.13.1.1.1.17
Port number 1.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort2 1.3.6.1.4.1.2021.13.1.1.1.18
Port number 2.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort3 1.3.6.1.4.1.2021.13.1.1.1.19
Port number 3.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort4 1.3.6.1.4.1.2021.13.1.1.1.20
Port number 4.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort5 1.3.6.1.4.1.2021.13.1.1.1.21
Port number 5.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort6 1.3.6.1.4.1.2021.13.1.1.1.22
Port number 6.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort7 1.3.6.1.4.1.2021.13.1.1.1.23
Port number 7.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort8 1.3.6.1.4.1.2021.13.1.1.1.24
Port number 8.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort9 1.3.6.1.4.1.2021.13.1.1.1.25
Port number 9.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32  

ipFwAccPort10 1.3.6.1.4.1.2021.13.1.1.1.26
Port number 10.
Status: current Access: read-only
OBJECT-TYPE    
  Integer32