~hexmode/+junk/main

« back to all changes in this revision

Viewing changes to install-files/bin/php/php5.2.5/extras/mibs/UCD-IPFWACC-MIB.txt

  • Committer: Mark A. Hershberger
  • Date: 2008-01-05 19:38:56 UTC
  • Revision ID: hershberger@spawn-xp-20080105193856-6rnzgwa4nehue3qj
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
UCD-IPFWACC-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
IMPORTS
 
4
    OBJECT-TYPE, MODULE-IDENTITY, IpAddress, Integer32, Counter32
 
5
        FROM SNMPv2-SMI
 
6
    DisplayString
 
7
        FROM SNMPv2-TC
 
8
    ucdExperimental
 
9
        FROM UCD-SNMP-MIB;
 
10
 
 
11
ucdIpFwAccMIB MODULE-IDENTITY
 
12
    LAST-UPDATED "9912160000Z"
 
13
    ORGANIZATION "University of California, Davis"
 
14
    CONTACT-INFO    
 
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
 
18
 
 
19
          Primary Author: Wes Hardaker
 
20
 
 
21
          postal:    IT-DCAS
 
22
                     UCDavis
 
23
                     Davis CA  95616
 
24
          phone:     +1 530 754-7571
 
25
          email:     wjhardaker@ucdavis.edu"
 
26
    DESCRIPTION
 
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.
 
35
 
 
36
         Cristian.Estan@net.utcluj.ro "
 
37
    REVISION     "9912160000Z"
 
38
    DESCRIPTION
 
39
        "SMIv2 version converted from an older MIB definition."
 
40
    ::= { ucdExperimental 1 }
 
41
 
 
42
ipFwAccTable OBJECT-TYPE
 
43
    SYNTAX      SEQUENCE OF IpFwAccEntry
 
44
    MAX-ACCESS  not-accessible
 
45
    STATUS      current
 
46
    DESCRIPTION
 
47
        "A table with the accounting rules of the IP firewall"
 
48
    ::= { ucdIpFwAccMIB 1 }
 
49
 
 
50
ipFwAccEntry OBJECT-TYPE
 
51
    SYNTAX      IpFwAccEntry
 
52
    MAX-ACCESS  not-accessible
 
53
    STATUS      current
 
54
    DESCRIPTION
 
55
        "An accounting rule of the IP firewall"
 
56
    INDEX       { ipFwAccIndex }
 
57
    ::= { ipFwAccTable 1 }
 
58
 
 
59
IpFwAccEntry ::= SEQUENCE {
 
60
    ipFwAccIndex        Integer32,
 
61
    ipFwAccSrcAddr      IpAddress,
 
62
    ipFwAccSrcNetMask   IpAddress,
 
63
    ipFwAccDstAddr      IpAddress,
 
64
    ipFwAccDstNetMask   IpAddress,
 
65
    ipFwAccViaName      DisplayString,
 
66
    ipFwAccViaAddr      IpAddress,
 
67
    ipFwAccProto        INTEGER,
 
68
    ipFwAccBidir        INTEGER,
 
69
    ipFwAccDir          INTEGER,
 
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
 
86
}
 
87
 
 
88
ipFwAccIndex OBJECT-TYPE
 
89
    SYNTAX      Integer32 (0..2147483647)
 
90
    MAX-ACCESS  read-only
 
91
    STATUS      current
 
92
    DESCRIPTION
 
93
        "Reference index for each firewall rule."
 
94
    ::= { ipFwAccEntry 1 }
 
95
 
 
96
ipFwAccSrcAddr OBJECT-TYPE
 
97
    SYNTAX      IpAddress
 
98
    MAX-ACCESS  read-only
 
99
    STATUS      current
 
100
    DESCRIPTION
 
101
        "The source address in the firewall rule."
 
102
    ::= { ipFwAccEntry 2 }
 
103
 
 
104
ipFwAccSrcNetMask OBJECT-TYPE
 
105
    SYNTAX      IpAddress
 
106
    MAX-ACCESS  read-only
 
107
    STATUS      current
 
108
    DESCRIPTION
 
109
        "The netmask of the source address in the firewall rule."
 
110
    ::= { ipFwAccEntry 3 }
 
111
 
 
112
ipFwAccDstAddr OBJECT-TYPE
 
113
    SYNTAX      IpAddress
 
114
    MAX-ACCESS  read-only
 
115
    STATUS      current
 
116
    DESCRIPTION
 
117
        "The destination address in the firewall rule."
 
118
    ::= { ipFwAccEntry 4 }
 
119
 
 
120
ipFwAccDstNetMask OBJECT-TYPE
 
121
    SYNTAX      IpAddress
 
122
    MAX-ACCESS  read-only
 
123
    STATUS      current
 
124
    DESCRIPTION
 
125
        "The netmask of the destination address in the firewall rule."
 
126
    ::= { ipFwAccEntry 5 }
 
127
 
 
128
ipFwAccViaName OBJECT-TYPE
 
129
    SYNTAX      DisplayString (SIZE(1..64))
 
130
    MAX-ACCESS  read-only
 
131
    STATUS      current
 
132
    DESCRIPTION
 
133
        "The name of the interface to which the rule applies. If no
 
134
         interface is associated with the present rule, this should
 
135
         contain a dash (-)."
 
136
    ::= { ipFwAccEntry 6 }
 
137
 
 
138
ipFwAccViaAddr OBJECT-TYPE
 
139
    SYNTAX      IpAddress
 
140
    MAX-ACCESS  read-only
 
141
    STATUS      current
 
142
    DESCRIPTION
 
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 }
 
148
 
 
149
ipFwAccProto OBJECT-TYPE
 
150
    SYNTAX      INTEGER {
 
151
                    other(1),
 
152
                    all(2),
 
153
                    tcp(3),
 
154
                    udp(4),
 
155
                    icmp(5)
 
156
                }
 
157
    MAX-ACCESS  read-only
 
158
    STATUS      current
 
159
    DESCRIPTION
 
160
        "The protocol(s) to which the rule applies."
 
161
    ::= { ipFwAccEntry 8 }
 
162
 
 
163
ipFwAccBidir OBJECT-TYPE
 
164
    SYNTAX      INTEGER {
 
165
                    unidirectional(1),
 
166
                    bidirectional(2)
 
167
                }
 
168
    MAX-ACCESS  read-only
 
169
    STATUS      current
 
170
    DESCRIPTION
 
171
        "Whether the rule works in both directions (i.e. with the
 
172
         source and destination parts swapped) or not."
 
173
    ::= { ipFwAccEntry 9 }
 
174
 
 
175
ipFwAccDir OBJECT-TYPE
 
176
    SYNTAX      INTEGER {
 
177
                    both(1),
 
178
                    in(2),
 
179
                    out(3)
 
180
                }
 
181
    MAX-ACCESS  read-only
 
182
    STATUS      current
 
183
    DESCRIPTION
 
184
        "Whether the rule applies to packets entering or exiting the
 
185
         kernel."
 
186
    ::= { ipFwAccEntry 10 }
 
187
 
 
188
ipFwAccBytes OBJECT-TYPE
 
189
    SYNTAX      Counter32
 
190
    MAX-ACCESS  read-only
 
191
    STATUS      current
 
192
    DESCRIPTION
 
193
        "The number of bytes that matched this rule since the last
 
194
         reset of the counters."
 
195
    ::= { ipFwAccEntry 11 }
 
196
 
 
197
ipFwAccPackets OBJECT-TYPE
 
198
    SYNTAX      Counter32
 
199
    MAX-ACCESS  read-only
 
200
    STATUS      current
 
201
    DESCRIPTION
 
202
        "The number of packets that matched this rule since the last
 
203
         reset of the counters."
 
204
    ::= { ipFwAccEntry 12 }
 
205
 
 
206
ipFwAccNrSrcPorts OBJECT-TYPE
 
207
    SYNTAX      Integer32
 
208
    MAX-ACCESS  read-only
 
209
    STATUS      current
 
210
    DESCRIPTION
 
211
        "The number of ports that refer to the source address."
 
212
    ::= { ipFwAccEntry 13 }
 
213
 
 
214
ipFwAccNrDstPorts OBJECT-TYPE
 
215
    SYNTAX      Integer32 
 
216
    MAX-ACCESS  read-only
 
