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
"The ucd-snmp-coders mailing list is the best place
16
to write for public questions about the ucd-snmp
17
project: ucd-snmp-coders@ucd-snmp.ucdavis.edu
19
Primary Author: Wes Hardaker
24
phone: +1 530 754-7571
25
email: wjhardaker@ucdavis.edu"
27
"This module defines MIB components for reading information
28
from the accounting rules IP Firewall. This would typically
29
let you read the rules and the counters. I did not include
30
some flags and fields that I considered irrelevant for the
31
accounting rules. Resetting the counters of the rules by SNMP
32
would be simple, but I don't consider it so useful. I gave no
33
consideration to implementing write access for allowing
34
modification of the accounting rules.
36
Cristian.Estan@net.utcluj.ro "
37
REVISION "9912160000Z"
39
"SMIv2 version converted from an older MIB definition."
40
::= { ucdExperimental 1 }
42
ipFwAccTable OBJECT-TYPE
43
SYNTAX SEQUENCE OF IpFwAccEntry
44
MAX-ACCESS not-accessible
47
"A table with the accounting rules of the IP firewall"
48
::= { ucdIpFwAccMIB 1 }
50
ipFwAccEntry OBJECT-TYPE
52
MAX-ACCESS not-accessible
55
"An accounting rule of the IP firewall"
56
INDEX { ipFwAccIndex }
57
::= { ipFwAccTable 1 }
59
IpFwAccEntry ::= SEQUENCE {
60
ipFwAccIndex Integer32,
61
ipFwAccSrcAddr IpAddress,
62
ipFwAccSrcNetMask IpAddress,
63
ipFwAccDstAddr IpAddress,
64
ipFwAccDstNetMask IpAddress,
65
ipFwAccViaName DisplayString,
66
ipFwAccViaAddr IpAddress,
70
ipFwAccBytes Counter32,
71
ipFwAccPackets Counter32,
72
ipFwAccNrSrcPorts Integer32,
73
ipFwAccNrDstPorts Integer32,
74
ipFwAccSrcIsRange INTEGER,
75
ipFwAccDstIsRange INTEGER,
76
ipFwAccPort1 Integer32,
77
ipFwAccPort2 Integer32,
78
ipFwAccPort3 Integer32,
79
ipFwAccPort4 Integer32,
80
ipFwAccPort5 Integer32,
81
ipFwAccPort6 Integer32,
82
ipFwAccPort7 Integer32,
83
ipFwAccPort8 Integer32,
84
ipFwAccPort9 Integer32,
85
ipFwAccPort10 Integer32
88
ipFwAccIndex OBJECT-TYPE
89
SYNTAX Integer32 (0..2147483647)
93
"Reference index for each firewall rule."
94
::= { ipFwAccEntry 1 }
96
ipFwAccSrcAddr OBJECT-TYPE
101
"The source address in the firewall rule."
102
::= { ipFwAccEntry 2 }
104
ipFwAccSrcNetMask OBJECT-TYPE
109
"The netmask of the source address in the firewall rule."
110
::= { ipFwAccEntry 3 }
112
ipFwAccDstAddr OBJECT-TYPE
117
"The destination address in the firewall rule."
118
::= { ipFwAccEntry 4 }
120
ipFwAccDstNetMask OBJECT-TYPE
125
"The netmask of the destination address in the firewall rule."
126
::= { ipFwAccEntry 5 }
128
ipFwAccViaName OBJECT-TYPE
129
SYNTAX DisplayString (SIZE(1..64))
133
"The name of the interface to which the rule applies. If no
134
interface is associated with the present rule, this should
136
::= { ipFwAccEntry 6 }
138
ipFwAccViaAddr OBJECT-TYPE
143
"The address of the interface to which the rule applies.
144
Using this parameter makes sense when multiple addresses are
145
associated to the same physical interface. If not defined
146
for the current rule this should be set to 0."
147
::= { ipFwAccEntry 7 }
149
ipFwAccProto OBJECT-TYPE
160
"The protocol(s) to which the rule applies."
161
::= { ipFwAccEntry 8 }
163
ipFwAccBidir OBJECT-TYPE
171
"Whether the rule works in both directions (i.e. with the
172
source and destination parts swapped) or not."
173
::= { ipFwAccEntry 9 }
175
ipFwAccDir OBJECT-TYPE
184
"Whether the rule applies to packets entering or exiting the
186
::= { ipFwAccEntry 10 }
188
ipFwAccBytes OBJECT-TYPE
193
"The number of bytes that matched this rule since the last
194
reset of the counters."
195
::= { ipFwAccEntry 11 }
197
ipFwAccPackets OBJECT-TYPE
202
"The number of packets that matched this rule since the last
203
reset of the counters."
204
::= { ipFwAccEntry 12 }
206
ipFwAccNrSrcPorts OBJECT-TYPE
211
"The number of ports that refer to the source address."
212
::= { ipFwAccEntry 13 }
214
ipFwAccNrDstPorts OBJECT-TYPE
219
"The number of ports that refer to the destination address."
220
::= { ipFwAccEntry 14 }
222
ipFwAccSrcIsRange OBJECT-TYPE
230
"Interpret the first two ports of the source part as
231
the upper and lower limit of an interval or not."
232
::= { ipFwAccEntry 15 }
234
ipFwAccDstIsRange OBJECT-TYPE
242
"Interpret the first two ports of the destination part as
243
the upper and lower limit of an interval or not."
244
::= { ipFwAccEntry 16 }
246
ipFwAccPort1 OBJECT-TYPE
252
::= { ipFwAccEntry 17 }
254
ipFwAccPort2 OBJECT-TYPE
260
::= { ipFwAccEntry 18 }
262
ipFwAccPort3 OBJECT-TYPE
268
::= { ipFwAccEntry 19 }
270
ipFwAccPort4 OBJECT-TYPE
276
::= { ipFwAccEntry 20 }
278
ipFwAccPort5 OBJECT-TYPE
284
::= { ipFwAccEntry 21 }
286
ipFwAccPort6 OBJECT-TYPE
292
::= { ipFwAccEntry 22 }
294
ipFwAccPort7 OBJECT-TYPE
300
::= { ipFwAccEntry 23 }
302
ipFwAccPort8 OBJECT-TYPE
308
::= { ipFwAccEntry 24 }
310
ipFwAccPort9 OBJECT-TYPE
316
::= { ipFwAccEntry 25 }
318
ipFwAccPort10 OBJECT-TYPE
324
::= { ipFwAccEntry 26 }