summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authormrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-16 01:38:39 +0000
committermrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-16 01:38:39 +0000
commit67a6b9f5ca85619bdce51bbf24905a736d6d119f (patch)
treeb8df551b1132f022ac9c92695607be8b6cd68920 /ASNMP
parentbc5a2116887cd31c5e69d37485a0306597f6f677 (diff)
downloadATCD-67a6b9f5ca85619bdce51bbf24905a736d6d119f.tar.gz
Update changelog and version info with latest fixes
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/ChangeLog7
-rw-r--r--ASNMP/README4
-rw-r--r--ASNMP/asnmp/ChangeLog30
3 files changed, 39 insertions, 2 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog
index 5f580da72f7..a6a01eef432 100644
--- a/ASNMP/ChangeLog
+++ b/ASNMP/ChangeLog
@@ -1,3 +1,10 @@
+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>
+ Added Hien's fixes, plus fixed -c option
+ in examples/trap to properly set community string.
+ * release 2.0
+
Fri Jan 30 15:29:42 CST 1998
* fix vb.cpp to handle Gauge/uInt the same way. While retrieving
ifTable found the bug.
diff --git a/ASNMP/README b/ASNMP/README
index 31a3f679ca9..124926084f0 100644
--- a/ASNMP/README
+++ b/ASNMP/README
@@ -1,6 +1,6 @@
-Fri Jan 30 15:34:05 CST 1998
+Wed Jul 15 20:37:54 CDT 1998
====================================================================
-ASNMP = ACE+SNMP++ Version 1.9
+ASNMP = ACE+SNMP++ Version 2.0
By Michael R. MacFaden mrm@acm.org, mrm@yagosys.com
====================================================================
diff --git a/ASNMP/asnmp/ChangeLog b/ASNMP/asnmp/ChangeLog
index 629a17d12f5..7eaaf7140ab 100644
--- a/ASNMP/asnmp/ChangeLog
+++ b/ASNMP/asnmp/ChangeLog
@@ -1,3 +1,33 @@
+Wed Jul 15 20:27:23 1998 Mike MacFaden <mrm@tango.cs.wustl.edu>
+ * asn1.cpp - Hien Nguyen <hnguyen@apexgrp.com> fixed these bugs:
+
+ Problem: The V1 trap agent-addr field tag value is OCTET STRING
+ instead of IPADDRESS, and the time stamp field tag value is INTEGER
+ instead of TIME TICKS.
+
+ Fix: Change cmu_snmp::build() to pass in the correct type for agent-addr
+ and time stamp.
+
+ 2. Problem: The V1 trap enterprise OID is corrupted after is was set in
+ wpdu constructor.
+
+ Fix: In wpdu::set_trap_info(), the raw_pdu enterprise OID pointer was
+ assigned to the raw data of an enterprise Oid object on the stack.
+ Changed to perform an ACE_NEW_RETURN on the raw_pdu->enterprise and
+ perform a memcpy to copy the OID. The allocated memory is freed in
+ cmu_snmp::free_pdu() as currently implemented.
+
+ 3. The V1 trap agent-addr field is currently initialized to "0.0.0.0".
+ I changed wpdu::set_trap_info to initialize it to the local host IP
+ Address.
+
+ 4. I noticed that the memory allocation for OID in asn1.cpp using
+ ACE_NEW consistently use (OID length * size(oid)) as the size.
+ Shouldn't it be simply OID length ? Since there are numerous instances
+ of this usage in asn1.cpp, I have not fixed those. If you can double
+ check and fix these, I appreciate it.
+
+
Wed Aug 20 15:11:23 1997 Mike MacFaden <mrm@tango.cs.wustl.edu>
* rebuilt Makefile using g++dep