11.12 2 A couple of man page fixes from various submitters. 3 4 Make default communities NULL for security. 5 6 Fix a core dump when -d tracing suboption has no argument (thanks 7 to Shteryana Shopova). 8 9 Fix bug in parsing the include path in the daemon. 10 11 Fix an uninitialize structure field in gensnmptree (thanks to 12 jasone@freebsdorg) 13 14 64bit HC counters in the IF-MIB by polling the OS periodically. 15 16 Fix link traps to be more RFC conform (thanks to glebius@freebsd.org) 17 18 Add fallback definition for SA_SIZE() to support.h. 19 20 Move the porting definitions for U?INT32_{MIN,MAX} into support.h. 21 22 Include a sys/tree.h from FreeBSD-current and add autoconf 23 check for it. 24 251.11a Fix build of modules when stdint.h is included after asn1.h 26 271.11 Make the Mib2 routing table use red-black tree. This vastly 28 reduces loading and access time. Load the table only every 10 29 minutes. In the meantime process message from the routing socket 30 to update the table. 31 32 Lot of man-page fixes from ru@freebsd.org. 33 34 Fixes to command line macros and macro redefinition. 35 36 Trap variables for ntp (still need trap definition and code). 37 38 Periodic timers from Victor Cruceru. 39 40 Man-page fixes from Christian Brueffer. 41 42 Lots of spelling fixes from Giorgios Keramidas. 43 44 A number of changes to facilitate building on FreeBSD-4 from 45 Andrey Elsukov. 46 47 Add repeatable timers. 48 491.10 50 Change all the tick handling in the daemon from 32-bit to 64-bit. 51 Bump the modules' major version number to 3. 52 53 snmp_dialog: make the syntax of the variable bindings in the outgoing 54 message SNMP_SYNTAX_NULL regardless of the syntax given by the user. 55 56 Fix an error in timer handling in the LIBBEGEMOT case. 57 58 snmpd/main.c: Fix a 64-bit warning. 59 60 lib/snmpclient: Add snmp_parse_server(). 61 621.9 63 tcpwrapper support from glebius@freebsd.org. 64 65 crude interface to NTP: snmp_ntp 66 671.8 68 many man page fixes from ru@freebsd.org and tobez@freebsd.org 69 70 snmpd/main.c: fix a problem which resulted in the daemon exiting 71 when a local socket was closed. 72 73 snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. 74 75 gensnmptree/gensnmptree.c: fix a compile error 76 77 snmp_mibII: add new field spec_oid to ifmib. This allows ifType 78 specific modules to insert the value to be returned for ifSpecific. 79 801.7a 81 fix core dump when config file cannot be opened (submitted by 82 Maxim Konovalov) 83 841.7 85 snmpd: Move event library initialization before reading of 86 config file (thanks to phk). 87 88 gensnmptree: can now read more than one tree and merge them. 89 90 some support for compilation on older systems 91 92 use standard C fixed width integer types [u]intNN_t 93 941.6 95 New gensnmpdef tool. Needs libsmi. 96 97 Make build infrastructure more intelligent. 98 99 Fix a typo in the mibII counter retrival code. 100 101 Add a new field to struct snmp_node for snmp agents: tree_data. 102 This field can be used by the application. 103 104 Fix a syntax error in the example configuration file (thanks to 105 David J Duchscher). 106 107 Fix a long standing problem with the module loading code 108 and a memory leak. When a module could not be loaded usually 109 a core dump was generated. This was caused by wrong handling 110 of malloced memory in the module table dependency. While 111 fixing this problem it became obvious that dynamic allocated 112 data which was held in a dependency could be lost, because 113 there was no guarantee that the dependency handler ever was 114 call (in case of an error in a SET handler or an earlier 115 dependency in the same PDU) thus causing this memory to leak. 116 To fix this a third dependency operation is introduced 117 SNMP_DEPOP_FINISH which is invoked just before a dependency 118 is freed at the very end of the SET PDU handling. This 119 means also that finalizers (set_atfinish) can be converted 120 to DEPOP_FINISH handler in almost all cases. The only case 121 where this is not so easy is when a finializer was registered 122 for a simple SET operation. In this case an artifical dependency 123 would be needed. Because this seems to occure very seldom the 124 snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 125 for an initial fix for the core dump. 126 12709-Dec-2003 128 First step on factoring out the transport mapping stuff into 129 loadable modules. 130 131 Local stream sockets that check the clients privileges. 132 13303-Dec-2003 134 Bump version to 1.5 but leave library version intact. 135 13603-Dec-2003 137 Now works with libbegemot polling stuff instead of libisc. 138 Use --with-libbegemot[=path] to configure. 139 14003-Dec-2003 141 Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 142 Non-minimal lengths are allowed. 143 144 Remove copyright clause 3 everywhere. 145 146 Make an autoconf build infrastructure. 147 14808-Nov-2003 149 WARNS=6 fixed. 150 15128-Jan-2003 152 WARNS=5 fixes. 153 15409-Jan-2003 155 snmpd: remove local socket in case of an error to fully initialize it. 156 Use chmod instead of fchmod. The latter seems not really to change 157 the mode of the socket. 158 159 lib: at program exit remove the local socket in the library. 160 16111-Dec-2002 162 Implement listening on unix domain sockets. The client must bind 163 its socket, or the server cannot send back its response. These 164 sockets are considered to be more secure, because it is much 165 harder for an intruder to listen on them. 166 167 This requires changes in snmpmod.h and snmpclient.h. 168 16904-Dec-2002 170 Sparc fixes. 171 17215-Aug-2002 173 Use inttypes.h instead of limits.h to get integer limits. This 174 seems to be the Posix way. 175 176 First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 177 bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 178 179 snmpd/main.c: reorder getopt options according to style(9). Implement 180 a -h option to print a short help. 181 18225-Jun-2002 183 Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 184 really hard to use, because a) they are not documented and b) they 185 change much too often. 186 187 Make the patch a context diff instead of a unified one. 188 18928-Feb-2002 190 Library code for SNMP clients. 191