xref: /freebsd/contrib/bsnmp/NEWS (revision 748b5b1ebd1b2c58c21a90cdc5abdd462eeb22b3)
1748b5b1eSHartmut Brandt1.12
2748b5b1eSHartmut Brandt	A couple of man page fixes from various submitters.
3748b5b1eSHartmut Brandt
4748b5b1eSHartmut Brandt	Make default communities NULL for security.
5748b5b1eSHartmut Brandt
6748b5b1eSHartmut Brandt	Fix a core dump when -d tracing suboption has no argument (thanks
7748b5b1eSHartmut Brandt	to Shteryana Shopova).
8748b5b1eSHartmut Brandt
9748b5b1eSHartmut Brandt	Fix bug in parsing the include path in the daemon.
10748b5b1eSHartmut Brandt
11748b5b1eSHartmut Brandt	Fix an uninitialize structure field in gensnmptree (thanks to
12748b5b1eSHartmut Brandt	jasone@freebsdorg)
13748b5b1eSHartmut Brandt
14748b5b1eSHartmut Brandt	64bit HC counters in the IF-MIB by polling the OS periodically.
15748b5b1eSHartmut Brandt
16748b5b1eSHartmut Brandt	Fix link traps to be more RFC conform (thanks to glebius@freebsd.org)
17748b5b1eSHartmut Brandt
18748b5b1eSHartmut Brandt	Add fallback definition for SA_SIZE() to support.h.
19748b5b1eSHartmut Brandt
20748b5b1eSHartmut Brandt	Move the porting definitions for U?INT32_{MIN,MAX} into support.h.
21748b5b1eSHartmut Brandt
22748b5b1eSHartmut Brandt	Include a sys/tree.h from FreeBSD-current and add autoconf
23748b5b1eSHartmut Brandt	check for it.
24748b5b1eSHartmut Brandt
25748b5b1eSHartmut Brandt1.11a	Fix build of modules when stdint.h is included after asn1.h
26748b5b1eSHartmut Brandt
27165c5d31SHartmut Brandt1.11	Make the Mib2 routing table use red-black tree. This vastly
28165c5d31SHartmut Brandt	reduces loading and access time. Load the table only every 10
29165c5d31SHartmut Brandt	minutes. In the meantime process message from the routing socket
30165c5d31SHartmut Brandt	to update the table.
31165c5d31SHartmut Brandt
32165c5d31SHartmut Brandt	Lot of man-page fixes from ru@freebsd.org.
33165c5d31SHartmut Brandt
34165c5d31SHartmut Brandt	Fixes to command line macros and macro redefinition.
35165c5d31SHartmut Brandt
36165c5d31SHartmut Brandt	Trap variables for ntp (still need trap definition and code).
37165c5d31SHartmut Brandt
38165c5d31SHartmut Brandt	Periodic timers from Victor Cruceru.
39165c5d31SHartmut Brandt
40165c5d31SHartmut Brandt	Man-page fixes from Christian Brueffer.
41165c5d31SHartmut Brandt
42165c5d31SHartmut Brandt	Lots of spelling fixes from Giorgios Keramidas.
43165c5d31SHartmut Brandt
44165c5d31SHartmut Brandt	A number of changes to facilitate building on FreeBSD-4 from
45165c5d31SHartmut Brandt	Andrey Elsukov.
46165c5d31SHartmut Brandt
47165c5d31SHartmut Brandt	Add repeatable timers.
48165c5d31SHartmut Brandt
4969292cedSHartmut Brandt1.10
5069292cedSHartmut Brandt	Change all the tick handling in the daemon from 32-bit to 64-bit.
5169292cedSHartmut Brandt	Bump the modules' major version number to 3.
5269292cedSHartmut Brandt
5369292cedSHartmut Brandt	snmp_dialog: make the syntax of the variable bindings in the outgoing
5469292cedSHartmut Brandt	message SNMP_SYNTAX_NULL regardless of the syntax given by the user.
5569292cedSHartmut Brandt
5669292cedSHartmut Brandt	Fix an error in timer handling in the LIBBEGEMOT case.
5769292cedSHartmut Brandt
5869292cedSHartmut Brandt	snmpd/main.c: Fix a 64-bit warning.
5969292cedSHartmut Brandt
6069292cedSHartmut Brandt	lib/snmpclient: Add snmp_parse_server().
6169292cedSHartmut Brandt
62d7eb6b47SHartmut Brandt1.9
63d7eb6b47SHartmut Brandt	tcpwrapper support from glebius@freebsd.org.
64d7eb6b47SHartmut Brandt
65d7eb6b47SHartmut Brandt	crude interface to NTP: snmp_ntp
66d7eb6b47SHartmut Brandt
6794caccb3SHartmut Brandt1.8
6894caccb3SHartmut Brandt	many man page fixes from ru@freebsd.org and tobez@freebsd.org
6994caccb3SHartmut Brandt
7094caccb3SHartmut Brandt	snmpd/main.c: fix a problem which resulted in the daemon exiting
7194caccb3SHartmut Brandt	when a local socket was closed.
7294caccb3SHartmut Brandt
7394caccb3SHartmut Brandt	snmpd/trans_lsock.c: include stdio.h to get a prototype for remove.
7494caccb3SHartmut Brandt
7594caccb3SHartmut Brandt	gensnmptree/gensnmptree.c: fix a compile error
76d7eb6b47SHartmut Brandt
77d7eb6b47SHartmut Brandt	snmp_mibII: add new field spec_oid to ifmib. This allows ifType
78d7eb6b47SHartmut Brandt	specific modules to insert the value to be returned for ifSpecific.
79d7eb6b47SHartmut Brandt
8094caccb3SHartmut Brandt1.7a
8194caccb3SHartmut Brandt	fix core dump when config file cannot be opened (submitted by
8294caccb3SHartmut Brandt	Maxim Konovalov)
8394caccb3SHartmut Brandt
84896052c1SHartmut Brandt1.7
85165c5d31SHartmut Brandt	snmpd: Move event library initialization before reading of
86896052c1SHartmut Brandt	config file (thanks to phk).
87896052c1SHartmut Brandt
88896052c1SHartmut Brandt	gensnmptree: can now read more than one tree and merge them.
89896052c1SHartmut Brandt
90896052c1SHartmut Brandt	some support for compilation on older systems
91896052c1SHartmut Brandt
92896052c1SHartmut Brandt	use standard C fixed width integer types [u]intNN_t
93896052c1SHartmut Brandt
948eecd77aSHartmut Brandt1.6
958eecd77aSHartmut Brandt	New gensnmpdef tool. Needs libsmi.
968eecd77aSHartmut Brandt
978eecd77aSHartmut Brandt	Make build infrastructure more intelligent.
988eecd77aSHartmut Brandt
998eecd77aSHartmut Brandt	Fix a typo in the mibII counter retrival code.
1008eecd77aSHartmut Brandt
1018eecd77aSHartmut Brandt	Add a new field to struct snmp_node for snmp agents: tree_data.
1028eecd77aSHartmut Brandt	This field can be used by the application.
1038eecd77aSHartmut Brandt
1048eecd77aSHartmut Brandt	Fix a syntax error in the example configuration file (thanks to
1058eecd77aSHartmut Brandt	David J Duchscher).
1068eecd77aSHartmut Brandt
1078eecd77aSHartmut Brandt	Fix a long standing problem with the module loading code
1088eecd77aSHartmut Brandt	and a memory leak. When a module could not be loaded usually
1098eecd77aSHartmut Brandt	a core dump was generated. This was caused by wrong handling
1108eecd77aSHartmut Brandt	of malloced memory in the module table dependency. While
1118eecd77aSHartmut Brandt	fixing this problem it became obvious that dynamic allocated
1128eecd77aSHartmut Brandt	data which was held in a dependency could be lost, because
1138eecd77aSHartmut Brandt	there was no guarantee that the dependency handler ever was
1148eecd77aSHartmut Brandt	call (in case of an error in a SET handler or an earlier
1158eecd77aSHartmut Brandt	dependency in the same PDU) thus causing this memory to leak.
1168eecd77aSHartmut Brandt	To fix this a third dependency operation is introduced
1178eecd77aSHartmut Brandt	SNMP_DEPOP_FINISH which is invoked just before a dependency
1188eecd77aSHartmut Brandt	is freed at the very end of the SET PDU handling. This
1198eecd77aSHartmut Brandt	means also that finalizers (set_atfinish) can be converted
1208eecd77aSHartmut Brandt	to DEPOP_FINISH handler in almost all cases. The only case
1218eecd77aSHartmut Brandt	where this is not so easy is when a finializer was registered
1228eecd77aSHartmut Brandt	for a simple SET operation. In this case an artifical dependency
1238eecd77aSHartmut Brandt	would be needed. Because this seems to occure very seldom the
1248eecd77aSHartmut Brandt	snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp
1258eecd77aSHartmut Brandt	for an initial fix for the core dump.
1268eecd77aSHartmut Brandt
12770af00a1SHartmut Brandt09-Dec-2003
12870af00a1SHartmut Brandt	First step on factoring out the transport mapping stuff into
12970af00a1SHartmut Brandt	loadable modules.
13070af00a1SHartmut Brandt
13170af00a1SHartmut Brandt	Local stream sockets that check the clients privileges.
13270af00a1SHartmut Brandt
13370af00a1SHartmut Brandt03-Dec-2003
13470af00a1SHartmut Brandt	Bump version to 1.5 but leave library version intact.
13570af00a1SHartmut Brandt
13670af00a1SHartmut Brandt03-Dec-2003
13770af00a1SHartmut Brandt	Now works with libbegemot polling stuff instead of libisc.
13870af00a1SHartmut Brandt	Use --with-libbegemot[=path] to configure.
13970af00a1SHartmut Brandt
14070af00a1SHartmut Brandt03-Dec-2003
14170af00a1SHartmut Brandt	Fix parsing of non-minimal ASN.1 integers. They are now disallowed.
14270af00a1SHartmut Brandt	Non-minimal lengths are allowed.
14370af00a1SHartmut Brandt
14470af00a1SHartmut Brandt	Remove copyright clause 3 everywhere.
14570af00a1SHartmut Brandt
14670af00a1SHartmut Brandt	Make an autoconf build infrastructure.
14770af00a1SHartmut Brandt
148f06ca4afSHartmut Brandt08-Nov-2003
149f06ca4afSHartmut Brandt	WARNS=6 fixed.
150f06ca4afSHartmut Brandt
151f06ca4afSHartmut Brandt28-Jan-2003
152f06ca4afSHartmut Brandt	WARNS=5 fixes.
153f06ca4afSHartmut Brandt
154f06ca4afSHartmut Brandt09-Jan-2003
155f06ca4afSHartmut Brandt	snmpd: remove local socket in case of an error to fully initialize it.
156f06ca4afSHartmut Brandt	Use chmod instead of fchmod. The latter seems not really to change
157f06ca4afSHartmut Brandt	the mode of the socket.
158f06ca4afSHartmut Brandt
159f06ca4afSHartmut Brandt	lib: at program exit remove the local socket in the library.
160f06ca4afSHartmut Brandt
161f06ca4afSHartmut Brandt11-Dec-2002
162f06ca4afSHartmut Brandt	Implement listening on unix domain sockets. The client must bind
163f06ca4afSHartmut Brandt	its socket, or the server cannot send back its response. These
164f06ca4afSHartmut Brandt	sockets are considered to be more secure, because it is much
165f06ca4afSHartmut Brandt	harder for an intruder to listen on them.
166f06ca4afSHartmut Brandt
167f06ca4afSHartmut Brandt	This requires changes in snmpmod.h and snmpclient.h.
168f06ca4afSHartmut Brandt
169f06ca4afSHartmut Brandt04-Dec-2002
170f06ca4afSHartmut Brandt	Sparc fixes.
171f06ca4afSHartmut Brandt
172f06ca4afSHartmut Brandt15-Aug-2002
173f06ca4afSHartmut Brandt	Use inttypes.h instead of limits.h to get integer limits. This
174f06ca4afSHartmut Brandt	seems to be the Posix way.
175f06ca4afSHartmut Brandt
176f06ca4afSHartmut Brandt	First drafts of an snmpd, gensnmptree, asn1, bsnmplib,
177f06ca4afSHartmut Brandt	bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages.
178f06ca4afSHartmut Brandt
179f06ca4afSHartmut Brandt	snmpd/main.c: reorder getopt options according to style(9). Implement
180f06ca4afSHartmut Brandt	a -h option to print a short help.
181f06ca4afSHartmut Brandt
182f06ca4afSHartmut Brandt25-Jun-2002
183f06ca4afSHartmut Brandt	Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are
184f06ca4afSHartmut Brandt	really hard to use, because a) they are not documented and b) they
185f06ca4afSHartmut Brandt	change much too often.
186f06ca4afSHartmut Brandt
187f06ca4afSHartmut Brandt	Make the patch a context diff instead of a unified one.
188f06ca4afSHartmut Brandt
189f06ca4afSHartmut Brandt28-Feb-2002
190f06ca4afSHartmut Brandt	Library code for SNMP clients.
191