1159063Sharti1.12a 2159063Sharti Support for ENUM and BITS in gensnmp{tree,def}. Include directives 3159063Sharti and typedefs. 4159063Sharti 5156066Sharti1.12 6156066Sharti A couple of man page fixes from various submitters. 7156066Sharti 8156066Sharti Make default communities NULL for security. 9156066Sharti 10156066Sharti Fix a core dump when -d tracing suboption has no argument (thanks 11156066Sharti to Shteryana Shopova). 12156066Sharti 13156066Sharti Fix bug in parsing the include path in the daemon. 14156066Sharti 15156066Sharti Fix an uninitialize structure field in gensnmptree (thanks to 16156066Sharti jasone@freebsdorg) 17156066Sharti 18156066Sharti 64bit HC counters in the IF-MIB by polling the OS periodically. 19156066Sharti 20156066Sharti Fix link traps to be more RFC conform (thanks to glebius@freebsd.org) 21156066Sharti 22156066Sharti Add fallback definition for SA_SIZE() to support.h. 23156066Sharti 24156066Sharti Move the porting definitions for U?INT32_{MIN,MAX} into support.h. 25156066Sharti 26156066Sharti Include a sys/tree.h from FreeBSD-current and add autoconf 27156066Sharti check for it. 28156066Sharti 29156066Sharti1.11a Fix build of modules when stdint.h is included after asn1.h 30156066Sharti 31150920Sharti1.11 Make the Mib2 routing table use red-black tree. This vastly 32150920Sharti reduces loading and access time. Load the table only every 10 33150920Sharti minutes. In the meantime process message from the routing socket 34150920Sharti to update the table. 35150920Sharti 36150920Sharti Lot of man-page fixes from ru@freebsd.org. 37150920Sharti 38150920Sharti Fixes to command line macros and macro redefinition. 39150920Sharti 40150920Sharti Trap variables for ntp (still need trap definition and code). 41150920Sharti 42150920Sharti Periodic timers from Victor Cruceru. 43150920Sharti 44150920Sharti Man-page fixes from Christian Brueffer. 45150920Sharti 46150920Sharti Lots of spelling fixes from Giorgios Keramidas. 47150920Sharti 48150920Sharti A number of changes to facilitate building on FreeBSD-4 from 49150920Sharti Andrey Elsukov. 50150920Sharti 51150920Sharti Add repeatable timers. 52150920Sharti 53146525Sharti1.10 54146525Sharti Change all the tick handling in the daemon from 32-bit to 64-bit. 55146525Sharti Bump the modules' major version number to 3. 56146525Sharti 57146525Sharti snmp_dialog: make the syntax of the variable bindings in the outgoing 58146525Sharti message SNMP_SYNTAX_NULL regardless of the syntax given by the user. 59146525Sharti 60146525Sharti Fix an error in timer handling in the LIBBEGEMOT case. 61146525Sharti 62146525Sharti snmpd/main.c: Fix a 64-bit warning. 63146525Sharti 64146525Sharti lib/snmpclient: Add snmp_parse_server(). 65146525Sharti 66145557Sharti1.9 67145557Sharti tcpwrapper support from glebius@freebsd.org. 68145557Sharti 69145557Sharti crude interface to NTP: snmp_ntp 70145557Sharti 71142810Sharti1.8 72142810Sharti many man page fixes from ru@freebsd.org and tobez@freebsd.org 73142810Sharti 74142810Sharti snmpd/main.c: fix a problem which resulted in the daemon exiting 75142810Sharti when a local socket was closed. 76142810Sharti 77142810Sharti snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. 78142810Sharti 79142810Sharti gensnmptree/gensnmptree.c: fix a compile error 80145557Sharti 81145557Sharti snmp_mibII: add new field spec_oid to ifmib. This allows ifType 82145557Sharti specific modules to insert the value to be returned for ifSpecific. 83145557Sharti 84142810Sharti1.7a 85142810Sharti fix core dump when config file cannot be opened (submitted by 86142810Sharti Maxim Konovalov) 87142810Sharti 88133211Sharti1.7 89150920Sharti snmpd: Move event library initialization before reading of 90133211Sharti config file (thanks to phk). 91133211Sharti 92133211Sharti gensnmptree: can now read more than one tree and merge them. 93133211Sharti 94133211Sharti some support for compilation on older systems 95133211Sharti 96133211Sharti use standard C fixed width integer types [u]intNN_t 97133211Sharti 98128237Sharti1.6 99128237Sharti New gensnmpdef tool. Needs libsmi. 100128237Sharti 101128237Sharti Make build infrastructure more intelligent. 102128237Sharti 103128237Sharti Fix a typo in the mibII counter retrival code. 104128237Sharti 105128237Sharti Add a new field to struct snmp_node for snmp agents: tree_data. 106128237Sharti This field can be used by the application. 107128237Sharti 108128237Sharti Fix a syntax error in the example configuration file (thanks to 109128237Sharti David J Duchscher). 110128237Sharti 111128237Sharti Fix a long standing problem with the module loading code 112128237Sharti and a memory leak. When a module could not be loaded usually 113128237Sharti a core dump was generated. This was caused by wrong handling 114128237Sharti of malloced memory in the module table dependency. While 115128237Sharti fixing this problem it became obvious that dynamic allocated 116128237Sharti data which was held in a dependency could be lost, because 117128237Sharti there was no guarantee that the dependency handler ever was 118128237Sharti call (in case of an error in a SET handler or an earlier 119128237Sharti dependency in the same PDU) thus causing this memory to leak. 120128237Sharti To fix this a third dependency operation is introduced 121128237Sharti SNMP_DEPOP_FINISH which is invoked just before a dependency 122128237Sharti is freed at the very end of the SET PDU handling. This 123128237Sharti means also that finalizers (set_atfinish) can be converted 124128237Sharti to DEPOP_FINISH handler in almost all cases. The only case 125128237Sharti where this is not so easy is when a finializer was registered 126128237Sharti for a simple SET operation. In this case an artifical dependency 127128237Sharti would be needed. Because this seems to occure very seldom the 128128237Sharti snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 129128237Sharti for an initial fix for the core dump. 130128237Sharti 131124861Sharti09-Dec-2003 132124861Sharti First step on factoring out the transport mapping stuff into 133124861Sharti loadable modules. 134124861Sharti 135124861Sharti Local stream sockets that check the clients privileges. 136124861Sharti 137124861Sharti03-Dec-2003 138124861Sharti Bump version to 1.5 but leave library version intact. 139124861Sharti 140124861Sharti03-Dec-2003 141124861Sharti Now works with libbegemot polling stuff instead of libisc. 142124861Sharti Use --with-libbegemot[=path] to configure. 143124861Sharti 144124861Sharti03-Dec-2003 145124861Sharti Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 146124861Sharti Non-minimal lengths are allowed. 147124861Sharti 148124861Sharti Remove copyright clause 3 everywhere. 149124861Sharti 150124861Sharti Make an autoconf build infrastructure. 151124861Sharti 152122394Sharti08-Nov-2003 153122394Sharti WARNS=6 fixed. 154122394Sharti 155122394Sharti28-Jan-2003 156122394Sharti WARNS=5 fixes. 157122394Sharti 158122394Sharti09-Jan-2003 159122394Sharti snmpd: remove local socket in case of an error to fully initialize it. 160122394Sharti Use chmod instead of fchmod. The latter seems not really to change 161122394Sharti the mode of the socket. 162122394Sharti 163122394Sharti lib: at program exit remove the local socket in the library. 164122394Sharti 165122394Sharti11-Dec-2002 166122394Sharti Implement listening on unix domain sockets. The client must bind 167122394Sharti its socket, or the server cannot send back its response. These 168122394Sharti sockets are considered to be more secure, because it is much 169122394Sharti harder for an intruder to listen on them. 170122394Sharti 171122394Sharti This requires changes in snmpmod.h and snmpclient.h. 172122394Sharti 173122394Sharti04-Dec-2002 174122394Sharti Sparc fixes. 175122394Sharti 176122394Sharti15-Aug-2002 177122394Sharti Use inttypes.h instead of limits.h to get integer limits. This 178122394Sharti seems to be the Posix way. 179122394Sharti 180122394Sharti First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 181122394Sharti bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 182122394Sharti 183122394Sharti snmpd/main.c: reorder getopt options according to style(9). Implement 184122394Sharti a -h option to print a short help. 185122394Sharti 186122394Sharti25-Jun-2002 187122394Sharti Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 188122394Sharti really hard to use, because a) they are not documented and b) they 189122394Sharti change much too often. 190122394Sharti 191122394Sharti Make the patch a context diff instead of a unified one. 192122394Sharti 193122394Sharti28-Feb-2002 194122394Sharti Library code for SNMP clients. 195