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