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