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