1 |
27 |
unneback |
2003-03-25 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
Imported from trunk into 2.0 branch:
|
4 |
|
|
* src/keytools.c (decode_keychange): Avoid undefined behaviour.
|
5 |
|
|
(encode_keychange): Ditto.
|
6 |
|
|
|
7 |
|
|
2003-02-25 Andrew Lunn
|
8 |
|
|
|
9 |
|
|
Imported from trunk into the 2.0 branch:
|
10 |
|
|
* include/config.h: Make random use rand on FreeBSD.
|
11 |
|
|
* include/system.h: For FreeBSD include param.h so we get the aliases.
|
12 |
|
|
#Undefine printf so stdio.h will compile. printf is not used anywhere.
|
13 |
|
|
|
14 |
|
|
2003-02-24 Jonathan Larmour
|
15 |
|
|
|
16 |
|
|
* cdl/snmplib.cdl: Add doc link.
|
17 |
|
|
|
18 |
|
|
2003-02-03 Manu Sharma
|
19 |
|
|
|
20 |
|
|
* include/transform_oids.h,
|
21 |
|
|
* src/keytools.c,
|
22 |
|
|
* src/lcd_time.c,
|
23 |
|
|
* src/scapi.c,
|
24 |
|
|
* src/snmp_api.c,
|
25 |
|
|
* src/snmp_client.c,
|
26 |
|
|
* src/snmpusm.c,
|
27 |
|
|
* src/snmpv3.c,
|
28 |
|
|
* src/tools.c,
|
29 |
|
|
* src/vacm.c : Support to conditionally implement SNMPv3 features,
|
30 |
|
|
based on definition of CYGPKG_SNMPAGENT_V3_SUPPORT.
|
31 |
|
|
|
32 |
|
|
2002-12-06 Andrew Lunn
|
33 |
|
|
|
34 |
|
|
* cdl/snmplib.cdl: Make use of the CYGINT_IO_FILEIO_FS interface
|
35 |
|
|
to determine if there are any filesystems in the system.
|
36 |
|
|
|
37 |
|
|
2002-11-11 Manu Sharma
|
38 |
|
|
|
39 |
|
|
* cdl/snmplib.cdl: Added new component
|
40 |
|
|
CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT to support usage of the
|
41 |
|
|
snmpd.conf file based agent configuration.
|
42 |
|
|
|
43 |
|
|
* src/read_config.c: Include functions that read the snmpd.conf
|
44 |
|
|
file and setup the infrastructure based on configurations in
|
45 |
|
|
this file.
|
46 |
|
|
|
47 |
|
|
2002-02-01 Gary Thomas
|
48 |
|
|
|
49 |
|
|
* src/system.c:
|
50 |
|
|
* src/snmp_api.c: Need valid value for sin_len.
|
51 |
|
|
|
52 |
|
|
2002-01-18 Andrew Lunn
|
53 |
|
|
|
54 |
|
|
* src/system.c (get_myaddr): The information returned by the ioctl
|
55 |
|
|
call SIOCGIFCONF is not a simple array of fixed length
|
56 |
|
|
entries. Look at each entry to work out its length.
|
57 |
|
|
|
58 |
|
|
2001-10-05 Jesper Skov
|
59 |
|
|
|
60 |
|
|
* include/config.h: CYGINT_ISO_DNS changed to bool.
|
61 |
|
|
|
62 |
|
|
2001-09-24 Jesper Skov
|
63 |
|
|
|
64 |
|
|
* include/config.h: Define HAVE_GETHOSTBYNAME only if a DNS
|
65 |
|
|
package is available.
|
66 |
|
|
|
67 |
|
|
2001-05-28 Andrew Lunn
|
68 |
|
|
2001-05-28 Manu Sharma
|
69 |
|
|
|
70 |
|
|
* src/snmpusm.c, include/snmpusm.h: Added the ability to tell the
|
71 |
|
|
agent the time of day has changed. This is used when an NTP client
|
72 |
|
|
finds out the correct time and jumps time forward by 30 odd years.
|
73 |
|
|
|
74 |
|
|
* include/config.h: If we have the OpenSSL package let the SNMP
|
75 |
|
|
agent use it.
|
76 |
|
|
|
77 |
|
|
2001-01-10 Jonathan Larmour
|
78 |
|
|
|
79 |
|
|
* cdl/snmplib.cdl: Clarify ISO C requirements
|
80 |
|
|
|
81 |
|
|
2000-11-07 Hugo Tyson
|
82 |
|
|
2000-11-07 Andrew Lunn
|
83 |
|
|
|
84 |
|
|
* include/config.h (STRUCT_SOCKADDR_HAS_SA_LEN): #defined.
|
85 |
|
|
The BSD stack uses sa_len in its sockaddr structures, so the agent
|
86 |
|
|
must also use them or when it tries to send traps the stack
|
87 |
|
|
rejects them because the destination addres is invalid.
|
88 |
|
|
|
89 |
|
|
2000-06-21 Hugo Tyson
|
90 |
|
|
|
91 |
|
|
* src/snmp_logging.c:
|
92 |
|
|
* src/parse.c: Catch unprotected includes of sys/stat.h,
|
93 |
|
|
accidentally acquired from the stdinc/newlib world. Now prevented
|
94 |
|
|
by the might of #ifndef __ECOS.
|
95 |
|
|
|
96 |
|
|
2000-06-14 Hugo Tyson
|
97 |
|
|
|
98 |
|
|
* cdl/snmplib.cdl: Add option CYGDBG_NET_SNMPLIB_DEBUG to control
|
99 |
|
|
the standard UCD debugging.
|
100 |
|
|
|
101 |
|
|
* include/config.h: React to the above, and remove deal with
|
102 |
|
|
default definitions from the agent configury for system MIB
|
103 |
|
|
values.
|
104 |
|
|
|
105 |
|
|
2000-06-14 John Dallaway
|
106 |
|
|
|
107 |
|
|
* cdl/snmplib.cdl: Tidy display strings.
|
108 |
|
|
|
109 |
|
|
2000-06-14 Hugo Tyson
|
110 |
|
|
|
111 |
|
|
* cdl/snmplib.cdl: Install all the header files below
|
112 |
|
|
include/ucd-snmp/ as is the normal host-side standard; this avoids
|
113 |
|
|
some rather terrible filenamespace pollution too. That location
|
114 |
|
|
is also added to the include path, using a mechanism that's rather
|
115 |
|
|
build-method-specific; it may need revisiting.
|
116 |
|
|
|
117 |
|
|
2000-06-14 Hugo Tyson
|
118 |
|
|
|
119 |
|
|
* cdl/snmplib.cdl: parent this below CYGPKG_NET.
|
120 |
|
|
|
121 |
|
|
2000-06-12 Hugo Tyson
|
122 |
|
|
|
123 |
|
|
* src/system.c (gettimeofday): Simulate this using libc's time()
|
124 |
|
|
function which will call through to a wallclock of one is present,
|
125 |
|
|
or just count up from start time.
|
126 |
|
|
|
127 |
|
|
2000-06-02 Hugo Tyson
|
128 |
|
|
|
129 |
|
|
* src/parse.c (add_mibdir): Return no mibs here, oh no; they're
|
130 |
|
|
not needed for agent use of the library. Waste of time - unless
|
131 |
|
|
someone is liable to use the snmplib for tool rather than agent
|
132 |
|
|
purposes.
|
133 |
|
|
|
134 |
|
|
This goes along with the change to the agent to remove the ROFS
|
135 |
|
|
which contained all the MIBs - I had thought that the library
|
136 |
|
|
*needed* them to function, but it's not so - reading them in
|
137 |
|
|
(and complaining of their absence) is part of the snmplib startup,
|
138 |
|
|
but it's not needed by an agent. This also means that if
|
139 |
|
|
reinstated they should live here in the lib component rather than
|
140 |
|
|
over there in the agent one; oh well.
|
141 |
|
|
|
142 |
|
|
2000-05-31 Hugo Tyson
|
143 |
|
|
|
144 |
|
|
* Initial commit of port of UCD-SNMP version 4.1.2 to eCos.
|
145 |
|
|
|
146 |
|
|
//==========================================================================
|
147 |
|
|
//
|
148 |
|
|
// ./lib/current/ChangeLog
|
149 |
|
|
//
|
150 |
|
|
//
|
151 |
|
|
//==========================================================================
|
152 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
153 |
|
|
// -------------------------------------------
|
154 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
155 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
156 |
|
|
//
|
157 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
158 |
|
|
// the terms of the GNU General Public License as published by the Free
|
159 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
160 |
|
|
//
|
161 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
162 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
163 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
164 |
|
|
// for more details.
|
165 |
|
|
//
|
166 |
|
|
// You should have received a copy of the GNU General Public License along
|
167 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
168 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
169 |
|
|
//
|
170 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
171 |
|
|
// or inline functions from this file, or you compile this file and link it
|
172 |
|
|
// with other works to produce a work based on this file, this file does not
|
173 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
174 |
|
|
// License. However the source code for this file must still be made available
|
175 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
176 |
|
|
//
|
177 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
178 |
|
|
// this file might be covered by the GNU General Public License.
|
179 |
|
|
//
|
180 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
181 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
182 |
|
|
// -------------------------------------------
|
183 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
184 |
|
|
//####UCDSNMPCOPYRIGHTBEGIN####
|
185 |
|
|
//
|
186 |
|
|
// -------------------------------------------
|
187 |
|
|
//
|
188 |
|
|
// Portions of this software may have been derived from the UCD-SNMP
|
189 |
|
|
// project, from the University of
|
190 |
|
|
// California at Davis, which was originally based on the Carnegie Mellon
|
191 |
|
|
// University SNMP implementation. Portions of this software are therefore
|
192 |
|
|
// covered by the appropriate copyright disclaimers included herein.
|
193 |
|
|
//
|
194 |
|
|
// The release used was version 4.1.2 of May 2000. "ucd-snmp-4.1.2"
|
195 |
|
|
// -------------------------------------------
|
196 |
|
|
//
|
197 |
|
|
//####UCDSNMPCOPYRIGHTEND####
|
198 |
|
|
//==========================================================================
|
199 |
|
|
//#####DESCRIPTIONBEGIN####
|
200 |
|
|
//
|
201 |
|
|
// Author(s): hmt
|
202 |
|
|
// Contributors: hmt
|
203 |
|
|
// Date: 2000-05-30
|
204 |
|
|
// Purpose: Port of UCD-SNMP distribution to eCos.
|
205 |
|
|
// Description:
|
206 |
|
|
//
|
207 |
|
|
//
|
208 |
|
|
//####DESCRIPTIONEND####
|
209 |
|
|
//
|
210 |
|
|
//==========================================================================
|
211 |
|
|
/********************************************************************
|
212 |
|
|
Copyright 1989, 1991, 1992 by Carnegie Mellon University
|
213 |
|
|
|
214 |
|
|
Derivative Work -
|
215 |
|
|
Copyright 1996, 1998, 1999, 2000 The Regents of the University of California
|
216 |
|
|
|
217 |
|
|
All Rights Reserved
|
218 |
|
|
|
219 |
|
|
Permission to use, copy, modify and distribute this software and its
|
220 |
|
|
documentation for any purpose and without fee is hereby granted,
|
221 |
|
|
provided that the above copyright notice appears in all copies and
|
222 |
|
|
that both that copyright notice and this permission notice appear in
|
223 |
|
|
supporting documentation, and that the name of CMU and The Regents of
|
224 |
|
|
the University of California not be used in advertising or publicity
|
225 |
|
|
pertaining to distribution of the software without specific written
|
226 |
|
|
permission.
|
227 |
|
|
|
228 |
|
|
CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL
|
229 |
|
|
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
|
230 |
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR
|
231 |
|
|
THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL,
|
232 |
|
|
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
233 |
|
|
FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
234 |
|
|
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
235 |
|
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
236 |
|
|
*********************************************************************/
|