1 |
27 |
unneback |
2003-03-25 Andrew Lunn
|
2 |
|
|
|
3 |
|
|
Imported from trunk into 2.0 branch:
|
4 |
|
|
* include/mibgroup/mibII/itf_helpers.h:
|
5 |
|
|
* src/mibgroup/mibII/helpers.c: (New) Functions for finding the
|
6 |
|
|
interface structure for Free and open BSD.
|
7 |
|
|
* src/mibgroup/mibII/interfaces.c: Use the helper functions and
|
8 |
|
|
other changes needed for the FreeBSD stack.
|
9 |
|
|
* src/mibgroup/mibII/ip.c: Ditto
|
10 |
|
|
* src/mibgroup/mibII/udp.c: Ditto
|
11 |
|
|
* src/mibgroup/mibII/tcp.c: Ditto
|
12 |
|
|
* src/mibgroup/mibII/dot3.c: Ditto
|
13 |
|
|
* cdl/snmpagent.cdl: Removed the requirement for the OpenBSD stack.
|
14 |
|
|
* doc/snmp.sgml: Removed the documented requirement for the OpenBSD
|
15 |
|
|
stack.
|
16 |
|
|
|
17 |
|
|
2003-02-24 Jonathan Larmour
|
18 |
|
|
|
19 |
|
|
* cdl/snmpagent.cdl: Add doc link.
|
20 |
|
|
|
21 |
|
|
* doc/prepare-manpages.sh: Generate namespaced IDs, without shouting.
|
22 |
|
|
* doc/snmp-manpages.sgml: Regenerated.
|
23 |
|
|
|
24 |
|
|
2003-02-14 Jonathan Larmour
|
25 |
|
|
|
26 |
|
|
* cdl/snmpagent.cdl: Explicitly require OpenBSD stack since we don't
|
27 |
|
|
work with the FreeBSD stack yet.
|
28 |
|
|
|
29 |
|
|
* doc/snmp.sgml: Document configuring packages better, and only use
|
30 |
|
|
of OpenBSD stack.
|
31 |
|
|
|
32 |
|
|
2003-02-05 Jonathan Larmour
|
33 |
|
|
|
34 |
|
|
* doc/snmp.sgml: Fix a doc build failure, and tweak some duff links and
|
35 |
|
|
a few typos.
|
36 |
|
|
|
37 |
|
|
2003-02-03 Andrew Lunn
|
38 |
|
|
|
39 |
|
|
* doc/prepare-manpages.sh: New file. Convert from man to sgml.
|
40 |
|
|
* doc/manpages/snmpd.conf.5: New file: Manual page for snmpd.conf.
|
41 |
|
|
* doc/snmp-manpages.sgml: New file. The converted man page
|
42 |
|
|
* doc/snmp.sgml: Updated documentation which includes the man page.
|
43 |
|
|
|
44 |
|
|
2003-02-03 Manu Sharma
|
45 |
|
|
|
46 |
|
|
* cdl/snmpagent.cdl,
|
47 |
|
|
* include/mib_module_config.h,
|
48 |
|
|
* include/mib_module_dot_conf.h,
|
49 |
|
|
* include/mib_module_inits.h,
|
50 |
|
|
* include/mib_module_shutdown.h,
|
51 |
|
|
* include/snmpEngine.h,
|
52 |
|
|
* include/usmStats.h,
|
53 |
|
|
* include/usmUser.h,
|
54 |
|
|
* include/vacm_vars.h,
|
55 |
|
|
* src/agent_registry.c,:
|
56 |
|
|
* src/mib_modules.c,
|
57 |
|
|
* src/snmp_vars.c,
|
58 |
|
|
* src/snmpd.c,
|
59 |
|
|
* src/mibgroup/mibII/vacm_vars.c,
|
60 |
|
|
* src/mibgroup/snmpv3/snmpEngine.c,
|
61 |
|
|
* src/mibgroup/snmpv3/usmStats.c,
|
62 |
|
|
* src/mibgroup/snmpv3/usmUser.c,
|
63 |
|
|
* tests/snmpping.c : Support to conditionally implement SNMPv3
|
64 |
|
|
features, based on definition of CYGPKG_SNMPAGENT_V3_SUPPORT.
|
65 |
|
|
|
66 |
|
|
2002-11-11 Manu Sharma
|
67 |
|
|
|
68 |
|
|
* src/mibgroup/mibII/vacm_vars.c:
|
69 |
|
|
* include/vacm_vars.h: Imported from the UCD-SNMP-4.1.2. These
|
70 |
|
|
are required to support VACM features, based on a snmpd.conf file.
|
71 |
|
|
|
72 |
|
|
* cdl/snmpagent.cdl : Compile vacm_vars.c
|
73 |
|
|
|
74 |
|
|
* include/mib_module_inits.h : Initialization of vacm and usm related
|
75 |
|
|
functions. The usm related functionality are no longer required to
|
76 |
|
|
be initialized by application code.
|
77 |
|
|
|
78 |
|
|
* tests/snmpping.c : Code to create a basic snmpd.conf file and
|
79 |
|
|
enable its usage. This conditional on
|
80 |
|
|
CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT and require the ramfs package
|
81 |
|
|
|
82 |
|
|
* doc/snmp.sgml: Documentation for above changes.
|
83 |
|
|
|
84 |
|
|
2002-08-14 David Smith
|
85 |
|
|
|
86 |
|
|
* src/agent_trap.c (send_enterprise_trap_vars):
|
87 |
|
|
* src/snmp_agent.c (handle_var_list): Memory leak fixes from
|
88 |
|
|
ucd-snmp-4.2.2.
|
89 |
|
|
|
90 |
|
|
2002-06-03 Gary Thomas (on behalf of)
|
91 |
|
|
2002-06-03 Roland Caßebohm
|
92 |
|
|
|
93 |
|
|
* src/agent_trap.c (send_enterprise_trap_vars):
|
94 |
|
|
* src/snmp_agent.c (handle_snmp_packet): Fix memory leaks.
|
95 |
|
|
|
96 |
|
|
2002-03-19 Hugo Tyson
|
97 |
|
|
|
98 |
|
|
* doc/snmp.sgml: Fix the URLs for "where is SNMP now".
|
99 |
|
|
|
100 |
|
|
2002-02-14 Hugo Tyson
|
101 |
|
|
|
102 |
|
|
* doc/snmp.sgml: NEW FILE: Clarified and brought up to date
|
103 |
|
|
somewhat. Still rather vague - but then it's a port of UCD's
|
104 |
|
|
work, we should not second-guess their expertise in the matter.
|
105 |
|
|
|
106 |
|
|
Release notes section from when SNMP was distributed as a separate
|
107 |
|
|
.EPK file removed - it was full of version- and platform-specific
|
108 |
|
|
references, and rehashes of general repository management advice.
|
109 |
|
|
|
110 |
|
|
2002-02-05 Hugo Tyson
|
111 |
|
|
|
112 |
|
|
* src/snmptask.c: Pass a function pointer into dhcpd() for for
|
113 |
|
|
SNMP reinitialization when its state cycles up-down-up; for
|
114 |
|
|
example setting up v3 security, extra MIBs and the like.
|
115 |
|
|
|
116 |
|
|
* src/snmpd.c (dhcpd): Handle re-init pointer. Namespace tidied
|
117 |
|
|
up a little too; state flags can be static no problem.
|
118 |
|
|
|
119 |
|
|
* tests/snmpping.c (snmp_do_reinit): New function to test hook for
|
120 |
|
|
SNMP reinitialization. Also commit some stuff I've had around for
|
121 |
|
|
ages to make this test very robust against eg. DHCP going away.
|
122 |
|
|
It re-does the init_all_network_interfaces() and so on if any
|
123 |
|
|
interface "up"ness changes, thus testing all that stuff too.
|
124 |
|
|
Also looks at the correct symbol for SNMPv3 testing now.
|
125 |
|
|
|
126 |
|
|
2002-02-01 Gary Thomas
|
127 |
|
|
|
128 |
|
|
* tests/snmpping.c (ping_test):
|
129 |
|
|
* src/agent_trap.c (send_enterprise_trap_vars):
|
130 |
|
|
Need valid value for sin_len.
|
131 |
|
|
|
132 |
|
|
2001-11-21 Hugo Tyson
|
133 |
|
|
|
134 |
|
|
* src/snmpd.c (snmpd): Explicit execution-time initialization of
|
135 |
|
|
"running" variable, so that we can restart snmpd without it
|
136 |
|
|
immediately exiting again.
|
137 |
|
|
|
138 |
|
|
* src/snmptask.c (snmpdloop): Make the snmpd thread loop forever,
|
139 |
|
|
so that we can restart it when the state of all the interfaces
|
140 |
|
|
changes.
|
141 |
|
|
|
142 |
|
|
2001-08-14 Gary Thomas
|
143 |
|
|
|
144 |
|
|
* tests/snmpping.c:
|
145 |
|
|
* cdl/snmpagent.cdl: Add CDL options to configure tests.
|
146 |
|
|
|
147 |
|
|
2001-07-31 Hugo Tyson
|
148 |
|
|
2001-07-31 Ron Kundla
|
149 |
|
|
|
150 |
|
|
* utils/mib2c/mib2c (Table-handling): Concatenate rather than
|
151 |
|
|
replace subsequent processed variables. The symptom was that in
|
152 |
|
|
the generated header file you only get the last table in the MIB.
|
153 |
|
|
This fixes it. Thanks Ron!
|
154 |
|
|
|
155 |
|
|
2001-06-07 Jesper Skov
|
156 |
|
|
|
157 |
|
|
* src/mibgroup/mibII/ip.c (var_ipNetToMediaTable): Only handle
|
158 |
|
|
IPNETTOMEDIAPHYSADDRESS for devices with associated hardware.
|
159 |
|
|
|
160 |
|
|
2001-05-29 Hugo Tyson
|
161 |
|
|
|
162 |
|
|
* tests/snmpping.c (net_test): Committed the improved version of
|
163 |
|
|
this that I've been using for a while - with new improved SNMPv3
|
164 |
|
|
testing. This requires (in the current setup) explicit init of
|
165 |
|
|
the SNMPv3 MIBs and a "user" for authentication purposes. The
|
166 |
|
|
test can also be set to run the interfaces in promiscuous mode,
|
167 |
|
|
and/or to run forever, and it has lots better diagnostics if you
|
168 |
|
|
see mangled ping packets. And the ping size varies too, to test
|
169 |
|
|
ICMP defragmentation.
|
170 |
|
|
|
171 |
|
|
2001-05-29 Hugo Tyson
|
172 |
|
|
2001-05-28 Manu Sharma
|
173 |
|
|
2001-05-28 Andrew Lunn
|
174 |
|
|
|
175 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Support a direct
|
176 |
|
|
call into a customer's device ioctl() for devices of type
|
177 |
|
|
IFT_CUSTOMER_SPECIAL - if they have defined it. This is to make
|
178 |
|
|
it easier to add a custom interface type and have SNMP deal with
|
179 |
|
|
it properly without editting the SNMP sources.
|
180 |
|
|
|
181 |
|
|
* include/snmpEngine.h, include/usmState.h, include/usmUser.h:
|
182 |
|
|
* src/mibgroup/snmpv3/snmpEngine.c, src/mibgroup/snmpv3/usmStats.c:
|
183 |
|
|
* src/mibgroup/snmpv3/usmUser.c: NEW FILES: Added support of
|
184 |
|
|
SNMPv3 User based Security Module (USM). This adds
|
185 |
|
|
authentification and encryption to snmp requests and replies.
|
186 |
|
|
|
187 |
|
|
* cdl/snmpagent.cdl: Build the new files above.
|
188 |
|
|
|
189 |
|
|
2001-05-08 Jonathan Larmour
|
190 |
|
|
|
191 |
|
|
* utils/mib2c/README-eCos: Clarify usage of mib2c a bit.
|
192 |
|
|
|
193 |
|
|
2001-01-17 Jonathan Larmour
|
194 |
|
|
|
195 |
|
|
* src/mibgroup/util_funcs.c (restart_hook): Don't use alarm() in eCos
|
196 |
|
|
(wait_on_exec): Don't use waitpid() in eCos
|
197 |
|
|
The above prevent link errors.
|
198 |
|
|
|
199 |
|
|
2001-01-10 Jonathan Larmour
|
200 |
|
|
|
201 |
|
|
* cdl/snmpagent.cdl: Clarify ISO C requirements
|
202 |
|
|
|
203 |
|
|
2000-11-29 Hugo Tyson
|
204 |
|
|
2000-11-29 Andrew Lunn
|
205 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable):
|
206 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable):
|
207 |
|
|
Undo Hugo's fix; it fails if there are holes in the if_index space
|
208 |
|
|
(not something I expected). Use this fix instead, from Andrew.
|
209 |
|
|
[CASE 104939]
|
210 |
|
|
|
211 |
|
|
* src/mibgroups/mibII/ip.c: IPADENTIFINDEX should return the
|
212 |
|
|
interface index as seen in the interface group. This is not the
|
213 |
|
|
if_index but merely acquired by counting.
|
214 |
|
|
|
215 |
|
|
2000-11-17 Hugo Tyson
|
216 |
|
|
|
217 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable):
|
218 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Use the
|
219 |
|
|
last component of the OID to select the matching interface rather
|
220 |
|
|
than merely counting through them. Thus this MIB matches eg. the
|
221 |
|
|
IP MIB in terms of ip.ipAddrTable.ipAddrEntry.ipAdEntIfIndex.
|
222 |
|
|
[CASE 104939 "snmp interface and IP group don't correspond"]
|
223 |
|
|
|
224 |
|
|
2000-08-31 Hugo Tyson
|
225 |
|
|
|
226 |
|
|
* tests/snmpping.c (net_test): Add use of network realtime test
|
227 |
|
|
harness - if available. One example is provided for the EBSA285
|
228 |
|
|
in "devs/eth/arm/ebsa285/VERSION/tests/test_net_realtime.h"
|
229 |
|
|
|
230 |
|
|
2000-08-25 Hugo Tyson
|
231 |
|
|
|
232 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable): A little further
|
233 |
|
|
diddling; have a bool to say whether the dot3 info is filled in.
|
234 |
|
|
|
235 |
|
|
2000-08-24 Hugo Tyson
|
236 |
|
|
|
237 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable):
|
238 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Use new ioctl()
|
239 |
|
|
interface to get information out of ethernet devices. If the
|
240 |
|
|
ioctl call is not supported, we just get default values.
|
241 |
|
|
|
242 |
|
|
2000-08-16 Hugo Tyson
|
243 |
|
|
|
244 |
|
|
* src/snmpd.c (snmpd): Remove call to
|
245 |
|
|
init_all_network_interfaces(); it's a bad idea for the situations
|
246 |
|
|
when initialization has been done externally to our helper
|
247 |
|
|
functions. This adds the constraint that you must initialize the
|
248 |
|
|
network interfaces first, by whatever means. Starting snmpd
|
249 |
|
|
before the network is up may cause confusion.
|
250 |
|
|
[CASE 104330]
|
251 |
|
|
|
252 |
|
|
Also tidied some warnings.
|
253 |
|
|
|
254 |
|
|
2000-07-25 Hugo Tyson
|
255 |
|
|
|
256 |
|
|
* tests/snmpping.c (net_test): Make it ping the loopback
|
257 |
|
|
interfaces so as to do some valid testing in the absence of any
|
258 |
|
|
real interfaces on the platform. Also make it run less time or no
|
259 |
|
|
doubt the farm will report many non-failures.
|
260 |
|
|
|
261 |
|
|
2000-07-13 Hugo Tyson
|
262 |
|
|
|
263 |
|
|
* tests/snmpping.c: Up the stack size to cope with full DHCP
|
264 |
|
|
initialization in init_all_network_interfaces().
|
265 |
|
|
|
266 |
|
|
2000-06-27 Hugo Tyson
|
267 |
|
|
|
268 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable): Forgot the
|
269 |
|
|
DOT3STATSINDEX for loopback, so it claimed index 0. Fixed.
|
270 |
|
|
|
271 |
|
|
2000-06-26 Hugo Tyson
|
272 |
|
|
|
273 |
|
|
* src/snmptask.c (cyg_net_snmp_init): Change the priority of the
|
274 |
|
|
SNMP thread; make it one less important than the network thread of
|
275 |
|
|
which it is a client.
|
276 |
|
|
|
277 |
|
|
2000-06-19 Hugo Tyson
|
278 |
|
|
|
279 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable): Don't trip over
|
280 |
|
|
loopback interface; it doesn't support the same enquiries as an
|
281 |
|
|
eth device.
|
282 |
|
|
|
283 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Don't trip over
|
284 |
|
|
loopback interface; it doesn't support the same enquiries as an
|
285 |
|
|
eth device.
|
286 |
|
|
|
287 |
|
|
2000-06-14 Hugo Tyson
|
288 |
|
|
|
289 |
|
|
* cdl/snmpagent.cdl: Add options for the default values for system
|
290 |
|
|
MIB vals that describe the machine.
|
291 |
|
|
|
292 |
|
|
* src/mibgroup/mibII/system_mib.c (init_system_mib): Pick up
|
293 |
|
|
values from configury (this goes via config.h in the library).
|
294 |
|
|
|
295 |
|
|
2000-06-14 John Dallaway
|
296 |
|
|
|
297 |
|
|
* cdl/snmpagent.cdl: Tidy display strings.
|
298 |
|
|
|
299 |
|
|
2000-06-14 Hugo Tyson
|
300 |
|
|
|
301 |
|
|
* cdl/snmpagent.cdl: Install all the header files below
|
302 |
|
|
include/ucd-snmp/ as is the normal host-side standard; this avoids
|
303 |
|
|
some rather terrible filenamespace pollution too. That location
|
304 |
|
|
is also added to the include path, using a mechanism that's rather
|
305 |
|
|
build-method-specific; it may need revisiting.
|
306 |
|
|
|
307 |
|
|
2000-06-14 Hugo Tyson
|
308 |
|
|
|
309 |
|
|
* cdl/snmpagent.cdl: parent this below CYGPKG_NET.
|
310 |
|
|
|
311 |
|
|
2000-06-13 Hugo Tyson
|
312 |
|
|
|
313 |
|
|
* cdl/snmpagent.cdl: Add mibgroup/mibII/dot3.c to compile list.
|
314 |
|
|
|
315 |
|
|
* src/mibgroup/mibII/dot3.c (var_dot3StatsTable): Done that - and
|
316 |
|
|
it required changes to the EBSA ether device driver. Of course,
|
317 |
|
|
if those info-macros are not present, the SNMP agent module uses
|
318 |
|
|
zeros, so it should "work" half-heartedly with other platforms
|
319 |
|
|
too.
|
320 |
|
|
|
321 |
|
|
* include/mibgroup/mibII/dot3.h: Completed handler function list.
|
322 |
|
|
|
323 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): This now makes
|
324 |
|
|
use of info-macros exported from the ethernet dd.
|
325 |
|
|
|
326 |
|
|
* include/mib_module_inits.h: Call init_dot3() in the bootup.
|
327 |
|
|
|
328 |
|
|
* src/mibgroup/mibII/system_mib.c (init_system_mib): Fill in
|
329 |
|
|
default system type description.
|
330 |
|
|
|
331 |
|
|
2000-06-09 Hugo Tyson
|
332 |
|
|
|
333 |
|
|
* src/mibgroup/mibII/tcp.c (var_tcpConnTable): Done that.
|
334 |
|
|
|
335 |
|
|
2000-06-09 Hugo Tyson
|
336 |
|
|
|
337 |
|
|
* src/mibgroup/mibII/udp.c (var_udpTable): Done that.
|
338 |
|
|
|
339 |
|
|
2000-06-08 Hugo Tyson
|
340 |
|
|
|
341 |
|
|
* src/mibgroup/mibII/icmp.c (var_icmp): Fleshed this out with a
|
342 |
|
|
copy from the UCD version - BSD stack nosing-in-kernel memory arm
|
343 |
|
|
of the code is the same, unsurprisingly.
|
344 |
|
|
|
345 |
|
|
2000-06-08 Hugo Tyson
|
346 |
|
|
|
347 |
|
|
* src/mibgroup/mibII/ip.c (var_ip): Flesh this out; it's mostly
|
348 |
|
|
there now.
|
349 |
|
|
|
350 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Make this more
|
351 |
|
|
consistent, particularly the use of FIXMEs for the bits I have not
|
352 |
|
|
completed yet.
|
353 |
|
|
|
354 |
|
|
2000-06-06 Hugo Tyson
|
355 |
|
|
|
356 |
|
|
* src/mibgroup/mibII/interfaces.c (var_ifTable): Flesh this out
|
357 |
|
|
with lots of snooping into the ifnet structures and a little info
|
358 |
|
|
from the device driver. The info is there now.
|
359 |
|
|
|
360 |
|
|
* src/mibgroup/mibII/tcp.c (var_tcpConnTable,var_ipv6TcpConnTable):
|
361 |
|
|
* src/mibgroup/mibII/udp.c (var_udpTable,var_ipv6UdpTable):
|
362 |
|
|
* src/mibgroup/mibII/ip.c (var_ipAddrTable,var_ipNetToMediaTable):
|
363 |
|
|
Fix these (by commenting out) parts for complex tables that made
|
364 |
|
|
the snmpwalk tool crash out; ie. it acts as if all such complex
|
365 |
|
|
tables are empty, rather than returning badly indexed entries.
|
366 |
|
|
|
367 |
|
|
2000-06-02 Hugo Tyson
|
368 |
|
|
|
369 |
|
|
* utils/mib2c/README-eCos:
|
370 |
|
|
* utils/mib2c/README.mib2c:
|
371 |
|
|
* utils/mib2c/mib2c:
|
372 |
|
|
* utils/mib2c/mib2c.conf:
|
373 |
|
|
* utils/mib2c/mib2c.conf-ORIG:
|
374 |
|
|
* utils/mib2c/mib2c.storage.conf:
|
375 |
|
|
* utils/mib2c/mib2c.vartypes.conf:
|
376 |
|
|
New files, just to keep my variant of mib2c.conf under source
|
377 |
|
|
controlled; it includes our copyright (and attribution to UCD et
|
378 |
|
|
al, of course) the different include paths as required by eCos'
|
379 |
|
|
package layout and a couple of other nits sorted out.
|
380 |
|
|
|
381 |
|
|
2000-06-02 Hugo Tyson
|
382 |
|
|
|
383 |
|
|
* cdl/snmpagent.cdl (compile): Omit the read-only file-system
|
384 |
|
|
part; the library will cheerfully use it, but it's not at all
|
385 |
|
|
necessary. Waste of time - unless someone is liable to use the
|
386 |
|
|
snmplib for tool rather than agent purposes.
|
387 |
|
|
|
388 |
|
|
* include/mib_module_includes.h: Include the full set of includes
|
389 |
|
|
for the MIBs we will implement. Ie.
|
390 |
|
|
mibgroup/mibII/system_mib.h // { mib2 1 }
|
391 |
|
|
mibgroup/mibII/sysORTable.h // { mib2 1.9.1 } == { system 9.1 }
|
392 |
|
|
mibgroup/mibII/interfaces.h // { mib2 2 }
|
393 |
|
|
(NOT mibgroup/mibII/at.h) // #3 is deprecated
|
394 |
|
|
mibgroup/mibII/ip.h // { mib2 4 }
|
395 |
|
|
mibgroup/mibII/icmp.h // { mib2 5 }
|
396 |
|
|
mibgroup/mibII/tcp.h // { mib2 6 }
|
397 |
|
|
mibgroup/mibII/udp.h // { mib2 7 }
|
398 |
|
|
mibgroup/mibII/dot3.h // { mib2 10.7 } == { transmission 7 }
|
399 |
|
|
mibgroup/mibII/snmp_mib.h // { mib2 11 }
|
400 |
|
|
|
401 |
|
|
* include/mib_module_inits.h: Same thing really; but dot3 is not
|
402 |
|
|
yet in there at all, it'll be added later.
|
403 |
|
|
init_system_mib(); // { mib2 1 }
|
404 |
|
|
init_sysORTable(); // { mib2 1.9.1 } == { system 9.1 }
|
405 |
|
|
init_interfaces(); // { mib2 2 }
|
406 |
|
|
//init_at(); // #3 is deprecated
|
407 |
|
|
init_ip(); // { mib2 4 }
|
408 |
|
|
init_icmp(); // { mib2 5 }
|
409 |
|
|
init_tcp(); // { mib2 6 }
|
410 |
|
|
init_udp(); // { mib2 7 }
|
411 |
|
|
//init_dot3(); // { mib2 10.7 } == { transmission 7 } FIXME
|
412 |
|
|
init_snmp_mib(); // { mib2 11 }
|
413 |
|
|
|
414 |
|
|
* include/mibgroup/mibII/icmp.h:
|
415 |
|
|
* include/mibgroup/mibII/interfaces.h:
|
416 |
|
|
* include/mibgroup/mibII/ip.h:
|
417 |
|
|
* include/mibgroup/mibII/tcp.h:
|
418 |
|
|
* include/mibgroup/mibII/udp.h:
|
419 |
|
|
These files have all been replaced by versions direct from mib2c,
|
420 |
|
|
without any of the UNIX/LINUX/Win32-specific gubbins from the
|
421 |
|
|
original versions.
|
422 |
|
|
|
423 |
|
|
* include/mibgroup/mibII/dot3.h: New file direct from mib2c.
|
424 |
|
|
|
425 |
|
|
* include/mibgroup/mibII/route_write.h: DELETED
|
426 |
|
|
* include/mibgroup/mibII/at.h: DELETED
|
427 |
|
|
* include/mibgroup/mibII/var_route.h: DELETED
|
428 |
|
|
Removed, not necessary for the vanilla headers; they were there
|
429 |
|
|
before to satisfy include needs of the originals.
|
430 |
|
|
|
431 |
|
|
* src/mibgroup/mibII/dot3.c:
|
432 |
|
|
* src/mibgroup/mibII/icmp.c:
|
433 |
|
|
* src/mibgroup/mibII/interfaces.c:
|
434 |
|
|
* src/mibgroup/mibII/ip.c:
|
435 |
|
|
* src/mibgroup/mibII/tcp.c:
|
436 |
|
|
* src/mibgroup/mibII/udp.c:
|
437 |
|
|
These are new files, direct from mib2c, again without all the
|
438 |
|
|
UNIX/LINUX/Win32-specific gubbins from the original versions.
|
439 |
|
|
|
440 |
|
|
* src/rofs/EtherLike-MIB.c: DELETED
|
441 |
|
|
* src/rofs/IANAifType-MIB.c: DELETED
|
442 |
|
|
* src/rofs/IF-MIB.c: DELETED
|
443 |
|
|
* src/rofs/IP-MIB.c: DELETED
|
444 |
|
|
* src/rofs/RFC-1215.c: DELETED
|
445 |
|
|
* src/rofs/SNMPv2-CONF.c: DELETED
|
446 |
|
|
* src/rofs/SNMPv2-MIB.c: DELETED
|
447 |
|
|
* src/rofs/SNMPv2-SMI.c: DELETED
|
448 |
|
|
* src/rofs/SNMPv2-TC.c: DELETED
|
449 |
|
|
* src/rofs/SNMPv2-TM.c: DELETED
|
450 |
|
|
* src/rofs/TCP-MIB.c: DELETED
|
451 |
|
|
* src/rofs/UDP-MIB.c: DELETED
|
452 |
|
|
* src/rofs/snmprofs.c: DELETED
|
453 |
|
|
Turns out that I don't need a read-only FS with all the MIBs in in
|
454 |
|
|
the agent - reading them in (and complaining of their absence) is
|
455 |
|
|
part of the snmplib startup, but it's not needed by an agent.
|
456 |
|
|
This also means that if reinstated they should live in the lib
|
457 |
|
|
component rather than the agent one; oh well.
|
458 |
|
|
|
459 |
|
|
|
460 |
|
|
2000-05-31 Hugo Tyson
|
461 |
|
|
|
462 |
|
|
* Initial commit of port of UCD-SNMP version 4.1.2 to eCos.
|
463 |
|
|
|
464 |
|
|
//==========================================================================
|
465 |
|
|
//
|
466 |
|
|
// ./agent/current/ChangeLog
|
467 |
|
|
//
|
468 |
|
|
//
|
469 |
|
|
//==========================================================================
|
470 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
471 |
|
|
// -------------------------------------------
|
472 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
473 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
474 |
|
|
//
|
475 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
476 |
|
|
// the terms of the GNU General Public License as published by the Free
|
477 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
478 |
|
|
//
|
479 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
480 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
481 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
482 |
|
|
// for more details.
|
483 |
|
|
//
|
484 |
|
|
// You should have received a copy of the GNU General Public License along
|
485 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
486 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
487 |
|
|
//
|
488 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
489 |
|
|
// or inline functions from this file, or you compile this file and link it
|
490 |
|
|
// with other works to produce a work based on this file, this file does not
|
491 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
492 |
|
|
// License. However the source code for this file must still be made available
|
493 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
494 |
|
|
//
|
495 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
496 |
|
|
// this file might be covered by the GNU General Public License.
|
497 |
|
|
//
|
498 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
499 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
500 |
|
|
// -------------------------------------------
|
501 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
502 |
|
|
//####UCDSNMPCOPYRIGHTBEGIN####
|
503 |
|
|
//
|
504 |
|
|
// -------------------------------------------
|
505 |
|
|
//
|
506 |
|
|
// Portions of this software may have been derived from the UCD-SNMP
|
507 |
|
|
// project, from the University of
|
508 |
|
|
// California at Davis, which was originally based on the Carnegie Mellon
|
509 |
|
|
// University SNMP implementation. Portions of this software are therefore
|
510 |
|
|
// covered by the appropriate copyright disclaimers included herein.
|
511 |
|
|
//
|
512 |
|
|
// The release used was version 4.1.2 of May 2000. "ucd-snmp-4.1.2"
|
513 |
|
|
// -------------------------------------------
|
514 |
|
|
//
|
515 |
|
|
//####UCDSNMPCOPYRIGHTEND####
|
516 |
|
|
//==========================================================================
|
517 |
|
|
//#####DESCRIPTIONBEGIN####
|
518 |
|
|
//
|
519 |
|
|
// Author(s): hmt
|
520 |
|
|
// Contributors: hmt
|
521 |
|
|
// Date: 2000-05-30
|
522 |
|
|
// Purpose: Port of UCD-SNMP distribution to eCos.
|
523 |
|
|
// Description:
|
524 |
|
|
//
|
525 |
|
|
//
|
526 |
|
|
//####DESCRIPTIONEND####
|
527 |
|
|
//
|
528 |
|
|
//==========================================================================
|
529 |
|
|
/********************************************************************
|
530 |
|
|
Copyright 1989, 1991, 1992 by Carnegie Mellon University
|
531 |
|
|
|
532 |
|
|
Derivative Work -
|
533 |
|
|
Copyright 1996, 1998, 1999, 2000 The Regents of the University of California
|
534 |
|
|
|
535 |
|
|
All Rights Reserved
|
536 |
|
|
|
537 |
|
|
Permission to use, copy, modify and distribute this software and its
|
538 |
|
|
documentation for any purpose and without fee is hereby granted,
|
539 |
|
|
provided that the above copyright notice appears in all copies and
|
540 |
|
|
that both that copyright notice and this permission notice appear in
|
541 |
|
|
supporting documentation, and that the name of CMU and The Regents of
|
542 |
|
|
the University of California not be used in advertising or publicity
|
543 |
|
|
pertaining to distribution of the software without specific written
|
544 |
|
|
permission.
|
545 |
|
|
|
546 |
|
|
CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL
|
547 |
|
|
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
|
548 |
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR
|
549 |
|
|
THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL,
|
550 |
|
|
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
551 |
|
|
FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
552 |
|
|
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
553 |
|
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
554 |
|
|
*********************************************************************/
|