diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-27 14:52:28 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-27 14:52:28 +0000 |
commit | b0dac50cb2b3ab8fc9d0a41ea195ec9dec048a74 (patch) | |
tree | 4fcd8b6486fae16779b27155126cb95bbbc7396a /ASNMP | |
parent | 4ee031771119a2dd443cd22e28cfd2134dafeb1c (diff) | |
download | ATCD-b0dac50cb2b3ab8fc9d0a41ea195ec9dec048a74.tar.gz |
*** empty log message ***
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/ChangeLog | 302 |
1 files changed, 153 insertions, 149 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog index 6a031edadbe..67ac5213ef0 100644 --- a/ASNMP/ChangeLog +++ b/ASNMP/ChangeLog @@ -1,52 +1,56 @@ +Tue Oct 27 08:52:05 1998 David L. Levine <levine@cs.wustl.edu> + + * asnmp/Makefile,tests/Makefile: added SRC definition for make depend, and updated dependencies. + Mon Aug 3 17:50:08 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu> - * examples/get/get_async.cpp: - * examples/get/get.cpp: - Added ACE_RCSID to these files. + * examples/get/get_async.cpp: + * examples/get/get.cpp: + Added ACE_RCSID to these files. Fri Jul 31 19:26:07 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu> - * examples/Makefile: - It had a missing info subdirectory. - - * agent/agent_impl.cpp: - * agent/main.cpp: - * agent/snmp_agent.cpp: - * asnmp/address.cpp: - * asnmp/asn1.cpp: - * asnmp/counter.cpp: - * asnmp/ctr64.cpp: - * asnmp/gauge.cpp: - * asnmp/integer.cpp: - * asnmp/octet.cpp: - * asnmp/oid.cpp: - * asnmp/pdu.cpp: - * asnmp/sagent.cpp: - * asnmp/snmp.cpp: - * asnmp/target.cpp: - * asnmp/timetick.cpp: - * asnmp/transaction.cpp: - * asnmp/vb.cpp: - * asnmp/wpdu.cpp: - * examples/get/get.cpp: - * examples/next/next.cpp: - * examples/set/set.cpp: - * examples/trap/trap.cpp: - * examples/walk/walk.cpp: - * tests/Address_Test.cpp: - * tests/Counter64_Test.cpp: - * tests/Counter_Test.cpp: - * tests/Gauge_Test.cpp: - * tests/Integer_Test.cpp: - * tests/Octet_Test.cpp: - * tests/Oid_Test.cpp: - * tests/Target_Test.cpp: - * tests/Varbind_Test.cpp: - Added ACE_RCSID to these files. + * examples/Makefile: + It had a missing info subdirectory. + + * agent/agent_impl.cpp: + * agent/main.cpp: + * agent/snmp_agent.cpp: + * asnmp/address.cpp: + * asnmp/asn1.cpp: + * asnmp/counter.cpp: + * asnmp/ctr64.cpp: + * asnmp/gauge.cpp: + * asnmp/integer.cpp: + * asnmp/octet.cpp: + * asnmp/oid.cpp: + * asnmp/pdu.cpp: + * asnmp/sagent.cpp: + * asnmp/snmp.cpp: + * asnmp/target.cpp: + * asnmp/timetick.cpp: + * asnmp/transaction.cpp: + * asnmp/vb.cpp: + * asnmp/wpdu.cpp: + * examples/get/get.cpp: + * examples/next/next.cpp: + * examples/set/set.cpp: + * examples/trap/trap.cpp: + * examples/walk/walk.cpp: + * tests/Address_Test.cpp: + * tests/Counter64_Test.cpp: + * tests/Counter_Test.cpp: + * tests/Gauge_Test.cpp: + * tests/Integer_Test.cpp: + * tests/Octet_Test.cpp: + * tests/Oid_Test.cpp: + * tests/Target_Test.cpp: + * tests/Varbind_Test.cpp: + Added ACE_RCSID to these files. Wed Jul 15 20:34:55 CDT 1998 * general fixes for SNMPv1 trap generation code reported by - Hien Nguyen <hnguyen@adcapex.com> and Jeff Hall <jeff@liffe.com> + Hien Nguyen <hnguyen@adcapex.com> and Jeff Hall <jeff@liffe.com> Added Hien's fixes, plus fixed -c option in examples/trap to properly set community string. * release 2.0 @@ -54,10 +58,10 @@ Wed Jul 15 20:34:55 CDT 1998 Fri Jan 30 15:29:42 CST 1998 * fix vb.cpp to handle Gauge/uInt the same way. While retrieving ifTable found the bug. - + Wed Dec 10 12:09:36 CST 1997 * sagent.cpp, Eric Newton fix. result not checked. v1.8 - + Mon Dec 8 14:33:59 CST 1997 * Thanks to Eric Newton's <ecn@smart.net> continued patches Version 1.7 has fixes for: agent, base library @@ -70,15 +74,15 @@ Mon Dec 8 14:33:59 CST 1997 The transaction object didn't initialize the io_vec used to receive a packet when it was used for an agent transaction. - + Cleans up a warning about using a const object from a previous patch. - + Removes the transaction object from the Reactor. - + Sun Nov 30 17:49:12 CST 1997 Mike MacFaden <mrm@tango.cs.wustl.edu> - * Thanks to Eric Newton's <ecn@smart.net> apply patches: + * Thanks to Eric Newton's <ecn@smart.net> apply patches: Removed G++ warnings: Removed unused variables Cleaned up unused args to functions @@ -102,42 +106,42 @@ Sun Nov 30 17:49:12 CST 1997 Mike MacFaden <mrm@tango.cs.wustl.edu> Added async interface. Noise: - Modified makefiles for g++ on Linux RedHat 4.1 + Modified makefiles for g++ on Linux RedHat 4.1 * The new async interface has a test example in examples/get/get_async.cpp - that is useful if you are extending the get application. + that is useful if you are extending the get application. * Fixed makefile to include -lasnmp when building tests/examples * Compile and test with ACE 4.4 on Solaris 2.5.1 using Sun CC 4.2 no warnings/errors. get_async will sigbus however in destructors. - + Thu Sep 4 18:56:12 1997 Mike MacFaden <mrm@tango.cs.wustl.edu> - + * commit agent/ mibs/ and update asnmp/ with sagent.h, cpp - to implement a trivial SNMPv1 agent that hard codes support - for mib II system group only. + to implement a trivial SNMPv1 agent that hard codes support + for mib II system group only. Fri Aug 22 23:43:20 1997 Mike MacFaden <mrm@tango.cs.wustl.edu> - * clean up two memory leaks in octet class and one umr + * clean up two memory leaks in octet class and one umr Thu Aug 21 20:59:23 1997 Mike MacFaden <mrm@tango.cs.wustl.edu> - * Added Netbios address support to GenAddress - and added DecNetAddress, AppleTalkAddress classes per CISCO-TC.my - (ftp://ftp.cisco.com/pub/mibs) + * Added Netbios address support to GenAddress + and added DecNetAddress, AppleTalkAddress classes per CISCO-TC.my + (ftp://ftp.cisco.com/pub/mibs) Tue Aug 19 20:19:32 1997 Michael R. MacFaden <mrm@mrm-ss20.cisco.com (Michael R. MacFaden)> - * change IpAddress::is_arpa() to is_private() and update the comments - per RFC 1597. Add new test routine to verify this function in - tests/Address_Test.cpp + * change IpAddress::is_arpa() to is_private() and update the comments + per RFC 1597. Add new test routine to verify this function in + tests/Address_Test.cpp * add IpAddress::to_octet(OctetStr& val) which is useful when having to send a network address as an Octet String as in CISCO-PING-MIB.my Tue Aug 5 12:12:39 1997 Mike MacFaden (mrm@mrm-ss20) - * Thanks to Amos Shapira <amos@gezernet.co.il> apply patches + * Thanks to Amos Shapira <amos@gezernet.co.il> apply patches to support IRIX 6.3. Stated request for: I think it would make things "righter" to make the code use C++ strings (and maybe vectors?). @@ -146,151 +150,151 @@ Tue Aug 5 12:12:39 1997 Mike MacFaden (mrm@mrm-ss20) Sat Aug 2 12:07:43 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu> - * Started to integrate the code into a more ACE-like style, e.g., - added a the "asnmp/" prefix to all the header files so that we - don't need to play games with the -I flags and so we can always - know where we're getting the headers from. + * Started to integrate the code into a more ACE-like style, e.g., + added a the "asnmp/" prefix to all the header files so that we + don't need to play games with the -I flags and so we can always + know where we're getting the headers from. Fri Aug 1 19:23:52 1997 Mike MacFaden (mrm@mrm-ss20) * NOTES: This first version only tested on Solaris 2.5 - * review classes for thread safety. Current thread design only + * review classes for thread safety. Current thread design only allows for one thread to safely access any ASNMP object created. * run purify test of get routine no -memory leaks. * verify both shared archive/static archive types work with - example programs + example programs * << Globals Changes >> - * tested only archiver library version + * tested only archiver library version - * reformat code to use one brace style. + * reformat code to use one brace style. - * changed all manifest constants defined as _XX to XX_ to stay out - of compiler namespace + * changed all manifest constants defined as _XX to XX_ to stay out + of compiler namespace - * change all OS calls to use ACE_OS:: portability layer, #include - <ace/OS.h> + * change all OS calls to use ACE_OS:: portability layer, #include + <ace/OS.h> - * reformat code to use one consistent brace layout and redo - header using ACE + * reformat code to use one consistent brace layout and redo + header using ACE - * remove semicolons on member functions foo{}; - not necessary + * remove semicolons on member functions foo{}; - not necessary - * make get() methods const member functions + * make get() methods const member functions - * removed unnecessary casts that looked like this: and revamped - all memory allocations via ACE_NEW macro + * removed unnecessary casts that looked like this: and revamped + all memory allocations via ACE_NEW macro - new_oid = (SmiLPUINT32) new unsigned long [ smival.value.oid.len + new_oid = (SmiLPUINT32) new unsigned long [ smival.value.oid.len - To + To - ACE_NEW(new_oid, SmiUINT32[ smival.value.oid.len]) + ACE_NEW(new_oid, SmiUINT32[ smival.value.oid.len]) - * Collapsed default constructors with constructors to constructors - with default arguments. + * Collapsed default constructors with constructors to constructors + with default arguments. - * removed unused #include <iostream.h> + * removed unused #include <iostream.h> - * Added ACE_TRACE() to classes + * Added ACE_TRACE() to classes - * change get_printable() to to_string() - there will be more java - programmers in the future so this should be the first step... + * change get_printable() to to_string() - there will be more java + programmers in the future so this should be the first step... - * removed ASYNC interface till it can be rebuilt using ACE patterns + * removed ASYNC interface till it can be rebuilt using ACE patterns + + * Attempt to make interface more type strict but leaving generic + interfaces as escape hatch. Example: CTarget becomes UdpTarget + for UDP/IP based agents. - * Attempt to make interface more type strict but leaving generic - interfaces as escape hatch. Example: CTarget becomes UdpTarget - for UDP/IP based agents. - * << Class Specific Changes >> * Oid class: - - remove char * routines, simplify class - - added suboid method and removed get_printable() overloads + - remove char * routines, simplify class + - added suboid method and removed get_printable() overloads + + * CTarget class: + - renamed to UdpTarget. Stay out of Microsoft Namespace per MSJ + Article by Allen Hollub. - * CTarget class: - - renamed to UdpTarget. Stay out of Microsoft Namespace per MSJ - Article by Allen Hollub. + * Varbind class: + - remove generic set_value for char,int, etc. Too easy to get + this wrong. Allow just types defined. + - added overload for equality operator (==) + - added new constructor to allow setting full vb state oid,value, exception + - add to_string() - * Varbind class: - - remove generic set_value for char,int, etc. Too easy to get - this wrong. Allow just types defined. - - added overload for equality operator (==) - - added new constructor to allow setting full vb state oid,value, exception - - add to_string() + * Address class: + - change manifest constants to enums for address lengths, add IP V6 lens - * Address class: - - change manifest constants to enums for address lengths, add IP V6 lens + - add a netbios name class, still pretty worthless since I don't have spec + in front of me yet... - - add a netbios name class, still pretty worthless since I don't have spec - in front of me yet... + - rewrite resolver calls to be thread safe and cleaner by moving to two + class (static) member functions: - - rewrite resolver calls to be thread safe and cleaner by moving to two - class (static) member functions: + // thread safe routine to lookup ip address given hostname + // return <> 0 on error + static int resolve_to_addr(const char *hostname, in_addr& quad_addr); - // thread safe routine to lookup ip address given hostname - // return <> 0 on error - static int resolve_to_addr(const char *hostname, in_addr& quad_addr); + // thread safe routine to lookup name given ip address + // return <> 0 on error + static int resolve_to_hostname(const in_addr& quad_addr, char *hostname) - // thread safe routine to lookup name given ip address - // return <> 0 on error - static int resolve_to_hostname(const in_addr& quad_addr, char *hostname) + * added some interrogation routines to class IpAddress: + is_loopback() const; - * added some interrogation routines to class IpAddress: - is_loopback() const; + * Ctr64 class: + - added constructor using long long datatype (needs to be made + portable to NT - * Ctr64 class: - - added constructor using long long datatype (needs to be made - portable to NT + * Pdu class: add to_string() - * Pdu class: add to_string() + * Classes added wpdu class: + - a new adpater class between CMU and HP pdu, varbind data structures - * Classes added wpdu class: - - a new adpater class between CMU and HP pdu, varbind data structures + * transaction class: + - implement get/getnext timeout and retry logic using ACE + Reactor class, ACE_Time_Value - * transaction class: - - implement get/getnext timeout and retry logic using ACE - Reactor class, ACE_Time_Value - Sat Jul 5 19:13:30 1997 Mike MacFaden (mrm@mrm-ss20) * unpacked snmp++.tar.Z into ACE_wrappers, remove X11 support. If - you need GUI support in a communications package, something's - wrong, very wrong.... + you need GUI support in a communications package, something's + wrong, very wrong.... - * Change HP-UX Makefiles to use ACE makefile system + * Change HP-UX Makefiles to use ACE makefile system - * Change includes to use ACE OS Adaption Layer + * Change includes to use ACE OS Adaption Layer - * change all OS calls to use ACE_OS:: versions + * change all OS calls to use ACE_OS:: versions - * Add ACE_TRACE macros to all functions. + * Add ACE_TRACE macros to all functions. - * clean up the global namespace by puting all global functions - into C++ classes as static member functions and make public only - those that are used (uxsnmp.cpp, eventlist.cpp) + * clean up the global namespace by puting all global functions + into C++ classes as static member functions and make public only + those that are used (uxsnmp.cpp, eventlist.cpp) - * create README from readme.txt, COPYRIGHT files. + * create README from readme.txt, COPYRIGHT files. - * create tests/ directory rename ConsoleExamples to examples + * create tests/ directory rename ConsoleExamples to examples - * cull out dead code modules and dump them into misc dir: - oidname.cpp, ipresolv.cpp + * cull out dead code modules and dump them into misc dir: + oidname.cpp, ipresolv.cpp - * ipresolv.cpp had broken hostname buffer size (200), when DNS has - aways defined a max FQDN as 256...go figure. + * ipresolv.cpp had broken hostname buffer size (200), when DNS has + aways defined a max FQDN as 256...go figure. - * add General Error handler since existing ones are not very - useful in and of themselves. + * add General Error handler since existing ones are not very + useful in and of themselves. - * change all _DEF to DEF_ since _ANYTHING is reserved for compiler - writer namespace, NOT app writer + * change all _DEF to DEF_ since _ANYTHING is reserved for compiler + writer namespace, NOT app writer - * convert cmu code to use C++ new/delete from malloc/free so - entire library uses C++ new constructor + * convert cmu code to use C++ new/delete from malloc/free so + entire library uses C++ new constructor |