1 Fri Sep 9 09:39:47 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
8 Wed Sep 7 09:13:29 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
22 * asnmp/transaction.h:
24 * examples/trap/trap.cpp:
27 Mon Apr 6 09:57:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
30 Added support for Gauge32, thanks to Shai Kedem
31 <shai_kedem at hotmail dot com> for reporting this
33 Wed Mar 8 10:46:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
36 Converted to doxygen style of documentation
38 Wed Jan 4 22:47:13 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
43 Delete-trailing-whitespace.
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.
49 Fri Dec 30 11:11:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
51 * asnmp/transaction.cpp:
52 Updated because the ACE_Time_Value constructors are now explicit
54 Fri Dec 23 09:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
56 * asnmp/address.{h,cpp}:
57 Added LEN as postfix for HASH0, HASH1 and HASH2. VxWorks 6.1 PPC
58 defines HASH1 and HASH2
60 Wed Oct 5 10:23:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
64 Fixed might be used uninitialized warnings in MinGW build
66 Fri Jul 15 10:12:19 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
68 * Removed the asnmp.mwc file so that it can be regenerated by MPC
69 automatically. Thanks to Sam Mesh <sam.mesh@gmail.com> for
70 reporting this. This fixes bugid 2190.
72 Sun Oct 3 20:12:43 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
76 Fixed a double deletion problem reported by Shlomi Yaakobovich.
78 Thu Sep 30 10:54:39 2004 Steve Huston <shuston@riverace.com>
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".
87 Wed Sep 29 15:33:29 2004 Steve Huston <shuston@riverace.com>
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.
108 Fri Aug 6 08:14:12 2004 Douglas C. Schmidt <schmidt@cs.wustl.edu>
110 * asnmp/transaction.{h,cpp}: Added a get_handle() call to
111 session. Thanks to Geo Sebastian <geosebastian@onmobile.com>
114 Fri May 7 14:42:22 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
116 * tests/Counter_Test.cpp (TestCounter):
117 * tests/Gauge_Test.cpp (TestGuage):
118 * tests/Integer_Test.cpp (TestUnsignedInteger32):
120 More "comparison between signed and unsigned integer"
123 Thu May 6 11:03:26 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
125 * tests/Counter_Test.cpp (TestCounter):
126 * tests/Counter64_Test.cpp (TestCounter64):
127 * tests/Gauge_Test.cpp (TestGuage):
128 * tests/Integer_Test.cpp (TestUnsignedInteger32):
130 Fixed "comparison between signed and unsigned integer"
133 Mon Apr 26 18:37:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
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
143 Mon Apr 26 15:14:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
145 * examples/trap/purify4.1.txt:
146 Removed this file, it contains purify results and shouldn't
149 Thu Apr 22 20:45:27 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
151 * tests/Octet_Test.cpp:
152 * tests/Oid_Test.cpp:
154 Changed all return types for equality, relational and logical
155 operators to "bool", as is the norm for modern C++.
157 Fri Apr 16 16:53:20 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
159 * tests/Gauge_Test.cpp (TestGuage):
160 * tests/Integer_Test.cpp (TestInteger32, TestUnsignedInteger32):
162 Fixed some "comparison between signed and unsigned integer"
165 Mon Mar 29 06:56:11 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
167 * tests/Integer_Test.cpp:
168 Fixed a warning in Win32 builds.
170 Fri Mar 26 09:49:10 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
172 * tests/Integer_Test.cpp:
174 Fixed a warning in Win32 builds.
176 Fri Aug 29 07:56:19 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
178 * tests/Octet_Test.cpp (TestOctet):
180 Fixed "string literal converted to char *" warning. String
181 literals are now considered "const" by standard C++.
183 Sun Nov 24 17:04:33 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
185 * agent/main.cpp (main): Added ACE::init() to the beginning of
186 main() to prevent crashes on Windows. Thanks to Huseyin Calgin
187 <calgin@yahoo.com> for reporting this.
189 Fri Feb 8 04:42:21 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
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 <p_raote@yahoo.com> for reporting this.
195 Thu Jan 25 12:48:33 2001 Craig Rodrigues <crodrigu@bbn.com>
197 * agent/Makefile.orig
199 examples/next/next.cpp
200 examples/trap/trap.cpp
201 examples/walk/walk.cpp
203 tests/Varbind_Test.cpp
204 tests/Counter64_Test.cpp
207 New agent Makefile, and compilation fixes.
209 Sun Jun 4 14:51:33 2000 Darrell Brunsch <brunsch@uci.edu>
211 * asnmp-overview.html:
213 Added missing CVS Id string.
215 Tue Dec 21 16:22:21 1999 David L. Levine <levine@cs.wustl.edu>
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 <jrubio@tr.comm.mot.com> for
222 reporting link failures with Sun CC 5.0, with explicit
223 template instantiation enabled.
225 * tests/test_config.h: added #include of "ace/ACE.h",
226 because the file uses it later. g++ 2.91.66 on Linux
229 Wed Jul 14 08:26:42 1999 Brian Raven <brianr@liffe.com>
231 * asnmp/snmp.{h,cpp},wpdu.cpp:
233 1) The agent IP address in traps originating from logical
234 domains on an Enterprise 10000 is that of the physical domain.
236 2) The code that gets the IP address uses gethostbyname
237 which is unsafe in a MT environment (according to the man page).
240 1) The problem seems to be caused by hostname only returning
241 the physical domain name.
243 SAMPLE FIX/WORKAROUND:
244 1) To get around this problem I added the capability to
245 override the local host name.
247 2) I would suggest using the GenAddress class to obtain the
250 Tue Jun 22 13:34:54 1999 David L. Levine <levine@cs.wustl.edu>
252 * agent/Makefile: replaced rm -f with $(RM).
254 Thu Apr 29 06:46:46 1999 David L. Levine <levine@cs.wustl.edu>
256 * tests/Makefile: changed SRC to PSRC (for make depend).
257 Thanks to Sandeep Goyal <sagoyal@hss.hns.com> for reporting
258 that the Makefile was broken.
260 Mon Dec 28 22:03:57 1998 David L. Levine <levine@cs.wustl.edu>
262 * agent/main.cpp: added #include "ace/inc_user_config.h", for
263 ACE_RCSID definition. Thanks to wym <wym@dekang.com> for
264 reporting that it won't compile without it.
266 Tue Oct 27 08:52:05 1998 David L. Levine <levine@cs.wustl.edu>
268 * asnmp/Makefile,tests/Makefile: added SRC definition for make depend, and updated dependencies.
270 Mon Aug 3 17:50:08 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu>
272 * examples/get/get_async.cpp:
273 * examples/get/get.cpp:
274 Added ACE_RCSID to these files.
276 Fri Jul 31 19:26:07 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu>
279 It had a missing info subdirectory.
281 * agent/agent_impl.cpp:
283 * agent/snmp_agent.cpp:
296 * asnmp/timetick.cpp:
297 * asnmp/transaction.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.
316 Wed Jul 15 20:34:55 CDT 1998
317 * general fixes for SNMPv1 trap generation code reported by
318 Hien Nguyen <hnguyen@adcapex.com> and Jeff Hall <jeff@liffe.com>
319 Added Hien's fixes, plus fixed -c option
320 in examples/trap to properly set community string.
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.
327 Wed Dec 10 12:09:36 CST 1997
328 * sagent.cpp, Eric Newton fix. result not checked. v1.8
330 Mon Dec 8 14:33:59 CST 1997
331 * Thanks to Eric Newton's <ecn@smart.net> 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)
336 Initialize member of Pdu: output_
337 Send responses as response messages
338 Deallocate and reset the io_vec
340 The transaction object didn't initialize the io_vec used to receive
341 a packet when it was used for an agent transaction.
343 Cleans up a warning about using a const object from a previous
346 Removes the transaction object from the Reactor.
349 Sun Nov 30 17:49:12 CST 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
350 * Thanks to Eric Newton's <ecn@smart.net> 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
362 Modified for G++ language differences:
363 Modified for loops for ANSI scoping rules
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
371 Added async interface.
374 Modified makefiles for g++ on Linux RedHat 4.1
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.
379 * Fixed makefile to include -lasnmp when building tests/examples
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.
384 Thu Sep 4 18:56:12 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
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.
390 Fri Aug 22 23:43:20 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
392 * clean up two memory leaks in octet class and one umr
394 Thu Aug 21 20:59:23 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
396 * Added Netbios address support to GenAddress
397 and added DecNetAddress, AppleTalkAddress classes per CISCO-TC.my
398 (ftp://ftp.cisco.com/pub/mibs)
400 Tue Aug 19 20:19:32 1997 Michael R. MacFaden <mrm@mrm-ss20.cisco.com (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
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
408 Tue Aug 5 12:12:39 1997 Mike MacFaden (mrm@mrm-ss20)
409 * Thanks to Amos Shapira <amos@gezernet.co.il> 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?).
414 * Begin testing on HP-UX 10.01 (missing ucontext.h)
416 Sat Aug 2 12:07:43 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
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.
423 Fri Aug 1 19:23:52 1997 Mike MacFaden (mrm@mrm-ss20)
425 * NOTES: This first version only tested on Solaris 2.5
427 * review classes for thread safety. Current thread design only
428 allows for one thread to safely access any ASNMP object created.
430 * run purify test of get routine no -memory leaks.
432 * verify both shared archive/static archive types work with
435 * << Globals Changes >>
437 * tested only archiver library version
439 * reformat code to use one brace style.
441 * changed all manifest constants defined as _XX to XX_ to stay out
442 of compiler namespace
444 * change all OS calls to use ACE_OS:: portability layer, #include
447 * reformat code to use one consistent brace layout and redo
450 * remove semicolons on member functions foo{}; - not necessary
452 * make get() methods const member functions
454 * removed unnecessary casts that looked like this: and revamped
455 all memory allocations via ACE_NEW macro
457 new_oid = (SmiLPUINT32) new unsigned long [ smival.value.oid.len
461 ACE_NEW(new_oid, SmiUINT32[ smival.value.oid.len])
463 * Collapsed default constructors with constructors to constructors
464 with default arguments.
466 * removed unused #include <iostream.h>
468 * Added ACE_TRACE() to classes
470 * change get_printable() to to_string() - there will be more java
471 programmers in the future so this should be the first step...
473 * removed ASYNC interface till it can be rebuilt using ACE patterns
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.
479 * << Class Specific Changes >>
482 - remove char * routines, simplify class
483 - added suboid method and removed get_printable() overloads
486 - renamed to UdpTarget. Stay out of Microsoft Namespace per MSJ
487 Article by Allen Hollub.
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
497 - change manifest constants to enums for address lengths, add IP V6 lens
499 - add a netbios name class, still pretty worthless since I don't have spec
500 in front of me yet...
502 - rewrite resolver calls to be thread safe and cleaner by moving to two
503 class (static) member functions:
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);
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)
513 * added some interrogation routines to class IpAddress:
517 - added constructor using long long datatype (needs to be made
520 * Pdu class: add to_string()
522 * Classes added wpdu class:
523 - a new adpater class between CMU and HP pdu, varbind data structures
526 - implement get/getnext timeout and retry logic using ACE
527 Reactor class, ACE_Time_Value
529 Sat Jul 5 19:13:30 1997 Mike MacFaden (mrm@mrm-ss20)
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....
535 * Change HP-UX Makefiles to use ACE makefile system
537 * Change includes to use ACE OS Adaption Layer
539 * change all OS calls to use ACE_OS:: versions
541 * Add ACE_TRACE macros to all functions.
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)
547 * create README from readme.txt, COPYRIGHT files.
549 * create tests/ directory rename ConsoleExamples to examples
551 * cull out dead code modules and dump them into misc dir:
552 oidname.cpp, ipresolv.cpp
554 * ipresolv.cpp had broken hostname buffer size (200), when DNS has
555 aways defined a max FQDN as 256...go figure.
557 * add General Error handler since existing ones are not very
558 useful in and of themselves.
560 * change all _DEF to DEF_ since _ANYTHING is reserved for compiler
561 writer namespace, NOT app writer
563 * convert cmu code to use C++ new/delete from malloc/free so
564 entire library uses C++ new constructor
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