217
    STATUS      current
 
218
    DESCRIPTION
 
219
        "The number of ports that refer to the destination address."
 
220
    ::= { ipFwAccEntry 14 }
 
221
 
 
222
ipFwAccSrcIsRange OBJECT-TYPE
 
223
    SYNTAX      INTEGER {
 
224
                    srchasrange(1),
 
225
                    srchasnorange(2)
 
226
                }
 
227
    MAX-ACCESS  read-only
 
228
    STATUS      current
 
229
    DESCRIPTION
 
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 }
 
233
 
 
234
ipFwAccDstIsRange OBJECT-TYPE
 
235
    SYNTAX      INTEGER {
 
236
                    dsthasrange(1),
 
237
                    dsthasnorange(2)
 
238
                }
 
239
    MAX-ACCESS  read-only
 
240
    STATUS      current
 
241
    DESCRIPTION
 
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 }
 
245
 
 
246
ipFwAccPort1 OBJECT-TYPE
 
247
    SYNTAX      Integer32
 
248
    MAX-ACCESS  read-only
 
249
    STATUS      current
 
250
    DESCRIPTION
 
251
        "Port number 1."
 
252
    ::= { ipFwAccEntry 17 }
 
253
 
 
254
ipFwAccPort2 OBJECT-TYPE
 
255
    SYNTAX      Integer32
 
256
    MAX-ACCESS  read-only
 
257
    STATUS      current
 
258
    DESCRIPTION
 
259
        "Port number 2."
 
260
    ::= { ipFwAccEntry 18 }
 
261
 
 
262
ipFwAccPort3 OBJECT-TYPE
 
263
    SYNTAX      Integer32
 
264
    MAX-ACCESS  read-only
 
265
    STATUS      current
 
266
    DESCRIPTION
 
267
        "Port number 3."
 
268
    ::= { ipFwAccEntry 19 }
 
269
 
 
270
ipFwAccPort4 OBJECT-TYPE
 
271
    SYNTAX      Integer32
 
272
    MAX-ACCESS  read-only
 
273
    STATUS      current
 
274
    DESCRIPTION
 
275
        "Port number 4."
 
276
    ::= { ipFwAccEntry 20 }
 
277
 
 
278
ipFwAccPort5 OBJECT-TYPE
 
279
    SYNTAX      Integer32
 
280
    MAX-ACCESS  read-only
 
281
    STATUS      current
 
282
    DESCRIPTION
 
283
        "Port number 5."
 
284
    ::= { ipFwAccEntry 21 }
 
285
 
 
286
ipFwAccPort6 OBJECT-TYPE
 
287
    SYNTAX      Integer32 
 
288
    MAX-ACCESS  read-only
 
289
    STATUS      current
 
290
    DESCRIPTION
 
291
        "Port number 6."
 
292
    ::= { ipFwAccEntry 22 }
 
293
 
 
294
ipFwAccPort7 OBJECT-TYPE
 
295
    SYNTAX      Integer32
 
296
    MAX-ACCESS  read-only
 
297
    STATUS      current
 
298
    DESCRIPTION
 
299
        "Port number 7."
 
300
    ::= { ipFwAccEntry 23 }
 
301
 
 
302
ipFwAccPort8 OBJECT-TYPE
 
303
    SYNTAX      Integer32
 
304
    MAX-ACCESS  read-only
 
305
    STATUS      current
 
306
    DESCRIPTION
 
307
        "Port number 8."
 
308
    ::= { ipFwAccEntry 24 }
 
309
 
 
310
ipFwAccPort9 OBJECT-TYPE
 
311
     SYNTAX     Integer32
 
312
    MAX-ACCESS  read-only
 
313
    STATUS      current
 
314
    DESCRIPTION
 
315
        "Port number 9."
 
316
    ::= { ipFwAccEntry 25 }
 
317
 
 
318
ipFwAccPort10 OBJECT-TYPE
 
319
    SYNTAX      Integer32
 
320
    MAX-ACCESS  read-only
 
321
    STATUS      current
 
322
    DESCRIPTION
 
323
        "Port number 10."
 
324
    ::= { ipFwAccEntry 26 }
 
325
 
 
326
END