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