xref: /freebsd/contrib/bsnmp/NEWS (revision d7eb6b4714d872b3db1975c49bda81474b352e7f)
1d7eb6b47SHartmut Brandt1.9
2d7eb6b47SHartmut Brandt	tcpwrapper support from glebius@freebsd.org.
3d7eb6b47SHartmut Brandt
4d7eb6b47SHartmut Brandt	crude interface to NTP: snmp_ntp
5d7eb6b47SHartmut Brandt
694caccb3SHartmut Brandt1.8
794caccb3SHartmut Brandt	many man page fixes from ru@freebsd.org and tobez@freebsd.org
894caccb3SHartmut Brandt
994caccb3SHartmut Brandt	snmpd/main.c: fix a problem which resulted in the daemon exiting
1094caccb3SHartmut Brandt	when a local socket was closed.
1194caccb3SHartmut Brandt
1294caccb3SHartmut Brandt	snmpd/trans_lsock.c: include stdio.h to get a prototype for remove.
1394caccb3SHartmut Brandt
1494caccb3SHartmut Brandt	gensnmptree/gensnmptree.c: fix a compile error
15d7eb6b47SHartmut Brandt
16d7eb6b47SHartmut Brandt	snmp_mibII: add new field spec_oid to ifmib. This allows ifType
17d7eb6b47SHartmut Brandt	specific modules to insert the value to be returned for ifSpecific.
18d7eb6b47SHartmut Brandt
1994caccb3SHartmut Brandt1.7a
2094caccb3SHartmut Brandt	fix core dump when config file cannot be opened (submitted by
2194caccb3SHartmut Brandt	Maxim Konovalov)
2294caccb3SHartmut Brandt
23896052c1SHartmut Brandt1.7
24896052c1SHartmut Brandt	snmpd: Move event library initialisation before reading of
25896052c1SHartmut Brandt	config file (thanks to phk).
26896052c1SHartmut Brandt
27896052c1SHartmut Brandt	gensnmptree: can now read more than one tree and merge them.
28896052c1SHartmut Brandt
29896052c1SHartmut Brandt	some support for compilation on older systems
30896052c1SHartmut Brandt
31896052c1SHartmut Brandt	use standard C fixed width integer types [u]intNN_t
32896052c1SHartmut Brandt
338eecd77aSHartmut Brandt1.6
348eecd77aSHartmut Brandt	New gensnmpdef tool. Needs libsmi.
358eecd77aSHartmut Brandt
368eecd77aSHartmut Brandt	Make build infrastructure more intelligent.
378eecd77aSHartmut Brandt
388eecd77aSHartmut Brandt	Fix a typo in the mibII counter retrival code.
398eecd77aSHartmut Brandt
408eecd77aSHartmut Brandt	Add a new field to struct snmp_node for snmp agents: tree_data.
418eecd77aSHartmut Brandt	This field can be used by the application.
428eecd77aSHartmut Brandt
438eecd77aSHartmut Brandt	Fix a syntax error in the example configuration file (thanks to
448eecd77aSHartmut Brandt	David J Duchscher).
458eecd77aSHartmut Brandt
468eecd77aSHartmut Brandt	Fix a long standing problem with the module loading code
478eecd77aSHartmut Brandt	and a memory leak. When a module could not be loaded usually
488eecd77aSHartmut Brandt	a core dump was generated. This was caused by wrong handling
498eecd77aSHartmut Brandt	of malloced memory in the module table dependency. While
508eecd77aSHartmut Brandt	fixing this problem it became obvious that dynamic allocated
518eecd77aSHartmut Brandt	data which was held in a dependency could be lost, because
528eecd77aSHartmut Brandt	there was no guarantee that the dependency handler ever was
538eecd77aSHartmut Brandt	call (in case of an error in a SET handler or an earlier
548eecd77aSHartmut Brandt	dependency in the same PDU) thus causing this memory to leak.
558eecd77aSHartmut Brandt	To fix this a third dependency operation is introduced
568eecd77aSHartmut Brandt	SNMP_DEPOP_FINISH which is invoked just before a dependency
578eecd77aSHartmut Brandt	is freed at the very end of the SET PDU handling. This
588eecd77aSHartmut Brandt	means also that finalizers (set_atfinish) can be converted
598eecd77aSHartmut Brandt	to DEPOP_FINISH handler in almost all cases. The only case
608eecd77aSHartmut Brandt	where this is not so easy is when a finializer was registered
618eecd77aSHartmut Brandt	for a simple SET operation. In this case an artifical dependency
628eecd77aSHartmut Brandt	would be needed. Because this seems to occure very seldom the
638eecd77aSHartmut Brandt	snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp
648eecd77aSHartmut Brandt	for an initial fix for the core dump.
658eecd77aSHartmut Brandt
6670af00a1SHartmut Brandt09-Dec-2003
6770af00a1SHartmut Brandt	First step on factoring out the transport mapping stuff into
6870af00a1SHartmut Brandt	loadable modules.
6970af00a1SHartmut Brandt
7070af00a1SHartmut Brandt	Local stream sockets that check the clients privileges.
7170af00a1SHartmut Brandt
7270af00a1SHartmut Brandt03-Dec-2003
7370af00a1SHartmut Brandt	Bump version to 1.5 but leave library version intact.
7470af00a1SHartmut Brandt
7570af00a1SHartmut Brandt03-Dec-2003
7670af00a1SHartmut Brandt	Now works with libbegemot polling stuff instead of libisc.
7770af00a1SHartmut Brandt	Use --with-libbegemot[=path] to configure.
7870af00a1SHartmut Brandt
7970af00a1SHartmut Brandt03-Dec-2003
8070af00a1SHartmut Brandt	Fix parsing of non-minimal ASN.1 integers. They are now disallowed.
8170af00a1SHartmut Brandt	Non-minimal lengths are allowed.
8270af00a1SHartmut Brandt
8370af00a1SHartmut Brandt	Remove copyright clause 3 everywhere.
8470af00a1SHartmut Brandt
8570af00a1SHartmut Brandt	Make an autoconf build infrastructure.
8670af00a1SHartmut Brandt
87f06ca4afSHartmut Brandt08-Nov-2003
88f06ca4afSHartmut Brandt	WARNS=6 fixed.
89f06ca4afSHartmut Brandt
90f06ca4afSHartmut Brandt28-Jan-2003
91f06ca4afSHartmut Brandt	WARNS=5 fixes.
92f06ca4afSHartmut Brandt
93f06ca4afSHartmut Brandt09-Jan-2003
94f06ca4afSHartmut Brandt	snmpd: remove local socket in case of an error to fully initialize it.
95f06ca4afSHartmut Brandt	Use chmod instead of fchmod. The latter seems not really to change
96f06ca4afSHartmut Brandt	the mode of the socket.
97f06ca4afSHartmut Brandt
98f06ca4afSHartmut Brandt	lib: at program exit remove the local socket in the library.
99f06ca4afSHartmut Brandt
100f06ca4afSHartmut Brandt11-Dec-2002
101f06ca4afSHartmut Brandt	Implement listening on unix domain sockets. The client must bind
102f06ca4afSHartmut Brandt	its socket, or the server cannot send back its response. These
103f06ca4afSHartmut Brandt	sockets are considered to be more secure, because it is much
104f06ca4afSHartmut Brandt	harder for an intruder to listen on them.
105f06ca4afSHartmut Brandt
106f06ca4afSHartmut Brandt	This requires changes in snmpmod.h and snmpclient.h.
107f06ca4afSHartmut Brandt
108f06ca4afSHartmut Brandt04-Dec-2002
109f06ca4afSHartmut Brandt	Sparc fixes.
110f06ca4afSHartmut Brandt
111f06ca4afSHartmut Brandt15-Aug-2002
112f06ca4afSHartmut Brandt	Use inttypes.h instead of limits.h to get integer limits. This
113f06ca4afSHartmut Brandt	seems to be the Posix way.
114f06ca4afSHartmut Brandt
115f06ca4afSHartmut Brandt	First drafts of an snmpd, gensnmptree, asn1, bsnmplib,
116f06ca4afSHartmut Brandt	bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages.
117f06ca4afSHartmut Brandt
118f06ca4afSHartmut Brandt	snmpd/main.c: reorder getopt options according to style(9). Implement
119f06ca4afSHartmut Brandt	a -h option to print a short help.
120f06ca4afSHartmut Brandt
121f06ca4afSHartmut Brandt25-Jun-2002
122f06ca4afSHartmut Brandt	Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are
123f06ca4afSHartmut Brandt	really hard to use, because a) they are not documented and b) they
124f06ca4afSHartmut Brandt	change much too often.
125f06ca4afSHartmut Brandt
126f06ca4afSHartmut Brandt	Make the patch a context diff instead of a unified one.
127f06ca4afSHartmut Brandt
128f06ca4afSHartmut Brandt28-Feb-2002
129f06ca4afSHartmut Brandt	Library code for SNMP clients.
130