]>
Commit | Line | Data |
---|---|---|
d60c11be | 1 | Release Notes, Version 1.8 |
2 | ||
3 | Ryan Troll <ryan@andrew.cmu.edu> | |
4 | ||
5 | Major Changes: | |
6 | ||
7 | Portability / Bug Fixes | |
8 | ####################### | |
9 | ||
10 | Incorporated patches from Par Westesson <pw@cbc.chalmers.se>. Par's | |
11 | description of the patches sent to me: | |
12 | ||
13 | - The SNMPv2 error code definitions in asn1.c have been fixed. [ They | |
14 | were previously listed as Hex values, instead of decimal. ] | |
15 | ||
16 | - The function snmp_var_EncodeVarBind in snmp_vars.c has been modified | |
17 | to be able to encode the exception values noSuchObject, | |
18 | noSuchInstance and endOfMibView. It does so using the definitions | |
19 | added in snmp_vars.h and the function asn_build_exception added in | |
20 | asn1.c. | |
21 | ||
22 | Note that we haven't included support for decoding these exceptions | |
23 | (since we're using the library in an agent rather than a manager). | |
24 | Including support for this would however only require some small | |
25 | changes to the function snmp_var_DecodeVarBind and the addition of | |
26 | an asn_parse_exception function. | |
27 | ||
28 | We also haven't made any changes to the print_type function in | |
29 | mib.c, so these values can't be printed. Otherwise, no other changes | |
30 | to the library should be necessary because of the inclusion of the | |
31 | support for the exceptions. | |
32 | ||
33 | - All calls to the macro ASN_PARSE_ERROR which increments the counter | |
34 | snmpInASNParseErrs have been removed from the functions that encode | |
35 | SNMP packets since it should only be used when decoding. This | |
36 | affects the files snmp_vars.c, snmp_msg.c and snmp_pdu.c. | |
37 | ||
38 | Incorporated patches from Sebastien Rosset | |
39 | (sebastien.rosset@cstelecom.cie-signaux.fr): | |
40 | ||
41 | - Patches that augment Par's changes for noSuchObject, etc. | |
42 | ||
43 | - Fixed a bug when trying to deal with Bulk requests | |
44 | ||
45 | ||
46 | ||
47 | MAX_OID_LEN is now correctly set to 128 subids. | |
48 | ||
49 | Removed bcmp, bzero calls, for Solaris 2.4. | |
50 | ||
51 | Parser now handles description fields that begin with a quote | |
52 | immediately followed by a word, instead of failing. (Thanks to Simon | |
53 | Burr <simonb@uk.uu.net>) | |
54 | ||
55 | ||
56 | ---------------------------------------------------------------------- | |
57 | ||
58 | Release Notes, Version 1.7 | |
59 | October 14, 1997 | |
60 | Ryan Troll <ryan@andrew.cmu.edu> | |
61 | ||
62 | Major changes: | |
63 | ||
64 | Portability / Bug Fixes | |
65 | ####################### | |
66 | ||
67 | Incorporated patches for compilation under Visual C++ 4.0 / WinNT. | |
68 | (Thanks to Steven Chew <smchew@ibm.net>) | |
69 | ||
70 | It is now possible to compile the Irix version with '-n32', '-32', or | |
71 | '-o32' and have it installed into the appropriate place with the | |
72 | "--with-mips-abi=[n32,o32,32]" flag to configure. (Thanks to Rob | |
73 | Earhart <earhart+@cmu.edu>) | |
74 | ||
75 | Incorporated patch for socket options under Linux. Now sending UDP | |
76 | packets to remote hosts that are unavailable should not hurt anything | |
77 | else. (Thanks to Chaskiel Grundman <cg2v+@andrew.cmu.edu>) | |
78 | ||
79 | Other | |
80 | ##### | |
81 | ||
82 | The included MIB is now correct, and expanded. | |
83 | ||
84 | ---------------------------------------------------------------------- | |
85 | ||
86 | Release Notes, Version 1.6 | |
87 | May 27, 1997 | |
88 | Ryan Troll <ryan@andrew.cmu.edu> | |
89 | ||
90 | Major changes: | |
91 | ||
92 | Portability / Bug Fixes | |
93 | ####################### | |
94 | ||
95 | Correct use of int/long, so that machines using 64bit longs may use | |
96 | the library. | |
97 | ||
98 | Miniclient function declarations (and others) are now wrapped within | |
99 | the appropriate c++ wrappers. | |
100 | ||
101 | Added timer defines, to allow the library to compile with the Cygnus | |
102 | Win32 compiler. | |
103 | ||
104 | Now handles returns strings that are (supposedly) allocated yet | |
105 | contain no information. | |
106 | ||
107 | Fixed a few calls to asn functions that were passing sizeof(Pointer) | |
108 | rather than sizeof(what pointer points to), which weren't caught when | |
109 | these were the same. (But, on 64 bit machines...) | |
110 | ||
111 | ||
112 | Informs | |
113 | ####### | |
114 | ||
115 | The built-in snmp PDU/Session management now correctly handles SNMP | |
116 | Informs. | |
117 | ||
118 | ||
119 | Parser | |
120 | ###### | |
121 | ||
122 | The parser now accepts two additional pieces of information in a mib: | |
123 | DESCRIPTION and INDEX. It also handles "ACCESS" and "MAX-ACCESS". | |
124 | With these additions, SNMPv2 SMI MIBs can be parsed with minimal | |
125 | changes. (Specificly, with the removal of text conventions, etc.) | |
126 | ||
127 | The included CMU MIB should be a good example. | |
128 | ||
129 | ||
130 | Other | |
131 | ##### | |
132 | ||
133 | Changed some symbol names to static, to help reduce symbol name | |
134 | conflict with applications. | |
135 | ||
136 | Corrected incorrect backwards-compatibility defines. | |
137 | ||
138 | ---------------------------------------------------------------------- | |
139 | ||
140 | Release Notes, Version 1.5 | |
141 | March 31, 1997 | |
142 | Ryan Troll <ryan@andrew.cmu.edu> | |
143 | ||
144 | ||
145 | ||
146 | This SNMP library is based on the SNMP1.1b library that has been | |
147 | available via ftp.net.cmu.edu since September of 1991. Many changes | |
148 | have been made to increase it's performance, clean up memory leaks, | |
149 | and prepare it for use with SNMPv2 managers and agents. | |
150 | ||
151 | ||
152 | This is the last release of the CMU SNMP Library, aside from bug fixes | |
153 | and portability patches. Future SNMP development will be in a new | |
154 | direction. The new CMU SNMP library will be fully object oriented; | |
155 | compatible with SNMPv1, SNMPv2 Classic, and possibly others; and | |
156 | handle SMIv2 MIBs with the use of a MIB Compiler (IE: SMICng). | |
157 | ||
158 | The major changes since CMU SNMP 1.1b are: | |
159 | ||
160 | Autoconf | |
161 | ######## | |
162 | ||
163 | The SNMP Library now uses GNU Autoconf to determine system specific | |
164 | information. | |
165 | ||
166 | Trap and PDU Type Definitions | |
167 | ############################# | |
168 | ||
169 | All well-known traps and PDUs are now defined snmp_pdu.h, and are of | |
170 | the format SNMP_TRAP_${TrapType} and SNMP_PDU_${PDUType}. All defines | |
171 | previously used to specify trap and pdu type should still work. | |
172 | ||
173 | Installation Directories | |
174 | ######################## | |
175 | ||
176 | The library is now installed in $(exec_prefix)/lib, and the include | |
177 | files are installed in $(exec_prefix)/include. | |
178 | ||
179 | Includes | |
180 | ######## | |
181 | ||
182 | Applications now only need to include <snmp/snmp.h>, instead of | |
183 | all the separate headers required previously. | |
184 | ||
185 | MiniClient | |
186 | ########## | |
187 | ||
188 | This library now contains a mini-client. The miniclient only | |
189 | implements the Get, GetNext, and Set functions. By using the | |
190 | miniclient, SNMP capable applications may be quickly generated. (We | |
191 | use the miniclient for most of our internal monitoring stuff.) | |
192 | ||
193 | Optimizations | |
194 | ############# | |
195 | ||
196 | Various parts of the library have been optimized. The most | |
197 | significant optimization adds 6 bytes to every outgoing packet the | |
198 | length identifiers for the Message, PDU, and Variable List SEQUENCEs | |
199 | are now all encoded in three bytes instead of 1. However, this | |
200 | reduces the number of iterations over the variable list during | |
201 | encoding from 4 to 1. There is also no delayed range shifting of the | |
202 | entire encoded stream to insert a better length. | |
203 | ||
204 | Purify | |
205 | ###### | |
206 | ||
207 | All of the SNMP Applications we've compiled using this library have | |
208 | been purified, and all errors / complaints / warnings have been taken | |
209 | care of. Based on this, we believe the library is free of memory | |
210 | leaks | |
211 | ||
212 | Trap Generation | |
213 | ############### | |
214 | ||
215 | There are no longer routines for trap generation within this library. | |
216 | This may be done by the application. | |
217 | ||
218 | V1 - V2 Coexistance | |
219 | ################### | |
220 | ||
221 | There are two functions (snmp_coexist_V2toV1 and snmp_coexist_V1toV2) | |
222 | that should provide V1-V2 coexistance per RFC 1908. However, these | |
223 | have not been tested. | |
224 | ||
225 | Version | |
226 | ####### | |
227 | ||
228 | The snmp_session structure now contains a variable called "Version". | |
229 | This variable specifies the default version of all incoming / outgoing | |
230 | data for this session. |