11.8 2 many man page fixes from ru@freebsd.org and tobez@freebsd.org 3 4 snmpd/main.c: fix a problem which resulted in the daemon exiting 5 when a local socket was closed. 6 7 snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. 8 9 gensnmptree/gensnmptree.c: fix a compile error 101.7a 11 fix core dump when config file cannot be opened (submitted by 12 Maxim Konovalov) 13 141.7 15 snmpd: Move event library initialisation before reading of 16 config file (thanks to phk). 17 18 gensnmptree: can now read more than one tree and merge them. 19 20 some support for compilation on older systems 21 22 use standard C fixed width integer types [u]intNN_t 23 241.6 25 New gensnmpdef tool. Needs libsmi. 26 27 Make build infrastructure more intelligent. 28 29 Fix a typo in the mibII counter retrival code. 30 31 Add a new field to struct snmp_node for snmp agents: tree_data. 32 This field can be used by the application. 33 34 Fix a syntax error in the example configuration file (thanks to 35 David J Duchscher). 36 37 Fix a long standing problem with the module loading code 38 and a memory leak. When a module could not be loaded usually 39 a core dump was generated. This was caused by wrong handling 40 of malloced memory in the module table dependency. While 41 fixing this problem it became obvious that dynamic allocated 42 data which was held in a dependency could be lost, because 43 there was no guarantee that the dependency handler ever was 44 call (in case of an error in a SET handler or an earlier 45 dependency in the same PDU) thus causing this memory to leak. 46 To fix this a third dependency operation is introduced 47 SNMP_DEPOP_FINISH which is invoked just before a dependency 48 is freed at the very end of the SET PDU handling. This 49 means also that finalizers (set_atfinish) can be converted 50 to DEPOP_FINISH handler in almost all cases. The only case 51 where this is not so easy is when a finializer was registered 52 for a simple SET operation. In this case an artifical dependency 53 would be needed. Because this seems to occure very seldom the 54 snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 55 for an initial fix for the core dump. 56 5709-Dec-2003 58 First step on factoring out the transport mapping stuff into 59 loadable modules. 60 61 Local stream sockets that check the clients privileges. 62 6303-Dec-2003 64 Bump version to 1.5 but leave library version intact. 65 6603-Dec-2003 67 Now works with libbegemot polling stuff instead of libisc. 68 Use --with-libbegemot[=path] to configure. 69 7003-Dec-2003 71 Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 72 Non-minimal lengths are allowed. 73 74 Remove copyright clause 3 everywhere. 75 76 Make an autoconf build infrastructure. 77 7808-Nov-2003 79 WARNS=6 fixed. 80 8128-Jan-2003 82 WARNS=5 fixes. 83 8409-Jan-2003 85 snmpd: remove local socket in case of an error to fully initialize it. 86 Use chmod instead of fchmod. The latter seems not really to change 87 the mode of the socket. 88 89 lib: at program exit remove the local socket in the library. 90 9111-Dec-2002 92 Implement listening on unix domain sockets. The client must bind 93 its socket, or the server cannot send back its response. These 94 sockets are considered to be more secure, because it is much 95 harder for an intruder to listen on them. 96 97 This requires changes in snmpmod.h and snmpclient.h. 98 9904-Dec-2002 100 Sparc fixes. 101 10215-Aug-2002 103 Use inttypes.h instead of limits.h to get integer limits. This 104 seems to be the Posix way. 105 106 First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 107 bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 108 109 snmpd/main.c: reorder getopt options according to style(9). Implement 110 a -h option to print a short help. 111 11225-Jun-2002 113 Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 114 really hard to use, because a) they are not documented and b) they 115 change much too often. 116 117 Make the patch a context diff instead of a unified one. 118 11928-Feb-2002 120 Library code for SNMP clients. 121