1896052c1SHartmut Brandt1.7 2896052c1SHartmut Brandt snmpd: Move event library initialisation before reading of 3896052c1SHartmut Brandt config file (thanks to phk). 4896052c1SHartmut Brandt 5896052c1SHartmut Brandt gensnmptree: can now read more than one tree and merge them. 6896052c1SHartmut Brandt 7896052c1SHartmut Brandt some support for compilation on older systems 8896052c1SHartmut Brandt 9896052c1SHartmut Brandt use standard C fixed width integer types [u]intNN_t 10896052c1SHartmut Brandt 118eecd77aSHartmut Brandt1.6 128eecd77aSHartmut Brandt New gensnmpdef tool. Needs libsmi. 138eecd77aSHartmut Brandt 148eecd77aSHartmut Brandt Make build infrastructure more intelligent. 158eecd77aSHartmut Brandt 168eecd77aSHartmut Brandt Fix a typo in the mibII counter retrival code. 178eecd77aSHartmut Brandt 188eecd77aSHartmut Brandt Add a new field to struct snmp_node for snmp agents: tree_data. 198eecd77aSHartmut Brandt This field can be used by the application. 208eecd77aSHartmut Brandt 218eecd77aSHartmut Brandt Fix a syntax error in the example configuration file (thanks to 228eecd77aSHartmut Brandt David J Duchscher). 238eecd77aSHartmut Brandt 248eecd77aSHartmut Brandt Fix a long standing problem with the module loading code 258eecd77aSHartmut Brandt and a memory leak. When a module could not be loaded usually 268eecd77aSHartmut Brandt a core dump was generated. This was caused by wrong handling 278eecd77aSHartmut Brandt of malloced memory in the module table dependency. While 288eecd77aSHartmut Brandt fixing this problem it became obvious that dynamic allocated 298eecd77aSHartmut Brandt data which was held in a dependency could be lost, because 308eecd77aSHartmut Brandt there was no guarantee that the dependency handler ever was 318eecd77aSHartmut Brandt call (in case of an error in a SET handler or an earlier 328eecd77aSHartmut Brandt dependency in the same PDU) thus causing this memory to leak. 338eecd77aSHartmut Brandt To fix this a third dependency operation is introduced 348eecd77aSHartmut Brandt SNMP_DEPOP_FINISH which is invoked just before a dependency 358eecd77aSHartmut Brandt is freed at the very end of the SET PDU handling. This 368eecd77aSHartmut Brandt means also that finalizers (set_atfinish) can be converted 378eecd77aSHartmut Brandt to DEPOP_FINISH handler in almost all cases. The only case 388eecd77aSHartmut Brandt where this is not so easy is when a finializer was registered 398eecd77aSHartmut Brandt for a simple SET operation. In this case an artifical dependency 408eecd77aSHartmut Brandt would be needed. Because this seems to occure very seldom the 418eecd77aSHartmut Brandt snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 428eecd77aSHartmut Brandt for an initial fix for the core dump. 438eecd77aSHartmut Brandt 4470af00a1SHartmut Brandt09-Dec-2003 4570af00a1SHartmut Brandt First step on factoring out the transport mapping stuff into 4670af00a1SHartmut Brandt loadable modules. 4770af00a1SHartmut Brandt 4870af00a1SHartmut Brandt Local stream sockets that check the clients privileges. 4970af00a1SHartmut Brandt 5070af00a1SHartmut Brandt03-Dec-2003 5170af00a1SHartmut Brandt Bump version to 1.5 but leave library version intact. 5270af00a1SHartmut Brandt 5370af00a1SHartmut Brandt03-Dec-2003 5470af00a1SHartmut Brandt Now works with libbegemot polling stuff instead of libisc. 5570af00a1SHartmut Brandt Use --with-libbegemot[=path] to configure. 5670af00a1SHartmut Brandt 5770af00a1SHartmut Brandt03-Dec-2003 5870af00a1SHartmut Brandt Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 5970af00a1SHartmut Brandt Non-minimal lengths are allowed. 6070af00a1SHartmut Brandt 6170af00a1SHartmut Brandt Remove copyright clause 3 everywhere. 6270af00a1SHartmut Brandt 6370af00a1SHartmut Brandt Make an autoconf build infrastructure. 6470af00a1SHartmut Brandt 65f06ca4afSHartmut Brandt08-Nov-2003 66f06ca4afSHartmut Brandt WARNS=6 fixed. 67f06ca4afSHartmut Brandt 68f06ca4afSHartmut Brandt28-Jan-2003 69f06ca4afSHartmut Brandt WARNS=5 fixes. 70f06ca4afSHartmut Brandt 71f06ca4afSHartmut Brandt09-Jan-2003 72f06ca4afSHartmut Brandt snmpd: remove local socket in case of an error to fully initialize it. 73f06ca4afSHartmut Brandt Use chmod instead of fchmod. The latter seems not really to change 74f06ca4afSHartmut Brandt the mode of the socket. 75f06ca4afSHartmut Brandt 76f06ca4afSHartmut Brandt lib: at program exit remove the local socket in the library. 77f06ca4afSHartmut Brandt 78f06ca4afSHartmut Brandt11-Dec-2002 79f06ca4afSHartmut Brandt Implement listening on unix domain sockets. The client must bind 80f06ca4afSHartmut Brandt its socket, or the server cannot send back its response. These 81f06ca4afSHartmut Brandt sockets are considered to be more secure, because it is much 82f06ca4afSHartmut Brandt harder for an intruder to listen on them. 83f06ca4afSHartmut Brandt 84f06ca4afSHartmut Brandt This requires changes in snmpmod.h and snmpclient.h. 85f06ca4afSHartmut Brandt 86f06ca4afSHartmut Brandt04-Dec-2002 87f06ca4afSHartmut Brandt Sparc fixes. 88f06ca4afSHartmut Brandt 89f06ca4afSHartmut Brandt15-Aug-2002 90f06ca4afSHartmut Brandt Use inttypes.h instead of limits.h to get integer limits. This 91f06ca4afSHartmut Brandt seems to be the Posix way. 92f06ca4afSHartmut Brandt 93f06ca4afSHartmut Brandt First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 94f06ca4afSHartmut Brandt bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 95f06ca4afSHartmut Brandt 96f06ca4afSHartmut Brandt snmpd/main.c: reorder getopt options according to style(9). Implement 97f06ca4afSHartmut Brandt a -h option to print a short help. 98f06ca4afSHartmut Brandt 99f06ca4afSHartmut Brandt25-Jun-2002 100f06ca4afSHartmut Brandt Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 101f06ca4afSHartmut Brandt really hard to use, because a) they are not documented and b) they 102f06ca4afSHartmut Brandt change much too often. 103f06ca4afSHartmut Brandt 104f06ca4afSHartmut Brandt Make the patch a context diff instead of a unified one. 105f06ca4afSHartmut Brandt 106f06ca4afSHartmut Brandt28-Feb-2002 107f06ca4afSHartmut Brandt Library code for SNMP clients. 108