1 2008-07-02 Bart Veer <bartv@ecoscentric.com>
3 * include/snmpusm.h: add missing definition needed for the CERT
6 2008-06-11 Jonathan Larmour <jifl@eCosCentric.com>
8 * src/scapi.c: Fix CVE-2008-0960 (CERT/CC VU#481564).
10 2006-07-27 Jonathan Larmour <jifl@eCosCentric.com>
12 * include/config.h (HAVE_GETTIMEOFDAY): Add missing hash (reported
15 2005-10-23 Andrew Lunn <andrew.lunn@ascom.ch>
17 * include/config.h: POSIX provides gettimeofday()
18 * cdl/snmplib.cdl: We require gettimeofday from POSIX
20 2003-03-24 Jonathan Larmour <jifl@eCosCentric.com>
22 * src/keytools.c (decode_keychange): Avoid undefined behaviour.
23 (encode_keychange): Ditto.
25 2003-02-28 Andrew Lunn <andrew.lunn@ascom.ch>
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.
31 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
33 * cdl/snmplib.cdl: Add doc link.
35 2003-02-03 Manu Sharma <manu.sharma@ascom.com>
37 * include/transform_oids.h,
46 * src/vacm.c : Support to conditionally implement SNMPv3 features,
47 based on definition of CYGPKG_SNMPAGENT_V3_SUPPORT.
49 2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch>
51 * cdl/snmplib.cdl: Make use of the CYGINT_IO_FILEIO_FS interface
52 to determine if there are any filesystems in the system.
54 2002-11-11 Manu Sharma <manu.sharma@ascom.com>
56 * cdl/snmplib.cdl: Added new component
57 CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT to support usage of the
58 snmpd.conf file based agent configuration.
60 * src/read_config.c: Include functions that read the snmpd.conf
61 file and setup the infrastructure based on configurations in
64 2002-02-01 Gary Thomas <gthomas@redhat.com>
67 * src/snmp_api.c: Need valid value for sin_len.
69 2002-01-18 Andrew Lunn <Andrew.Lunn@ascom.ch>
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.
75 2001-10-05 Jesper Skov <jskov@redhat.com>
77 * include/config.h: CYGINT_ISO_DNS changed to bool.
79 2001-09-24 Jesper Skov <jskov@redhat.com>
81 * include/config.h: Define HAVE_GETHOSTBYNAME only if a DNS
84 2001-05-28 Andrew Lunn <Andrew.Lunn@ascom.ch>
85 2001-05-28 Manu Sharma <Manu.Sharma@ascom.ch>
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.
91 * include/config.h: If we have the OpenSSL package let the SNMP
94 2001-01-10 Jonathan Larmour <jlarmour@redhat.com>
96 * cdl/snmplib.cdl: Clarify ISO C requirements
98 2000-11-07 Hugo Tyson <hmt@redhat.com>
99 2000-11-07 Andrew Lunn <Andrew.Lunn@ascom.ch>
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.
106 2000-06-21 Hugo Tyson <hmt@cygnus.co.uk>
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.
113 2000-06-14 Hugo Tyson <hmt@cygnus.co.uk>
115 * cdl/snmplib.cdl: Add option CYGDBG_NET_SNMPLIB_DEBUG to control
116 the standard UCD debugging.
118 * include/config.h: React to the above, and remove deal with
119 default definitions from the agent configury for system MIB
122 2000-06-14 John Dallaway <jld@redhat.com>
124 * cdl/snmplib.cdl: Tidy display strings.
126 2000-06-14 Hugo Tyson <hmt@cygnus.co.uk>
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.
134 2000-06-14 Hugo Tyson <hmt@cygnus.co.uk>
136 * cdl/snmplib.cdl: parent this below CYGPKG_NET.
138 2000-06-12 Hugo Tyson <hmt@cygnus.co.uk>
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.
144 2000-06-02 Hugo Tyson <hmt@cygnus.co.uk>
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
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.
159 2000-05-31 Hugo Tyson <hmt@cygnus.co.uk>
161 * Initial commit of port of UCD-SNMP version 4.1.2 to eCos.
163 //==========================================================================
165 // ./lib/current/ChangeLog
168 //==========================================================================
169 //####ECOSGPLCOPYRIGHTBEGIN####
170 // -------------------------------------------
171 // This file is part of eCos, the Embedded Configurable Operating System.
172 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
174 // eCos is free software; you can redistribute it and/or modify it under
175 // the terms of the GNU General Public License as published by the Free
176 // Software Foundation; either version 2 or (at your option) any later version.
178 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
179 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
180 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
183 // You should have received a copy of the GNU General Public License along
184 // with eCos; if not, write to the Free Software Foundation, Inc.,
185 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
187 // As a special exception, if other files instantiate templates or use macros
188 // or inline functions from this file, or you compile this file and link it
189 // with other works to produce a work based on this file, this file does not
190 // by itself cause the resulting work to be covered by the GNU General Public
191 // License. However the source code for this file must still be made available
192 // in accordance with section (3) of the GNU General Public License.
194 // This exception does not invalidate any other reasons why a work based on
195 // this file might be covered by the GNU General Public License.
197 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
198 // at http://sources.redhat.com/ecos/ecos-license/
199 // -------------------------------------------
200 //####ECOSGPLCOPYRIGHTEND####
201 //####UCDSNMPCOPYRIGHTBEGIN####
203 // -------------------------------------------
205 // Portions of this software may have been derived from the UCD-SNMP
206 // project, <http://ucd-snmp.ucdavis.edu/> from the University of
207 // California at Davis, which was originally based on the Carnegie Mellon
208 // University SNMP implementation. Portions of this software are therefore
209 // covered by the appropriate copyright disclaimers included herein.
211 // The release used was version 4.1.2 of May 2000. "ucd-snmp-4.1.2"
212 // -------------------------------------------
214 //####UCDSNMPCOPYRIGHTEND####
215 //==========================================================================
216 //#####DESCRIPTIONBEGIN####
221 // Purpose: Port of UCD-SNMP distribution to eCos.
225 //####DESCRIPTIONEND####
227 //==========================================================================
228 /********************************************************************
229 Copyright 1989, 1991, 1992 by Carnegie Mellon University
232 Copyright 1996, 1998, 1999, 2000 The Regents of the University of California
236 Permission to use, copy, modify and distribute this software and its
237 documentation for any purpose and without fee is hereby granted,
238 provided that the above copyright notice appears in all copies and
239 that both that copyright notice and this permission notice appear in
240 supporting documentation, and that the name of CMU and The Regents of
241 the University of California not be used in advertising or publicity
242 pertaining to distribution of the software without specific written
245 CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL
246 WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
247 WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR
248 THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL,
249 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
250 FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
251 CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
252 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
253 *********************************************************************/