1 UCD-IPFWACC-MIB DEFINITIONS ::= BEGIN
4 OBJECT-TYPE, MODULE-IDENTITY, IpAddress, Integer32, Counter32
11 ucdIpFwAccMIB MODULE-IDENTITY
12 LAST-UPDATED "9912160000Z"
13 ORGANIZATION "University of California, Davis"
15 "This mib is no longer being maintained by the University of
16 California and is now in life-support-mode and being
17 maintained by the net-snmp project. The best place to write
18 for public questions about the net-snmp-coders mailing list
19 at net-snmp-coders@lists.sourceforge.net.
25 email: net-snmp-coders@lists.sourceforge.net
28 "This module defines MIB components for reading information
29 from the accounting rules IP Firewall. This would typically
30 let you read the rules and the counters. I did not include
31 some flags and fields that I considered irrelevant for the
32 accounting rules. Resetting the counters of the rules by SNMP
33 would be simple, but I don't consider it so useful. I gave no
34 consideration to implementing write access for allowing
35 modification of the accounting rules.
37 Cristian.Estan@net.utcluj.ro "
38 REVISION "9912160000Z"
40 "SMIv2 version converted from an older MIB definition."
41 ::= { ucdExperimental 1 }
43 ipFwAccTable OBJECT-TYPE
44 SYNTAX SEQUENCE OF IpFwAccEntry
45 MAX-ACCESS not-accessible
48 "A table with the accounting rules of the IP firewall"
49 ::= { ucdIpFwAccMIB 1 }
51 ipFwAccEntry OBJECT-TYPE
53 MAX-ACCESS not-accessible
56 "An accounting rule of the IP firewall"
57 INDEX { ipFwAccIndex }
58 ::= { ipFwAccTable 1 }
60 IpFwAccEntry ::= SEQUENCE {
61 ipFwAccIndex Integer32,
62 ipFwAccSrcAddr IpAddress,
63 ipFwAccSrcNetMask IpAddress,
64 ipFwAccDstAddr IpAddress,
65 ipFwAccDstNetMask IpAddress,
66 ipFwAccViaName DisplayString,
67 ipFwAccViaAddr IpAddress,
71 ipFwAccBytes Counter32,
72 ipFwAccPackets Counter32,
73 ipFwAccNrSrcPorts Integer32,
74 ipFwAccNrDstPorts Integer32,
75 ipFwAccSrcIsRange INTEGER,
76 ipFwAccDstIsRange INTEGER,
77 ipFwAccPort1 Integer32,
78 ipFwAccPort2 Integer32,
79 ipFwAccPort3 Integer32,
80 ipFwAccPort4 Integer32,
81 ipFwAccPort5 Integer32,
82 ipFwAccPort6 Integer32,
83 ipFwAccPort7 Integer32,
84 ipFwAccPort8 Integer32,
85 ipFwAccPort9 Integer32,
86 ipFwAccPort10 Integer32
89 ipFwAccIndex OBJECT-TYPE
90 SYNTAX Integer32 (0..2147483647)
94 "Reference index for each firewall rule."
95 ::= { ipFwAccEntry 1 }
97 ipFwAccSrcAddr OBJECT-TYPE
102 "The source address in the firewall rule."
103 ::= { ipFwAccEntry 2 }
105 ipFwAccSrcNetMask OBJECT-TYPE
110 "The netmask of the source address in the firewall rule."
111 ::= { ipFwAccEntry 3 }
113 ipFwAccDstAddr OBJECT-TYPE
118 "The destination address in the firewall rule."
119 ::= { ipFwAccEntry 4 }
121 ipFwAccDstNetMask OBJECT-TYPE
126 "The netmask of the destination address in the firewall rule."
127 ::= { ipFwAccEntry 5 }
129 ipFwAccViaName OBJECT-TYPE
130 SYNTAX DisplayString (SIZE(1..64))
134 "The name of the interface to which the rule applies. If no
135 interface is associated with the present rule, this should
137 ::= { ipFwAccEntry 6 }
139 ipFwAccViaAddr OBJECT-TYPE
144 "The address of the interface to which the rule applies.
145 Using this parameter makes sense when multiple addresses are
146 associated to the same physical interface. If not defined
147 for the current rule this should be set to 0."
148 ::= { ipFwAccEntry 7 }
150 ipFwAccProto OBJECT-TYPE
161 "The protocol(s) to which the rule applies."
162 ::= { ipFwAccEntry 8 }
164 ipFwAccBidir OBJECT-TYPE
172 "Whether the rule works in both directions (i.e. with the
173 source and destination parts swapped) or not."
174 ::= { ipFwAccEntry 9 }
176 ipFwAccDir OBJECT-TYPE
185 "Whether the rule applies to packets entering or exiting the
187 ::= { ipFwAccEntry 10 }
189 ipFwAccBytes OBJECT-TYPE
194 "The number of bytes that matched this rule since the last
195 reset of the counters."
196 ::= { ipFwAccEntry 11 }
198 ipFwAccPackets OBJECT-TYPE
203 "The number of packets that matched this rule since the last
204 reset of the counters."
205 ::= { ipFwAccEntry 12 }
207 ipFwAccNrSrcPorts OBJECT-TYPE
212 "The number of ports that refer to the source address."
213 ::= { ipFwAccEntry 13 }
215 ipFwAccNrDstPorts OBJECT-TYPE
220 "The number of ports that refer to the destination address."
221 ::= { ipFwAccEntry 14 }
223 ipFwAccSrcIsRange OBJECT-TYPE
231 "Interpret the first two ports of the source part as
232 the upper and lower limit of an interval or not."
233 ::= { ipFwAccEntry 15 }
235 ipFwAccDstIsRange OBJECT-TYPE
243 "Interpret the first two ports of the destination part as
244 the upper and lower limit of an interval or not."
245 ::= { ipFwAccEntry 16 }
247 ipFwAccPort1 OBJECT-TYPE
253 ::= { ipFwAccEntry 17 }
255 ipFwAccPort2 OBJECT-TYPE
261 ::= { ipFwAccEntry 18 }
263 ipFwAccPort3 OBJECT-TYPE
269 ::= { ipFwAccEntry 19 }
271 ipFwAccPort4 OBJECT-TYPE
277 ::= { ipFwAccEntry 20 }
279 ipFwAccPort5 OBJECT-TYPE
285 ::= { ipFwAccEntry 21 }
287 ipFwAccPort6 OBJECT-TYPE
293 ::= { ipFwAccEntry 22 }
295 ipFwAccPort7 OBJECT-TYPE
301 ::= { ipFwAccEntry 23 }
303 ipFwAccPort8 OBJECT-TYPE
309 ::= { ipFwAccEntry 24 }
311 ipFwAccPort9 OBJECT-TYPE
317 ::= { ipFwAccEntry 25 }
319 ipFwAccPort10 OBJECT-TYPE
325 ::= { ipFwAccEntry 26 }