Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / mibs / UCD-IPFILTER-MIB.txt
1 UCD-IPFILTER-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     OBJECT-TYPE, MODULE-IDENTITY, Counter32, Integer32
5         FROM SNMPv2-SMI
6     ucdExperimental
7         FROM UCD-SNMP-MIB;
8
9 ucdIpFilter MODULE-IDENTITY
10     LAST-UPDATED "9912150000Z"
11     ORGANIZATION "University of California, Davis"
12     CONTACT-INFO    
13         "This mib is no longer being maintained by the University of
14          California and is now in life-support-mode and being
15          maintained by the net-snmp project.  The best place to write
16          for public questions about the net-snmp-coders mailing list
17          at net-snmp-coders@lists.sourceforge.net.
18
19          postal:   Wes Hardaker
20                    P.O. Box 382
21                    Davis CA  95617
22
23          email:    net-snmp-coders@lists.sourceforge.net
24         "
25     DESCRIPTION
26         "This module defines MIB components for reading information 
27          from the IP Filter. This would let you only read its rules 
28          and counters.
29
30          IP Filter by Darren Reed <darrenr@pobox.com>
31          IP Filter web page URL http://coombs.anu.edu.au/~avalon/
32          ipf-mod.pl module by Yaroslav Terletsky <ts@polynet.lviv.ua>
33          IP Filter UCD-SNMP module URL
34          ftp://ftp.polynet.lviv.ua/pub/UNIX/security/ipf/ucd-snmp-ipf-mod.tgz
35          Yaroslav Terletsky <ts@polynet.lviv.ua>"
36     REVISION     "9912150000Z"
37     DESCRIPTION
38         "SMIv2 version converted from an older MIB definition."
39     ::= { ucdExperimental 2 }
40
41 ipfInTable OBJECT-TYPE
42     SYNTAX      SEQUENCE OF IpfInEntry
43     MAX-ACCESS  not-accessible
44     STATUS      current
45     DESCRIPTION
46         "A table with IP Filter incoming rules and statistics."
47     ::= { ucdIpFilter 1 }
48
49 ipfInEntry OBJECT-TYPE
50     SYNTAX      IpfInEntry
51     MAX-ACCESS  not-accessible
52     STATUS      current
53     DESCRIPTION
54         "IP Filter incoming rules table entry."
55     INDEX       { ipfInIndex }
56     ::= { ipfInTable 1 }
57
58 IpfInEntry ::= SEQUENCE {
59     ipfInIndex  Integer32,
60     ipfInRule   OCTET STRING,
61     ipfInHits   Counter32
62 }
63
64 ipfInIndex OBJECT-TYPE
65     SYNTAX      Integer32 (0..2147483647)
66     MAX-ACCESS  read-only
67     STATUS      current
68     DESCRIPTION
69         "Reference index for each incoming IP Filter rule."
70     ::= { ipfInEntry 1 }
71
72 ipfInRule OBJECT-TYPE
73     SYNTAX      OCTET STRING
74     MAX-ACCESS  read-only
75     STATUS      current
76     DESCRIPTION
77         "Textual representation of the incoming IP Filter rule."
78     ::= { ipfInEntry 2 }
79
80 ipfInHits OBJECT-TYPE
81     SYNTAX      Counter32
82     MAX-ACCESS  read-only
83     STATUS      current
84     DESCRIPTION
85         "Hits of the incoming IP Filter rule."
86     ::= { ipfInEntry 3 }
87
88 ipfOutTable OBJECT-TYPE
89     SYNTAX      SEQUENCE OF IpfOutEntry
90     MAX-ACCESS  not-accessible
91     STATUS      current
92     DESCRIPTION
93         "A table with IP Filter outgoing rules and statistic."
94     ::= { ucdIpFilter 2 }
95
96 ipfOutEntry OBJECT-TYPE  
97     SYNTAX      IpfOutEntry
98     MAX-ACCESS  not-accessible 
99     STATUS      current
100     DESCRIPTION
101         "IP Filter outgoing rules table entry."
102     INDEX       { ipfOutIndex }
103     ::= { ipfOutTable 1 }
104
105 IpfOutEntry ::= SEQUENCE {
106     ipfOutIndex Integer32,
107     ipfOutRule  OCTET STRING,
108     ipfOutHits  Counter32
109 }
110
111 ipfOutIndex OBJECT-TYPE
112     SYNTAX      Integer32 (1..2147483647)
113     MAX-ACCESS  read-only
114     STATUS      current
115     DESCRIPTION
116         "Reference index for each outgoing IP Filter rule."
117     ::= { ipfOutEntry 1 }
118
119 ipfOutRule OBJECT-TYPE
120     SYNTAX      OCTET STRING
121     MAX-ACCESS  read-only
122     STATUS      current
123     DESCRIPTION
124         "Textual representation of the outgoing IP Filter rule."
125     ::= { ipfOutEntry 2 }
126
127 ipfOutHits OBJECT-TYPE
128     SYNTAX      Counter32
129     MAX-ACCESS  read-only
130     STATUS      current
131     DESCRIPTION
132         "Hits of the outgoing IP Filter rule."
133     ::= { ipfOutEntry 3 }
134
135 ipfAccInTable OBJECT-TYPE
136     SYNTAX      SEQUENCE OF IpfAccInEntry
137     MAX-ACCESS  not-accessible
138     STATUS      current
139     DESCRIPTION
140         "A table with IP Filter incoming accounting rules
141          and statistics."
142     ::= { ucdIpFilter 3 }
143
144 ipfAccInEntry OBJECT-TYPE
145     SYNTAX      IpfAccInEntry
146     MAX-ACCESS  not-accessible
147     STATUS      current
148     DESCRIPTION
149         "IP FIlter incoming accounting rules table entry."
150     INDEX       { ipfAccInIndex }
151     ::= { ipfAccInTable 1 }
152
153 IpfAccInEntry ::= SEQUENCE {
154     ipfAccInIndex       Integer32,
155     ipfAccInRule        OCTET STRING,
156     ipfAccInHits        Counter32,
157     ipfAccInBytes       Counter32
158 }
159
160 ipfAccInIndex OBJECT-TYPE
161     SYNTAX      Integer32 (1..2147483647)
162     MAX-ACCESS  read-only
163     STATUS      current
164     DESCRIPTION
165         "Reference index for each incoming accounting
166          IP Filter rule."
167     ::= { ipfAccInEntry 1 }
168
169 ipfAccInRule OBJECT-TYPE
170     SYNTAX      OCTET STRING
171     MAX-ACCESS  read-only
172     STATUS      current
173     DESCRIPTION
174         "Textual representation of the incoming accounting
175          IP Filter rule."
176     ::= { ipfAccInEntry 2 }
177
178 ipfAccInHits OBJECT-TYPE
179     SYNTAX      Counter32
180     MAX-ACCESS  read-only
181     STATUS      current
182     DESCRIPTION
183         "Hits of the incoming accounting IP Filter rule."
184     ::= { ipfAccInEntry 3 }
185
186 ipfAccInBytes OBJECT-TYPE
187     SYNTAX      Counter32
188     MAX-ACCESS  read-only
189     STATUS      current
190     DESCRIPTION
191         "Bytes passed thru the incoming accounting
192          IP Filter rule."
193     ::= { ipfAccInEntry 4 }
194
195 ipfAccOutTable OBJECT-TYPE
196     SYNTAX      SEQUENCE OF IpfAccOutEntry
197     MAX-ACCESS  not-accessible
198     STATUS      current
199     DESCRIPTION
200         "A table with IP Filter outgoing accounting rules
201          and statistic."
202     ::= { ucdIpFilter 4 }
203
204 ipfAccOutEntry OBJECT-TYPE
205     SYNTAX      IpfAccOutEntry
206     MAX-ACCESS  not-accessible
207     STATUS      current
208     DESCRIPTION
209         "IP Filter outgoing accounting rules table entry."
210     INDEX       { ipfAccOutIndex }
211     ::= { ipfAccOutTable 1 }
212
213 IpfAccOutEntry ::= SEQUENCE {
214     ipfAccOutIndex      Integer32,
215     ipfAccOutRule       OCTET STRING,
216     ipfAccOutHits       Counter32,
217     ipfAccOutBytes      Counter32
218 }
219
220 ipfAccOutIndex OBJECT-TYPE
221     SYNTAX      Integer32 (1..2147483647)
222     MAX-ACCESS  read-only
223     STATUS      current
224     DESCRIPTION
225         "Reference index for each outgoing accounting
226          IP Filter rule."
227     ::= { ipfAccOutEntry 1 }
228
229 ipfAccOutRule OBJECT-TYPE
230     SYNTAX      OCTET STRING
231     MAX-ACCESS  read-only
232     STATUS      current
233     DESCRIPTION
234         "Textual representation of the outgoing accounting
235          IP Filter rule."
236     ::= { ipfAccOutEntry 2 }
237
238 ipfAccOutHits OBJECT-TYPE
239     SYNTAX      Counter32
240     MAX-ACCESS  read-only
241     STATUS      current
242     DESCRIPTION
243         "Hits of the outgoing accounting IP Filter rule."
244     ::= { ipfAccOutEntry 3 }
245
246 ipfAccOutBytes OBJECT-TYPE
247     SYNTAX      Counter32
248     MAX-ACCESS  read-only
249     STATUS      current
250     DESCRIPTION
251         "Bytes passed thru the outgoing accounting
252          IP Filter rule."
253     ::= { ipfAccOutEntry 4 }
254
255 END
256