Debian Codegraph @

ChangeLogs/ChangeLog-ASNMP

raw
1 Fri Sep 9 09:39:47 UTC 2011 Johnny Willemsen <[email protected]>
2
3 * README:
4 * asnmp/transaction.h:
5 * asnmp/wpdu.cpp:
6 Layout/doxygen changes
7
8 Wed Sep 7 09:13:29 UTC 2011 Johnny Willemsen <[email protected]>
9
10 * README:
11 * agent/agent_impl.h:
12 * asnmp/address.h:
13 * asnmp/counter.h:
14 * asnmp/gauge.h:
15 * asnmp/integer.h:
16 * asnmp/pdu.h:
17 * asnmp/sagent.h:
18 * asnmp/smival.h:
19 * asnmp/snmp.cpp:
20 * asnmp/target.h:
21 * asnmp/timetick.h:
22 * asnmp/transaction.h:
23 * asnmp/wpdu.h:
24 * examples/trap/trap.cpp:
25 Layout changes
26
27 Mon Apr 6 09:57:22 UTC 2009 Johnny Willemsen <[email protected]>
28
29 * asnmp/wpdu.cpp:
30 Added support for Gauge32, thanks to Shai Kedem
31 <shai_kedem at hotmail dot com> for reporting this
32
33 Wed Mar 8 10:46:12 UTC 2006 Johnny Willemsen <[email protected]>
34
35 * asnmp/*.h:
36 Converted to doxygen style of documentation
37
38 Wed Jan 4 22:47:13 UTC 2006 J.T. Conklin <[email protected]>
39
40 * ChangeLog:
41
42 Untabify.
43 Delete-trailing-whitespace.
44
45 Added "Local Variables" section defining "add-log-time-format"
46 to a really ugly lambda expression that formats changelog
47 timestamps in UTC and works with both GNU Emacs and XEmacs.
48
49 Fri Dec 30 11:11:12 UTC 2005 Johnny Willemsen <[email protected]>
50
51 * asnmp/transaction.cpp:
52 Updated because the ACE_Time_Value constructors are now explicit
53
54 Fri Dec 23 09:56:12 UTC 2005 Johnny Willemsen <[email protected]>
55
56 * asnmp/address.{h,cpp}:
57 Added LEN as postfix for HASH0, HASH1 and HASH2. VxWorks 6.1 PPC
58 defines HASH1 and HASH2
59
60 Wed Oct 5 10:23:12 UTC 2005 Johnny Willemsen <[email protected]>
61
62 * asnmp/asn1.cpp:
63 * asnmp/pdu.cpp:
64 Fixed might be used uninitialized warnings in MinGW build
65
66 Fri Jul 15 10:12:19 2005 Douglas C. Schmidt <[email protected]>
67
68 * Removed the asnmp.mwc file so that it can be regenerated by MPC
69 automatically. Thanks to Sam Mesh <[email protected]> for
70 reporting this. This fixes bugid 2190.
71
72 Sun Oct 3 20:12:43 2004 Balachandran Natarajan <[email protected]>
73
74 * asnmp/oid.cpp:
75
76 Fixed a double deletion problem reported by Shlomi Yaakobovich.
77
78 Thu Sep 30 10:54:39 2004 Steve Huston <[email protected]>
79
80 * examples/get/get.cpp:
81 * examples/get/get_async.cpp:
82 * examples/next/next.cpp:
83 * examples/set/set.cpp:
84 * examples/trap/trap.cpp:
85 * examples/walk/walk.cpp: Added #include "ace/Argv_Type_Converter.h".
86
87 Wed Sep 29 15:33:29 2004 Steve Huston <[email protected]>
88
89 * asnmp/sagent.cpp:
90 * agent/snmp_agent.cpp:
91 * examples/get/get.cpp:
92 * examples/get/get_async.cpp:
93 * examples/next/next.cpp:
94 * examples/set/set.cpp:
95 * examples/trap/trap.cpp:
96 * examples/walk/walk.cpp:
97 * tests/test_config.h:
98 * tests/Address_Test.cpp:
99 * tests/Counter64_Test.cpp:
100 * tests/Counter_Test.cpp:
101 * tests/Gauge_Test.cpp:
102 * tests/Integer_Test.cpp:
103 * tests/Octet_Test.cpp:
104 * tests/Oid_Test.cpp:
105 * tests/Target_Test.cpp:
106 * tests/Varbind_Test.cpp: Adjustments to build with wide-char.
107
108 Fri Aug 6 08:14:12 2004 Douglas C. Schmidt <[email protected]>
109
110 * asnmp/transaction.{h,cpp}: Added a get_handle() call to
111 session. Thanks to Geo Sebastian <[email protected]>
112 for this fix.
113
114 Fri May 7 14:42:22 2004 Ossama Othman <[email protected]>
115
116 * tests/Counter_Test.cpp (TestCounter):
117 * tests/Gauge_Test.cpp (TestGuage):
118 * tests/Integer_Test.cpp (TestUnsignedInteger32):
119
120 More "comparison between signed and unsigned integer"
121 warning fixes.
122
123 Thu May 6 11:03:26 2004 Ossama Othman <[email protected]>
124
125 * tests/Counter_Test.cpp (TestCounter):
126 * tests/Counter64_Test.cpp (TestCounter64):
127 * tests/Gauge_Test.cpp (TestGuage):
128 * tests/Integer_Test.cpp (TestUnsignedInteger32):
129
130 Fixed "comparison between signed and unsigned integer"
131 warnings.
132
133 Mon Apr 26 18:37:12 UTC 2004 Johnny Willemsen <[email protected]>
134
135 * examples/get/get.cpp:
136 * examples/get/get_async.cpp:
137 * examples/next/next.cpp:
138 * examples/set/set.cpp:
139 * examples/trap/trap.cpp:
140 * examples/walk/walk.cpp:
141 Don't use deprecated methods of ACE_Get_Opt and ACE_Reactor
142
143 Mon Apr 26 15:14:12 UTC 2004 Johnny Willemsen <[email protected]>
144
145 * examples/trap/purify4.1.txt:
146 Removed this file, it contains purify results and shouldn't
147 belong in the repo.
148
149 Thu Apr 22 20:45:27 2004 Ossama Othman <[email protected]>
150
151 * tests/Octet_Test.cpp:
152 * tests/Oid_Test.cpp:
153
154 Changed all return types for equality, relational and logical
155 operators to "bool", as is the norm for modern C++.
156
157 Fri Apr 16 16:53:20 2004 Ossama Othman <[email protected]>
158
159 * tests/Gauge_Test.cpp (TestGuage):
160 * tests/Integer_Test.cpp (TestInteger32, TestUnsignedInteger32):
161
162 Fixed some "comparison between signed and unsigned integer"
163 warnings.
164
165 Mon Mar 29 06:56:11 UTC 2004 Johnny Willemsen <[email protected]>
166
167 * tests/Integer_Test.cpp:
168 Fixed a warning in Win32 builds.
169
170 Fri Mar 26 09:49:10 2004 Balachandran Natarajan <[email protected]>
171
172 * tests/Integer_Test.cpp:
173
174 Fixed a warning in Win32 builds.
175
176 Fri Aug 29 07:56:19 2003 Ossama Othman <[email protected]>
177
178 * tests/Octet_Test.cpp (TestOctet):
179
180 Fixed "string literal converted to char *" warning. String
181 literals are now considered "const" by standard C++.
182
183 Sun Nov 24 17:04:33 2002 Douglas C. Schmidt <[email protected]>
184
185 * agent/main.cpp (main): Added ACE::init() to the beginning of
186 main() to prevent crashes on Windows. Thanks to Huseyin Calgin
187 <[email protected]> for reporting this.
188
189 Fri Feb 8 04:42:21 2002 Douglas C. Schmidt <[email protected]>
190
191 * asnmp/transaction.cpp (run): Changed the code to use ACE_Reactor::instance ()
192 rather than a local ACE_Reactor on the stack. Thanks to Paresh
193 Raote <[email protected]> for reporting this.
194
195 Thu Jan 25 12:48:33 2001 Craig Rodrigues <[email protected]>
196
197 * agent/Makefile.orig
198 asnmp/address.h.orig
199 examples/next/next.cpp
200 examples/trap/trap.cpp
201 examples/walk/walk.cpp
202 tests/test_config.h
203 tests/Varbind_Test.cpp
204 tests/Counter64_Test.cpp
205 tests/run_tests.sh
206
207 New agent Makefile, and compilation fixes.
208
209 Sun Jun 4 14:51:33 2000 Darrell Brunsch <[email protected]>
210
211 * asnmp-overview.html:
212
213 Added missing CVS Id string.
214
215 Tue Dec 21 16:22:21 1999 David L. Levine <[email protected]>
216
217 * tests/*.cpp: removed the unnecessary explicit template
218 instantiation. Other instantiations were necessary
219 with it, and it seemed to serve no useful purpose:
220 there was no use of an ACE_Unbounded_Set<Log_Msg *>.
221 Thanks to Jose Rubio <[email protected]> for
222 reporting link failures with Sun CC 5.0, with explicit
223 template instantiation enabled.
224
225 * tests/test_config.h: added #include of "ace/ACE.h",
226 because the file uses it later. g++ 2.91.66 on Linux
227 needed it.
228
229 Wed Jul 14 08:26:42 1999 Brian Raven <[email protected]>
230
231 * asnmp/snmp.{h,cpp},wpdu.cpp:
232 SYNOPSIS:
233 1) The agent IP address in traps originating from logical
234 domains on an Enterprise 10000 is that of the physical domain.
235
236 2) The code that gets the IP address uses gethostbyname
237 which is unsafe in a MT environment (according to the man page).
238
239 DESCRIPTION:
240 1) The problem seems to be caused by hostname only returning
241 the physical domain name.
242
243 SAMPLE FIX/WORKAROUND:
244 1) To get around this problem I added the capability to
245 override the local host name.
246
247 2) I would suggest using the GenAddress class to obtain the
248 IP address.
249
250 Tue Jun 22 13:34:54 1999 David L. Levine <[email protected]>
251
252 * agent/Makefile: replaced rm -f with $(RM).
253
254 Thu Apr 29 06:46:46 1999 David L. Levine <[email protected]>
255
256 * tests/Makefile: changed SRC to PSRC (for make depend).
257 Thanks to Sandeep Goyal <[email protected]> for reporting
258 that the Makefile was broken.
259
260 Mon Dec 28 22:03:57 1998 David L. Levine <[email protected]>
261
262 * agent/main.cpp: added #include "ace/inc_user_config.h", for
263 ACE_RCSID definition. Thanks to wym <[email protected]> for
264 reporting that it won't compile without it.
265
266 Tue Oct 27 08:52:05 1998 David L. Levine <[email protected]>
267
268 * asnmp/Makefile,tests/Makefile: added SRC definition for make depend, and updated dependencies.
269
270 Mon Aug 3 17:50:08 1998 Gonzalo Diethelm <[email protected]>
271
272 * examples/get/get_async.cpp:
273 * examples/get/get.cpp:
274 Added ACE_RCSID to these files.
275
276 Fri Jul 31 19:26:07 1998 Gonzalo Diethelm <[email protected]>
277
278 * examples/Makefile:
279 It had a missing info subdirectory.
280
281 * agent/agent_impl.cpp:
282 * agent/main.cpp:
283 * agent/snmp_agent.cpp:
284 * asnmp/address.cpp:
285 * asnmp/asn1.cpp:
286 * asnmp/counter.cpp:
287 * asnmp/ctr64.cpp:
288 * asnmp/gauge.cpp:
289 * asnmp/integer.cpp:
290 * asnmp/octet.cpp:
291 * asnmp/oid.cpp:
292 * asnmp/pdu.cpp:
293 * asnmp/sagent.cpp:
294 * asnmp/snmp.cpp:
295 * asnmp/target.cpp:
296 * asnmp/timetick.cpp:
297 * asnmp/transaction.cpp:
298 * asnmp/vb.cpp:
299 * asnmp/wpdu.cpp:
300 * examples/get/get.cpp:
301 * examples/next/next.cpp:
302 * examples/set/set.cpp:
303 * examples/trap/trap.cpp:
304 * examples/walk/walk.cpp:
305 * tests/Address_Test.cpp:
306 * tests/Counter64_Test.cpp:
307 * tests/Counter_Test.cpp:
308 * tests/Gauge_Test.cpp:
309 * tests/Integer_Test.cpp:
310 * tests/Octet_Test.cpp:
311 * tests/Oid_Test.cpp:
312 * tests/Target_Test.cpp:
313 * tests/Varbind_Test.cpp:
314 Added ACE_RCSID to these files.
315
316 Wed Jul 15 20:34:55 CDT 1998
317 * general fixes for SNMPv1 trap generation code reported by
318 Hien Nguyen <[email protected]> and Jeff Hall <[email protected]>
319 Added Hien's fixes, plus fixed -c option
320 in examples/trap to properly set community string.
321 * release 2.0
322
323 Fri Jan 30 15:29:42 CST 1998
324 * fix vb.cpp to handle Gauge/uInt the same way. While retrieving
325 ifTable found the bug.
326
327 Wed Dec 10 12:09:36 CST 1997
328 * sagent.cpp, Eric Newton fix. result not checked. v1.8
329
330 Mon Dec 8 14:33:59 CST 1997
331 * Thanks to Eric Newton's <[email protected]> continued patches
332 Version 1.7 has fixes for: agent, base library
333 Fix to the response type fixes the interoperability with CMU snmp on
334 linux. (and SNMP Research as well)
335
336 Initialize member of Pdu: output_
337 Send responses as response messages
338 Deallocate and reset the io_vec
339
340 The transaction object didn't initialize the io_vec used to receive
341 a packet when it was used for an agent transaction.
342
343 Cleans up a warning about using a const object from a previous
344 patch.
345
346 Removes the transaction object from the Reactor.
347
348
349 Sun Nov 30 17:49:12 CST 1997 Mike MacFaden <[email protected]>
350 * Thanks to Eric Newton's <[email protected]> apply patches:
351 Removed G++ warnings:
352 Removed unused variables
353 Cleaned up unused args to functions
354 Initialized variables
355 Inserted casts in *printf* functions
356 Added int return types to function definitions
357 Converted some variables from int to size_t to cut down on
358 sign comparison warnings
359 Reordered constructor initializer lists
360 Added return statements to functions returning int
361
362 Modified for G++ language differences:
363 Modified for loops for ANSI scoping rules
364
365 Fixed Bugs:
366 Deleted incorrect (cut-n-pasted) header to transaction.h
367 Removed "assignment in if condition" error
368 Added missing "break;" in switch statement in wpdu
369
370 Features:
371 Added async interface.
372
373 Noise:
374 Modified makefiles for g++ on Linux RedHat 4.1
375
376 * The new async interface has a test example in examples/get/get_async.cpp
377 that is useful if you are extending the get application.
378
379 * Fixed makefile to include -lasnmp when building tests/examples
380
381 * Compile and test with ACE 4.4 on Solaris 2.5.1 using Sun CC 4.2
382 no warnings/errors. get_async will sigbus however in destructors.
383
384 Thu Sep 4 18:56:12 1997 Mike MacFaden <[email protected]>
385
386 * commit agent/ mibs/ and update asnmp/ with sagent.h, cpp
387 to implement a trivial SNMPv1 agent that hard codes support
388 for mib II system group only.
389
390 Fri Aug 22 23:43:20 1997 Mike MacFaden <[email protected]>
391
392 * clean up two memory leaks in octet class and one umr
393
394 Thu Aug 21 20:59:23 1997 Mike MacFaden <[email protected]>
395
396 * Added Netbios address support to GenAddress
397 and added DecNetAddress, AppleTalkAddress classes per CISCO-TC.my
398 (ftp://ftp.cisco.com/pub/mibs)
399
400 Tue Aug 19 20:19:32 1997 Michael R. MacFaden <[email protected] (Michael R. MacFaden)>
401 * change IpAddress::is_arpa() to is_private() and update the comments
402 per RFC 1597. Add new test routine to verify this function in
403 tests/Address_Test.cpp
404
405 * add IpAddress::to_octet(OctetStr& val) which is useful when having to
406 send a network address as an Octet String as in CISCO-PING-MIB.my
407
408 Tue Aug 5 12:12:39 1997 Mike MacFaden (mrm@mrm-ss20)
409 * Thanks to Amos Shapira <[email protected]> apply patches
410 to support IRIX 6.3. Stated request for:
411 I think it would make things "righter" to make the code use C++
412 strings (and maybe vectors?).
413
414 * Begin testing on HP-UX 10.01 (missing ucontext.h)
415
416 Sat Aug 2 12:07:43 1997 Douglas C. Schmidt <[email protected]>
417
418 * Started to integrate the code into a more ACE-like style, e.g.,
419 added a the "asnmp/" prefix to all the header files so that we
420 don't need to play games with the -I flags and so we can always
421 know where we're getting the headers from.
422
423 Fri Aug 1 19:23:52 1997 Mike MacFaden (mrm@mrm-ss20)
424
425 * NOTES: This first version only tested on Solaris 2.5
426
427 * review classes for thread safety. Current thread design only
428 allows for one thread to safely access any ASNMP object created.
429
430 * run purify test of get routine no -memory leaks.
431
432 * verify both shared archive/static archive types work with
433 example programs
434
435 * << Globals Changes >>
436
437 * tested only archiver library version
438
439 * reformat code to use one brace style.
440
441 * changed all manifest constants defined as _XX to XX_ to stay out
442 of compiler namespace
443
444 * change all OS calls to use ACE_OS:: portability layer, #include
445 <ace/OS.h>
446
447 * reformat code to use one consistent brace layout and redo
448 header using ACE
449
450 * remove semicolons on member functions foo{}; - not necessary
451
452 * make get() methods const member functions
453
454 * removed unnecessary casts that looked like this: and revamped
455 all memory allocations via ACE_NEW macro
456
457 new_oid = (SmiLPUINT32) new unsigned long [ smival.value.oid.len
458
459 To
460
461 ACE_NEW(new_oid, SmiUINT32[ smival.value.oid.len])
462
463 * Collapsed default constructors with constructors to constructors
464 with default arguments.
465
466 * removed unused #include <iostream.h>
467
468 * Added ACE_TRACE() to classes
469
470 * change get_printable() to to_string() - there will be more java
471 programmers in the future so this should be the first step...
472
473 * removed ASYNC interface till it can be rebuilt using ACE patterns
474
475 * Attempt to make interface more type strict but leaving generic
476 interfaces as escape hatch. Example: CTarget becomes UdpTarget
477 for UDP/IP based agents.
478
479 * << Class Specific Changes >>
480
481 * Oid class:
482 - remove char * routines, simplify class
483 - added suboid method and removed get_printable() overloads
484
485 * CTarget class:
486 - renamed to UdpTarget. Stay out of Microsoft Namespace per MSJ
487 Article by Allen Hollub.
488
489 * Varbind class:
490 - remove generic set_value for char,int, etc. Too easy to get
491 this wrong. Allow just types defined.
492 - added overload for equality operator (==)
493 - added new constructor to allow setting full vb state oid,value, exception
494 - add to_string()
495
496 * Address class:
497 - change manifest constants to enums for address lengths, add IP V6 lens
498
499 - add a netbios name class, still pretty worthless since I don't have spec
500 in front of me yet...
501
502 - rewrite resolver calls to be thread safe and cleaner by moving to two
503 class (static) member functions:
504
505 // thread safe routine to lookup ip address given hostname
506 // return <> 0 on error
507 static int resolve_to_addr(const char *hostname, in_addr& quad_addr);
508
509 // thread safe routine to lookup name given ip address
510 // return <> 0 on error
511 static int resolve_to_hostname(const in_addr& quad_addr, char *hostname)
512
513 * added some interrogation routines to class IpAddress:
514 is_loopback() const;
515
516 * Ctr64 class:
517 - added constructor using long long datatype (needs to be made
518 portable to NT
519
520 * Pdu class: add to_string()
521
522 * Classes added wpdu class:
523 - a new adpater class between CMU and HP pdu, varbind data structures
524
525 * transaction class:
526 - implement get/getnext timeout and retry logic using ACE
527 Reactor class, ACE_Time_Value
528
529 Sat Jul 5 19:13:30 1997 Mike MacFaden (mrm@mrm-ss20)
530
531 * unpacked snmp++.tar.Z into ACE_wrappers, remove X11 support. If
532 you need GUI support in a communications package, something's
533 wrong, very wrong....
534
535 * Change HP-UX Makefiles to use ACE makefile system
536
537 * Change includes to use ACE OS Adaption Layer
538
539 * change all OS calls to use ACE_OS:: versions
540
541 * Add ACE_TRACE macros to all functions.
542
543 * clean up the global namespace by puting all global functions
544 into C++ classes as static member functions and make public only
545 those that are used (uxsnmp.cpp, eventlist.cpp)
546
547 * create README from readme.txt, COPYRIGHT files.
548
549 * create tests/ directory rename ConsoleExamples to examples
550
551 * cull out dead code modules and dump them into misc dir:
552 oidname.cpp, ipresolv.cpp
553
554 * ipresolv.cpp had broken hostname buffer size (200), when DNS has
555 aways defined a max FQDN as 256...go figure.
556
557 * add General Error handler since existing ones are not very
558 useful in and of themselves.
559
560 * change all _DEF to DEF_ since _ANYTHING is reserved for compiler
561 writer namespace, NOT app writer
562
563 * convert cmu code to use C++ new/delete from malloc/free so
564 entire library uses C++ new constructor
565
566 Local Variables:
567 mode: change-log
568 add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time))
569 indent-tabs-mode: nil
570 End: